/* /Layout/MainLayout.razor.rz.scp.css */
/* ========================================
   MainLayout — App Container
   ======================================== */
.app-container[b-36ut8vru09] {
    display: flex;
    min-height: 100vh;
}

.sidebar[b-36ut8vru09] {
    width: 260px;
    min-height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    display: flex;
    flex-direction: column;
}

.main-wrapper[b-36ut8vru09] {
    flex: 1;
    margin-left: 260px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #f8fafc;
}

.main-content[b-36ut8vru09] {
    flex: 1;
    padding: 2rem;
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 768px) {
    .sidebar[b-36ut8vru09] {
        width: 100%;
        height: auto;
        min-height: auto;
        position: relative;
    }

    .main-wrapper[b-36ut8vru09] {
        margin-left: 0;
    }

    .sidebar-toggle[b-36ut8vru09] {
        display: block !important;
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */
/* ========================================
   NavMenu — Sidebar Navigation
   NOTE: NavLink renders an <a>, which does NOT receive Blazor's
   scoped-CSS attribute. Use ::deep so selectors reach the rendered
   anchor; otherwise global `a { color: var(--color-primary) }`
   bleeds through and the links look purple.
   ======================================== */

/* Sidebar header */
.sidebar-header[b-4380euf04j] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

[b-4380euf04j] .sidebar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: #f8fafc;
}

[b-4380euf04j] .sidebar-brand:hover {
    color: #ffffff;
    text-decoration: none;
}

.sidebar-logo[b-4380euf04j] {
    font-size: 1.7rem;
}

.sidebar-title[b-4380euf04j] {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #f8fafc;
}

.sidebar-toggle[b-4380euf04j] {
    display: none;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 1.3rem;
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    cursor: pointer;
}

/* Navigation */
.sidebar-nav[b-4380euf04j] {
    flex: 1;
    padding: 1rem 0.75rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.sidebar-section-label[b-4380euf04j] {
    padding: 0.75rem 1rem 0.6rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #94a3b8;
}

[b-4380euf04j] .sidebar-nav-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.78rem 1rem;
    border-radius: 10px;
    color: #e2e8f0;
    text-decoration: none;
    font-size: 1.02rem;
    font-weight: 500;
    transition: background-color 0.18s ease, color 0.18s ease;
}

[b-4380euf04j] .sidebar-nav-item:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    text-decoration: none;
}

[b-4380euf04j] .sidebar-nav-item.active {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-weight: 600;
}

[b-4380euf04j] .sidebar-nav-item.active::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55rem;
    bottom: 0.55rem;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: #38bdf8;
}

[b-4380euf04j] .nav-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
    width: 1.5rem;
    text-align: center;
}

[b-4380euf04j] .nav-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Sidebar bottom */
.sidebar-bottom[b-4380euf04j] {
    padding: 0.75rem 0.75rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-bottom[b-4380euf04j]  .sidebar-nav-item {
    margin-bottom: 0.4rem;
}

.sidebar-bottom .sidebar-copyright[b-4380euf04j] {
    display: block;
    padding-left: 1rem;
    font-size: 0.78rem;
    color: #64748b;
    letter-spacing: 0.05em;
}

/* Mobile nav collapse */
@media (max-width: 768px) {
    .sidebar-nav.collapsed[b-4380euf04j] {
        display: none;
    }

    .sidebar-nav.expanded[b-4380euf04j] {
        display: flex;
    }

    .sidebar-toggle[b-4380euf04j] {
        display: block;
    }

    .sidebar-bottom[b-4380euf04j] {
        display: none;
    }
}
