/* Shared by every page, including error and legal pages. */
.cookie-consent-banner {
  position: fixed;
  z-index: 10000;
  inset: auto 20px 20px;
  max-width: 1120px;
  max-height: calc(100dvh - 40px);
  margin-inline: auto;
  overflow-y: auto;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 24px;
  border: 1px solid #475569;
  border-radius: 16px;
  background: #0f172a;
  color: #f8fafc;
  box-shadow: 0 12px 48px #0009;
  font: 14px/1.6 'Inter', sans-serif;
}
.cookie-consent-banner[hidden], .cookie-consent-banner [hidden] { display: none; }
.cookie-consent-content { flex: 1; min-width: 0; }
.cookie-consent-content h2 { margin: 0 0 8px; color: #fff; font-size: 20px; line-height: 1.3; }
.cookie-consent-content p { margin: 0 0 8px; color: #e2e8f0; }
.cookie-consent-content a { color: #93c5fd; text-decoration: underline; }
.cookie-consent-content .cookie-consent-status { margin: 10px 0 0; font-size: 13px; }
.cookie-consent-actions { display: flex; flex-wrap: wrap; gap: 12px; width: 260px; flex-shrink: 0; }
.cookie-consent-choice {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid #93c5fd;
  border-radius: 8px;
  background: #1e293b;
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  min-height: 44px;
}
.cookie-consent-choice:hover { background: #334155; }
.cookie-consent-close, .cookie-settings-button {
  padding: 8px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.cookie-consent-close { width: 100%; color: #e2e8f0; }
.cookie-settings-footer { padding: 12px 20px; text-align: center; }
.cookie-consent-banner :focus-visible, .cookie-settings-button:focus-visible {
  outline: 3px solid #93c5fd;
  outline-offset: 4px;
}
@media (max-width: 700px) {
  .cookie-consent-banner { inset: auto 12px 12px; max-height: calc(100dvh - 24px); padding: 18px; gap: 16px; flex-direction: column; align-items: stretch; }
  .cookie-consent-actions { width: 100%; }
}
