/* _content/anefiox/Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-u2tb0ksgny] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-u2tb0ksgny] {
    flex: 1;
}

.sidebar[b-u2tb0ksgny] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-u2tb0ksgny] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-u2tb0ksgny]  a, .top-row[b-u2tb0ksgny]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-u2tb0ksgny]  a:hover, .top-row[b-u2tb0ksgny]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-u2tb0ksgny]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-u2tb0ksgny] {
        justify-content: space-between;
    }

    .top-row[b-u2tb0ksgny]  a, .top-row[b-u2tb0ksgny]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-u2tb0ksgny] {
        flex-direction: row;
    }

    .sidebar[b-u2tb0ksgny] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-u2tb0ksgny] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-u2tb0ksgny]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-u2tb0ksgny], article[b-u2tb0ksgny] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-u2tb0ksgny] {
    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-u2tb0ksgny] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* _content/anefiox/Components/Layout/NavMenu.razor.rz.scp.css */
/* --- Base Styles --- */

.navbar-brand[b-xgvzhh447m] {
    font-family: 'Share Tech Mono', monospace;
    font-size: 1.4rem;
    margin-right: 1.5rem; /* Space between brand and links */
}

.nav-link[b-xgvzhh447m] {
    font-family: 'Roboto Condensed', sans-serif;
    text-transform: uppercase;
    font-size: 0.9rem;
    padding: 0.5rem 0.75rem;
}

.navbar-nav .btn[b-xgvzhh447m] {
    align-self: center; /* Vertically center the login button */
}

/* Dropdown menu styling */
.dropdown-menu[b-xgvzhh447m] {
    background-color: #212121;
    border-color: #444;
}

.dropdown-item:hover[b-xgvzhh447m] {
    background-color: var(--brand-hazard-yellow);
    color: #1a1a1a;
}


/* --- RESPONSIVE STACKING LOGIC --- */
/* Targets screens smaller than Bootstrap's 'lg' breakpoint (992px) */
@media (max-width: 991.98px) {
    .navbar > .container[b-xgvzhh447m] {
        flex-wrap: wrap; /* Allow items to wrap to the next line */
        justify-content: center; /* Center everything when stacked */
    }

    .navbar-brand[b-xgvzhh447m] {
        width: 100%;
        text-align: center;
        margin-bottom: 1rem;
        margin-right: 0;
    }

    .navbar-nav[b-xgvzhh447m] {
        flex-direction: row !important; /* Keep nav items in a row */
        flex-wrap: wrap; /* Allow them to wrap */
        justify-content: center;
        width: 100%;
    }

        /* Add space below the main nav links when stacked */
        .navbar-nav.me-auto[b-xgvzhh447m] {
            margin-bottom: 1rem;
        }
}
