/* _content/EPAWijzer/Components/Layout/MainLayout.razor.rz.scp.css */
:root[b-8xxjznspcf] {
    --accent-teal: #0d9488;
    --bg-app: #f8fafc;
}

body[b-8xxjznspcf] {
    background-color: var(--bg-app);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    overflow-x: hidden;
}

.text-teal[b-8xxjznspcf] {
    color: var(--accent-teal);
}

/* --- Fluid Content --- */
.content-card[b-8xxjznspcf] {
    min-height: 75vh;
    transition: all 0.3s ease-in-out;
}

/* --- WCAG & NIS2: Focus States --- */
.form-control:focus[b-8xxjznspcf], .btn:focus[b-8xxjznspcf] {
    border-color: var(--accent-teal);
    box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.15);
    outline: none;
}

/* --- Cookie Wall Overlay (De Fix) --- */
.cookie-wall-overlay[b-8xxjznspcf] {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    z-index: 9999 !important; /* Moet hoger zijn dan de sticky header en content-card */
    background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
    display: flex;
    justify-content: center;
}

.cookie-card[b-8xxjznspcf] {
    width: 100%;
    max-width: 500px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* --- Responsive Adjustments --- */
@media (max-width: 1200px) {
    .sidebar-right[b-8xxjznspcf] {
        display: none !important;
    }
}

@media (max-width: 992px) {
    .sidebar-left[b-8xxjznspcf] {
        display: none !important;
    }
}

/* --- WCAG Fix voor Floating Labels --- */
.form-floating > .form-control:focus ~ label[b-8xxjznspcf],
.form-floating > .form-control:not(:placeholder-shown) ~ label[b-8xxjznspcf] {
    transform: scale(0.85) translateY(-1rem) translateX(0.15rem) !important;
    background-color: white !important;
    padding: 0 0.5rem !important;
    color: var(--accent-teal) !important;
    opacity: 1 !important;
    height: auto !important;
}

/* Skip link voor toegankelijkheid */
.skip-link[b-8xxjznspcf] {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--accent-teal);
    color: white;
    padding: 1rem;
    z-index: 10000;
}

    .skip-link:focus[b-8xxjznspcf] {
        top: 0;
    }
/* _content/EPAWijzer/Components/Layout/NavMenu.razor.rz.scp.css */
/* ==========================================================================
   1. BASIS CONTAINER & STRUCTUUR
   ========================================================================== */
.nav-container[b-lz6w80tdhi] {
    padding: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Verberg de standaard Blazor toggler, want onze layout regelt mobiele weergave via de MainLayout */
.navbar-toggler[b-lz6w80tdhi] {
    display: none;
}

/* ==========================================================================
   2. NAVIGATIE GROEPEN & LABELS (Semantische indeling)
   ========================================================================== */
.custom-nav[b-lz6w80tdhi] {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1rem;
}

.nav-group[b-lz6w80tdhi] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.nav-label[b-lz6w80tdhi] {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    color: #64748b; /* Medium grijs voor perfect WCAG AA contrast op de glass achtergrond */
    margin-left: 1rem;
    margin-bottom: 0.5rem;
    letter-spacing: 1.2px;
}

/* ==========================================================================
   3. LINKS & ITEMS (De Navigatieknoppen)
   ========================================================================== */
.nav-item[b-lz6w80tdhi] {
    width: 100%;
}

/* ::deep zorgt ervoor dat deze styling ook werkt op Blazor componenten zoals NavLink */
[b-lz6w80tdhi] .nav-link, .nav-link[b-lz6w80tdhi] {
    display: flex;
    align-items: center;
    padding: 0.8rem 1rem;
    color: #1e293b !important; /* Donkergrijs/blauw voor leesbaarheid */
    text-decoration: none;
    border-radius: 12px; /* Moderne, vriendelijke ronde hoeken */
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
    background: transparent;
    width: 100%;
    text-align: left;
    font-weight: 500;
    font-size: 0.95rem;
}

/* Schone iconen in plaats van zware SVG data strings */
[b-lz6w80tdhi] .nav-icon, [b-lz6w80tdhi] .bi {
    font-size: 1.25rem;
    margin-right: 1rem;
    color: #0d9488; /* VetEntrusted Teal accentkleur */
    transition: transform 0.2s ease;
    display: inline-block;
}

/* ==========================================================================
   4. INTERACTIE (Hover, Active, WCAG Focus)
   ========================================================================== */
[b-lz6w80tdhi] .nav-link:hover, .nav-link:hover[b-lz6w80tdhi] {
    background-color: rgba(13, 148, 136, 0.1); /* Zachte pastel blending */
    color: #0f766e !important;
}

    [b-lz6w80tdhi] .nav-link:hover .nav-icon, [b-lz6w80tdhi] .nav-link:hover .bi {
        transform: scale(1.15); /* Subtiele pop-out van het icoon om feedback te geven */
    }

/* De pagina waar de gebruiker nu is */
[b-lz6w80tdhi] .nav-link.active, .nav-link.active[b-lz6w80tdhi] {
    background-color: rgba(13, 148, 136, 0.15);
    border-color: rgba(13, 148, 136, 0.3);
    color: #0f766e !important;
    font-weight: 700;
}

/* WCAG: Duidelijke, niet te missen focus voor toetsenbordgebruikers */
[b-lz6w80tdhi] .nav-link:focus-visible, .nav-link:focus-visible[b-lz6w80tdhi] {
    outline: 2px solid #0d9488;
    outline-offset: 2px;
    background-color: rgba(13, 148, 136, 0.05);
}

/* ==========================================================================
   5. NIS2 / BEVEILIGING SPECIFIEK (Logout)
   ========================================================================== */
/* Voorkom dat het <form> element van de logout knop extra witruimte toevoegt */
form[b-lz6w80tdhi] {
    margin: 0;
    padding: 0;
    width: 100%;
}

.logout-btn[b-lz6w80tdhi] {
    border: none;
    cursor: pointer;
    font-family: inherit;
    width: 100%;
    margin: 0;
}

    /* Visuele waarschuwing dat dit een destructieve actie (sessie verbreken) is */
    .logout-btn:hover[b-lz6w80tdhi] {
        background-color: rgba(220, 38, 38, 0.1);
        color: #b91c1c !important;
    }

        .logout-btn:hover[b-lz6w80tdhi]  .nav-icon, .logout-btn:hover[b-lz6w80tdhi]  .bi {
            color: #b91c1c;
        }

/* Gebruikersnaam netjes afkappen als deze te lang is voor de zijbalk */
.user-name[b-lz6w80tdhi] {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 160px;
}
