/* /Layout/MainLayout.razor.rz.scp.css */
/* MainLayout renders <NavMenu /> + a Bootstrap .container <main>; the nav owns its own styling.
   The default Blazor template's sidebar/.page/.top-row rules were dead (no such elements here) and
   were removed. */
main[b-huvq5zwe2l] {
    flex: 1;
}
/* /Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-dmogkdxdff] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-dmogkdxdff] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-dmogkdxdff] {
    font-size: 1.1rem;
}

.bi[b-dmogkdxdff] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-dmogkdxdff] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-dmogkdxdff] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-dmogkdxdff] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

[b-dmogkdxdff] .navbar-nav {
    align-items: center;
}

.nav-item[b-dmogkdxdff] {
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

    .nav-item[b-dmogkdxdff]  a {
        color: var(--bs-body-color);   /* follows the theme: dark on a light bar, light on a dark bar */
        border-radius: 4px;
        display: flex;
        align-items: center;
        padding: 0.4rem 0.75rem;
        line-height: 1.2;
    }

.nav-item[b-dmogkdxdff]  a.active,
.nav-item[b-dmogkdxdff]  a.active:hover {
    /* themed-blue pill (white text passes WCAG AA) marks the current page in every theme */
    background-color: #1b6ec2;
    color: #fff;
}

.nav-item[b-dmogkdxdff]  a:hover {
    background-color: var(--bs-tertiary-bg);
    color: var(--bs-body-color);
}

/* The clock + theme + bell + username + log-out cluster. A flex row on the desktop bar; a centered,
   wrapping row inside the open hamburger menu (see the media query below). */
.nav-utility[b-dmogkdxdff] {
    display: flex;
    align-items: center;
    gap: .5rem;
}

/* The responsive toggle (hide hamburger / show the bar at ≥lg) is handled by Bootstrap's
   .navbar-expand-lg. The previous custom min-width:641px override fought that breakpoint and
   left the menu stuck open between 641–991px, so it was removed. */

/* Open hamburger menu (< lg): lay the whole panel out as one tidy, centered vertical stack —
   the nav links and the utility cluster line up consistently instead of the default left-aligned
   block flow. `:not(.collapse)` targets the *shown* state only, so the closed menu stays hidden. */
@media (max-width: 991.98px) {
    .navbar-collapse:not(.collapse)[b-dmogkdxdff] {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        margin-top: .5rem;
        padding-top: .75rem;
        border-top: 1px solid var(--bs-border-color, rgba(0, 0, 0, .12));
    }

    .navbar-collapse:not(.collapse) .navbar-nav[b-dmogkdxdff] {
        width: 100%;
        margin: 0 0 .5rem 0 !important;   /* cancel the desktop me-auto so links stay centered */
    }

    /* each link group becomes its own centered, wrapping row (matching the utility cluster) */
    .navbar-collapse:not(.collapse) .nav-group[b-dmogkdxdff] {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: .25rem .5rem;
    }

    .navbar-collapse:not(.collapse) .nav-utility[b-dmogkdxdff] {
        flex-wrap: wrap;
        justify-content: center;
        gap: .75rem 1rem;
    }
}
/* /Layout/NotificationBell.razor.rz.scp.css */
/* The notifications dropdown. On the desktop bar the bell sits at the far right, so an absolute
   panel anchored to its right edge opens leftward and fits. */
.notif-panel[b-zbw74xy5bt] {
    position: absolute;
    right: 0;
    top: 100%;
    width: min(340px, 90vw);
    z-index: 1050;
}

/* In the hamburger layout (< lg) the bell sits mid-bar, so a right-anchored panel would run off the
   left edge. Pin it to the viewport instead — fixed, centered, with safe margins — so it's always
   fully on-screen regardless of where the bell is. */
@media (max-width: 991.98px) {
    .notif-panel[b-zbw74xy5bt] {
        position: fixed;
        top: 4rem;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: min(360px, calc(100vw - 1.5rem));
        max-height: 80vh;
        overflow: auto;
    }
}
