/* Cookie-melding — niet-blokkerend. Mobiel: compact bottom sheet.
   Desktop: zwevende kaart linksonder. */

#cookie-consent-banner {
  position: fixed;
  z-index: 9999;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  background: #1c1b19;
  color: #F0EDE7;
  padding: 16px;
  border: 1px solid #34312c;
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
  font-family: 'Inter', sans-serif;
  transform: translateY(0);
  opacity: 1;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

#cookie-consent-banner.cc-hidden {
  transform: translateY(calc(100% + 32px));
  opacity: 0;
  pointer-events: none;
}

.cc-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cc-text {
  font-size: 13px;
  line-height: 1.5;
  color: #cfcac2;
}

.cc-text strong {
  color: #F0EDE7;
  font-weight: 600;
}

.cc-text a {
  color: #d4af37;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Twee gelijke knoppen: weigeren is net zo makkelijk als accepteren */
.cc-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.cc-btn {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 6px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: opacity 0.2s ease;
  white-space: nowrap;
}

.cc-btn:hover {
  opacity: 0.85;
}

.cc-btn:focus-visible {
  outline: 2px solid #d4af37;
  outline-offset: 2px;
}

/* Beide knoppen krijgen dezelfde visuele zwaarte: gevulde vlakken,
   alleen de kleur verschilt. */
.cc-btn-accept {
  background: #d4af37;
  color: #1c1b19;
}

.cc-btn-reject {
  background: #2c2a26;
  color: #F0EDE7;
  border-color: #4a4640;
}

/* Desktop: kaart linksonder, tekst en knoppen onder elkaar */
@media (min-width: 641px) {
  #cookie-consent-banner {
    left: 24px;
    right: auto;
    bottom: calc(24px + env(safe-area-inset-bottom, 0px));
    width: 400px;
    padding: 20px;
  }
  .cc-text { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  #cookie-consent-banner { transition: none; }
}