/*
 * htmx-indicator.css
 *
 * Static replacement for the inline styles that htmx 2.x injects at runtime
 * when hx-indicator is used. Shipping these as a static file lets us set
 * htmx.config.includeIndicatorStyles = false, which removes the inline-style
 * CSP violation (style-src-elem) reported under BEACON-216.
 *
 * These rules mirror the styles htmx 2.0.4 would have injected dynamically:
 * https://github.com/bigskysoftware/htmx/blob/v2.0.4/src/htmx.js
 */

/* Hidden by default — shown while an htmx request is in flight. */
.htmx-indicator {
    opacity: 0;
    transition: opacity 200ms ease-in;
}

/* .htmx-request is added to the element (or its indicator target) while
   a request is in progress. */
.htmx-request .htmx-indicator,
.htmx-request.htmx-indicator {
    opacity: 1;
}
