/* /Shared/AdminLayout.razor.rz.scp.css */
/* ═══════════════════════════════════════
   NEC ADMIN — Layout
   Font: DM Sans from Google Fonts
   ═══════════════════════════════════════ */

.admin-wrapper[b-enjwmbeekq] {
    display: flex;
    min-height: 100vh;
    background: #f1f5f9;
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ── Sidebar ── */
.admin-sidebar[b-enjwmbeekq] {
    width: 260px;
    background: #0f172a;
    color: #fff;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 100;
    overflow-y: auto;
}

.sidebar-header[b-enjwmbeekq] {
    padding: 24px 20px 20px;
}

.sidebar-brand[b-enjwmbeekq] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-icon[b-enjwmbeekq] {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.3em;
    color: #0f172a;
    letter-spacing: -0.5px;
}

.brand-text[b-enjwmbeekq] {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-name[b-enjwmbeekq] {
    font-weight: 700;
    font-size: 1.15em;
    color: #f8fafc;
    letter-spacing: 0.5px;
}

.brand-sub[b-enjwmbeekq] {
    font-size: 0.72em;
    color: #64748b;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.sidebar-section-label[b-enjwmbeekq] {
    font-size: 0.68em;
    font-weight: 600;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 8px 24px 8px;
    margin-top: 4px;
}

.sidebar-nav[b-enjwmbeekq] {
    list-style: none;
    padding: 4px 12px;
    margin: 0;
    flex: 1;
}

.sidebar-nav li a[b-enjwmbeekq] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 16px;
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9em;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s ease;
    margin-bottom: 2px;
}

.sidebar-nav li a:hover[b-enjwmbeekq] {
    background: rgba(248, 250, 252, 0.06);
    color: #e2e8f0;
}

.sidebar-nav li.active a[b-enjwmbeekq] {
    background: rgba(245, 158, 11, 0.12);
    color: #fbbf24;
}

[b-enjwmbeekq] .nav-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    opacity: 0.7;
}

.sidebar-nav li.active a[b-enjwmbeekq]  .nav-icon {
    opacity: 1;
    color: #fbbf24;
}

/* ── Sidebar footer ── */
.sidebar-footer[b-enjwmbeekq] {
    padding: 0 12px 16px;
    margin-top: auto;
}

.sidebar-divider[b-enjwmbeekq] {
    height: 1px;
    background: rgba(148, 163, 184, 0.12);
    margin: 0 4px 16px;
}

.sidebar-user[b-enjwmbeekq] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    background: rgba(248, 250, 252, 0.04);
}

.user-avatar[b-enjwmbeekq] {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85em;
    color: #fff;
    flex-shrink: 0;
}

.user-info[b-enjwmbeekq] {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.user-email[b-enjwmbeekq] {
    font-size: 0.78em;
    color: #cbd5e1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-role[b-enjwmbeekq] {
    font-size: 0.68em;
    color: #64748b;
    font-weight: 500;
}

/* ── Main area ── */
.admin-main[b-enjwmbeekq] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    margin-left: 260px;
}

/* ── Top bar ── */
.admin-topbar[b-enjwmbeekq] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    height: 64px;
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 50;
}

.topbar-title[b-enjwmbeekq] {
    font-size: 1.15em;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    letter-spacing: -0.3px;
}

.topbar-right[b-enjwmbeekq] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-logout[b-enjwmbeekq] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 1px solid #e2e8f0;
    padding: 7px 16px;
    border-radius: 6px;
    color: #64748b;
    font-size: 0.82em;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.btn-logout:hover[b-enjwmbeekq] {
    background: #fef2f2;
    color: #dc2626;
    border-color: #fecaca;
}

/* ── Content ── */
.admin-content[b-enjwmbeekq] {
    padding: 28px 32px;
    flex: 1;
}
/* /Shared/MainLayout.razor.rz.scp.css */
/* MainLayout usa el tema WordPress/Flatsome — no se necesitan estilos del layout default de Blazor */
/* /Shared/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-3pa7eka8q9] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-3pa7eka8q9] {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-3pa7eka8q9] {
    font-size: 1.1rem;
}

.oi[b-3pa7eka8q9] {
    width: 2rem;
    font-size: 1.1rem;
    vertical-align: text-top;
    top: -2px;
}

.nav-item[b-3pa7eka8q9] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-3pa7eka8q9] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-3pa7eka8q9] {
        padding-bottom: 1rem;
    }

    .nav-item[b-3pa7eka8q9]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item[b-3pa7eka8q9]  a.active {
    background-color: rgba(255,255,255,0.25);
    color: white;
}

.nav-item[b-3pa7eka8q9]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

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

    .collapse[b-3pa7eka8q9] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
}
