/* Cookie consent banner — hand-written (not Tailwind utilities) so it works
   standalone regardless of what's actually compiled into app.css. Colors
   are pulled from the same CSS custom properties Settings -> Design writes
   into theme-overrides.css, so the banner automatically matches whatever
   brand colors/fonts are configured — no separate color config here. */
#cookie-consent {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 95;
  display: none;
  padding: 16px;
  background: var(--color-brand-deep, #125762);
  color: #fff;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
  font-family: var(--font-sans, inherit);
}

#cookie-consent[data-visible="true"] {
  display: block;
}

#cookie-consent .cc-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

#cookie-consent .cc-message {
  flex: 1 1 420px;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

#cookie-consent .cc-message a {
  color: var(--color-brand-light, #36b0b0);
  text-decoration: underline;
}

#cookie-consent .cc-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

#cookie-consent button {
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--radius-pill, 999px);
  border: none;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

#cookie-consent button:hover {
  opacity: 0.9;
}

#cookie-consent .cc-accept {
  background: var(--color-brand, #006e7f);
  color: #fff;
}

#cookie-consent .cc-decline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

@media (max-width: 640px) {
  #cookie-consent .cc-inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  #cookie-consent .cc-actions {
    justify-content: center;
  }
}
