/* /Components/Layout/AdminLayout.razor.rz.scp.css */
/* ── Shell ── */
.admin-shell[b-6gy3cbysy8] {
    display: flex;
    min-height: 100vh;
    background: #f0f2f5;
    font-family: 'Inter', system-ui, sans-serif;
}

/* ── Sidebar ── */
.admin-sidebar[b-6gy3cbysy8] {
    width: 240px;
    min-height: 100vh;
    background: #0f1629;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    transition: transform 0.25s ease;
    z-index: 200;
}

/* ── Brand ── */
.sidebar-brand[b-6gy3cbysy8] {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: 1.25rem 1.25rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.sidebar-logo-icon[b-6gy3cbysy8] {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: .9rem;
    flex-shrink: 0;
}

.sidebar-brand-name[b-6gy3cbysy8] {
    display: block;
    font-size: .9rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
}

.sidebar-brand-sub[b-6gy3cbysy8] {
    display: block;
    font-size: .68rem;
    color: rgba(255,255,255,.45);
    letter-spacing: .02em;
}

/* ── Nav ── */
.sidebar-nav[b-6gy3cbysy8] {
    flex: 1;
    padding: .75rem .75rem;
    display: flex;
    flex-direction: column;
    gap: 2px;
    overflow-y: auto;
}

.snav-section-label[b-6gy3cbysy8] {
    font-size: .65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: rgba(255,255,255,.3);
    padding: .75rem .5rem .25rem;
}

.snav-item[b-6gy3cbysy8] {
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .52rem .75rem;
    border-radius: 8px;
    color: rgba(255,255,255,.6);
    text-decoration: none;
    font-size: .85rem;
    font-weight: 500;
    transition: background .15s, color .15s;
}

.snav-item:hover[b-6gy3cbysy8] {
    background: rgba(255,255,255,.07);
    color: #fff;
}

.snav-item.snav-active[b-6gy3cbysy8] {
    background: rgba(37,99,235,.25);
    color: #60a5fa;
}

.snav-icon[b-6gy3cbysy8] {
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

/* ── Sidebar footer ── */
.sidebar-footer[b-6gy3cbysy8] {
    padding: .75rem;
    border-top: 1px solid rgba(255,255,255,.08);
}

.sidebar-signout[b-6gy3cbysy8] {
    display: flex;
    align-items: center;
    gap: .6rem;
    width: 100%;
    padding: .5rem .75rem;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: rgba(255,255,255,.5);
    font-size: .83rem;
    cursor: pointer;
    transition: background .15s, color .15s;
}

.sidebar-signout:hover:not(:disabled)[b-6gy3cbysy8] {
    background: rgba(239,68,68,.12);
    color: #f87171;
}

/* ── Main ── */
.admin-main[b-6gy3cbysy8] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

/* ── Top bar ── */
.admin-topbar[b-6gy3cbysy8] {
    height: 56px;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
    gap: 1rem;
    position: sticky;
    top: 0;
    z-index: 100;
}

.topbar-hamburger[b-6gy3cbysy8] {
    display: none;
    background: none;
    border: none;
    padding: .4rem;
    border-radius: 6px;
    cursor: pointer;
    color: #6b7280;
    font-size: 1.1rem;
}

.topbar-spacer[b-6gy3cbysy8] { flex: 1; }

.topbar-user[b-6gy3cbysy8] {
    display: flex;
    align-items: center;
    gap: .6rem;
}

.topbar-avatar[b-6gy3cbysy8] {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    flex-shrink: 0;
}

.topbar-user-name[b-6gy3cbysy8] {
    display: block;
    font-size: .82rem;
    font-weight: 600;
    color: #111827;
    line-height: 1.1;
}

.topbar-user-id[b-6gy3cbysy8] {
    display: block;
    font-size: .72rem;
    color: #9ca3af;
}

/* ── Content ── */
.admin-content[b-6gy3cbysy8] {
    flex: 1;
    padding: 1.75rem;
    overflow-y: auto;
}

/* ── Mobile sidebar ── */
.sidebar-overlay[b-6gy3cbysy8] {
    display: none;
}

@media (max-width: 768px) {
    .admin-sidebar[b-6gy3cbysy8] {
        position: fixed;
        left: 0;
        top: 0;
        transform: translateX(-100%);
        box-shadow: 4px 0 24px rgba(0,0,0,.3);
    }

    .admin-sidebar.sidebar-open[b-6gy3cbysy8] {
        transform: translateX(0);
    }

    .sidebar-overlay[b-6gy3cbysy8] {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,.4);
        z-index: 199;
    }

    .topbar-hamburger[b-6gy3cbysy8] {
        display: flex;
    }

    .admin-content[b-6gy3cbysy8] {
        padding: 1rem;
    }
}
