/* /Components/Admin/AdminLayout.razor.rz.scp.css */
.rkxt-admin[b-rp0cbg03im] {
    display: grid;
    grid-template-columns: 240px 1fr;
    min-height: calc(100vh - 140px);
    background: var(--rkxt-bg);
}

.rkxt-admin-sidebar[b-rp0cbg03im] {
    background: var(--rkxt-bg-alt);
    border-right: 1px solid var(--rkxt-border);
    display: flex;
    flex-direction: column;
    padding: 22px 18px;
}

.rkxt-admin-sidebar-header[b-rp0cbg03im] {
    margin-bottom: 22px;
}

.rkxt-admin-section[b-rp0cbg03im] {
    display: block;
    font-family: var(--rkxt-font-display);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--rkxt-text);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.rkxt-admin-scope-pill[b-rp0cbg03im] {
    display: inline-block;
    padding: 4px 10px;
    border-radius: var(--rkxt-radius-pill);
    background: var(--rkxt-primary-soft);
    border: 1px solid rgba(235, 82, 2, 0.3);
    color: var(--rkxt-primary);
    font-size: 0.7rem;
    font-weight: 600;
}

.rkxt-admin-nav[b-rp0cbg03im] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* .rkxt-admin-link y variantes se declaran en wwwroot/app.css global porque
   NavLink renderiza <a> sin el atributo b-{scope} y el CSS scoped no le aplica.
   Lección Rakuxt: componentes externos (NavLink, MudBlazor, etc.) no participan
   del CSS isolation. Sus estilos deben ir global o usar ::deep. */

.rkxt-admin-sidebar-footer[b-rp0cbg03im] {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--rkxt-border-soft);
}

.rkxt-admin-link-back[b-rp0cbg03im] {
    color: var(--rkxt-text-dim);
    font-size: 0.85rem;
    text-decoration: none;
}

.rkxt-admin-link-back:hover[b-rp0cbg03im] {
    color: var(--rkxt-primary-hover);
}

.rkxt-admin-content[b-rp0cbg03im] {
    padding: 28px 36px;
    overflow-x: auto;
}

@media (max-width: 720px) {
    .rkxt-admin[b-rp0cbg03im] {
        grid-template-columns: 1fr;
    }
    .rkxt-admin-sidebar[b-rp0cbg03im] {
        border-right: none;
        border-bottom: 1px solid var(--rkxt-border);
    }
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
.rkxt-app[b-nqitsl362f] {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--rkxt-bg);
}

/* ----- Topbar ----- */
.rkxt-topbar[b-nqitsl362f] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 32px;
    border-bottom: 1px solid var(--rkxt-border);
    background: var(--rkxt-bg-alt);
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: saturate(140%) blur(8px);
}

.rkxt-brand[b-nqitsl362f] {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--rkxt-text);
    font-family: var(--rkxt-font-display);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: -0.01em;
}

.rkxt-brand:hover[b-nqitsl362f] {
    color: var(--rkxt-text);
}

.rkxt-brand-mark[b-nqitsl362f] {
    width: 32px;
    height: 32px;
    border-radius: var(--rkxt-radius-sm);
    background: var(--rkxt-grad-primary);
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: var(--rkxt-shadow-md);
}

.rkxt-brand-name[b-nqitsl362f] {
    font-size: 1.05rem;
}

.rkxt-brand-tag[b-nqitsl362f] {
    margin-left: 4px;
    padding: 3px 10px;
    border-radius: var(--rkxt-radius-pill);
    background: var(--rkxt-primary-soft);
    color: var(--rkxt-primary-hover);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.rkxt-topbar-nav[b-nqitsl362f] {
    display: flex;
    gap: 18px;
    align-items: center;
}

.rkxt-link-mute[b-nqitsl362f] {
    color: var(--rkxt-text-muted);
    font-size: 0.875rem;
    font-weight: 500;
}

.rkxt-link-mute:hover[b-nqitsl362f] {
    color: var(--rkxt-text);
}

.rkxt-logout-form[b-nqitsl362f] {
    display: inline;
    margin: 0;
}

.rkxt-logout-btn[b-nqitsl362f] {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 500;
}

/* ----- Main ----- */
.rkxt-main[b-nqitsl362f] {
    flex: 1;
    width: 100%;
}

/* ----- Footer ----- */
.rkxt-footer[b-nqitsl362f] {
    padding: 22px 32px;
    border-top: 1px solid var(--rkxt-border);
    color: var(--rkxt-text-dim);
    font-size: 0.82rem;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    background: var(--rkxt-bg-alt);
}

.rkxt-footer-dot[b-nqitsl362f] {
    opacity: 0.5;
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-e9n7elysfg],
.components-reconnect-repeated-attempt-visible[b-e9n7elysfg],
.components-reconnect-failed-visible[b-e9n7elysfg],
.components-pause-visible[b-e9n7elysfg],
.components-resume-failed-visible[b-e9n7elysfg],
.components-rejoining-animation[b-e9n7elysfg] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-e9n7elysfg],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-e9n7elysfg],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-e9n7elysfg],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-e9n7elysfg],
#components-reconnect-modal.components-reconnect-retrying[b-e9n7elysfg],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-e9n7elysfg],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-e9n7elysfg],
#components-reconnect-modal.components-reconnect-failed[b-e9n7elysfg],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-e9n7elysfg] {
    display: block;
}


#components-reconnect-modal[b-e9n7elysfg] {
    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-e9n7elysfg 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-e9n7elysfg 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-e9n7elysfg 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-e9n7elysfg]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-e9n7elysfg 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-e9n7elysfg {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-e9n7elysfg {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-e9n7elysfg {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-e9n7elysfg] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-e9n7elysfg] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-e9n7elysfg] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-e9n7elysfg] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-e9n7elysfg] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-e9n7elysfg] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-e9n7elysfg] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-e9n7elysfg 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-e9n7elysfg] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-e9n7elysfg {
    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/Home.razor.rz.scp.css */
.rkxt-hero[b-xfieplrt8l] {
    min-height: calc(100vh - 140px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 32px;
    background:
        radial-gradient(900px 500px at 80% -100px, rgba(139, 92, 246, 0.16), transparent 60%),
        radial-gradient(700px 400px at -10% 110%, rgba(99, 102, 241, 0.12), transparent 60%),
        var(--rkxt-bg);
}

.rkxt-hero-inner[b-xfieplrt8l] {
    max-width: 920px;
    width: 100%;
    text-align: center;
}

.rkxt-hero-badge[b-xfieplrt8l] {
    display: inline-block;
    padding: 6px 14px;
    border-radius: var(--rkxt-radius-pill);
    background: var(--rkxt-primary-soft);
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: var(--rkxt-primary-hover);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 28px;
}

.rkxt-hero-title[b-xfieplrt8l] {
    font-size: clamp(3.4rem, 7vw, 5.6rem);
    margin: 0 0 22px 0;
    line-height: 1;
    letter-spacing: -0.04em;
    font-weight: 800;
}

.rkxt-hero-grad[b-xfieplrt8l] {
    background: var(--rkxt-grad-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.rkxt-hero-lead[b-xfieplrt8l] {
    font-size: clamp(1.05rem, 1.6vw, 1.2rem);
    color: var(--rkxt-text-muted);
    max-width: 640px;
    margin: 0 auto 48px auto;
    line-height: 1.65;
}

.rkxt-hero-lead strong[b-xfieplrt8l] {
    color: var(--rkxt-text);
    font-weight: 600;
}

/* ----- Status grid ----- */
.rkxt-status-grid[b-xfieplrt8l] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin: 0 auto 48px auto;
    max-width: 820px;
}

@media (max-width: 720px) {
    .rkxt-status-grid[b-xfieplrt8l] {
        grid-template-columns: 1fr 1fr;
    }
}

.rkxt-status-card[b-xfieplrt8l] {
    background: var(--rkxt-surface);
    border: 1px solid var(--rkxt-border);
    border-radius: var(--rkxt-radius);
    padding: 16px 18px;
    text-align: left;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.rkxt-status-card:hover[b-xfieplrt8l] {
    border-color: rgba(99, 102, 241, 0.4);
    transform: translateY(-1px);
}

.rkxt-status-label[b-xfieplrt8l] {
    font-size: 0.7rem;
    color: var(--rkxt-text-dim);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.rkxt-status-value[b-xfieplrt8l] {
    color: var(--rkxt-text);
    font-size: 0.92rem;
    font-weight: 500;
}

/* ----- Scope card (sesión activa) ----- */
.rkxt-scope-card[b-xfieplrt8l] {
    max-width: 820px;
    margin: 0 auto 32px auto;
    text-align: left;
    background: var(--rkxt-primary-soft);
    border: 1px solid rgba(99, 102, 241, 0.4);
}

.rkxt-scope-grid[b-xfieplrt8l] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 24px;
    color: var(--rkxt-text);
    font-size: 0.88rem;
}

.rkxt-scope-grid strong[b-xfieplrt8l] {
    color: var(--rkxt-primary-hover);
    font-weight: 600;
    margin-right: 6px;
}

.rkxt-hero-meta code[b-xfieplrt8l] {
    background: var(--rkxt-surface-2);
    border: 1px solid var(--rkxt-border-soft);
    border-radius: 4px;
    padding: 1px 6px;
    font-size: 0.82rem;
}

/* ----- Footer-ish meta below grid ----- */
.rkxt-hero-meta[b-xfieplrt8l] {
    color: var(--rkxt-text-dim);
    font-size: 0.85rem;
    margin-top: 8px;
}
