/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-n7mkcw0wg9] {
    display: flex;
    flex-direction: row;
    min-height: 100vh;
}

.sidebar[b-n7mkcw0wg9] {
    width: var(--sidebar-width);
    height: 100vh;          /* fixed height — allows nav to scroll */
    background-color: var(--sidebar-bg);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    transition: width 0.2s ease;
    overflow: hidden;
}

.sidebar-collapsed .sidebar[b-n7mkcw0wg9] {
    width: var(--sidebar-collapsed-width);
}

.sidebar-toggle[b-n7mkcw0wg9] {
    position: absolute;
    bottom: 1rem;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    color: var(--sidebar-text);
    cursor: pointer;
    font-size: 0.75rem;
    transition: background 0.15s, color 0.15s;
}

.sidebar-toggle:hover[b-n7mkcw0wg9] {
    background: rgba(255, 255, 255, 0.15);
    color: var(--sidebar-text-active);
}

main[b-n7mkcw0wg9] {
    flex: 1;
    margin-left: var(--sidebar-width);
    transition: margin-left 0.2s ease;
    min-width: 0;
}

.sidebar-collapsed main[b-n7mkcw0wg9] {
    margin-left: var(--sidebar-collapsed-width);
}

.top-row[b-n7mkcw0wg9] {
    background-color: #ffffff;
    border-bottom: 1px solid var(--card-border);
    height: var(--topbar-height);
    display: flex;
    align-items: center;
    padding: 0 1.25rem;
    position: sticky;
    top: 0;
    z-index: 50;
}

.content[b-n7mkcw0wg9] {
    padding-top: 1.25rem;
    padding-bottom: 2rem;
}

#blazor-error-ui[b-n7mkcw0wg9] {
    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-n7mkcw0wg9] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

@media (max-width: 768px) {
    .sidebar[b-n7mkcw0wg9] {
        width: var(--sidebar-collapsed-width);
    }

    main[b-n7mkcw0wg9] {
        margin-left: var(--sidebar-collapsed-width);
    }

    .sidebar-collapsed .sidebar[b-n7mkcw0wg9] {
        width: 0;
    }

    .sidebar-collapsed main[b-n7mkcw0wg9] {
        margin-left: 0;
    }
}

.sidebar-collapsed .sidebar[b-n7mkcw0wg9]  .nav-text {
    display: none;
}

.sidebar-collapsed .sidebar[b-n7mkcw0wg9]  .nav-item {
    justify-content: center;
    padding: 0.5rem;
    margin: 1px 0.25rem;
}

.sidebar-collapsed .sidebar[b-n7mkcw0wg9]  .sidebar-brand {
    justify-content: center;
    padding: 1rem 0.5rem;
}

.sidebar-collapsed .sidebar[b-n7mkcw0wg9]  .nav-section-title {
    display: none;
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.sidebar-brand[b-3acfp9pp71] {
    display: flex;
    align-items: center;
    padding: 1rem 0.875rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    min-height: 48px;
    gap: 0.625rem;
}

.brand-icon[b-3acfp9pp71] {
    font-size: 1.25rem;
    color: var(--accent);
    flex-shrink: 0;
}

.brand-text[b-3acfp9pp71] {
    font-size: 0.875rem;
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
}

.sidebar-nav[b-3acfp9pp71] {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0.5rem 0 3rem; /* 3rem bottom padding so last item stays above the toggle button */
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.12) transparent;
}

.sidebar-nav[b-3acfp9pp71]::-webkit-scrollbar        { width: 4px; }
.sidebar-nav[b-3acfp9pp71]::-webkit-scrollbar-track  { background: transparent; }
.sidebar-nav[b-3acfp9pp71]::-webkit-scrollbar-thumb  { background: rgba(255,255,255,0.15); border-radius: 2px; }
.sidebar-nav[b-3acfp9pp71]::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.3); }

.nav-section[b-3acfp9pp71] {
    padding: 0.25rem 0;
}

.nav-section-title[b-3acfp9pp71] {
    display: block;
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--sidebar-text);
    padding: 0.5rem 1rem 0.25rem;
    opacity: 0.6;
    white-space: nowrap;
}

[b-3acfp9pp71] .nav-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.5rem 0.875rem;
    margin: 1px 0.5rem;
    color: var(--sidebar-text);
    text-decoration: none;
    font-size: 0.8125rem;
    font-weight: 450;
    border-radius: 6px;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
    border-left: 2px solid transparent;
}

[b-3acfp9pp71] .nav-item:hover {
    background: var(--sidebar-hover-bg);
    color: var(--sidebar-text-active);
    text-decoration: none;
}

[b-3acfp9pp71] .nav-item.active {
    background: var(--sidebar-active-bg);
    color: var(--sidebar-text-active);
    border-left-color: var(--sidebar-active-border);
}

[b-3acfp9pp71] .nav-item i {
    font-size: 1rem;
    width: 1.25rem;
    text-align: center;
    flex-shrink: 0;
}

.nav-text[b-3acfp9pp71] {
    overflow: hidden;
    transition: opacity 0.2s ease, width 0.2s ease;
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-l5c2qoudp5],
.components-reconnect-repeated-attempt-visible[b-l5c2qoudp5],
.components-reconnect-failed-visible[b-l5c2qoudp5],
.components-pause-visible[b-l5c2qoudp5],
.components-resume-failed-visible[b-l5c2qoudp5],
.components-rejoining-animation[b-l5c2qoudp5] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-l5c2qoudp5],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-l5c2qoudp5],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-l5c2qoudp5],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-l5c2qoudp5],
#components-reconnect-modal.components-reconnect-retrying[b-l5c2qoudp5],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-l5c2qoudp5],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-l5c2qoudp5],
#components-reconnect-modal.components-reconnect-failed[b-l5c2qoudp5],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-l5c2qoudp5] {
    display: block;
}


#components-reconnect-modal[b-l5c2qoudp5] {
    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-l5c2qoudp5 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-l5c2qoudp5 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-l5c2qoudp5 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-l5c2qoudp5]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-l5c2qoudp5 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-l5c2qoudp5 {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-l5c2qoudp5 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-l5c2qoudp5 {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-l5c2qoudp5] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-l5c2qoudp5] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-l5c2qoudp5] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-l5c2qoudp5] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-l5c2qoudp5] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-l5c2qoudp5] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-l5c2qoudp5] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-l5c2qoudp5 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-l5c2qoudp5] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-l5c2qoudp5 {
    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;
    }
}
