/* /Components/Layout/MainLayout.razor.rz.scp.css */
.shell[b-cau7ioli3m] {
    display: flex;
    min-height: 100vh;
}

.sidebar[b-cau7ioli3m] {
    width: 250px;
    flex-shrink: 0;
    background: var(--pc-sidebar);
    color: #dfe9e3;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    z-index: 20;
}

.main[b-cau7ioli3m] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.topbar[b-cau7ioli3m] {
    height: 60px;
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: 0 1.5rem;
    background: var(--pc-surface);
    border-bottom: 1px solid var(--pc-border);
    position: sticky;
    top: 0;
    z-index: 10;
}

.topbar-spacer[b-cau7ioli3m] { flex: 1; }

.nav-toggle-btn[b-cau7ioli3m] {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    margin: 0;
    color: var(--pc-text);
}

.user-chip[b-cau7ioli3m] {
    display: flex;
    align-items: center;
    gap: .5rem;
    text-decoration: none;
    color: var(--pc-text);
    padding: .25rem .6rem .25rem .25rem;
    border-radius: 999px;
}
.user-chip:hover[b-cau7ioli3m] { background: var(--pc-hover); }



.user-name[b-cau7ioli3m] { font-size: .9rem; font-weight: 500; }

.icon-btn[b-cau7ioli3m] {
    border: 0;
    background: transparent;
    color: var(--pc-muted);
    font-size: 1.2rem;
    padding: .35rem .5rem;
    border-radius: 8px;
}
.icon-btn:hover[b-cau7ioli3m] { background: var(--pc-hover); color: var(--pc-text); }

.content[b-cau7ioli3m] {
    padding: 1.75rem 1.5rem 3rem;
    max-width: 1200px;
    width: 100%;
}

@media (max-width: 860px) {
    .sidebar[b-cau7ioli3m] {
        position: fixed;
        left: 0;
        transform: translateX(-100%);
        transition: transform .2s ease;
        box-shadow: none;
        z-index: 1050;
    }
    .shell:has(.nav-toggle:checked) .sidebar[b-cau7ioli3m] { transform: translateX(0); box-shadow: 0 0 40px rgba(0,0,0,.3); }
    /* Fondo oscuro detrás del menú abierto: tocarlo cierra el menú. */
    .shell:has(.nav-toggle:checked) .nav-backdrop[b-cau7ioli3m] { display: block; }
    .topbar[b-cau7ioli3m] { position: sticky; top: 0; z-index: 1030; }
    .nav-toggle-btn[b-cau7ioli3m] { display: block; }
    .user-name[b-cau7ioli3m] { display: none; }
    .content[b-cau7ioli3m] { padding: 1.25rem 1rem 2rem; }
}

.nav-backdrop[b-cau7ioli3m] { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.35); z-index: 1040; margin: 0; cursor: pointer; }
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-w24s8l5e13],
.components-reconnect-repeated-attempt-visible[b-w24s8l5e13],
.components-reconnect-failed-visible[b-w24s8l5e13],
.components-pause-visible[b-w24s8l5e13],
.components-resume-failed-visible[b-w24s8l5e13],
.components-rejoining-animation[b-w24s8l5e13] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-w24s8l5e13],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-w24s8l5e13],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-w24s8l5e13],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-w24s8l5e13],
#components-reconnect-modal.components-reconnect-retrying[b-w24s8l5e13],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-w24s8l5e13],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-w24s8l5e13],
#components-reconnect-modal.components-reconnect-failed[b-w24s8l5e13],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-w24s8l5e13] {
    display: block;
}


#components-reconnect-modal[b-w24s8l5e13] {
    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-w24s8l5e13 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-w24s8l5e13 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-w24s8l5e13 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-w24s8l5e13]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-w24s8l5e13 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-w24s8l5e13 {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-w24s8l5e13 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-w24s8l5e13 {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-w24s8l5e13] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-w24s8l5e13] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-w24s8l5e13] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-w24s8l5e13] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-w24s8l5e13] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-w24s8l5e13] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-w24s8l5e13] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-w24s8l5e13 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-w24s8l5e13] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-w24s8l5e13 {
    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;
    }
}
