/* Cookie Consent Banner — (over) leven */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #13131f;
    border-top: 1px solid rgba(201,169,110,0.25);
    padding: 14px 20px;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    font-family: 'Inter', -apple-system, sans-serif;
}
#cookie-banner.visible { display: flex; }

#cookie-banner .cb-label {
    font-size: 13px;
    color: rgba(255,255,255,0.65);
}
#cookie-banner .cb-label a {
    color: #c9a96e;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Segmented control */
#cookie-banner .cb-segments {
    display: inline-flex;
    background: rgba(255,255,255,0.07);
    border-radius: 8px;
    padding: 3px;
    gap: 2px;
}
#cookie-banner .cb-seg {
    padding: 7px 14px;
    border: none;
    border-radius: 6px;
    font-family: inherit;
    font-size: 11px;
    font-weight: 500;
    cursor: pointer;
    color: rgba(255,255,255,0.4);
    background: transparent;
    transition: all 0.15s ease;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}
#cookie-banner .cb-seg:hover {
    color: rgba(255,255,255,0.7);
    background: rgba(255,255,255,0.04);
}
#cookie-banner .cb-seg[aria-pressed="true"] {
    color: #0f0f1a;
    font-weight: 600;
}
#cookie-banner .cb-seg[data-level="all"][aria-pressed="true"] { background: #c9a96e; }
#cookie-banner .cb-seg[data-level="minimal"][aria-pressed="true"] { background: rgba(201,169,110,0.5); color:#1a1a2e; }
#cookie-banner .cb-seg[data-level="custom"][aria-pressed="true"] { background: rgba(96,165,250,0.6); color:#0f0f1a; }
#cookie-banner .cb-seg[data-level="declined"][aria-pressed="true"] { background: rgba(255,255,255,0.18); color: rgba(255,255,255,0.7); }

/* Selectie toggles paneel */
#cookie-toggles {
    display: none;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    padding: 4px 0;
}
#cookie-toggles.visible { display: flex; }

#cookie-toggles label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: rgba(255,255,255,0.55);
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

/* Toggle switch */
#cookie-toggles .toggle {
    position: relative;
    width: 32px;
    height: 18px;
    display: inline-block;
}
#cookie-toggles .toggle input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}
#cookie-toggles .toggle .slider {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.12);
    border-radius: 9px;
    transition: background 0.2s;
    cursor: pointer;
}
#cookie-toggles .toggle .slider::before {
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    left: 2px;
    bottom: 2px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    transition: transform 0.2s, background 0.2s;
}
#cookie-toggles .toggle input:checked + .slider {
    background: #c9a96e;
}
#cookie-toggles .toggle input:checked + .slider::before {
    transform: translateX(14px);
    background: #0f0f1a;
}

/* OK knop */
#cookie-banner .cb-ok {
    padding: 7px 22px;
    border: none;
    border-radius: 6px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    background: #c9a96e;
    color: #0f0f1a;
    transition: all 0.15s ease;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}
#cookie-banner .cb-ok:hover {
    background: #d4b87c;
}

@keyframes cookieSlideUp {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
#cookie-banner { animation: cookieSlideUp 0.4s ease forwards; }

@media (max-width: 600px) {
    #cookie-banner { padding: 10px 12px; gap: 8px; flex-direction: column; }
    #cookie-banner .cb-seg { padding: 6px 10px; font-size: 10px; }
    #cookie-banner .cb-ok { padding: 6px 18px; font-size: 11px; width: 100%; }
    #cookie-toggles { justify-content: center; }
}
