/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-llxauvx8vw] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-llxauvx8vw] {
    flex: 1;
}

.sidebar[b-llxauvx8vw] {
    background: #12141c;
    border-right: 1px solid var(--ping-border, #2a2e3a);
    position: relative;
}

.top-row[b-llxauvx8vw] {
    background-color: var(--ping-surface, #1a1d27);
    border-bottom: 1px solid var(--ping-border, #2a2e3a);
    justify-content: flex-end;
    height: 3rem;
    display: none; /* Hide on mobile */
    align-items: center;
    font-size: 0.8rem;
    color: var(--ping-text-muted, #71717a);
}

@media (min-width: 641px) {
    .page[b-llxauvx8vw] {
        flex-direction: row;
    }

    .sidebar[b-llxauvx8vw] {
        width: 240px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-llxauvx8vw] {
        display: flex; /* Show on desktop */
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row[b-llxauvx8vw], article[b-llxauvx8vw] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */
/* ── Sidebar Brand ── */

.sidebar-brand[b-hlybubnly0] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1.1rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brand-icon[b-hlybubnly0] {
    font-size: 1.4rem;
}

.brand-text[b-hlybubnly0] {
    font-size: 1.3rem;
    font-weight: 800;
    color: white;
    letter-spacing: -0.02em;
}

/* ── Mobile Toggle ── */

.navbar-toggler[b-hlybubnly0] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-hlybubnly0] {
    background-color: rgba(255, 255, 255, 0.2);
}

/* ── Nav Icons ── */

.nav-icon[b-hlybubnly0] {
    display: inline-block;
    width: 1.5rem;
    text-align: center;
    margin-right: 0.5rem;
    font-size: 1rem;
}

/* ── Nav Items ── */

.nav-item[b-hlybubnly0] {
    font-size: 0.9rem;
    padding-bottom: 0.15rem;
}

    .nav-item:first-of-type[b-hlybubnly0] {
        padding-top: 0.75rem;
    }

    .nav-item:last-of-type[b-hlybubnly0] {
        padding-bottom: 0.5rem;
    }

    .nav-item[b-hlybubnly0]  .nav-link {
        color: rgba(255, 255, 255, 0.55);
        background: none;
        border: none;
        border-radius: 8px;
        height: 2.75rem;
        display: flex;
        align-items: center;
        line-height: 2.75rem;
        width: 100%;
        font-weight: 500;
        transition: all 0.15s;
    }

.nav-item[b-hlybubnly0]  a.active {
    background: rgba(99, 102, 241, 0.25);
    color: white;
    font-weight: 600;
    border-left: 3px solid #818cf8;
    padding-left: calc(1rem - 3px);
}

.nav-item[b-hlybubnly0]  .nav-link:hover {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.85);
}

/* ── Sidebar Footer ── */

.sidebar-footer[b-hlybubnly0] {
    padding: 1rem 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.25);
    font-size: 0.72rem;
    letter-spacing: 0.03em;
}

/* ── Responsive ── */

.nav-scrollable[b-hlybubnly0] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-hlybubnly0] {
    display: block;
}

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

    .sidebar-footer[b-hlybubnly0] {
        position: absolute;
        bottom: 0;
        width: 100%;
    }

    .nav-scrollable[b-hlybubnly0] {
        display: block;
        overflow-y: auto;
        height: calc(100vh - 3.5rem);
    }
}
