.consent-banner[hidden],
.consent-preferences[hidden],
.consent-banner .consent-actions [hidden] {
  display: none;
}

.consent-banner {
  position: fixed;
  z-index: 100;
  inset: auto 20px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1240px;
  max-height: calc(100vh - 24px);
  margin: 0 auto;
  overflow-y: auto;
  padding: 20px 24px;
  border: 1px solid #dce3ee;
  border-radius: 16px;
  background: #fff;
  color: #101b30;
  box-shadow: 0 20px 60px rgba(16, 29, 53, 0.16);
}

.consent-copy { max-width: 680px; }
.consent-copy > strong { display: block; margin-bottom: 5px; font-weight: 600; }
.consent-copy p { color: #47556b; font-size: 0.875rem; }
.consent-copy .consent-error { margin-top: 8px; color: #b42318; }
.consent-copy a { color: #2856c8; text-decoration: underline; text-underline-offset: 3px; }
.consent-preferences { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 12px; }
.consent-preferences label { display: inline-flex; align-items: center; gap: 8px; font-size: 0.85rem; }
.consent-preferences input { accent-color: #2856c8; }
.consent-actions { display: flex; flex: none; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.consent-banner .btn { display: inline-flex; align-items: center; justify-content: center; font: inherit; font-size: 0.875rem; line-height: 1.2; text-decoration: none; white-space: nowrap; cursor: pointer; }
.consent-banner .btn-ghost { border: 1px solid #cfd8e6; color: #101b30; background: #fff; }
.consent-banner .btn-ghost:hover { background: #f5f7fb; }
.consent-banner .btn-primary { border: 1px solid #2856c8; color: #fff; background: #2856c8; }
.consent-banner .btn-primary:hover { background: #1d43a1; border-color: #1d43a1; }
.consent-banner .btn-sm { padding: 10px 14px; border-radius: 10px; font-size: 0.875rem; }

@media (max-width: 820px) {
  .consent-banner { align-items: stretch; flex-direction: column; gap: 14px; inset: auto 12px 12px; padding: 16px; }
  .consent-actions { justify-content: flex-start; }
}

@media (max-width: 560px) {
  .consent-actions .btn { flex: 1 1 auto; }
}
