.ajax-navigation-loader {
    position: fixed;
    inset: 0;
    z-index: 4500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: rgba(250, 245, 236, .78);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .18s ease, visibility .18s ease;
}

.ajax-navigation-loader.show {
    opacity: 1;
    visibility: visible;
}

.ajax-navigation-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 4px;
    width: 42%;
    border-radius: 0 999px 999px 0;
    background: #008c4a;
    box-shadow: 0 0 14px rgba(0, 140, 74, .3);
    animation: ajax-navigation-progress 1.15s ease-in-out infinite;
}

.ajax-navigation-loading-card {
    width: min(430px, 100%);
    padding: 2rem;
    border: 1px solid #d9bea0;
    border-radius: 1.25rem;
    background: rgba(255, 253, 248, .97);
    box-shadow: 0 1.25rem 3rem rgba(78, 70, 61, .12);
    text-align: center;
}

.ajax-navigation-spinner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    margin-bottom: 1rem;
    border-radius: 50%;
    color: #fff;
    background: #008c4a;
    animation: ajax-navigation-pulse 1.2s ease-in-out infinite;
}

.ajax-navigation-loading-card strong,
.ajax-navigation-loading-card small {
    display: block;
}

.ajax-navigation-loading-card strong {
    color: #4e463d;
    font-size: 1.05rem;
}

.ajax-navigation-loading-card small {
    margin: .35rem 0 1.35rem;
    color: #7b7064;
}

.ajax-navigation-skeleton {
    display: block;
    width: 76%;
    height: .7rem;
    margin: .65rem auto 0;
    overflow: hidden;
    border-radius: 999px;
    background: #f5e7d3;
}

.ajax-navigation-skeleton::after {
    content: "";
    display: block;
    width: 45%;
    height: 100%;
    background: rgba(0, 140, 74, .2);
    animation: ajax-navigation-shimmer 1.1s ease-in-out infinite;
}

.ajax-navigation-skeleton.is-wide {
    width: 100%;
}

.ajax-navigation-skeleton.is-short {
    width: 52%;
}

body.ajax-navigation-pending {
    cursor: progress;
}

[data-ajax-page-container] > * {
    animation: docfinder-content-land .48s cubic-bezier(.22, .61, .36, 1) both;
}

[data-ajax-page-container] > *:nth-child(2) { animation-delay: .04s; }
[data-ajax-page-container] > *:nth-child(3) { animation-delay: .08s; }
[data-ajax-page-container] > *:nth-child(4) { animation-delay: .12s; }
[data-ajax-page-container] > *:nth-child(n+5) { animation-delay: .16s; }

.public-navbar,
.topbar {
    animation: docfinder-header-land .38s ease-out both;
}

.sidebar {
    animation: docfinder-sidebar-land .42s ease-out both;
}

@keyframes ajax-navigation-progress {
    0% { transform: translateX(-110%); }
    100% { transform: translateX(340%); }
}

@keyframes ajax-navigation-pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 140, 74, .22); }
    50% { transform: scale(1.06); box-shadow: 0 0 0 12px rgba(0, 140, 74, 0); }
}

@keyframes ajax-navigation-shimmer {
    0% { transform: translateX(-120%); }
    100% { transform: translateX(260%); }
}

@keyframes docfinder-content-land {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes docfinder-header-land {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes docfinder-sidebar-land {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ajax-navigation-loader,
    .ajax-navigation-progress,
    .ajax-navigation-spinner,
    .ajax-navigation-skeleton::after,
    [data-ajax-page-container] > *,
    .public-navbar,
    .topbar,
    .sidebar {
        animation: none;
        transition: none;
    }
}
