/* _content/BudgetCore_Client/Shared/MainLayout.razor.rz.scp.css */
.page[b-ayyktwjuoe] {
    display: flex;
    min-height: 100vh;
}

/* Mobile: stack vertically */
@media (max-width: 640px) {
    .page[b-ayyktwjuoe] {
        flex-direction: column;
    }
}

/* Desktop: sidebar + main */
@media (min-width: 641px) {
    .page[b-ayyktwjuoe] {
        flex-direction: row;
    }
}


main[b-ayyktwjuoe] {
    flex: 1;
    background: linear-gradient(180deg, #0f172a, #020617);
}


.top-row[b-ayyktwjuoe] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-ayyktwjuoe]  a, .top-row .btn-link[b-ayyktwjuoe] {
        white-space: nowrap;
        margin-left: 1.5rem;
    }

    .top-row a:first-child[b-ayyktwjuoe] {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640px) {
    .top-row[b-ayyktwjuoe] {
        display: flex;
        position: sticky;
        top: 0;
        z-index: 100;
        background: linear-gradient(180deg, #0f172a, #020617);
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }
}


@media (min-width: 641px) {
    .page[b-ayyktwjuoe] {
        flex-direction: row;
    }

    .sidebar[b-ayyktwjuoe] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-ayyktwjuoe] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row[b-ayyktwjuoe], article[b-ayyktwjuoe] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* _content/BudgetCore_Client/Shared/NavMenu.razor.rz.scp.css */
/* ---------- Shared ---------- */

.navbar-toggler[b-0k9z46b6z1] {
    background: rgba(255, 255, 255, 0.08);
    border: none;
}

    .navbar-toggler:focus[b-0k9z46b6z1] {
        box-shadow: none;
    }

.top-row[b-0k9z46b6z1] {
    height: 3.5rem;
    background: linear-gradient(180deg, #0f172a, #020617);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.navbar-brand[b-0k9z46b6z1] {
    font-size: 1.05rem;
    font-weight: 600;
    color: #e5e7eb;
}

.oi[b-0k9z46b6z1] {
    width: 1.75rem;
    font-size: 1.05rem;
    margin-right: 0.75rem;
    opacity: 0.9;
}

/* ---------- Nav Items ---------- */

.nav-item[b-0k9z46b6z1] {
    font-size: 0.9rem;
    margin: 0.25rem 0.75rem;
}

    .nav-item[b-0k9z46b6z1]  a {
        color: #cbd5f5;
        border-radius: 10px;
        height: 3rem;
        display: flex;
        align-items: center;
        padding: 0 1rem;
        text-decoration: none;
        transition: background-color 0.15s ease, color 0.15s ease;
    }

        .nav-item[b-0k9z46b6z1]  a:hover {
            background-color: rgba(255,255,255,0.08);
            color: #ffffff;
        }

        .nav-item[b-0k9z46b6z1]  a.active {
            background: rgba(37, 99, 235, 0.25);
            color: #ffffff;
            font-weight: 500;
        }

/* ---------- Mobile ---------- */

@media (max-width: 640px) {

    .nav-scrollable[b-0k9z46b6z1] {
        background: #020617;
        padding-bottom: 1rem;
    }

    .nav-item[b-0k9z46b6z1] {
        margin: 0.25rem 1rem;
    }

        .nav-item[b-0k9z46b6z1]  a {
            height: 3.25rem;
            font-size: 0.95rem;
        }
}

/* ---------- Desktop (Sidebar) ---------- */

@media (min-width: 641px) {

    .navbar-toggler[b-0k9z46b6z1] {
        display: none;
    }

    .collapse[b-0k9z46b6z1] {
        display: block;
    }

    .nav-scrollable[b-0k9z46b6z1] {
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
        background: linear-gradient(180deg, #020617, #020617);
        padding-top: 1rem;
        border-right: 1px solid rgba(255,255,255,0.05);
    }

    .nav-item[b-0k9z46b6z1] {
        margin: 0.35rem 0.75rem;
    }

        .nav-item[b-0k9z46b6z1]  a {
            height: 2.75rem;
            font-size: 0.9rem;
        }
}
@media (max-width: 640px) {

    .top-row[b-0k9z46b6z1] {
        justify-content: space-between;
        padding: 0 1rem;
    }

    .navbar-toggler[b-0k9z46b6z1] {
        order: 2;
    }

    .navbar-brand[b-0k9z46b6z1] {
        order: 1;
    }
}
@media (max-width: 640px) {

    .sidebar[b-0k9z46b6z1] {
        width: 100%;
        position: relative;
        height: auto;
    }

    .nav-scrollable[b-0k9z46b6z1] {
        max-height: calc(100vh - 3.5rem);
        overflow-y: auto;
        background: #020617;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
}
