/* /Components/Layout/MainLayout.razor.rz.scp.css */
.app-shell[b-k7kadnuc3e] { min-height: 100vh; display: grid; grid-template-columns: 248px 1fr; }
.sidebar[b-k7kadnuc3e] { position: sticky; top: 0; height: 100vh; padding: 24px 18px; background: #11151b; border-right: 1px solid #2a3442; display: flex; flex-direction: column; }
.brand[b-k7kadnuc3e] { display: flex; align-items: center; gap: 12px; padding: 0 8px 24px; }
.brand-mark[b-k7kadnuc3e] { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; color: white; font-size: 22px; font-weight: 800; background: linear-gradient(135deg, #2879d5, #68b2ff); box-shadow: 0 8px 24px #2879d544; }
.brand strong[b-k7kadnuc3e], .brand span[b-k7kadnuc3e] { display: block; }
.brand span[b-k7kadnuc3e] { color: #8fa0b4; font-size: 12px; margin-top: 2px; }
nav[b-k7kadnuc3e] { display: grid; gap: 6px; }
nav[b-k7kadnuc3e]  a { padding: 10px 12px; color: #aeb9c7; text-decoration: none; border-radius: 8px; border: 1px solid transparent; }
nav[b-k7kadnuc3e]  a:hover { color: white; background: #1b2632; }
nav[b-k7kadnuc3e]  a.active { color: #fff; background: #203a55; border-color: #31577e; }
.sidebar-footer[b-k7kadnuc3e] { margin-top: auto; padding: 16px 8px 0; border-top: 1px solid #27313e; display: grid; gap: 8px; color: #dce3ec; }
.sidebar-footer a[b-k7kadnuc3e] { color: #68b2ff; text-decoration: none; font-size: 13px; }
.content[b-k7kadnuc3e] { min-width: 0; padding: 34px clamp(24px, 4vw, 56px); background: radial-gradient(circle at 88% 0, #183450 0, #10151c 35%, #0d1117 100%); }
.anonymous-content[b-k7kadnuc3e] { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: radial-gradient(circle at 50% 0, #1d4163, #10151c 45%); }
@media (max-width: 850px) {
    .app-shell[b-k7kadnuc3e] { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
    .sidebar[b-k7kadnuc3e] { position: sticky; z-index: 20; top: 0; height: auto; padding: 10px 16px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 0 12px; border-right: 0; border-bottom: 1px solid #2a3442; box-shadow: 0 8px 24px #0007; }
    .brand[b-k7kadnuc3e] { grid-column: 1; grid-row: 1; padding: 0; }
    .brand-mark[b-k7kadnuc3e] { width: 38px; height: 38px; border-radius: 10px; font-size: 20px; }
    nav[b-k7kadnuc3e] { grid-column: 1 / -1; grid-row: 2; display: flex; gap: 6px; padding-top: 10px; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
    nav[b-k7kadnuc3e]  a { flex: 0 0 auto; padding: 9px 11px; white-space: nowrap; }
    .sidebar-footer[b-k7kadnuc3e] { grid-column: 3; grid-row: 1; margin: 0; padding: 0; border: 0; display: flex; align-items: center; justify-content: end; gap: 10px; }
    .content[b-k7kadnuc3e] { padding: 24px 18px 32px; }
}

@media (max-width: 520px) {
    .sidebar[b-k7kadnuc3e] { grid-template-columns: 1fr auto; padding: 9px 12px; }
    .sidebar-footer[b-k7kadnuc3e] { grid-column: 2; }
    .brand-mark[b-k7kadnuc3e] { width: 34px; height: 34px; font-size: 18px; }
    .brand span[b-k7kadnuc3e] { display: none; }
    .brand strong[b-k7kadnuc3e] { font-size: 14px; }
    .sidebar-footer[b-k7kadnuc3e] { font-size: 12px; }
    .sidebar-footer a[b-k7kadnuc3e] { font-size: 12px; }
    .content[b-k7kadnuc3e] { padding: 20px 12px 28px; }
    .anonymous-content[b-k7kadnuc3e] { padding: 12px; }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-v7uw0hffhi],
.components-reconnect-repeated-attempt-visible[b-v7uw0hffhi],
.components-reconnect-failed-visible[b-v7uw0hffhi],
.components-pause-visible[b-v7uw0hffhi],
.components-resume-failed-visible[b-v7uw0hffhi],
.components-rejoining-animation[b-v7uw0hffhi] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-v7uw0hffhi],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-v7uw0hffhi],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-v7uw0hffhi],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-v7uw0hffhi],
#components-reconnect-modal.components-reconnect-retrying[b-v7uw0hffhi],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-v7uw0hffhi],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-v7uw0hffhi],
#components-reconnect-modal.components-reconnect-failed[b-v7uw0hffhi],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-v7uw0hffhi] {
    display: block;
}


#components-reconnect-modal[b-v7uw0hffhi] {
    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-v7uw0hffhi 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-v7uw0hffhi 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-v7uw0hffhi 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-v7uw0hffhi]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-v7uw0hffhi 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-v7uw0hffhi {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-v7uw0hffhi {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-v7uw0hffhi {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-v7uw0hffhi] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-v7uw0hffhi] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-v7uw0hffhi] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-v7uw0hffhi] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-v7uw0hffhi] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-v7uw0hffhi] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-v7uw0hffhi] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-v7uw0hffhi 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-v7uw0hffhi] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-v7uw0hffhi {
    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;
    }
}
