/* /Components/Layout/MainLayout.razor.rz.scp.css */
.app-shell[b-bhnvld7jye] {
    display: flex;
    min-height: 100vh;
}

.app-main[b-bhnvld7jye] {
    flex: 1;
    min-width: 0;
}

.sidebar[b-bhnvld7jye] {
    width: 236px;
    min-width: 236px;
    background: var(--navy);
    display: flex;
    flex-direction: column;
    padding: 22px 14px;
    color: #fff;
    position: sticky;
    top: 0;
    height: 100vh;
}

.brand[b-bhnvld7jye] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 8px 28px;
}

.brand .icon[b-bhnvld7jye] {
    width: 22px;
    height: 22px;
    color: #fff;
}

.brand span[b-bhnvld7jye] {
    font-family: "bahnschrift", sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: #fff;
}

.icon[b-bhnvld7jye] {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

[b-bhnvld7jye] .nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    color: rgba(255, 255, 255, .68);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 2px;
}

[b-bhnvld7jye] .nav-item .icon {
    color: rgba(255, 255, 255, .68);
}

[b-bhnvld7jye] .nav-item.active {
    background: rgba(255, 255, 255, .28);
    color: #fff;
}

[b-bhnvld7jye] .nav-item.active .icon {
    color: #fff;
}

.sidebar-bottom[b-bhnvld7jye] {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.user-card[b-bhnvld7jye] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .1);
}

.avatar[b-bhnvld7jye] {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.user-card .name[b-bhnvld7jye] {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
}

.user-card .role[b-bhnvld7jye] {
    font-size: 11px;
    color: rgba(255, 255, 255, .65);
}

/* Taal-snelknop (NL/EN) onder in de zijbalk. */
.taal-switch[b-bhnvld7jye] {
    display: flex;
    gap: 6px;
}

.taal-optie[b-bhnvld7jye] {
    flex: 1;
    padding: 7px 0;
    border: 1px solid rgba(255, 255, 255, .28);
    background: transparent;
    color: rgba(255, 255, 255, .75);
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
}

.taal-optie:hover[b-bhnvld7jye] {
    background: rgba(255, 255, 255, .12);
}

.taal-optie.actief[b-bhnvld7jye] {
    background: rgba(255, 255, 255, .28);
    color: #fff;
    border-color: transparent;
}

/* Mobiele topbar met hamburger — verborgen op desktop. */
.mobile-topbar[b-bhnvld7jye] {
    display: none;
    align-items: center;
    gap: 12px;
    height: 56px;
    padding: 0 14px;
    background: var(--navy);
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 40;
}

.hamburger[b-bhnvld7jye] {
    background: none;
    border: none;
    padding: 6px;
    cursor: pointer;
    color: #fff;
    display: flex;
    align-items: center;
}

.hamburger svg[b-bhnvld7jye] {
    width: 26px;
    height: 26px;
    stroke: #fff;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
}

.mobile-brand[b-bhnvld7jye] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-brand .icon[b-bhnvld7jye] {
    width: 20px;
    height: 20px;
    color: #fff;
}

.mobile-brand span[b-bhnvld7jye] {
    font-family: "bahnschrift", sans-serif;
    font-weight: 600;
    font-size: 15px;
    color: #fff;
}

.menu-toggle-cb[b-bhnvld7jye] {
    display: none;
}

.sidebar-overlay[b-bhnvld7jye] {
    display: none;
}

/* ---------- Mobiel: sidebar wordt een uitschuifbaar menu ---------- */
@media (max-width: 768px) {
    .app-shell[b-bhnvld7jye] {
        flex-direction: column;
    }

    .mobile-topbar[b-bhnvld7jye] {
        display: flex;
    }

    .hamburger[b-bhnvld7jye] {
        cursor: pointer;
    }

    .sidebar[b-bhnvld7jye] {
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        width: 260px;
        min-width: 260px;
        transform: translateX(-100%);
        transition: transform .25s ease;
        z-index: 60;
        box-shadow: 0 0 40px rgba(0, 0, 0, .3);
    }

    /* Checkbox aangevinkt (via hamburger-label) → sidebar schuift in. */
    .menu-toggle-cb:checked ~ .sidebar[b-bhnvld7jye] {
        transform: translateX(0);
    }

    .menu-toggle-cb:checked ~ .sidebar-overlay[b-bhnvld7jye] {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, .45);
        z-index: 50;
    }

    .app-main[b-bhnvld7jye] {
        width: 100%;
    }
}
