/* /Components/Layout/MainLayout.razor.rz.scp.css */
.app[b-id7vdcyidd] {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.navbar[b-id7vdcyidd] {
    background: #1a365d;
    color: white;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
}

.navbar-brand[b-id7vdcyidd] {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.navbar-logo[b-id7vdcyidd] {
    height: 60px;
    width: auto;
    flex-shrink: 0;
}

.brand-text[b-id7vdcyidd] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    justify-content: center;
}

.navbar-brand a[b-id7vdcyidd] {
    color: white;
    text-decoration: none;
    font-size: 1.9rem;
    font-weight: 700;
    margin: 0;
    padding: 0;
    line-height: 1;
}

.navbar-subtitle[b-id7vdcyidd] {
    color: #90cdf4;
    font-size: 0.85rem;
    margin: 0;
}

.app-body[b-id7vdcyidd] {
    flex: 1;
    display: flex;
    align-items: stretch;
    min-height: 0;
}

.sidebar[b-id7vdcyidd] {
    flex-shrink: 0;
    width: 220px;
    background: #f7fafc;
    border-right: 1px solid #e2e8f0;
    padding: 1rem 0;
}

.sidebar-nav[b-id7vdcyidd] {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    position: sticky;
    top: 0;
}

[b-id7vdcyidd] .sidebar-section {
    padding: 0.75rem 1.25rem 0.35rem;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #718096;
}

[b-id7vdcyidd] .sidebar-link {
    display: block;
    padding: 0.5rem 1.25rem;
    color: #2d3748;
    text-decoration: none;
    font-size: 0.9rem;
    border-left: 3px solid transparent;
    transition: background 0.12s, color 0.12s, border-color 0.12s;
}

[b-id7vdcyidd] .sidebar-link:hover {
    background: #edf2f7;
    color: #1a365d;
}

[b-id7vdcyidd] .sidebar-link.active {
    background: #e2e8f0;
    color: #1a365d;
    border-left-color: #1a365d;
    font-weight: 600;
}

.main-content[b-id7vdcyidd] {
    flex: 1;
    padding: 1.5rem;
    max-width: 1600px;
    width: 100%;
    margin: 0 auto;
    min-width: 0;
}

#blazor-error-ui[b-id7vdcyidd] {
    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;
}

.navbar-version[b-id7vdcyidd] {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #90cdf4;
    border: 1px solid #4a6fa5;
    border-radius: 999px;
    padding: 0.2rem 0.75rem;
    font-size: 0.8rem;
    white-space: nowrap;
    transition: background 0.15s;
}

.navbar-version:hover[b-id7vdcyidd] {
    background: rgba(144, 205, 244, 0.1);
    color: white;
}

.navbar-version-number[b-id7vdcyidd] {
    font-weight: 600;
    flex-shrink: 0;
}

.navbar-version-teaser[b-id7vdcyidd] {
    color: #cbd5e0;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 280px;
}

.navbar-version-teaser[b-id7vdcyidd]::before {
    content: '·';
    margin-right: 0.5rem;
    color: #4a6fa5;
}

.navbar-right[b-id7vdcyidd] {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: 1.5rem;
}

.navbar-user[b-id7vdcyidd] {
    color: #90cdf4;
    font-size: 0.875rem;
}

.navbar-link[b-id7vdcyidd] {
    color: #cbd5e0;
    font-size: 0.875rem;
    text-decoration: none;
}

.navbar-link:hover[b-id7vdcyidd] {
    color: white;
}

.logout-form[b-id7vdcyidd] {
    margin: 0;
    padding: 0;
}

.btn-link[b-id7vdcyidd] {
    background: none;
    border: none;
    color: #cbd5e0;
    cursor: pointer;
    font-size: 0.875rem;
    padding: 0;
}

.btn-link:hover[b-id7vdcyidd] {
    color: white;
}

/* Dark Mode – Navbar (scoped) */
:root.dark .navbar[b-id7vdcyidd] { background: #1e3a5f; }
:root.dark .navbar-brand a[b-id7vdcyidd] { color: #90cdf4; }
:root.dark .main-content[b-id7vdcyidd] { background: #1a202c; }
:root.dark .sidebar[b-id7vdcyidd] { background: #2d3748; border-right-color: #4a5568; }
:root.dark[b-id7vdcyidd]  .sidebar-section { color: #a0aec0; }
:root.dark[b-id7vdcyidd]  .sidebar-link { color: #e2e8f0; }
:root.dark[b-id7vdcyidd]  .sidebar-link:hover { background: #4a5568; color: #fff; }
:root.dark[b-id7vdcyidd]  .sidebar-link.active { background: #4a5568; color: #90cdf4; border-left-color: #90cdf4; }

    #blazor-error-ui .dismiss[b-id7vdcyidd] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-2f5yx8gxrc],
.components-reconnect-repeated-attempt-visible[b-2f5yx8gxrc],
.components-reconnect-failed-visible[b-2f5yx8gxrc],
.components-pause-visible[b-2f5yx8gxrc],
.components-resume-failed-visible[b-2f5yx8gxrc],
.components-rejoining-animation[b-2f5yx8gxrc] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-2f5yx8gxrc],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-2f5yx8gxrc],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-2f5yx8gxrc],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-2f5yx8gxrc],
#components-reconnect-modal.components-reconnect-retrying[b-2f5yx8gxrc],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-2f5yx8gxrc],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-2f5yx8gxrc],
#components-reconnect-modal.components-reconnect-failed[b-2f5yx8gxrc],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-2f5yx8gxrc] {
    display: block;
}


#components-reconnect-modal[b-2f5yx8gxrc] {
    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-2f5yx8gxrc 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-2f5yx8gxrc 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-2f5yx8gxrc 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-2f5yx8gxrc]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-2f5yx8gxrc 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-2f5yx8gxrc {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-2f5yx8gxrc {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-2f5yx8gxrc {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-2f5yx8gxrc] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-2f5yx8gxrc] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-2f5yx8gxrc] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-2f5yx8gxrc] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-2f5yx8gxrc] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-2f5yx8gxrc] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-2f5yx8gxrc] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-2f5yx8gxrc 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-2f5yx8gxrc] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-2f5yx8gxrc {
    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/LoginPage.razor.rz.scp.css */
.login-wrapper[b-k7t4luo86c] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: var(--bg-page, #f5f5f5);
}

.login-card[b-k7t4luo86c] {
    background: var(--bg-card, #fff);
    border: 1px solid var(--border, #e0e0e0);
    border-radius: 8px;
    padding: 2.5rem 2rem;
    width: 100%;
    max-width: 360px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.login-header[b-k7t4luo86c] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.login-logo[b-k7t4luo86c] {
    width: 48px;
    height: 48px;
}

.login-header h1[b-k7t4luo86c] {
    font-size: 1.5rem;
    margin: 0;
}

.login-form[b-k7t4luo86c] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.login-form label[b-k7t4luo86c] {
    font-size: 0.875rem;
    font-weight: 500;
    margin-top: 0.5rem;
}

.login-form input[type="text"][b-k7t4luo86c],
.login-form input[type="password"][b-k7t4luo86c] {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--border, #ccc);
    border-radius: 4px;
    font-size: 1rem;
    box-sizing: border-box;
}

.btn-block[b-k7t4luo86c] {
    width: 100%;
    margin-top: 1rem;
    padding: 0.6rem;
}

.login-error[b-k7t4luo86c] {
    background: #fee;
    border: 1px solid #f99;
    border-radius: 4px;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    color: #c00;
}
