/* ── Cookie consent banner ───────────────────────────────────────────────────
   AVG/GDPR: "weigeren" must be exactly as easy and as visible as "accepteren",
   so BOTH buttons share one style — no dark pattern where reject is a grey link.
   The banner renders with [hidden] and is revealed by an inline script, so a
   visitor who already chose never sees it flash. */
.ckb {
    position: fixed; inset-inline: 0; bottom: 0; z-index: 120;
    padding: 16px; display: flex; justify-content: center;
    animation: ckb-in .25s ease-out;
}
.ckb[hidden] { display: none; }
@keyframes ckb-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .ckb { animation: none; } }

.ckb__card {
    width: 100%; max-width: 760px; padding: 20px 22px;
    border: 1px solid #e2e8f0; border-radius: 18px; background: #fff; color: #0f172a;
    box-shadow: 0 24px 60px -18px rgba(15,23,42,.38);
}
.dark .ckb__card { background: #1e293b; color: #f1f5f9; border-color: rgba(255,255,255,.12); }

.ckb__title { margin: 0 0 6px; font-size: 16px; font-weight: 800; }
.ckb__text { margin: 0; font-size: 14px; line-height: 1.6; color: #475569; }
.dark .ckb__text { color: #cbd5e1; }

.ckb__link { color: var(--brand-primary, #df8424); font-weight: 600; text-decoration: underline; }
.ckb__link:hover { text-decoration: none; }

.ckb__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 16px; }
.ckb__btn {
    flex: 1 1 160px; min-width: 0; min-height: 44px; padding: 0 18px;
    border-radius: 999px; border: 1px solid var(--brand-primary, #df8424);
    font-size: 14px; font-weight: 700; cursor: pointer; text-align: center;
    display: inline-flex; align-items: center; justify-content: center;
    transition: background-color .15s, color .15s, box-shadow .15s;
}
/* Same weight on purpose: filled accept, outlined reject, identical size. */
.ckb__btn--accept { background: var(--brand-primary, #df8424); color: #fff; }
.ckb__btn--accept:hover { box-shadow: 0 2px 12px rgba(var(--brand-primary-rgb, 223,132,36), .45); }
.ckb__btn--reject { background: transparent; color: var(--brand-primary, #df8424); }
.ckb__btn--reject:hover { background: rgba(var(--brand-primary-rgb, 223,132,36), .10); }

.ckb__more {
    margin-inline-start: auto; background: none; border: 0; padding: 8px 4px;
    font: inherit; font-size: 13px; font-weight: 600; color: #475569;
    text-decoration: underline; cursor: pointer;
}
.dark .ckb__more { color: #cbd5e1; }

.ckb__details {
    margin-top: 14px; padding-top: 14px; border-top: 1px solid #e2e8f0;
    font-size: 13px; line-height: 1.7; color: #475569;
}
.dark .ckb__details { border-color: rgba(255,255,255,.12); color: #cbd5e1; }
.ckb__details[hidden] { display: none; }
.ckb__details table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.ckb__details th, .ckb__details td { padding: 6px 8px; text-align: start; border-bottom: 1px solid #e2e8f0; }
.dark .ckb__details th, .dark .ckb__details td { border-color: rgba(255,255,255,.1); }
.ckb__details th { font-weight: 700; color: #0f172a; }
.dark .ckb__details th { color: #f1f5f9; }
.ckb__details code { font-size: 12px; }

/* Footer link that reopens the banner after a choice was made. */
.ckb-reopen {
    background: none; border: 0; padding: 0; font: inherit; cursor: pointer;
    color: inherit; text-decoration: underline; opacity: .85;
}
.ckb-reopen:hover { opacity: 1; }

@media (max-width: 480px) {
    .ckb { padding: 10px; }
    .ckb__card { padding: 16px; border-radius: 14px; }
    .ckb__btn { flex: 1 1 100%; }
    .ckb__more { margin-inline-start: 0; }
}
