/* VCATC Consent / CMP */
.vcatc-cmp-root { position: relative; z-index: 10050; font-family: Manrope, Poppins, sans-serif; }

.vcatc-cmp-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  transform: translateY(110%);
  transition: transform .35s ease, opacity .35s ease;
  opacity: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(25,48,105,.97), #193069);
  color: #fff;
  box-shadow: 0 -8px 32px rgba(15, 30, 70, .28);
  padding: 18px 16px calc(18px + env(safe-area-inset-bottom, 0px));
}
.vcatc-cmp-banner.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.vcatc-cmp-banner-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 18px;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
}
.vcatc-cmp-title { display: block; font-size: 1.05rem; margin-bottom: 6px; color: #10c469; }
.vcatc-cmp-text { margin: 0 0 8px; font-size: .9rem; line-height: 1.45; color: rgba(255,255,255,.9); max-width: 64ch; }
.vcatc-cmp-links { margin: 0; font-size: .8rem; }
.vcatc-cmp-links a { color: #9fd0ff; text-decoration: underline; }
.vcatc-cmp-actions { display: flex; flex-wrap: wrap; gap: 8px; }

.vcatc-cmp-btn {
  border: 0;
  border-radius: 8px;
  padding: 10px 14px;
  font: inherit;
  font-weight: 700;
  font-size: .85rem;
  cursor: pointer;
  transition: .15s ease;
}
.vcatc-cmp-btn.primary { background: #10c469; color: #0b1e3d; }
.vcatc-cmp-btn.primary:hover { background: #0aa758; color: #fff; }
.vcatc-cmp-btn.ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.35); }
.vcatc-cmp-btn.ghost:hover { border-color: #10c469; color: #10c469; }

.vcatc-cmp-fab {
  position: fixed;
  left: 14px;
  bottom: 14px;
  z-index: 10040;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
  background: #243f87;
  color: #fff;
  font: inherit;
  font-size: .78rem;
  font-weight: 600;
  box-shadow: 0 6px 20px rgba(36,63,135,.35);
  cursor: pointer;
}
.vcatc-cmp-fab:hover { background: #193069; }
.vcatc-cmp-banner.is-visible ~ .vcatc-cmp-fab { bottom: 150px; }

.vcatc-cmp-modal[hidden] { display: none !important; }
.vcatc-cmp-modal {
  position: fixed; inset: 0; z-index: 10060;
  display: grid; place-items: center; padding: 16px;
}
.vcatc-cmp-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(10, 20, 45, .55);
}
.vcatc-cmp-modal-panel {
  position: relative;
  width: min(560px, 100%);
  max-height: min(90vh, 720px);
  overflow: auto;
  background: #fff;
  color: #15316d;
  border-radius: 14px;
  padding: 22px 22px 18px;
  box-shadow: 0 20px 50px rgba(0,0,0,.25);
}
.vcatc-cmp-modal-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
  margin-bottom: 8px;
}
.vcatc-cmp-modal-head h2 { font-size: 1.15rem; margin: 0; color: #193069; }
.vcatc-cmp-x {
  border: 0; background: transparent; font-size: 1.6rem; line-height: 1;
  color: #4a5d80; cursor: pointer; padding: 0 4px;
}
.vcatc-cmp-modal-intro { font-size: .9rem; color: #4a5d80; margin: 0 0 14px; }

.vcatc-cmp-cats { display: grid; gap: 10px; margin-bottom: 14px; }
.vcatc-cmp-cat {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 12px; border: 1px solid rgba(36,63,135,.12); border-radius: 10px;
  background: #f4f7fb;
}
.vcatc-cmp-cat-text { display: grid; gap: 2px; }
.vcatc-cmp-cat-text strong { font-size: .9rem; color: #193069; }
.vcatc-cmp-cat-text small { font-size: .78rem; color: #4a5d80; line-height: 1.35; }
.vcatc-cmp-lock {
  font-size: .72rem; font-weight: 700; color: #0aa758;
  background: rgba(16,196,105,.14); padding: 4px 8px; border-radius: 999px; white-space: nowrap;
}

.vcatc-cmp-switch { position: relative; width: 46px; height: 26px; flex-shrink: 0; }
.vcatc-cmp-switch input { opacity: 0; width: 0; height: 0; }
.vcatc-cmp-switch span {
  position: absolute; inset: 0; border-radius: 999px; background: #c9d4e8; cursor: pointer; transition: .2s;
}
.vcatc-cmp-switch span::before {
  content: ''; position: absolute; width: 20px; height: 20px; left: 3px; top: 3px;
  border-radius: 50%; background: #fff; transition: .2s; box-shadow: 0 1px 3px rgba(0,0,0,.2);
}
.vcatc-cmp-switch input:checked + span { background: #10c469; }
.vcatc-cmp-switch input:checked + span::before { transform: translateX(20px); }

.vcatc-cmp-dns {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 12px; border-radius: 10px; border: 1px solid rgba(36,63,135,.14);
  margin-bottom: 16px; cursor: pointer;
}
.vcatc-cmp-dns input { margin-top: 3px; }
.vcatc-cmp-dns strong { display: block; font-size: .88rem; color: #193069; }
.vcatc-cmp-dns small { display: block; font-size: .76rem; color: #4a5d80; margin-top: 3px; line-height: 1.35; }

.vcatc-cmp-modal-actions { display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.vcatc-cmp-modal-actions .vcatc-cmp-btn.ghost { color: #243f87; border-color: #c9d4e8; }
.vcatc-cmp-modal-actions .vcatc-cmp-btn.ghost:hover { border-color: #243f87; }

.footer-legal-links {
  display: flex; flex-wrap: wrap; gap: 8px 14px;
  justify-content: center; margin: 10px 0 4px;
  font-size: .8rem;
}
.footer-legal-links a { color: rgba(255,255,255,.72); text-decoration: underline; text-underline-offset: 2px; }
.footer-legal-links a:hover { color: #10c469; }

.legal-toc {
  display: flex; flex-wrap: wrap; gap: 8px 12px;
  margin: 0 0 22px; padding: 12px 14px;
  background: #f4f7fb; border-radius: 10px; border-left: 4px solid #243f87;
  font-size: .88rem;
}
.legal-toc a { color: #243f87; font-weight: 600; }
.legal-callout {
  margin: 16px 0;
  padding: 14px 16px;
  border-radius: 10px;
  background: rgba(16,196,105,.1);
  border: 1px solid rgba(16,196,105,.35);
  color: #0d5c35;
  font-weight: 600;
}
.legal-callout.warn {
  background: #fff8e8;
  border-color: #e0b000;
  color: #7a5a00;
}

@media (max-width: 720px) {
  .vcatc-cmp-banner-inner { align-items: stretch; }
  .vcatc-cmp-actions { width: 100%; }
  .vcatc-cmp-actions .vcatc-cmp-btn { flex: 1 1 auto; }
  .vcatc-cmp-fab span { display: none; }
  .vcatc-cmp-fab { padding: 12px; border-radius: 50%; }
}
