/* /Components/Layout/MainLayout.razor.rz.scp.css */
@media (max-width: 640px) {
    .page[b-cj7sbs7jfk] {
        grid-template-columns: 1fr; /* single column on mobile */
    }

    .sidebar[b-cj7sbs7jfk] {
        grid-column: 1 / -1; /* sidebar spans full width */
    }

    main[b-cj7sbs7jfk] {
        grid-column: 1 / -1; /* main content full width below */
    }
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.nav-item[b-3ox48ee5iy] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-3ox48ee5iy] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-3ox48ee5iy] {
        padding-bottom: 1rem;
    }

    /* Links inside the nav */
    .nav-item[b-3ox48ee5iy]  a {
        color: var(--blue);
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

        .nav-item[b-3ox48ee5iy]  a.active {
            background-color: var(--blue);
            color: var(--text_colour_alt);
            font-weight: 600;
        }

        .nav-item[b-3ox48ee5iy]  a:hover {
            background-color: var(--bg_grey);
            color: var(--blue_dark);
        }

/* Mobile nav toggler (hamburger) */
.navbar-toggler[b-3ox48ee5iy] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border-radius: 4px;
    border: none;
    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.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem transparent;
}

    .navbar-toggler:checked[b-3ox48ee5iy] {
        background-color: rgba(255, 255, 255, 0.2);
    }

/* Mobile: hide nav list by default, show when toggler is checked */
.nav-scrollable[b-3ox48ee5iy] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-3ox48ee5iy] {
    display: block;
}

/* Desktop: hide burger, always show nav */
@media (min-width: 641px) {
    .navbar-toggler[b-3ox48ee5iy] {
        display: none;
    }

    .nav-scrollable[b-3ox48ee5iy] {
        display: block;
        overflow-y: auto;
    }
}
