/* =============================================================
   COOKIE.CSS — Cookie consent banner
   ============================================================= */
.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    max-width: 560px;
    z-index: 500;
    background: white;
    border-radius: 16px;
    border: 1px solid rgba(193,127,90,0.15);
    box-shadow: 0 8px 40px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.06);
    padding: 24px 28px;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.cookie-banner.zichtbaar {
    opacity: 1;
    transform: translateY(0);
}

.cookie-inhoud {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cookie-tekst strong {
    display: block;
    font-size: 0.92rem;
    color: var(--tekstkleur);
    margin-bottom: 6px;
}

.cookie-tekst p {
    font-size: 0.78rem;
    color: #888;
    line-height: 1.6;
    margin: 0;
}

/* INSTELLINGEN PANEL */
.cookie-instellingen {
    border-top: 1px solid #F0EBE3;
    border-bottom: 1px solid #F0EBE3;
    padding: 12px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cookie-toggle-rij {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.cookie-toggle-info {
    flex: 1;
}

.cookie-toggle-info strong {
    display: block;
    font-size: 0.82rem;
    color: var(--tekstkleur);
    margin-bottom: 2px;
}

.cookie-toggle-info span {
    font-size: 0.72rem;
    color: #aaa;
    line-height: 1.5;
}

/* TOGGLE SWITCH */
.cookie-toggle {
    width: 44px;
    height: 24px;
    border-radius: 99px;
    background: #E0D8D0;
    position: relative;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.25s ease;
}

.cookie-toggle.actief {
    background: var(--hoofdkleur);
}

.cookie-toggle.vergrendeld {
    opacity: 0.5;
    cursor: not-allowed;
    background: var(--hoofdkleur);
}

.toggle-knop {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
    transition: transform 0.25s ease;
    display: block;
}

.cookie-toggle.actief .toggle-knop {
    transform: translateX(20px);
}

/* KNOPPEN */
.cookie-knoppen {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.cookie-opslaan {
    margin-top: -4px;
}

.cookie-knop {
    padding: 9px 16px;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    font-family: var(--body-font);
    transition: background 0.2s, transform 0.15s;
    white-space: nowrap;
}

.cookie-instellingen-knop {
    background: var(--zacht);
    color: var(--tekstkleur);
    border: 1px solid rgba(193,127,90,0.2);
}

.cookie-instellingen-knop:hover { background: #EDE8E0; }

.cookie-weigeren {
    background: var(--zacht);
    color: var(--tekstkleur);
}

.cookie-weigeren:hover { background: #EDE8E0; }

.cookie-accepteren {
    background: var(--hoofdkleur);
    color: white;
}

.cookie-accepteren:hover {
    background: #A66B48;
    transform: translateY(-1px);
}

@media (max-width: 600px) {
    .cookie-banner  { left: 16px; right: 16px; bottom: 16px; padding: 20px; }
    .cookie-knoppen { flex-direction: column; }
    .cookie-knop    { width: 100%; text-align: center; }
}
