:root {
  --vc-red: #e1251b;
  --vc-red-dark: #c41f17;
  --vc-red-soft: #fde8e7;
  --vc-gray: #c4c4c4;
  --vc-gray-dark: #a8a8a8;
  --vc-ink: #1c2733;
  --vc-muted: #5c6b7a;
  --vc-line: #e8e8e8;
  --vc-white: #ffffff;
  --vc-radius: 14px;
  --vc-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  --vc-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

#vc-consent { position: fixed; inset: auto 0 0 0; z-index: 99999; font-family: var(--vc-font); }
.vc-banner {
  max-width: 980px; margin: 0 auto 20px; padding: 22px 24px;
  background: var(--vc-white); border: 1px solid var(--vc-line);
  border-radius: var(--vc-radius); box-shadow: var(--vc-shadow);
  display: none;
}
.vc-banner.vc-open { display: block; animation: vc-rise .35s ease both; }
@keyframes vc-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .vc-banner.vc-open, .vc-modal.vc-open { animation: none; } }

.vc-banner h2 { margin: 0 0 6px; font-size: 16px; font-weight: 700; color: var(--vc-ink); }
.vc-banner p { margin: 0 0 14px; font-size: 13.5px; line-height: 1.55; color: var(--vc-muted); }
.vc-banner a { color: var(--vc-red); text-decoration: underline; }
.vc-banner a:hover { color: var(--vc-red-dark); }

.vc-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.vc-btn {
  appearance: none; border: 0; cursor: pointer; font-family: inherit;
  font-size: 14px; font-weight: 600; padding: 11px 20px; border-radius: 9px;
  transition: background .15s ease, color .15s ease, filter .15s ease;
}
.vc-btn:focus-visible { outline: 3px solid var(--vc-red); outline-offset: 2px; }
.vc-btn-accept { background: var(--vc-red); color: var(--vc-white); }
.vc-btn-accept:hover { background: var(--vc-red-dark); }
.vc-btn-reject { background: var(--vc-gray); color: var(--vc-white); }
.vc-btn-reject:hover { background: var(--vc-gray-dark); }
.vc-btn-prefs {
  background: transparent;
  color: var(--vc-ink);
  font-weight: 700;
  text-decoration: underline;
  padding-left: 8px;
  padding-right: 8px;
}
.vc-btn-prefs:hover { color: #000; }

.vc-overlay {
  position: fixed; inset: 0; background: rgba(0, 0, 0, 0.55);
  display: none; align-items: center; justify-content: center; padding: 16px; z-index: 100000;
}
.vc-overlay.vc-open { display: flex; }
.vc-modal {
  background: var(--vc-white); border-radius: var(--vc-radius);
  max-width: 560px; width: 100%; max-height: 88vh; overflow-y: auto;
  box-shadow: var(--vc-shadow); padding: 26px;
}
.vc-modal.vc-open { animation: vc-rise .3s ease both; }
.vc-modal h3 { margin: 0 0 4px; font-size: 18px; color: var(--vc-ink); }
.vc-modal > p { margin: 0 0 18px; font-size: 13px; color: var(--vc-muted); line-height: 1.5; }

.vc-cat { border: 1px solid var(--vc-line); border-radius: 10px; padding: 14px 16px; margin-bottom: 10px; }
.vc-cat-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.vc-cat-head strong { font-size: 14px; color: var(--vc-ink); }
.vc-cat p { margin: 8px 0 0; font-size: 12.5px; color: var(--vc-muted); line-height: 1.5; }
.vc-cat .vc-always { font-size: 12px; font-weight: 600; color: var(--vc-red); white-space: nowrap; }

.vc-switch { position: relative; width: 44px; height: 24px; flex: none; }
.vc-switch input { opacity: 0; width: 100%; height: 100%; position: absolute; cursor: pointer; margin: 0; }
.vc-slider {
  position: absolute; inset: 0; background: #d9d9d9; border-radius: 24px;
  transition: background .15s ease; pointer-events: none;
}
.vc-slider::before {
  content: ""; position: absolute; width: 18px; height: 18px; left: 3px; top: 3px;
  background: var(--vc-white); border-radius: 50%; transition: transform .15s ease;
}
.vc-switch input:checked + .vc-slider { background: var(--vc-red); }
.vc-switch input:checked + .vc-slider::before { transform: translateX(20px); }
.vc-switch input:focus-visible + .vc-slider { outline: 3px solid var(--vc-red); outline-offset: 2px; }

.vc-modal-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

@media (max-width: 560px) {
  .vc-banner { margin: 0; border-radius: var(--vc-radius) var(--vc-radius) 0 0; }
  .vc-actions .vc-btn { flex: 1 1 100%; text-align: center; }
}
