/* cyah.ai cookievenster (consent.js) */
.cc-root { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: flex-end; justify-content: center; padding: 16px; pointer-events: none; }
.cc-backdrop { position: absolute; inset: 0; background: rgba(11,30,79,.38); opacity: 0; transition: opacity .25s ease; pointer-events: auto; }
.cc { position: relative; pointer-events: auto; width: min(920px, 100%); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); display: flex; flex-direction: column;
  background: #fff; color: #1A2238; border-radius: 18px; border-top: 4px solid #FFC226; box-shadow: 0 24px 64px rgba(11,30,79,.32);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 14.5px; line-height: 1.55;
  transform: translateY(24px); opacity: 0; transition: transform .25s ease, opacity .25s ease; }
.cc-root.is-open .cc-backdrop { opacity: 1; }
.cc-root.is-open .cc { transform: none; opacity: 1; }
.cc-head { display: flex; align-items: center; gap: 12px; padding: 18px 24px 6px; }
.cc-head h2 { margin: 0; font: 800 19px/1.25 Manrope, Inter, sans-serif; color: #0B1E4F; flex: 1; }
.cc-brand { font: 800 15px Manrope, Inter, sans-serif; color: #0B1E4F; letter-spacing: -.01em; }
.cc-brand b { color: #1660E8; }
.cc-logo { display: inline-flex; }
.cc-tabs { display: flex; gap: 4px; padding: 0 24px; border-bottom: 1px solid #E3E8F2; }
.cc-tabs button { flex: 1; background: none; border: 0; border-bottom: 3px solid transparent; padding: 12px 8px 10px; font: 700 14px Inter, sans-serif; color: #5B6478; cursor: pointer; margin-bottom: -1px; }
.cc-tabs button[aria-selected="true"] { color: #1660E8; border-bottom-color: #1660E8; }
.cc-tabs button:hover { color: #0B1E4F; }
.cc-body { overflow-y: auto; padding: 16px 24px 4px; flex: 1 1 auto; min-height: 90px; }
.cc-body p { margin: 0 0 10px; }
.cc-body a { color: #1660E8; font-weight: 600; }
.cc-more { color: #5B6478; }
.cc-cat { border: 1px solid #E3E8F2; border-radius: 12px; margin: 0 0 10px; background: #F5F7FB; }
.cc-cat summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; font-weight: 700; color: #0B1E4F; }
.cc-cat summary::-webkit-details-marker { display: none; }
.cc-cat summary::before { content: ""; width: 8px; height: 8px; border-right: 2px solid #1660E8; border-bottom: 2px solid #1660E8; transform: rotate(-45deg); transition: transform .2s; margin-right: 4px; }
.cc-cat[open] summary::before { transform: rotate(45deg); }
.cc-cat__t { flex: 1; }
.cc-count { display: inline-block; min-width: 22px; padding: 1px 7px; margin-left: 6px; border-radius: 999px; background: #EAF1FF; color: #1660E8; font-size: 12px; text-align: center; }
.cc-always { font-size: 12.5px; font-weight: 700; color: #0E8A5F; }
.cc-cat > p, .cc-cat > .cc-tablewrap, .cc-cat > .cc-none { margin: 0 14px 12px; }
.cc-none { color: #5B6478; font-style: italic; }
.cc-tablewrap { overflow-x: auto; background: #fff; border-radius: 10px; border: 1px solid #E3E8F2; }
.cc-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.cc-table th, .cc-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid #E3E8F2; vertical-align: top; }
.cc-table th { background: #EAF1FF; color: #0B1E4F; font-weight: 700; white-space: nowrap; }
.cc-table tr:last-child td { border-bottom: 0; }
.cc-table code { font-size: 12.5px; color: #0B1E4F; background: #F5F7FB; padding: 1px 5px; border-radius: 5px; word-break: break-all; }
.cc-h3 { font: 800 15px Manrope, Inter, sans-serif; color: #0B1E4F; margin: 16px 0 6px; }
.cc-dl { display: grid; grid-template-columns: max-content 1fr; gap: 4px 14px; margin: 0 0 6px; }
.cc-dl dt { color: #5B6478; }
.cc-dl dd { margin: 0; }
.cc-state { color: #5B6478; font-size: 13.5px; }
.cc-toggles { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #E3E8F2; margin: 8px 0 0; }
.cc-toggle { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 6px; font-weight: 700; font-size: 13.5px; color: #0B1E4F; }
.cc-toggle + .cc-toggle { border-left: 1px solid #E3E8F2; }
.cc-switch { position: relative; display: inline-block; width: 48px; height: 28px; cursor: pointer; }
.cc-switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.cc-slider { position: absolute; inset: 0; background: #C9D1E0; border-radius: 999px; transition: background .2s; }
.cc-slider::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .2s; }
.cc-switch input:checked + .cc-slider { background: #1660E8; }
.cc-switch input:checked + .cc-slider::after { transform: translateX(20px); }
.cc-switch input:focus-visible + .cc-slider { outline: 3px solid #FFC226; outline-offset: 2px; }
.cc-switch.is-fixed { cursor: not-allowed; }
.cc-switch.is-fixed input { cursor: not-allowed; }
.cc-switch.is-fixed input:checked + .cc-slider { background: #8FB3F5; }
.cc-actions { display: flex; gap: 10px; padding: 14px 24px 18px; border-top: 1px solid #E3E8F2; }
.cc-btn { flex: 1; min-height: 46px; padding: 10px 16px; border-radius: 12px; font: 700 14.5px Inter, sans-serif; cursor: pointer; border: 2px solid #1660E8; transition: background .15s, color .15s, border-color .15s; }
.cc-btn--ghost { background: #fff; color: #1660E8; }
.cc-btn--ghost:hover { background: #EAF1FF; }
.cc-btn--primary { background: #1660E8; color: #fff; }
.cc-btn--primary:hover { background: #0F4CC0; border-color: #0F4CC0; }
.cc-btn:focus-visible, .cc-tabs button:focus-visible, .cc-cat summary:focus-visible, .cc-widget:focus-visible { outline: 3px solid #FFC226; outline-offset: 2px; }
.cc-widget { position: fixed; left: 16px; bottom: 16px; z-index: 900; width: 48px; height: 48px; border-radius: 50%; border: 0; background: #0B1E4F; display: grid; place-items: center; cursor: pointer;
  box-shadow: 0 6px 18px rgba(11,30,79,.3); transition: transform .15s; }
.cc-widget:hover { transform: scale(1.07); }
.cc-toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: #0B1E4F; color: #fff; padding: 12px 18px; border-radius: 12px; font: 600 14px Inter, sans-serif; opacity: 0; transition: all .3s; z-index: 2100; }
.cc-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.cc-decl { background: #F5F7FB; border: 1px solid #E3E8F2; border-radius: 14px; padding: 16px 18px; margin: 0 0 18px; }
.cc-decl h3 { margin-top: 0; }
.cc-decl .cc-btn { flex: none; display: inline-block; margin: 4px 8px 0 0; }
.cookie-decl h3 { margin-top: 22px; }
.cookie-decl .cc-tablewrap { margin-bottom: 8px; }
@media (max-width: 640px) {
  .cc-root { padding: 0; }
  .cc { border-radius: 18px 18px 0 0; max-height: 92vh; max-height: 92dvh; font-size: 14px; }
  .cc-head { padding: 14px 16px 4px; }
  .cc-head h2 { font-size: 17px; }
  .cc-brand { display: none; }
  .cc-tabs { padding: 0 10px; }
  .cc-tabs button { font-size: 13px; padding: 10px 4px 8px; }
  .cc-body { padding: 12px 16px 2px; }
  .cc-toggles { grid-template-columns: repeat(2, 1fr); }
  .cc-toggle { flex-direction: row; justify-content: space-between; padding: 10px 16px; }
  .cc-toggle + .cc-toggle { border-left: 0; }
  .cc-toggle:nth-child(even) { border-left: 1px solid #E3E8F2; }
  .cc-toggle:nth-child(n+3) { border-top: 1px solid #E3E8F2; }
  .cc-actions { flex-direction: column-reverse; gap: 8px; padding: 12px 16px calc(14px + env(safe-area-inset-bottom)); }
  .cc-table thead { display: none; }
  .cc-table tr { display: block; border-bottom: 1px solid #E3E8F2; padding: 6px 0; }
  .cc-table td { display: grid; grid-template-columns: 96px 1fr; gap: 8px; border: 0; padding: 3px 10px; }
  .cc-table td::before { content: attr(data-l); color: #5B6478; font-weight: 600; }
  .cc-widget { width: 42px; height: 42px; left: 12px; bottom: 12px; }
}
@media (prefers-reduced-motion: reduce) { .cc, .cc-backdrop, .cc-slider, .cc-slider::after, .cc-toast { transition: none; } }
/* compacte balk bij eerste bezoek (UX-review 2026-11-09) */
.cc-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1900; max-width: 760px; margin: 0 auto; background: #fff; color: #1A2238; border-radius: 14px; border-top: 3px solid #FFC226;
  box-shadow: 0 12px 36px rgba(11,30,79,.25); padding: 12px 14px; display: flex; gap: 12px; align-items: center; font: 13.5px/1.45 Inter, system-ui, sans-serif; }
.cc-bar p { margin: 0; flex: 1; }
.cc-bar a { color: #1660E8; font-weight: 600; }
.cc-bar__btns { display: flex; gap: 8px; flex: 0 0 auto; }
.cc-bar .cc-btn { min-height: 38px; padding: 6px 14px; font-size: 13.5px; flex: 0 0 auto; }
@media (max-width: 640px) {
  .cc-bar { left: 8px; right: 8px; bottom: 8px; flex-direction: column; align-items: stretch; gap: 8px; padding: 10px 12px; font-size: 12.5px; }
  .cc-bar__btns .cc-btn { flex: 1; }
  .cc-widget { display: none !important; } /* footerlink Cookie-instellingen blijft; de knop lag over de chat */
}
