/* Cookie consent banner and the footer "Cookie settings" control. */
.consent {
  position: fixed;
  z-index: 200;
  left: 20px;
  bottom: 20px;
  width: min(420px, calc(100% - 40px));
  padding: 24px;
  color: #fff;
  background: #0c2c42;
  border: 1px solid rgba(88, 166, 200, 0.5);
  border-top: 4px solid #58a6c8;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  animation: consent-in 360ms cubic-bezier(0.2, 0.72, 0.24, 1) both;
}

.consent[hidden] {
  display: none;
}

.consent h2 {
  margin: 0 0 10px;
  color: #fff;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 850;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.consent p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.84rem;
  line-height: 1.55;
}

.consent p a {
  color: #fff;
  font-weight: 700;
  text-underline-offset: 3px;
}

.consent-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.consent-actions button {
  min-height: 46px;
  padding: 12px 16px;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.consent-accept {
  color: #071b29;
  background: #58a6c8;
  border: 1px solid #58a6c8;
}

.consent-reject {
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.55);
}

.consent-accept:hover,
.consent-accept:focus-visible,
.consent-reject:hover,
.consent-reject:focus-visible {
  color: #071b29;
  background: #fff;
  border-color: #fff;
}

.consent-actions button:focus-visible {
  outline: 2px solid #58a6c8;
  outline-offset: 3px;
}

@keyframes consent-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
}

@media (max-width: 560px) {
  .consent {
    left: 12px;
    bottom: 12px;
    width: calc(100% - 24px);
    padding: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .consent {
    animation: none;
  }
}

.footer-company > .footer-cookie-settings {
  display: block;
  margin: 0 0 11px;
  padding: 0;
  color: rgba(255, 255, 255, 0.78);
  background: none;
  border: 0;
  font: inherit;
  font-size: 0.8rem;
  text-align: left;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 5px;
  cursor: pointer;
  transition: color 160ms ease, text-decoration-color 160ms ease;
}

.footer-company > .footer-cookie-settings:hover,
.footer-company > .footer-cookie-settings:focus-visible {
  color: #fff;
  text-decoration-color: #58a6c8;
}
