/* Fixed browser-style progress: physical left to right, even in RTL. */
html.noubat-ajax-loading::before,
html.noubat-ajax-finished::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    z-index: 2147483647;
    pointer-events: none;
    background: #2389ff;
    box-shadow: 0 0 9px rgba(35,137,255,.55);
    transform-origin: left center;
}
html.noubat-ajax-loading::before {
    animation: noubat-ajax-progress 12s cubic-bezier(.10,.65,.25,1) forwards;
}
html.noubat-ajax-finished::before {
    transform: scaleX(1);
    animation: noubat-ajax-finish .22s ease-out forwards;
}
@keyframes noubat-ajax-progress {
    0% { transform: scaleX(.04); }
    30% { transform: scaleX(.55); }
    100% { transform: scaleX(.93); }
}
@keyframes noubat-ajax-finish {
    from { opacity: 1; }
    to { opacity: 0; }
}
.directory-pagination-loading a {
    pointer-events: none;
    cursor: progress;
    opacity: .7;
}
@media (prefers-reduced-motion: reduce) {
    html.noubat-ajax-loading::before {
        animation: none;
        transform: scaleX(.85);
    }
    html.noubat-ajax-finished::before { animation-duration: .12s; }
}
