/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* ============ SHELL LAYOUT ============ */
.zb-shell[b-dgdy0xllrc] {
    height: 100vh;
    overflow: hidden;
    display: flex;
    position: relative;
}

.zb-sidebar[b-dgdy0xllrc] {
    width: 250px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
    border-right: 1px solid #1f2937;
    transition: transform 0.25s ease;
    z-index: 1200;
}

.zb-main[b-dgdy0xllrc] {
    display: flex;
    flex-direction: column;
    flex: 1;
    height: 100vh;
    overflow: hidden;
    min-width: 0;
}

.zb-top-row[b-dgdy0xllrc] {
    background-color: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
    height: 3.5rem;
    min-height: 3.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
    z-index: 10;
    gap: 12px;
}

.zb-top-brand[b-dgdy0xllrc] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.zb-top-title[b-dgdy0xllrc] {
    font-weight: 800;
    color: #111827;
    font-size: 15px;
    letter-spacing: -0.3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.zb-top-sub[b-dgdy0xllrc] {
    font-size: 12px;
    color: #6b7280;
    font-family: monospace;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.zb-live-badge[b-dgdy0xllrc] {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #f0fdf4;
    padding: 5px 12px;
    border-radius: 20px;
    border: 1px solid #bbf7d0;
    flex-shrink: 0;
}

.zb-live-dot[b-dgdy0xllrc] {
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 8px #22c55e;
}

.zb-live-text[b-dgdy0xllrc] {
    color: #166534;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.zb-content[b-dgdy0xllrc] {
    background-color: #f8fafc;
    flex: 1;
    padding: 1.5rem 24px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Hamburger: alleen zichtbaar op mobiel/tablet (zie media query) */
.zb-hamburger[b-dgdy0xllrc] {
    display: none;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    background: white;
    color: #111827;
    font-size: 18px;
    flex-shrink: 0;
    cursor: pointer;
    padding: 0;
}

.zb-hamburger:hover[b-dgdy0xllrc] {
    background-color: #f3f4f6;
}

.zb-sidebar-backdrop[b-dgdy0xllrc] {
    display: none;
}

/* ============ TABLET & MOBIEL (<= 900px): sidebar wordt een uitklap-menu ============ */
@media (max-width: 900px) {
    .zb-hamburger[b-dgdy0xllrc] {
        display: flex;
    }

    .zb-top-sub[b-dgdy0xllrc] {
        display: none;
    }

    .zb-content[b-dgdy0xllrc] {
        padding: 1rem 12px;
    }

    .zb-sidebar[b-dgdy0xllrc] {
        position: fixed;
        top: 0;
        left: 0;
        transform: translateX(-100%);
        box-shadow: 4px 0 24px rgba(0, 0, 0, 0.35);
    }

    .zb-sidebar.zb-sidebar-open[b-dgdy0xllrc] {
        transform: translateX(0);
    }

    .zb-sidebar-backdrop.zb-visible[b-dgdy0xllrc] {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1100;
        animation: zb-fade-in-b-dgdy0xllrc 0.2s ease;
    }
}

/* ============ SMALLE TELEFOONS (<= 480px) ============ */
@media (max-width: 480px) {
    .zb-live-text[b-dgdy0xllrc] {
        display: none;
    }

    .zb-live-badge[b-dgdy0xllrc] {
        padding: 6px;
    }

    .zb-top-row[b-dgdy0xllrc] {
        padding: 0 10px;
    }
}

@keyframes zb-fade-in-b-dgdy0xllrc {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Een moderne, strakke foutmeldings-balk (Error UI) */
#blazor-error-ui[b-dgdy0xllrc] {
    background: #ef4444; /* Gevaar-rood in de stijl van het dashboard */
    color: white;
    bottom: 0;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 1rem 1.5rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    font-weight: 500;
    letter-spacing: 0.5px;
}

    #blazor-error-ui .dismiss[b-dgdy0xllrc] {
        cursor: pointer;
        position: absolute;
        right: 1.5rem;
        top: 1rem;
        opacity: 0.8;
        transition: opacity 0.2s;
    }

        #blazor-error-ui .dismiss:hover[b-dgdy0xllrc] {
            opacity: 1;
        }

    #blazor-error-ui a[b-dgdy0xllrc] {
        color: white;
        text-decoration: underline;
        margin-left: 10px;
        font-weight: 700;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* Unified shell and navigation styling */

/* --- BRAND HEADER --- */
.zb-brand-row[b-ac2ptob9ia] {
    display: flex;
    align-items: center;
    height: 5rem;
    flex-shrink: 0;
    padding: 0 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent);
}

[b-ac2ptob9ia] .brand-titel {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ffffff !important;
    text-decoration: none !important;
    width: 100%;
}

[b-ac2ptob9ia] .zb-brand-logo {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}

[b-ac2ptob9ia] .zb-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

[b-ac2ptob9ia] .zb-brand-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    letter-spacing: -0.5px;
}

[b-ac2ptob9ia] .zb-brand-sub {
    font-size: 0.8rem;
    font-weight: 700;
    color: #eab308;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

/* --- SIDEBAR BODY (scrollable nav + pinned footer) --- */
.zb-sidebar-body[b-ac2ptob9ia] {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.nav-scrollable[b-ac2ptob9ia] {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding-top: 16px;
    padding-bottom: 8px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
}

.nav-scrollable[b-ac2ptob9ia]::-webkit-scrollbar {
    width: 6px;
}

.nav-scrollable[b-ac2ptob9ia]::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 999px;
}

.nav-scrollable[b-ac2ptob9ia]::-webkit-scrollbar-thumb:hover {
    background-color: rgba(255, 255, 255, 0.28);
}

.nav-item[b-ac2ptob9ia] {
    padding: 0 !important;
    margin: 0 12px 4px 12px !important;
}

[b-ac2ptob9ia] .nav-link {
    color: #cbd5e1 !important;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 14px !important;
    border-radius: 10px;
    transition: all 0.2s ease;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.2px;
}

[b-ac2ptob9ia] .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.08) !important;
    color: #f8fafc !important;
    transform: translateX(2px);
}

[b-ac2ptob9ia] .nav-link.active {
    background: linear-gradient(90deg, rgba(34, 197, 94, 0.22), rgba(16, 185, 129, 0.14)) !important;
    color: #ffffff !important;
    border-left: 4px solid #22c55e !important;
    border-radius: 6px 10px 10px 6px !important;
}

.zb-nav-section-label[b-ac2ptob9ia] {
    margin: 18px 24px 8px 24px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #64748b;
}

/* --- FOOTER: user chip + logout --- */
.zb-nav-footer[b-ac2ptob9ia] {
    flex-shrink: 0;
    padding: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(0, 0, 0, 0.15);
}

.zb-user-chip[b-ac2ptob9ia] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    margin-bottom: 6px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
}

.zb-user-avatar[b-ac2ptob9ia] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #38bdf8, #0369a1);
    color: white;
    font-weight: 700;
    font-size: 14px;
}

.zb-user-info[b-ac2ptob9ia] {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
    overflow: hidden;
}

.zb-user-name[b-ac2ptob9ia] {
    color: #f1f5f9;
    font-weight: 700;
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.zb-user-role[b-ac2ptob9ia] {
    color: #94a3b8;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

[b-ac2ptob9ia] .zb-logout-link {
    color: #f87171 !important;
}

[b-ac2ptob9ia] .zb-logout-link:hover {
    background-color: rgba(248, 113, 113, 0.12) !important;
    color: #fca5a5 !important;
}

.navbar-toggler[b-ac2ptob9ia] {
    background-color: rgba(255, 255, 255, 0.1);
}
