.cookie-consent-banner {
  position: fixed;
  right: 1rem;
  left: 1rem;
  bottom: max(1rem, calc(var(--footer-height, 0rem) + 1rem + env(safe-area-inset-bottom)));
  z-index: 400;
  background: #ffffff;
  color: #1b1f23;
  border: 1px solid #c8d0d4;
  border-radius: 0.9rem;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.16);
  padding: 1rem;
}

.cookie-consent-text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.45;
}

.cookie-consent-text a {
  color: #005d6b;
  font-weight: 600;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.15em;
}

.cookie-consent-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 0.85rem;
}

.cookie-btn {
  border: 1px solid #0b6b79;
  border-radius: 0.65rem;
  padding: 0.55rem 0.9rem;
  min-height: 2.6rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

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

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

.cookie-settings-toggle {
  position: fixed;
  left: 1rem;
  bottom: max(1rem, calc(env(safe-area-inset-bottom) + 1rem));
  z-index: 390;
  border: 1px solid #c8d0d4;
  border-radius: 999px;
  background: #ffffff;
  color: #0d4a52;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  min-height: 2.4rem;
  padding: 0.35rem 0.85rem;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.14);
}

.cookie-btn:focus-visible,
.cookie-settings-toggle:focus-visible {
  outline: 3px solid #705d00;
  outline-offset: 2px;
}

@media (min-width: 56rem) {
  .cookie-consent-banner {
    left: auto;
    width: min(34rem, calc(100vw - 2rem));
  }
}
