.htmx-overlay {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0,0.25);
    z-index: 2;
}
.htmx-display-indicator {
    height: 0%;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.3s linear, height 0s 0.3s;
}
.htmx-request.htmx-display-indicator, .htmx-request .htmx-display-indicator {
    height: 100%;
    opacity: 1;
    transition: height 0s, opacity 0.3s linear;
}
/* loading spinner */
.htmx-spinner {
    top: calc(50% - 30px);
    left: calc(50% - 30px);
}
.htmx-spinner,
.htmx-spinner div {
    box-sizing: border-box;
}
.htmx-spinner {
    display: inline-block;
    position: relative;
    width: 60px;
    height: 60px;
}
.htmx-spinner div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 48px;
    height: 48px;
    margin: 6px;
    border: 6px solid currentColor;
    border-radius: 50%;
    animation: htmx-spinner 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: currentColor transparent transparent transparent;
}
.htmx-spinner div:nth-child(1) {
    animation-delay: -0.45s;
}
.htmx-spinner div:nth-child(2) {
    animation-delay: -0.3s;
}
.htmx-spinner div:nth-child(3) {
    animation-delay: -0.15s;
}
@keyframes htmx-spinner {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
