.consent-banner {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 1080;
  width: min(380px, calc(100vw - 2.5rem));
  background: var(--bs-body-bg);
  border: 1px solid var(--bs-border-color);
  border-radius: 1rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
  padding: 1.25rem;
}

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

.consent-inner {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.85rem;
}

.consent-message {
  margin: 0;
  line-height: 1.5;
  color: var(--bs-body-color);
}

.consent-link {
  color: var(--co2-teal);
  text-decoration: underline;
}

.consent-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.consent-reject {
  background: none;
  border: none;
  padding: 0;
  align-self: center;
  font-size: 0.78rem;
  color: var(--bs-secondary-color);
  text-decoration: underline dotted;
  cursor: pointer;
}

.consent-reject:hover {
  color: var(--bs-body-color);
}