/* Cookie preference banner — matches site slate / primary blue chrome. */

#vo-cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 11000;
  background: #1e293b;
  color: #e2e8f0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 -8px 28px rgba(15, 23, 42, 0.28);
  padding: 1rem 1.25rem calc(1rem + env(safe-area-inset-bottom, 0px));
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.92rem;
  line-height: 1.5;
}

#vo-cookie-banner[hidden] {
  display: none !important;
}

.vo-cookie-banner__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.25rem;
}

.vo-cookie-banner__copy {
  flex: 1 1 280px;
  margin: 0;
  color: #cbd5e1;
}

.vo-cookie-banner__copy a {
  color: #93c5fd;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.vo-cookie-banner__copy a:hover {
  color: #bfdbfe;
}

.vo-cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  flex: 0 0 auto;
}

.vo-cookie-banner__btn {
  appearance: none;
  border-radius: 8px;
  font: inherit;
  font-weight: 700;
  min-height: 44px;
  padding: 0.55rem 1.15rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: filter 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.vo-cookie-banner__btn:focus-visible {
  outline: 3px solid #60a5fa;
  outline-offset: 2px;
}

.vo-cookie-banner__btn--accept {
  background: linear-gradient(135deg, #2f5597, #60a5fa);
  color: #fff;
  border-color: transparent;
}

.vo-cookie-banner__btn--accept:hover {
  filter: brightness(1.06);
}

.vo-cookie-banner__btn--reject {
  background: transparent;
  color: #e2e8f0;
  border-color: #64748b;
}

.vo-cookie-banner__btn--reject:hover {
  background: rgba(148, 163, 184, 0.15);
  border-color: #94a3b8;
}

@media (max-width: 575.98px) {
  .vo-cookie-banner__actions {
    width: 100%;
  }
  .vo-cookie-banner__btn {
    flex: 1 1 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vo-cookie-banner__btn {
    transition: none;
  }
}
