/* /Components/Layout/MainLayout.razor.rz.scp.css */
.nav-drawer-state[b-9q1fhlpdde] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.app-shell[b-9q1fhlpdde] {
    min-height: 100vh;
    min-height: 100dvh;
    display: grid;
    grid-template-areas:
        "topbar topbar"
        "sidebar main";
    grid-template-columns: minmax(232px, 268px) minmax(0, 1fr);
    grid-template-rows: auto 1fr;
}

.topbar[b-9q1fhlpdde] {
    grid-area: topbar;
    z-index: 30;
    flex-shrink: 0;
}

.app-sidebar[b-9q1fhlpdde] {
    grid-area: sidebar;
    background: var(--surface);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-self: stretch;
    min-height: 0;
    min-width: 0;
    overflow: hidden;
    z-index: 25;
}

.app-sidebar-inner[b-9q1fhlpdde] {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 0.5rem 0.65rem 1.25rem;
}

.content[b-9q1fhlpdde] {
    grid-area: main;
    min-width: 0;
    min-height: 0;
    width: 100%;
    justify-self: stretch;
    align-self: stretch;
}

.nav-drawer-toggle[b-9q1fhlpdde] {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface);
    cursor: pointer;
    flex-shrink: 0;
}

.nav-drawer-toggle-bar[b-9q1fhlpdde] {
    display: block;
    width: 18px;
    height: 2px;
    margin: 0 auto;
    background: var(--ink);
    border-radius: 1px;
}

.nav-drawer-scrim[b-9q1fhlpdde] {
    display: none;
}

.app-sidebar-header[b-9q1fhlpdde] {
    display: none;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 0.75rem;
    border-bottom: 1px solid var(--border);
}

.app-sidebar-label[b-9q1fhlpdde] {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
}

.nav-drawer-close[b-9q1fhlpdde] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    line-height: 1;
    border-radius: var(--radius-sm);
    color: var(--muted);
    cursor: pointer;
}

.nav-drawer-close:hover[b-9q1fhlpdde] {
    background: var(--accent-soft);
    color: var(--accent);
}

[b-9q1fhlpdde] .app-nav {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

[b-9q1fhlpdde] .app-nav-section {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    padding-bottom: 0.35rem;
    margin-bottom: 0.15rem;
    border-bottom: 1px solid var(--border);
}

[b-9q1fhlpdde] .app-nav-accordion {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

[b-9q1fhlpdde] .app-nav-group {
    border-radius: var(--radius-sm);
}

[b-9q1fhlpdde] .app-nav-summary {
    list-style: none;
    cursor: pointer;
    padding: 0.45rem 0.55rem;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--muted);
    border-radius: var(--radius-sm);
    user-select: none;
}

[b-9q1fhlpdde] .app-nav-summary::-webkit-details-marker {
    display: none;
}

[b-9q1fhlpdde] .app-nav-summary::before {
    content: "▸";
    display: inline-block;
    margin-right: 0.35rem;
    font-size: 0.75rem;
    transition: transform 0.15s ease;
}

[b-9q1fhlpdde] .app-nav-group[open] > .app-nav-summary::before {
    transform: rotate(90deg);
}

[b-9q1fhlpdde] .app-nav-summary:hover {
    background: var(--accent-soft);
    color: var(--accent);
}

[b-9q1fhlpdde] .app-nav-submenu {
    display: flex;
    flex-direction: column;
    gap: 0.08rem;
    padding: 0.15rem 0 0.35rem 0.35rem;
}

[b-9q1fhlpdde] .app-nav-link {
    display: block;
    padding: 0.5rem 0.6rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--muted);
    font-weight: 600;
    font-size: 0.84rem;
    line-height: 1.25;
}

[b-9q1fhlpdde] .app-nav-link:hover {
    background: var(--accent-soft);
    color: var(--accent);
}

[b-9q1fhlpdde] .app-nav-link.active {
    background: var(--accent-soft);
    color: var(--accent);
}

.account-name[b-9q1fhlpdde] {
    max-width: 11rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (min-width: 900px) {
    :global(html)[b-9q1fhlpdde],
    :global(body)[b-9q1fhlpdde] {
        height: 100%;
        overflow: hidden;
    }

    .app-shell[b-9q1fhlpdde] {
        height: 100dvh;
        max-height: 100dvh;
        overflow: hidden;
    }

    .app-sidebar[b-9q1fhlpdde] {
        height: 100%;
        max-height: 100%;
    }

    .content[b-9q1fhlpdde] {
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 899px) {
    .app-shell[b-9q1fhlpdde] {
        grid-template-areas:
            "topbar"
            "main";
        grid-template-columns: minmax(0, 1fr);
    }

    .nav-drawer-toggle[b-9q1fhlpdde] {
        display: inline-flex;
    }

    .nav-drawer-scrim[b-9q1fhlpdde] {
        display: none;
        position: fixed;
        inset: 0;
        margin: 0;
        padding: 0;
        border: none;
        background: var(--scrim);
        z-index: 35;
        cursor: pointer;
    }

    .app-sidebar[b-9q1fhlpdde] {
        position: fixed;
        top: 0;
        left: 0;
        width: min(300px, 90vw);
        height: 100%;
        max-height: 100dvh;
        transform: translateX(-105%);
        transition: transform 0.2s ease;
        box-shadow: var(--shadow);
        grid-area: unset;
        align-self: unset;
    }

    .app-sidebar-header[b-9q1fhlpdde] {
        display: flex;
        padding-top: max(0.65rem, env(safe-area-inset-top));
    }

    .nav-drawer-state:checked ~ .app-sidebar[b-9q1fhlpdde] {
        transform: translateX(0);
    }

    .nav-drawer-state:checked ~ .nav-drawer-scrim[b-9q1fhlpdde] {
        display: block;
        opacity: 1;
    }

    body:has(.nav-drawer-state:checked)[b-9q1fhlpdde] {
        overflow: hidden;
    }

    .account-name[b-9q1fhlpdde] {
        display: none;
    }
}

/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-vqxj3afpri],
.components-reconnect-repeated-attempt-visible[b-vqxj3afpri],
.components-reconnect-failed-visible[b-vqxj3afpri],
.components-pause-visible[b-vqxj3afpri],
.components-resume-failed-visible[b-vqxj3afpri],
.components-rejoining-animation[b-vqxj3afpri] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-vqxj3afpri],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-vqxj3afpri],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-vqxj3afpri],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-vqxj3afpri],
#components-reconnect-modal.components-reconnect-retrying[b-vqxj3afpri],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-vqxj3afpri],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-vqxj3afpri],
#components-reconnect-modal.components-reconnect-failed[b-vqxj3afpri],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-vqxj3afpri] {
    display: block;
}


#components-reconnect-modal[b-vqxj3afpri] {
    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-vqxj3afpri 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-vqxj3afpri 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-vqxj3afpri 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-vqxj3afpri]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-vqxj3afpri 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-vqxj3afpri {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-vqxj3afpri {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-vqxj3afpri {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-vqxj3afpri] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-vqxj3afpri] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-vqxj3afpri] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-vqxj3afpri] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-vqxj3afpri] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-vqxj3afpri] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-vqxj3afpri] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-vqxj3afpri 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-vqxj3afpri] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-vqxj3afpri {
    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;
    }
}
