/* _content/Nucleos/Components/Layout/ClientLayout.razor.rz.scp.css */
/* ── Client shell ── */
.client-shell[b-xfzlg5a2w5] {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--bg);
}

/* ── Header ── */
.client-header[b-xfzlg5a2w5] {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.client-header-inner[b-xfzlg5a2w5] {
    max-width: 860px;
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.client-header-brand[b-xfzlg5a2w5] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.client-header-logo[b-xfzlg5a2w5] {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
}

.client-header-product[b-xfzlg5a2w5] {
    display: block;
    font-family: 'Manrope', 'Inter', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--primary);
    line-height: 1.1;
}

.client-header-by[b-xfzlg5a2w5] {
    display: block;
    font-size: 0.68rem;
    color: var(--text-secondary);
    letter-spacing: 0.04em;
}

/* ── Main ── */
.client-main[b-xfzlg5a2w5] {
    flex: 1;
    padding: 2rem 0 3rem;
}

/* ── Footer ── */
.client-footer[b-xfzlg5a2w5] {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 1rem 1.5rem;
}

.client-footer-inner[b-xfzlg5a2w5] {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    color: var(--text-secondary);
    opacity: 0.7;
}

.client-footer-sep[b-xfzlg5a2w5] { opacity: 0.4; }

/* ── Mobile ── */
@media (max-width: 600px) {
    .client-header-inner[b-xfzlg5a2w5] { padding: 0.625rem 1rem; }
    .client-header-logo[b-xfzlg5a2w5]  { width: 36px; height: 36px; }
    .client-main[b-xfzlg5a2w5]         { padding: 1.25rem 0 2rem; }
    .client-footer[b-xfzlg5a2w5]       { padding: 0.875rem 1rem; }
}
/* _content/Nucleos/Components/Layout/MainLayout.razor.rz.scp.css */
/* ── Admin shell layout ── */
.admin-shell[b-as9zmsdzbg] {
    display: flex;
    min-height: 100vh;
    background: var(--bg);
}

.admin-sidebar[b-as9zmsdzbg] {
    width: 256px;
    flex-shrink: 0;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    background: linear-gradient(180deg, #0D2340 0%, #071628 100%);
    border-right: 1px solid rgba(255,255,255,0.05);
}

.admin-body[b-as9zmsdzbg] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: var(--bg);
}

/* ── Top bar ── */
.admin-topbar[b-as9zmsdzbg] {
    height: 3.5rem;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 1.75rem;
    gap: 1rem;
    position: sticky;
    top: 0;
    z-index: 100;
}

.admin-topbar .user-name[b-as9zmsdzbg] {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

/* ── Main content ── */
.admin-content[b-as9zmsdzbg] {
    flex: 1;
    padding: 2rem 2rem 3rem;
}

/* ── Mobile ── */
@media (max-width: 768px) {
    .admin-shell[b-as9zmsdzbg]     { flex-direction: column; }
    .admin-sidebar[b-as9zmsdzbg]   { width: 100%; height: auto; position: relative; }
    .admin-topbar[b-as9zmsdzbg]    { position: relative; padding: 0 1rem; }
    .admin-content[b-as9zmsdzbg]   { padding: 1.25rem 1rem 2rem; }
}

/* ── Blazor error ── */
#blazor-error-ui[b-as9zmsdzbg] {
    background: rgba(210,153,34,0.12);
    border-top: 1px solid rgba(210,153,34,0.30);
    bottom: 0;
    display: none;
    left: 0;
    padding: 0.625rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    font-size: 0.875rem;
    color: #D29922;
}
#blazor-error-ui .dismiss[b-as9zmsdzbg] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
    opacity: 0.6;
}
#blazor-error-ui .dismiss:hover[b-as9zmsdzbg] { opacity: 1; }
/* _content/Nucleos/Components/Layout/NavMenu.razor.rz.scp.css */
/* ── Brand header ── */
.sidebar-brand[b-9mn43n3w3b] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 1.25rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.sidebar-logo[b-9mn43n3w3b] {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.sidebar-product-name[b-9mn43n3w3b] {
    display: block;
    font-family: 'Manrope', 'Inter', sans-serif;
    font-weight: 800;
    font-size: 1.15rem;
    color: #FFFFFF;
    letter-spacing: 0.02em;
    line-height: 1.1;
}

.sidebar-product-sub[b-9mn43n3w3b] {
    display: block;
    font-size: 0.68rem;
    color: rgba(255,255,255,0.40);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-top: 0.1rem;
}

/* ── Mobile toggle ── */
.nav-toggle-input[b-9mn43n3w3b] { display: none; }

.nav-toggle-label[b-9mn43n3w3b] {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.75rem 1.25rem;
    cursor: pointer;
    position: absolute;
    top: 0.85rem;
    right: 1rem;
}

.nav-toggle-label span[b-9mn43n3w3b] {
    display: block;
    width: 22px;
    height: 2px;
    background: rgba(255,255,255,0.70);
    border-radius: 2px;
    transition: all 0.2s ease;
}

/* ── Section label ── */
.nav-section-label[b-9mn43n3w3b] {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.30);
    padding: 1.25rem 1.25rem 0.4rem;
}

/* ── Nav links ── */
.nav-link[b-9mn43n3w3b] {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.625rem 1rem 0.625rem 1.25rem;
    margin: 0.1rem 0.75rem;
    border-radius: 8px;
    color: rgba(255,255,255,0.65) !important;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none !important;
    transition: all 0.15s ease;
    line-height: 1.4;
    border-left: 3px solid transparent;
}

.nav-link:hover[b-9mn43n3w3b] {
    background: rgba(255,255,255,0.07);
    color: rgba(255,255,255,0.90) !important;
    border-left-color: rgba(201,217,74,0.40);
}

.nav-link.active[b-9mn43n3w3b] {
    background: rgba(31,111,235,0.18);
    color: #58A6FF !important;
    font-weight: 600;
    border-left-color: #C9D94A;
}

.nav-link svg[b-9mn43n3w3b] { opacity: 0.65; flex-shrink: 0; }
.nav-link:hover svg[b-9mn43n3w3b], .nav-link.active svg[b-9mn43n3w3b] { opacity: 1; }

/* ── Scrollable area ── */
.nav-scrollable[b-9mn43n3w3b] {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 85px);
    overflow-y: auto;
}

/* ── Footer ── */
.sidebar-footer[b-9mn43n3w3b] {
    margin-top: auto;
    padding: 1rem 1.25rem;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.22);
    letter-spacing: 0.04em;
    border-top: 1px solid rgba(255,255,255,0.06);
}

/* ── Mobile ── */
@media (max-width: 768px) {
    .nav-toggle-label[b-9mn43n3w3b] { display: flex; }

    .nav-scrollable[b-9mn43n3w3b] {
        display: none;
        height: auto;
        max-height: calc(100vh - 85px);
        overflow-y: auto;
    }

    .nav-toggle-input:checked ~ .nav-scrollable[b-9mn43n3w3b] { display: flex; }

    .sidebar-brand[b-9mn43n3w3b] {
        padding: 0.875rem 1rem;
        position: relative;
    }

    .sidebar-logo[b-9mn43n3w3b] { width: 36px; height: 36px; }
}
