.htmx-indicator {
    opacity: 0;
    transition: opacity 200ms ease-in;
}

.progress-bar {
    height: 4px;
    /* background-color: rgba(255, 255, 255, 0.2); */
    background-color: transparent;
    width: 100%;
    overflow: hidden;
    position: fixed;
    top: 0;
    z-index: 200;
}

.progress-bar-value {
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    animation: indeterminateAnimation 1s infinite linear;
    transform-origin: 0% 50%;
}

@keyframes indeterminateAnimation {
    0% {
        transform: translateX(0) scaleX(0);
    }

    40% {
        transform: translateX(0) scaleX(0.4);
    }

    100% {
        transform: translateX(100%) scaleX(0.5);
    }
}