/* VidClever cookie banner. Used with /consent.js on every page. Brand tokens from CLAUDE.md. */
.cc-banner {
  --cc-bg: #0B0F19;
  --cc-text: #F4F4F6;
  --cc-brand: #6366F1;
  --cc-link: #818CF8;
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 2147483000;
  box-sizing: border-box;
  max-width: 1080px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
  background: var(--cc-bg);
  color: var(--cc-text);
  border: 1px solid rgba(244, 244, 246, 0.16);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  text-align: left;
}
.cc-banner[hidden] { display: none; }
.cc-banner *, .cc-banner *::before, .cc-banner *::after { box-sizing: border-box; }

.cc-text {
  flex: 1 1 320px;
  margin: 0;
  color: rgba(244, 244, 246, 0.85);
  font-size: 14px;
  text-wrap: pretty;
}
.cc-text a { color: var(--cc-link); text-decoration: underline; }

.cc-actions { display: flex; gap: 12px; flex: 0 0 auto; }

/* Accept and Reject share one style so neither is more prominent. */
.cc-btn {
  min-width: 112px;
  margin: 0;
  padding: 10px 20px;
  border: 1px solid var(--cc-brand);
  border-radius: 8px;
  background: var(--cc-brand);
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
}
.cc-btn:hover { background: #5458e6; }
.cc-btn:focus-visible,
.cc-text a:focus-visible,
[data-cookie-settings]:focus-visible { outline: 2px solid var(--cc-text, #F4F4F6); outline-offset: 2px; }

@media (max-width: 580px) {
  .cc-banner { left: 12px; right: 12px; bottom: 12px; padding: 14px 16px; }
  .cc-actions { flex: 1 1 100%; }
  .cc-btn { flex: 1 1 0; min-width: 0; }
}

/* Footer "Cookie settings" link used as a button. */
button[data-cookie-settings] {
  background: none; border: 0; padding: 0; margin: 0;
  font: inherit; color: inherit; cursor: pointer;
}
