/*
 * Cookie consent banner styles.
 *
 * Loaded by templates/components/cookie_consent.html. Kept in an external
 * stylesheet (rather than inline) so it satisfies the production
 * Content-Security-Policy which disallows inline <style> blocks.
 */

#cookie-consent-banner {
  display: none;
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  max-width: 720px;
  margin: 0 auto;
  padding: 16px 20px;
  background: #1f2937;
  color: #f9fafb;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

#cookie-consent-banner.is-visible {
  display: block;
}

#cookie-consent-banner p {
  margin: 0 0 12px 0;
}

#cookie-consent-banner a {
  color: #93c5fd;
  text-decoration: underline;
}

#cookie-consent-banner .cc-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

#cookie-consent-banner button {
  appearance: none;
  border: 0;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

#cookie-consent-banner .cc-accept {
  background: #10b981;
  color: #ffffff;
}

#cookie-consent-banner .cc-accept:hover {
  background: #059669;
}

#cookie-consent-banner .cc-reject {
  background: transparent;
  color: #f9fafb;
  border: 1px solid #6b7280;
}

#cookie-consent-banner .cc-reject:hover {
  background: rgba(255, 255, 255, 0.06);
}
