/**
 * TSS Cookie Consent — vormgeving.
 * Sober, met een eigen prefix op elke klasse en met !important alleen waar thema's (Elementor/Hello)
 * knoppen hard overschrijven. Kleuren via --tss-cc-knop / --tss-cc-knoptekst (instellingen).
 *
 * @package tss-cookie-consent
 */

.tss-cc { position: fixed; z-index: 999999; display: flex; font-size: 15px; line-height: 1.55; }
.tss-cc[hidden], .tss-cc__terug[hidden], .tss-cc [hidden] { display: none !important; }
.tss-cc.is-midden { inset: 0; background: rgba(0, 0, 0, .45); }
.tss-cc.is-onder { left: 0; right: 0; bottom: 0; box-shadow: 0 -6px 24px rgba(0, 0, 0, .18); }

.tss-cc__scherm {
  background: #fff; color: #1a1a1a; width: 100%; max-width: 720px; margin: auto; padding: 24px;
  border-radius: 6px; box-shadow: 0 10px 40px rgba(0, 0, 0, .25); max-height: 90vh; overflow-y: auto; outline: none;
}
.tss-cc.is-onder .tss-cc__scherm { max-width: 100%; border-radius: 0; box-shadow: none; max-height: 70vh; margin: 0; }
.tss-cc.is-onder .tss-cc__scherm > * { max-width: 1100px; margin-left: auto; margin-right: auto; }

.tss-cc__titel { font-size: 1.2em; margin: 0 0 8px; color: inherit; }
.tss-cc__tekst { margin: 0 0 12px; }
.tss-cc__beleid { color: inherit; text-decoration: underline; margin-left: 4px; }

.tss-cc__categorie { border-top: 1px solid #e3e3e3; padding: 10px 0; }
.tss-cc__label { display: flex; align-items: center; gap: 8px; font-weight: 600; cursor: pointer; }
.tss-cc__altijd { font-weight: 400; font-size: .85em; color: #2f6b2f; }
.tss-cc__uitleg { margin: 4px 0 0 26px; font-size: .92em; color: #444; }
.tss-cc__details { margin: 6px 0 0 26px; font-size: .88em; }
.tss-cc__details summary { cursor: pointer; text-decoration: underline; }

.tss-cc__tabel, .tss-cc-verklaring__tabel { width: 100%; border-collapse: collapse; margin: 8px 0 16px; font-size: .92em; }
.tss-cc__tabel th, .tss-cc__tabel td, .tss-cc-verklaring__tabel th, .tss-cc-verklaring__tabel td {
  border: 1px solid #e3e3e3; padding: 6px 8px; text-align: left; vertical-align: top;
}
.tss-cc__tabel th, .tss-cc-verklaring__tabel th { background: #f6f6f6; }

.tss-cc__knoppen { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.tss-cc__knop, .tss-cc-plek__knop, .tss-cc-verklaring__knop {
  appearance: none; font: inherit !important; text-transform: none !important; letter-spacing: normal !important;
  padding: 10px 18px !important; border-radius: 4px !important; cursor: pointer; line-height: 1.2 !important;
  border: 2px solid var(--tss-cc-knop, #111) !important;
  background: var(--tss-cc-knop, #111) !important; color: var(--tss-cc-knoptekst, #fff) !important;
}
.tss-cc__knop--tekst { background: transparent !important; color: var(--tss-cc-knop, #111) !important; }
.tss-cc__knop:focus-visible, .tss-cc__terug:focus-visible, .tss-cc-plek button:focus-visible { outline: 3px solid #1863dc; outline-offset: 2px; }

.tss-cc__terug {
  position: fixed; left: 12px; bottom: 12px; z-index: 999998;
  font: 13px/1.2 system-ui, sans-serif !important; text-transform: none !important;
  padding: 7px 12px !important; border-radius: 18px !important; cursor: pointer;
  background: #fff !important; color: #111 !important; border: 1px solid #bbb !important; box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
}

.tss-cc-verborgen { display: none !important; }
.tss-cc-plek {
  position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  min-height: 200px; padding: 20px; text-align: center; background: #f2f2f2; color: #222; border: 1px dashed #bbb; font-size: 15px;
}
.tss-cc-plek p { margin: 0; max-width: 520px; }
.tss-cc-plek__link {
  appearance: none; background: none !important; border: 0 !important; color: inherit !important;
  text-decoration: underline; cursor: pointer; font: inherit !important; text-transform: none !important; padding: 0 !important;
}

.tss-cc-verklaring__door { opacity: .7; }
.tss-cc-voorkeuren__aan { color: #0a6b2d; font-weight: 600; }
.tss-cc-voorkeuren__uit { color: #8a1b1b; font-weight: 600; }

@media (max-width: 600px) {
  .tss-cc__scherm { padding: 16px; }
  .tss-cc__knoppen { flex-direction: column; }
  .tss-cc__knop { width: 100%; }
}
