/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-aykefgxby5] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-aykefgxby5] {
    flex: 1;
}

.top-row[b-aykefgxby5] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-aykefgxby5]  a, .top-row[b-aykefgxby5]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-aykefgxby5]  a:hover, .top-row[b-aykefgxby5]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-aykefgxby5]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-aykefgxby5] {
        justify-content: space-between;
    }

    .top-row[b-aykefgxby5]  a, .top-row[b-aykefgxby5]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-aykefgxby5] {
        flex-direction: row;
    }

    .top-row[b-aykefgxby5] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-aykefgxby5]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-aykefgxby5], article[b-aykefgxby5] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Pages/ProgressOverlay.razor.rz.scp.css */
/* Scoped styles for ProgressOverlay.razor.
   Colors come from Bootstrap's CSS variables (with fallbacks) so the overlay follows the app's theme.
   Only opacity and transform are animated: browsers can run those on the compositor thread, so they keep
   moving even while the page's main thread is busy with a long comparison. */

.progress-backdrop[b-4sridr09tn] {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.35);

    /* Present in the DOM immediately, but invisible until --show-delay has passed */
    opacity: 0;
    animation: progress-fade-in-b-4sridr09tn 150ms ease-out var(--show-delay, 400ms) forwards;
}

.progress-dialog[b-4sridr09tn] {
    width: min(32rem, 100%);
    padding: 1.25rem 1.5rem 1.5rem;
    border: 1px solid var(--bs-border-color, #dee2e6);
    border-radius: 0.5rem;
    background: var(--bs-body-bg, #fff);
    color: var(--bs-body-color, #212529);
    box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.25);
}

.progress-title[b-4sridr09tn] {
    margin: 0 0 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
}

.progress-message[b-4sridr09tn] {
    margin: 0 0 1rem;
    min-height: 1.5em;
    overflow-wrap: anywhere;
}

.progress-track[b-4sridr09tn] {
    position: relative;
    height: 0.75rem;
    overflow: hidden;
    border-radius: 0.375rem;
    background: rgba(128, 128, 128, 0.25);
}

.progress-fill[b-4sridr09tn] {
    height: 100%;
    border-radius: inherit;
    background: var(--bs-primary, #0d6efd);
    transition: width 150ms linear;
}

.progress-indeterminate[b-4sridr09tn] {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 40%;
    border-radius: inherit;
    background: var(--bs-primary, #0d6efd);
    animation: progress-slide-b-4sridr09tn 1.2s ease-in-out infinite;
    will-change: transform;
}

@keyframes progress-fade-in-b-4sridr09tn {
    to {
        opacity: 1;
    }
}

/* The bar is 40% of the track wide, so 250% of its own width is a full track width: it starts off the left edge and exits off the right */
@keyframes progress-slide-b-4sridr09tn {
    from {
        transform: translateX(-100%);
    }

    to {
        transform: translateX(250%);
    }
}

@keyframes progress-pulse-b-4sridr09tn {
    0%, 100% {
        opacity: 0.35;
    }

    50% {
        opacity: 1;
    }
}

/* Reduced motion: no sliding; a slow pulse still shows that the app is working */
@media (prefers-reduced-motion: reduce) {
    .progress-indeterminate[b-4sridr09tn] {
        width: 100%;
        animation: progress-pulse-b-4sridr09tn 1.8s ease-in-out infinite;
    }
}
