/* htmx's request indicator styles, served as a file.
 *
 * htmx normally injects these itself at startup, via
 * ``head.insertAdjacentHTML("beforeend", "<style>…")``. A CSP with
 * ``style-src 'self'`` blocks that, and htmx's own ``inlineStyleNonce``
 * option does not help: a nonce on an element inserted through
 * ``insertAdjacentHTML`` is stripped by the browser (nonce hiding), so the
 * stylesheet is refused anyway. Every ``htmx-indicator`` would then stay
 * permanently visible instead of only showing during a request.
 *
 * conjunto therefore sets ``includeIndicatorStyles: false`` in the
 * ``htmx-config`` meta (see conjunto/base.html) and ships the rules here,
 * verbatim from the htmx bundle. Keep them in sync when htmx is upgraded —
 * ``htmx.config.indicatorClass`` / ``requestClass`` name the two classes.
 */

.htmx-indicator {
    opacity: 0;
    visibility: hidden;
}

.htmx-request .htmx-indicator,
.htmx-request.htmx-indicator {
    opacity: 1;
    visibility: visible;
    transition: opacity 200ms ease-in;
}
