/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-vlrb0tfmzi] {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main[b-vlrb0tfmzi] {
    flex: 1;
}

.content[b-vlrb0tfmzi] {
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
}

#blazor-error-ui[b-vlrb0tfmzi] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    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-vlrb0tfmzi] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* ===== Header Navbar ===== */
.header-nav[b-ehryxiz5gx] {
    background: linear-gradient(135deg, rgb(5, 39, 103) 0%, #3a0647 100%);
    padding: 0 1rem;
    height: 3.25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    position: sticky;
    top: 0;
    z-index: 1030;
    display: flex;
    align-items: center;
}

/* Brand */
.brand-link[b-ehryxiz5gx] {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-decoration: none;
    white-space: nowrap;
    display: flex;
    align-items: center;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.brand-link:hover[b-ehryxiz5gx] {
    color: #fff;
    opacity: 0.85;
}

/* DxMenu area � let it take available space */
.nav-menu-area[b-ehryxiz5gx] {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

/* Override DxMenu root to blend with header */
[b-ehryxiz5gx] .header-menu {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

[b-ehryxiz5gx] .header-menu .dxbl-menu-item,
[b-ehryxiz5gx] .header-menu .dxbl-menu-item > .dxbl-btn {
    color: rgba(255, 255, 255, 0.82) !important;
    background: transparent !important;
    font-size: 0.85rem;
    border-radius: 6px;
    padding: 0.35rem 0.75rem;
    transition: background-color 0.2s, color 0.2s;
}

[b-ehryxiz5gx] .header-menu .dxbl-menu-item:hover > .dxbl-btn,
[b-ehryxiz5gx] .header-menu .dxbl-menu-item > .dxbl-btn:hover {
    color: #fff !important;
    background-color: rgba(255, 255, 255, 0.12) !important;
}

[b-ehryxiz5gx] .header-menu .dxbl-menu-item.dxbl-active > .dxbl-btn,
[b-ehryxiz5gx] .header-menu .dxbl-menu-item > .dxbl-btn.dxbl-active {
    color: #fff !important;
    background-color: rgba(255, 255, 255, 0.2) !important;
}

/* Dropdown / sub-menu popups */
[b-ehryxiz5gx] .dxbl-menu .dxbl-popup,
[b-ehryxiz5gx] .dxbl-menu .dxbl-dropdown-area {
    background: linear-gradient(180deg, rgb(5, 39, 103), #3a0647) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 8px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35) !important;
    padding: 0.25rem 0 !important;
    min-width: 200px;
}

[b-ehryxiz5gx] .dxbl-menu .dxbl-popup .dxbl-menu-item > .dxbl-btn,
[b-ehryxiz5gx] .dxbl-menu .dxbl-dropdown-area .dxbl-menu-item > .dxbl-btn {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 0.85rem;
    padding: 0.45rem 1rem;
    border-radius: 4px;
    margin: 1px 4px;
}

[b-ehryxiz5gx] .dxbl-menu .dxbl-popup .dxbl-menu-item:hover > .dxbl-btn,
[b-ehryxiz5gx] .dxbl-menu .dxbl-dropdown-area .dxbl-menu-item:hover > .dxbl-btn {
    background-color: rgba(255, 255, 255, 0.14) !important;
    color: #fff !important;
}

/* User display (right side) */
.user-display[b-ehryxiz5gx] {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.82rem;
    white-space: nowrap;
    padding: 0.25rem 0.5rem;
    user-select: none;
}

/* Icon buttons for settings / logout */
.header-icon-btn[b-ehryxiz5gx] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.78);
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1.05rem;
    transition: background-color 0.2s, color 0.15s;
    text-decoration: none;
    flex-shrink: 0;
}

.header-icon-btn:hover[b-ehryxiz5gx] {
    background-color: rgba(255, 255, 255, 0.14);
    color: #fff;
}

/* Responsive: stack vertically on small screens */
@media (max-width: 767.98px) {
    .header-nav[b-ehryxiz5gx] {
        height: auto;
        flex-wrap: wrap;
        padding: 0.5rem 0.75rem;
    }

    .nav-menu-area[b-ehryxiz5gx] {
        order: 3;
        flex-basis: 100%;
        margin-top: 0.4rem;
    }

    .user-display[b-ehryxiz5gx] {
        font-size: 0.78rem;
    }
}
