/* ==========================================================================
   Campus ZILT — consent-banner (cookie-toestemming)
   Stijl sluit aan op css/zilt.css (zelfde --vars). Mobiel-proof, niet-blokkerend,
   onderaan gepind. Geen cookiewall: de site blijft gewoon bedienbaar.
   ========================================================================== */

.zilt-consent {
  position: fixed;
  left: 20px;
  right: auto;
  bottom: 20px;
  z-index: 1000;
  max-width: 380px;
  margin-inline: 0;

  background: var(--paper-2, #fff);
  color: var(--txt-dark, #16242C);
  border-radius: var(--radius, 18px);
  box-shadow: 0 30px 80px -24px rgba(10, 26, 36, .45), 0 1px 0 rgba(10, 26, 36, .08);
  border: 1px solid var(--line-dark, rgba(10, 26, 36, .10));

  padding: clamp(18px, 3.4vw, 26px);
  font-family: var(--sans, -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif);
  line-height: 1.5;

  /* Niet-blokkerend: geen overlay. Komt rustig binnen van onderaf. */
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .5s cubic-bezier(.16, 1, .3, 1), transform .5s cubic-bezier(.16, 1, .3, 1);
  will-change: opacity, transform;
}

.zilt-consent[hidden] { display: none; }

.zilt-consent.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .zilt-consent {
    transition: none;
    opacity: 1;
    transform: none;
  }
}

.zilt-consent__top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.zilt-consent__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--zilt, #6FA893);
  flex: 0 0 auto;
}

.zilt-consent__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--txt-dark, #16242C);
}

.zilt-consent__body {
  margin: 0 0 18px;
  font-size: .92rem;
  color: var(--txt-mut, #5B6B72);
  max-width: 62ch;
}

.zilt-consent__body a {
  color: var(--zilt, #6FA893);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.zilt-consent__body a:hover { color: var(--zilt-bright, #84C7AC); }

.zilt-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.zilt-consent__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 12px 22px;
  border-radius: 999px;
  transition: transform .2s cubic-bezier(.16, 1, .3, 1), background .2s, box-shadow .2s, color .2s;
}

.zilt-consent__btn:active { transform: scale(.97); }

.zilt-consent__btn:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 4px rgba(111, 168, 147, .35);
}

/* Primaire actie — Accepteren */
.zilt-consent__btn--accept {
  background: var(--zilt, #6FA893);
  color: #042018;
}
.zilt-consent__btn--accept:hover {
  background: var(--zilt-bright, #84C7AC);
  box-shadow: 0 12px 30px -10px rgba(111, 168, 147, .7);
}

/* Secundaire acties — Weigeren / Alleen noodzakelijk */
.zilt-consent__btn--reject,
.zilt-consent__btn--necessary {
  background: transparent;
  color: var(--txt-dark, #16242C);
  box-shadow: inset 0 0 0 1.5px var(--line-dark, rgba(10, 26, 36, .18));
}
.zilt-consent__btn--reject:hover,
.zilt-consent__btn--necessary:hover {
  background: rgba(10, 26, 36, .05);
}

.zilt-consent__btn--necessary {
  margin-inline-start: auto;
  font-weight: 500;
  color: var(--txt-mut, #5B6B72);
}

/* Mobiel: knoppen vol breedte en gestapeld, prettig te tikken */
@media (max-width: 560px) {
  .zilt-consent {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: none;
  }
  .zilt-consent__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .zilt-consent__btn {
    width: 100%;
    padding: 14px 22px;
  }
  .zilt-consent__btn--necessary {
    margin-inline-start: 0;
    order: 3;
  }
}
