.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 12px;
  background: #ffffff;
  color: #031641;
  box-shadow: 0 12px 32px rgba(3, 22, 65, 0.22);
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner-copy {
  flex: 1 1 320px;
}

.cookie-banner-copy strong {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
}

.cookie-banner-copy p {
  margin: 0;
}

.cookie-banner a {
  color: #031641;
  text-decoration: underline;
}

.cookie-banner-actions {
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
}

/* Accept and Reject get equal size and weight, as consent rules require. */
.cookie-btn {
  min-width: 110px;
  padding: 10px 16px;
  border-radius: 8px;
  border: 2px solid #031641;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.cookie-btn-primary {
  background: #031641;
  color: #ffffff;
}

.cookie-btn-secondary {
  background: #ffffff;
  color: #031641;
}

.cookie-btn:focus-visible {
  outline: 3px solid #f5a623;
  outline-offset: 2px;
}

.cookie-settings-link {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  text-decoration: underline;
  cursor: pointer;
}

@media (max-width: 520px) {
  .cookie-banner-actions {
    width: 100%;
  }

  .cookie-btn {
    flex: 1 1 0;
  }
}
