/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* ── shell layout ─────────────────────────────────── */
.app-shell[b-f97ro7clo2] {
    display: flex;
    min-height: 100vh;
    background: #0f172a;
    color: #e2e8f0;
}

/* ── sidebar ──────────────────────────────────────── */
.sidebar[b-f97ro7clo2] {
    width: 220px;
    flex-shrink: 0;
    background: #1e293b;
    border-right: 1px solid #334155;
    display: flex;
    flex-direction: column;
}

.sidebar-brand[b-f97ro7clo2] {
    padding: 1.25rem 1rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: #38bdf8;
    border-bottom: 1px solid #334155;
    letter-spacing: 0.03em;
}

.brand-icon[b-f97ro7clo2] {
    margin-right: 0.4rem;
    font-size: 0.9rem;
}

.nav-list[b-f97ro7clo2] {
    list-style: none;
    margin: 0.5rem 0;
    padding: 0;
}

.nav-list li[b-f97ro7clo2] {
    margin: 0;
}

[b-f97ro7clo2] .nav-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.15s, color 0.15s;
}

    [b-f97ro7clo2] .nav-item:hover {
        background: #334155;
        color: #e2e8f0;
    }

    [b-f97ro7clo2] .nav-item.active {
        background: #0ea5e9;
        color: #fff;
    }

.nav-icon[b-f97ro7clo2] {
    font-size: 0.7rem;
    opacity: 0.7;
}

/* ── main content ─────────────────────────────────── */
.main-content[b-f97ro7clo2] {
    flex: 1;
    padding: 1.5rem 2rem;
    overflow-x: hidden;
}

/* ── blazor error ─────────────────────────────────── */
#blazor-error-ui[b-f97ro7clo2] {
    background: #7f1d1d;
    color: #fecaca;
    bottom: 0;
    box-shadow: 0 -1px 4px rgba(0,0,0,0.4);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-f97ro7clo2] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
