/* /Shared/MainLayout.razor.rz.scp.css */
.page[b-1ilrj8ovq5] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-1ilrj8ovq5] {
    flex: 1;
}

.sidebar[b-1ilrj8ovq5] {
    background-image: linear-gradient(180deg, #800215 0%, #C0041C 70%, #E00620 100%);
}

.top-row[b-1ilrj8ovq5] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-1ilrj8ovq5]  a, .top-row .btn-link[b-1ilrj8ovq5] {
        white-space: nowrap;
        margin-left: 1.5rem;
    }

    .top-row a:first-child[b-1ilrj8ovq5] {
        overflow: hidden;
        text-overflow: ellipsis;
    }

/* ── Mobile & Tablet (≤1279px) ───────────────────────────── */
@media (max-width: 1279.98px) {
    /* Sidebar becomes a fixed top bar (only the mobile-header height) */
    .sidebar[b-1ilrj8ovq5] {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 3.5rem;
        z-index: 500;
        overflow: visible;
    }

    /* Push content below the fixed top bar */
    main[b-1ilrj8ovq5] {
        padding-top: 3.5rem;
    }

    .top-row.auth[b-1ilrj8ovq5] {
        justify-content: space-between;
    }

    .top-row a[b-1ilrj8ovq5], .top-row .btn-link[b-1ilrj8ovq5] {
        margin-left: 0;
    }
}

/* ── Desktop (≥1280px) ───────────────────────────────────── */
@media (min-width: 1280px) {
    .page[b-1ilrj8ovq5] {
        flex-direction: row;
    }

    .sidebar[b-1ilrj8ovq5] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-1ilrj8ovq5] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row[b-1ilrj8ovq5], article[b-1ilrj8ovq5] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Shared/NavMenu.razor.rz.scp.css */
/* Mobile top bar */
.mobile-header[b-2c85glmb1z] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    height: 3.5rem;
}

.navbar-brand-logo[b-2c85glmb1z] {
    height: 2rem;
    width: auto;
    object-fit: contain;
}

.navbar-toggler[b-2c85glmb1z] {
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    padding: 0.4rem 0.65rem;
    border-radius: 4px;
    cursor: pointer;
    color: white;
    font-size: 1.3rem;
    line-height: 1;
    transition: background-color 0.15s;
}

.navbar-toggler:hover[b-2c85glmb1z] {
    background-color: rgba(255, 255, 255, 0.25);
}

/* Backdrop overlay (mobile only, shown when menu is open) */
.nav-backdrop[b-2c85glmb1z] {
    position: fixed;
    top: 3.5rem;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.45);
    z-index: 499;
}

.oi[b-2c85glmb1z] {
    width: 2rem;
    font-size: 1.1rem;
    vertical-align: text-top;
    top: -2px;
}

.nav-item[b-2c85glmb1z] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-2c85glmb1z] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-2c85glmb1z] {
        padding-bottom: 1rem;
    }

    .nav-item[b-2c85glmb1z]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item[b-2c85glmb1z]  a.active {
    background-color: rgba(255,255,255,0.25);
    color: white;
}

.nav-item[b-2c85glmb1z]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

/* ── Mobile & Tablet (≤1279px) ───────────────────────────── */
@media (max-width: 1279.98px) {
    /* Nav items: fixed dropdown below the top bar */
    .nav-items[b-2c85glmb1z] {
        position: fixed;
        top: 3.5rem;
        left: 0;
        right: 0;
        background-image: linear-gradient(180deg, #800215 0%, #C0041C 70%, #E00620 100%);
        z-index: 500;
        overflow-y: auto;
        max-height: calc(100vh - 3.5rem);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
    }

    .nav-items.collapse[b-2c85glmb1z] {
        display: none;
    }
}

/* ── Desktop (≥1280px) ───────────────────────────────────── */
@media (min-width: 1280px) {
    /* Hide mobile-only elements */
    .mobile-header[b-2c85glmb1z] {
        display: none;
    }

    .nav-backdrop[b-2c85glmb1z] {
        display: none;
    }

    /* Always show nav items on desktop, regardless of collapse state */
    .nav-items[b-2c85glmb1z],
    .nav-items.collapse[b-2c85glmb1z] {
        display: block;
    }
}
