/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-p6uwedpaa0] {
    position: relative;
    display: flex;
    flex-direction: column;
    /* Fill the space left by the (optional) environment banner instead of forcing a full 100vh. */
    flex: 1 1 auto;
    min-height: 0;
}

main[b-p6uwedpaa0] {
    flex: 1;
}

/* Cap page content on very wide (2K/4K) screens so full-width grids and long text don't stretch
   edge to edge. Self-activating via auto side margins: it's a no-op until more than max-width is
   available, so normal laptops/1080p desktops are unaffected. */
.content[b-p6uwedpaa0] {
    max-width: 2000px;
    margin-inline: auto;
}

.sidebar[b-p6uwedpaa0] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-p6uwedpaa0] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-p6uwedpaa0]  a, .top-row[b-p6uwedpaa0]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-p6uwedpaa0]  a:hover, .top-row[b-p6uwedpaa0]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-p6uwedpaa0]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-p6uwedpaa0] {
        justify-content: space-between;
    }

    .top-row[b-p6uwedpaa0]  a, .top-row[b-p6uwedpaa0]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-p6uwedpaa0] {
        flex-direction: row;
    }

    .sidebar[b-p6uwedpaa0] {
        width: 250px;
        /* 100% of .page (which is viewport-minus-banner), not 100vh, so the banner doesn't push it
           past the bottom of the screen and create a scrollbar. */
        height: 100%;
        position: sticky;
        top: 0;
    }

    .top-row[b-p6uwedpaa0] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-p6uwedpaa0]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-p6uwedpaa0], article[b-p6uwedpaa0] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-p6uwedpaa0] {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-p6uwedpaa0] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* Scoped styles for NavMenu.razor.
   NOTE: only NavMenu's OWN elements carry this file's scope attribute. The menu items are rendered by
   RenderMenuItem.razor, which has no scoped stylesheet, so its elements (.nav-item, .nav-link, .bi,
   .submenu*) get no scope marker and CANNOT be targeted from here - not even via ::deep, which still
   requires the scope on the ancestor. Those styles live in wwwroot/app.css under .nav-scrollable.
   Style menu items there, not here. */

.navbar-toggler[b-ot2h8bt2bj] {
    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);
    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-ot2h8bt2bj] {
        background-color: rgba(255, 255, 255, 0.5);
    }

.top-row[b-ot2h8bt2bj] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-ot2h8bt2bj] {
    font-size: 1.1rem;
}

/* The logo is a 160x160 PNG. Cap it here so it can only ever shrink, never grow past the source image
   (which would blur it). Adjust the max-width to resize; height:auto keeps it square, and the 100%
   cap keeps it inside a narrow sidebar. Left-aligned to line up with the menu items below. */
.nav-logo[b-ot2h8bt2bj] {
    display: block;
    max-width: min(100%, 80px);
    height: auto;
}

.nav-scrollable[b-ot2h8bt2bj] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-ot2h8bt2bj] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-ot2h8bt2bj] {
        display: none;
    }

    .nav-scrollable[b-ot2h8bt2bj] {
        /* Never collapse the sidebar for wide screens */
        display: block;
        /* Allow sidebar to scroll for tall menus. 100% of the (banner-aware) sidebar minus the
           brand row, rather than 100vh, so the banner doesn't add an extra scrollbar. */
        height: calc(100% - 3.5rem);
        overflow-y: auto;
    }
}
/* /Components/Pages/Home.razor.rz.scp.css */
/* Navigation hint that matches where the menu actually is. The 641px breakpoint is the same one
   MainLayout uses to move the menu from the left sidebar (>=641px) to the top (<641px), so the wording
   always agrees with the layout. Mobile-first: narrow is the default, wide switches in from 641px. */

.nav-hint-wide[b-hu60gpr17v] {
    display: none;
}

.nav-hint-narrow[b-hu60gpr17v] {
    display: inline;
}

@media (min-width: 641px) {
    .nav-hint-wide[b-hu60gpr17v] {
        display: inline;
    }

    .nav-hint-narrow[b-hu60gpr17v] {
        display: none;
    }
}
