/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-sbj7r9s8cx] {
    display: flex;
    min-height: 100vh;
}

.sidebar[b-sbj7r9s8cx] {
    width: 17.5rem;
    flex-shrink: 0;
    background: var(--bg-primary);
    border-right: 1px solid var(--border-secondary);
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

main[b-sbj7r9s8cx] {
    flex: 1;
    background: var(--bg-secondary);
    min-width: 0;
}

.content[b-sbj7r9s8cx] {
    padding: var(--spacing-10);
    max-width: auto; /*var(--container-3xl);*/
}

@media (max-width: 48rem) {
    .page[b-sbj7r9s8cx] {
        flex-direction: column;
    }

    .sidebar[b-sbj7r9s8cx] {
        width: 100%;
        height: auto;
        position: relative;
        border-right: none;
        border-bottom: 1px solid var(--border-secondary);
    }

    .content[b-sbj7r9s8cx] {
        padding: var(--spacing-6);
    }
}

#blazor-error-ui[b-sbj7r9s8cx] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-sbj7r9s8cx] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.nav-header[b-9k9qisr2rg] {
    padding: var(--spacing-6) var(--spacing-5) var(--spacing-4);
    border-bottom: 1px solid var(--border-secondary);
}

.nav-title[b-9k9qisr2rg] {
    font-family: var(--font-family-display);
    font-size: var(--font-size-text-lg);
    font-weight: var(--font-weight-semibold);
    line-height: var(--line-height-text-lg);
    color: var(--text-primary);
    margin: 0;
}

.nav-subtitle[b-9k9qisr2rg] {
    font-family: var(--font-family-body);
    font-size: var(--font-size-text-sm);
    line-height: var(--line-height-text-sm);
    color: var(--text-tertiary);
    margin: var(--spacing-0-5) 0 0;
}

.nav-menu[b-9k9qisr2rg] {
    padding: var(--spacing-4) var(--spacing-3);
}

.nav-menu--scrollable[b-9k9qisr2rg] {
    flex: 1;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: transparent transparent;
}

.nav-menu--scrollable:hover[b-9k9qisr2rg] {
    scrollbar-color: var(--border-secondary) transparent;
}

.nav-menu--scrollable[b-9k9qisr2rg]::-webkit-scrollbar {
    width: 6px;
}

.nav-menu--scrollable[b-9k9qisr2rg]::-webkit-scrollbar-track {
    background: transparent;
}

.nav-menu--scrollable[b-9k9qisr2rg]::-webkit-scrollbar-thumb {
    background-color: transparent;
    border-radius: 3px;
}

.nav-menu--scrollable:hover[b-9k9qisr2rg]::-webkit-scrollbar-thumb {
    background-color: var(--border-secondary);
}

.nav-menu--scrollable[b-9k9qisr2rg]::-webkit-scrollbar-thumb:hover {
    background-color: var(--border-primary);
}

.nav-section-header[b-9k9qisr2rg] {
    font-family: var(--font-family-body);
    font-size: var(--font-size-text-xs);
    font-weight: var(--font-weight-semibold);
    line-height: var(--line-height-text-xs);
    color: var(--text-quaternary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0 var(--spacing-2) var(--spacing-2);
}

[b-9k9qisr2rg] .nav-link {
    display: flex;
    align-items: center;
    gap: var(--spacing-2);
    padding: var(--spacing-2) var(--spacing-2);
    border-radius: var(--radius-md);
    font-family: var(--font-family-body);
    font-size: var(--font-size-text-sm);
    font-weight: var(--font-weight-medium);
    line-height: var(--line-height-text-sm);
    color: var(--text-secondary);
    text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease;
}

[b-9k9qisr2rg] .nav-link:hover {
    background: var(--bg-primary-hover);
    color: var(--text-primary);
}

[b-9k9qisr2rg] .nav-link.active {
    background: var(--bg-brand-primary-alt);
    color: var(--text-brand-secondary);
    font-weight: var(--font-weight-semibold);
}

[b-9k9qisr2rg] .nav-icon {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
}

/* =========================================================================
 * FOOTER — theme toggle at bottom of sidebar
 * ========================================================================= */
.nav-footer[b-9k9qisr2rg] {
    padding: var(--spacing-4) var(--spacing-3);
    border-top: 1px solid var(--border-secondary);
}

.theme-toggle[b-9k9qisr2rg] {
    display: flex;
    width: 100%;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    padding: var(--spacing-1);
    gap: var(--spacing-1);
}

.theme-toggle-btn[b-9k9qisr2rg] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-1-5);
    flex: 1;
    padding: var(--spacing-1-5) var(--spacing-2);
    border: none;
    border-radius: var(--radius-sm);
    background: transparent;
    font-family: var(--font-family-body);
    font-size: var(--font-size-text-sm);
    font-weight: var(--font-weight-medium);
    line-height: var(--line-height-text-sm);
    color: var(--text-tertiary);
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.theme-toggle-btn:hover[b-9k9qisr2rg] {
    color: var(--text-secondary);
}

.theme-toggle-btn--active[b-9k9qisr2rg] {
    background: var(--bg-primary);
    color: var(--text-primary);
    box-shadow: var(--shadow-xs);
}

.theme-toggle-btn--active:hover[b-9k9qisr2rg] {
    color: var(--text-primary);
}

.theme-toggle-btn svg[b-9k9qisr2rg] {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-x2u60yklor],
.components-reconnect-repeated-attempt-visible[b-x2u60yklor],
.components-reconnect-failed-visible[b-x2u60yklor],
.components-pause-visible[b-x2u60yklor],
.components-resume-failed-visible[b-x2u60yklor],
.components-rejoining-animation[b-x2u60yklor] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-x2u60yklor],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-x2u60yklor],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-x2u60yklor],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-x2u60yklor],
#components-reconnect-modal.components-reconnect-retrying[b-x2u60yklor],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-x2u60yklor],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-x2u60yklor],
#components-reconnect-modal.components-reconnect-failed[b-x2u60yklor],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-x2u60yklor] {
    display: block;
}


#components-reconnect-modal[b-x2u60yklor] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-x2u60yklor 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-x2u60yklor 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-x2u60yklor 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-x2u60yklor]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-x2u60yklor 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-x2u60yklor {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-x2u60yklor {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-x2u60yklor {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-x2u60yklor] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-x2u60yklor] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-x2u60yklor] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-x2u60yklor] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-x2u60yklor] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-x2u60yklor] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-x2u60yklor] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-x2u60yklor 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-x2u60yklor] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-x2u60yklor {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/PatientListPage.razor.rz.scp.css */
/* ==========================================================================
 * PatientListPage — Showcase-specific styles only
 * ========================================================================== */

/* -- Fullscreen toggle (showcase only, not part of the reusable pattern) -- */
.fullscreen-toggle-btn[b-12z8494fgc] {
    position: fixed;
    top: var(--spacing-lg);
    right: var(--spacing-lg);
    z-index: 50;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    color: var(--text-quaternary);
    background: transparent;
    border: 1px solid transparent;
    cursor: pointer;
    transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.fullscreen-toggle-btn:hover[b-12z8494fgc] {
    color: var(--text-secondary);
    background: var(--bg-secondary);
    border-color: var(--border-secondary);
}
