/* /Components/Layout/MainLayout.razor.rz.scp.css */
.app-container[b-uxaix72vsn] {
    display: flex;
    min-height: 100vh;
}

.sidebar[b-uxaix72vsn] {
    width: 250px;
    background: linear-gradient(180deg, #1a365d 0%, #2c5282 100%);
    color: white;
    padding: 0;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
}

.sidebar-header[b-uxaix72vsn] {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.sidebar-header h2[b-uxaix72vsn] {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 600;
}

.sidebar-header .subtitle[b-uxaix72vsn] {
    margin: 0.5rem 0 0;
    font-size: 0.85rem;
    opacity: 0.8;
}

.nav-menu[b-uxaix72vsn] {
    list-style: none;
    padding: 1rem 0;
    margin: 0;
}

.nav-menu li[b-uxaix72vsn] {
    margin: 0;
}

.nav-menu[b-uxaix72vsn]  a {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    transition: all 0.2s;
    font-size: 0.95rem;
}

.nav-menu[b-uxaix72vsn]  a:hover {
    background: rgba(255,255,255,0.1);
    color: white;
}

.nav-menu[b-uxaix72vsn]  a.active {
    background: rgba(255,255,255,0.15);
    color: white;
    border-left: 3px solid #63b3ed;
}

.nav-menu .icon[b-uxaix72vsn] {
    margin-right: 0.75rem;
    font-size: 1.1rem;
}

.main-content[b-uxaix72vsn] {
    flex: 1;
    margin-left: 250px;
    padding: 2rem;
    background: #f7fafc;
    min-height: 100vh;
    transition: margin-left 0.3s ease;
}

/* Sidebar transition for collapse animation */
.sidebar[b-uxaix72vsn] {
    transition: transform 0.3s ease;
}

/* No sidebar (login page) */
.no-sidebar[b-uxaix72vsn] {
    margin-left: 0;
}

#blazor-error-ui[b-uxaix72vsn] {
    background: #8b0000;
    color: white;
    padding: 1rem;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: none;
}

#blazor-error-ui .dismiss[b-uxaix72vsn] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

/* Mobile nav — hidden on desktop */
.mobile-nav[b-uxaix72vsn] { display: none; }

@media (pointer: coarse) {
    /* Hide desktop sidebar controls */
    .menu-toggle-checkbox[b-uxaix72vsn],
    .menu-toggle[b-uxaix72vsn],
    .sidebar[b-uxaix72vsn] { display: none !important; }

    /* Remove sidebar margin */
    .main-content[b-uxaix72vsn] {
        margin-left: 0 !important;
        padding: 0.75rem !important;
        padding-bottom: 5rem !important;
    }

    /* Sticky bottom nav */
    .mobile-nav[b-uxaix72vsn] {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background: #2c5282;
        justify-content: space-around;
        padding: 0.4rem 0 max(0.4rem, env(safe-area-inset-bottom));
        border-top: 1px solid #2a4a7f;
    }

    .mobile-nav[b-uxaix72vsn]  a {
        display: flex;
        flex-direction: column;
        align-items: center;
        color: #bee3f8;
        text-decoration: none;
        padding: 0.2rem 0.4rem;
        gap: 1px;
    }

    .mobile-nav[b-uxaix72vsn]  a.active { color: #fff; }

    .mnav-icon[b-uxaix72vsn] { font-size: 1.3rem; line-height: 1; }
    .mnav-label[b-uxaix72vsn] { font-size: 0.6rem; }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-l8fh3wltyg],
.components-reconnect-repeated-attempt-visible[b-l8fh3wltyg],
.components-reconnect-failed-visible[b-l8fh3wltyg],
.components-pause-visible[b-l8fh3wltyg],
.components-resume-failed-visible[b-l8fh3wltyg],
.components-rejoining-animation[b-l8fh3wltyg] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-l8fh3wltyg],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-l8fh3wltyg],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-l8fh3wltyg],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-l8fh3wltyg],
#components-reconnect-modal.components-reconnect-retrying[b-l8fh3wltyg],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-l8fh3wltyg],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-l8fh3wltyg],
#components-reconnect-modal.components-reconnect-failed[b-l8fh3wltyg],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-l8fh3wltyg] {
    display: block;
}


#components-reconnect-modal[b-l8fh3wltyg] {
    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-l8fh3wltyg 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-l8fh3wltyg 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-l8fh3wltyg 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-l8fh3wltyg]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-l8fh3wltyg 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-l8fh3wltyg {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-l8fh3wltyg {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-l8fh3wltyg {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-l8fh3wltyg] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-l8fh3wltyg] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-l8fh3wltyg] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-l8fh3wltyg] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-l8fh3wltyg] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-l8fh3wltyg] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-l8fh3wltyg] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-l8fh3wltyg 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-l8fh3wltyg] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-l8fh3wltyg {
    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;
    }
}
