/* Innovance Global — cookie consent banner (uses the tokens in site.css)
 * Ported from 351 Graus, restyled to the Innovance pill/white-button look. */
.cc-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 22px 24px 22px 28px;
  background: var(--surface-header, #161618);
  border: 1px solid #2a2a2d;
  border-radius: var(--radius-md, 24px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
  color: var(--text, #c0c0c8);
  font-family: var(--font, "Onest", system-ui, sans-serif);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .25s ease, transform .25s ease;
}
.cc-banner.cc-open { opacity: 1; transform: none; }
.cc-banner[hidden] { display: none; }

.cc-text { flex: 1; min-width: 0; }
.cc-title {
  margin: 0 0 4px;
  color: var(--heading, #fff);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.4;
}
.cc-body {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
}
.cc-body a { color: var(--accent, #ff6871); text-decoration: underline; text-underline-offset: 2px; }

.cc-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cc-btn {
  min-width: 104px;
  padding: 13px 22px;
  border-radius: var(--radius-pill, 96px);
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.1;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
/* Accept and Reject carry equal visual weight (CNPD / EDPB guidance) */
.cc-reject {
  background: transparent;
  color: #fff;
  border: 1px solid var(--border-input, #5e5e60);
}
.cc-reject:hover { border-color: #fff; }
.cc-accept {
  background: #fff;
  color: var(--bg, #0d0d0e);
  border: 1px solid #fff;
}
.cc-accept:hover { background: #e9e9ee; border-color: #e9e9ee; }
.cc-btn:focus-visible { outline: 2px solid var(--accent, #ff6871); outline-offset: 2px; }

/* "Cookie preferences" in the footer: looks exactly like .footer-links a */
.cookie-settings-link {
  background: none; border: 0; padding: 0; margin: 0; cursor: pointer;
  font: inherit; color: inherit; text-align: left;
  transition: color .2s;
}
.cookie-settings-link:hover { color: #fff; }

@media (max-width: 640px) {
  .cc-banner { flex-direction: column; align-items: stretch; gap: 16px; bottom: 12px; left: 12px; right: 12px; padding: 20px; }
  .cc-actions .cc-btn { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .cc-banner { transition: none; }
}
