/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-ar4m9hl3am] {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: var(--bg-base);
}

main[b-ar4m9hl3am] {
    flex: 1;
    min-width: 0;
    width: 100%;
    overflow-x: hidden;
}

.sidebar[b-ar4m9hl3am] {
    background: var(--bg-surface);
    border-right: 1px solid var(--border);
}

article.content[b-ar4m9hl3am] {
    padding: 2rem 2.5rem;
    max-width: 1200px;
}

@media (max-width: 640.98px) {
    article.content[b-ar4m9hl3am] { padding: 1.25rem 1rem; }
}

@media (min-width: 641px) {
    .page[b-ar4m9hl3am] {
        flex-direction: row;
    }

    .sidebar[b-ar4m9hl3am] {
        width: 230px;
        min-width: 230px;
        height: 100vh;
        position: sticky;
        top: 0;
    }
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-6uv135tirs] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.6%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem transparent;
    border-radius: 6px;
}
.navbar-toggler:checked[b-6uv135tirs] { background-color: rgba(255, 255, 255, 0.1); }

/* Brand header */
.nav-brand-row[b-6uv135tirs] {
    height: 56px;
    display: flex;
    align-items: center;
    padding: 0 1rem;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}
.nav-brand[b-6uv135tirs] {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: -0.01em;
}
.nav-brand:hover[b-6uv135tirs] { color: var(--accent); text-decoration: none; }
.nav-brand .brand-dot[b-6uv135tirs] {
    width: 8px; height: 8px;
    background: var(--accent);
    border-radius: 50%;
    flex-shrink: 0;
}

/* Scrollable area */
.nav-scrollable[b-6uv135tirs] {
    display: none;
    flex-direction: column;
    height: calc(100% - 56px);
}
.navbar-toggler:checked ~ .nav-scrollable[b-6uv135tirs] { display: flex; }

/* Nav section label */
.nav-section-label[b-6uv135tirs] {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-subtle);
    font-weight: 600;
    padding: 1.1rem 1rem 0.3rem;
}

/* Nav items */
.nav-links[b-6uv135tirs] { flex: 1; padding: 0.35rem 0.5rem; }
.nav-item[b-6uv135tirs] { padding: 0.1rem 0; }

.nav-item[b-6uv135tirs]  .nav-link {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 0.75rem;
    color: var(--text-muted);
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: background 0.1s, color 0.1s;
    text-decoration: none;
}
.nav-item[b-6uv135tirs]  .nav-link:hover {
    background: var(--bg-raised);
    color: var(--text);
    text-decoration: none;
}
.nav-item[b-6uv135tirs]  a.active {
    background: var(--accent-subtle);
    color: var(--accent);
}
.nav-item[b-6uv135tirs]  a.active i { color: var(--accent); }

/* Bottom section */
.nav-footer[b-6uv135tirs] {
    padding: 0.75rem;
    border-top: 1px solid var(--border);
    flex-shrink: 0;
}
.nav-user-chip[b-6uv135tirs] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.6rem;
    margin-bottom: 0.5rem;
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.78rem;
}
.nav-user-chip .username[b-6uv135tirs] { font-weight: 600; color: var(--text); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

@media (min-width: 641px) {
    .navbar-toggler[b-6uv135tirs] { display: none; }

    .nav-scrollable[b-6uv135tirs] {
        display: flex;
        height: calc(100vh - 56px);
        overflow-y: auto;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-9pw9c3m584],
.components-reconnect-repeated-attempt-visible[b-9pw9c3m584],
.components-reconnect-failed-visible[b-9pw9c3m584],
.components-pause-visible[b-9pw9c3m584],
.components-resume-failed-visible[b-9pw9c3m584],
.components-rejoining-animation[b-9pw9c3m584] {
    display: none;
}

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


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

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

}

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

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

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

@keyframes components-reconnect-modal-fadeInOpacity-b-9pw9c3m584 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

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

    100% {
        opacity: 0;
    }
}

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

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

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

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

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

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

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

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

@keyframes components-rejoining-animation-b-9pw9c3m584 {
    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;
    }
}
