/* _content/DBSDA/Shared/MainLayout.razor.rz.scp.css */
.page[b-2m63owofnl] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-2m63owofnl] {
    flex: 1;
}

.sidebar[b-2m63owofnl] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-2m63owofnl] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-2m63owofnl]  a, .top-row .btn-link[b-2m63owofnl] {
        white-space: nowrap;
        margin-left: 1.5rem;
    }

    .top-row a:first-child[b-2m63owofnl] {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row:not(.auth)[b-2m63owofnl] {
        display: none;
    }

    .top-row.auth[b-2m63owofnl] {
        justify-content: space-between;
    }

    .top-row a[b-2m63owofnl], .top-row .btn-link[b-2m63owofnl] {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-2m63owofnl] {
        flex-direction: row;
    }

    .sidebar[b-2m63owofnl] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-2m63owofnl] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row[b-2m63owofnl], article[b-2m63owofnl] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
.brand-logo[b-2m63owofnl] {
    height: 28px; /* adjust to taste (24�36px works well) */
    width: auto;
    object-fit: contain;
    display: block;
}


/* _content/DBSDA/Shared/NavMenu.razor.rz.scp.css */
/* NavMenu.razor.css � scoped overrides (wins over site.css) */

/* Header row (top nav inside the sidebar) */
.top-row[b-qd90yw0e4q] {
    height: 3.5rem;
    background: #ffffff !important;
    border-bottom: 1px solid #e9ecef;
}

/* Sidebar panel */
.sidebar[b-qd90yw0e4q] {
    background: #ffffff !important;
    border-right: 1px solid #e9ecef;
}

/* Brand / title */
.navbar-brand[b-qd90yw0e4q] {
    color: #343a40 !important;
    font-weight: 600;
}

/* Toggler (mobile) */
.navbar-toggler[b-qd90yw0e4q] {
    background: transparent;
    border: 1px solid #dee2e6;
    color: #6c757d;
}

/* Menu items (use ::deep because links live in child components) */
.nav-item[b-qd90yw0e4q] {
    font-size: 0.95rem;
    padding-bottom: .35rem;
}

    .nav-item:first-of-type[b-qd90yw0e4q] {
        padding-top: .75rem;
    }

    .nav-item:last-of-type[b-qd90yw0e4q] {
        padding-bottom: .75rem;
    }

    .nav-item[b-qd90yw0e4q]  a {
        color: #495057 !important;
        background: transparent !important;
        border-radius: .375rem;
        height: 2.5rem;
        display: flex;
        align-items: center;
        line-height: 2.5rem;
        padding: 0 .5rem;
        text-decoration: none;
        transition: background-color .15s ease, color .15s ease;
    }

        .nav-item[b-qd90yw0e4q]  a:hover {
            background: #f2f4f7 !important;
            color: #0d6efd !important;
        }

        .nav-item[b-qd90yw0e4q]  a.active {
            color: #0d6efd !important;
            background: rgba(13,110,253,.10) !important;
            font-weight: 600;
        }

@media (min-width: 641px) {
    .navbar-toggler[b-qd90yw0e4q] {
        display: none;
    }

    .collapse[b-qd90yw0e4q] {
        display: block;
    }
    /* never collapse on wide screens */
}
