.cookie-consent,
.cookie-settings-button {
  font-family: "Open Sans", Arial, sans-serif;
}

.cookie-consent[hidden],
.cookie-settings-button[hidden],
.cookie-consent__details[hidden],
.cookie-consent__close[hidden] {
  display: none !important;
}

.cookie-consent {
  position: fixed;
  right: 20px;
  bottom: 20px;
  left: 20px;
  z-index: 10000;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px 28px;
  max-width: 1040px;
  margin: 0 auto;
  padding: 24px;
  border: 1px solid #cbd5e1;
  border-radius: 16px;
  background: #ffffff;
  color: #1f2937;
  box-shadow: 0 18px 55px rgba(15, 23, 42, 0.3);
  line-height: 1.5;
}

.cookie-consent__copy {
  max-width: 660px;
}

.cookie-consent__eyebrow {
  margin: 0 0 2px;
  color: #526473;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cookie-consent h2 {
  margin: 0 0 8px;
  color: #16384c;
  font-size: 26px;
  line-height: 1.2;
}

.cookie-consent h2:focus {
  outline: none;
}

.cookie-consent p {
  margin: 0 0 8px;
  color: #374151;
  font-size: 15px;
}

.cookie-consent a {
  color: #16384c;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-consent__actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
  align-content: center;
  min-width: 190px;
}

.cookie-consent__button,
.cookie-settings-button {
  min-height: 44px;
  border: 2px solid #16384c;
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
}

.cookie-consent__button--primary {
  background: #16384c;
  color: #ffffff;
}

.cookie-consent__button--secondary {
  background: #ffffff;
  color: #16384c;
}

.cookie-consent__button:hover,
.cookie-consent__button:focus-visible,
.cookie-settings-button:hover,
.cookie-settings-button:focus-visible {
  outline: 3px solid #93c5fd;
  outline-offset: 2px;
}

.cookie-consent__close {
  position: absolute;
  top: 8px;
  right: 12px;
  width: 38px;
  height: 38px;
  border: 0;
  background: transparent;
  color: #374151;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.cookie-consent__details {
  grid-column: 1 / -1;
  padding-top: 16px;
  border-top: 1px solid #dbe3ea;
}

.cookie-consent__option {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  color: #1f2937;
  cursor: pointer;
}

.cookie-consent__option + .cookie-consent__option {
  border-top: 1px solid #edf1f5;
}

.cookie-consent__option strong,
.cookie-consent__option span {
  display: block;
}

.cookie-consent__option span span {
  margin-top: 2px;
  color: #526473;
  font-size: 13px;
}

.cookie-consent__option input {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  accent-color: #16384c;
}

.cookie-consent__always {
  color: #526473;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.cookie-consent__save {
  display: block;
  margin: 14px 0 0 auto;
}

.cookie-settings-button {
  position: fixed;
  left: 14px;
  bottom: 14px;
  z-index: 9999;
  min-height: 38px;
  padding: 8px 14px;
  border-width: 1px;
  background: #ffffff;
  color: #16384c;
  box-shadow: 0 5px 18px rgba(15, 23, 42, 0.18);
  font-size: 12px;
}

.privacy-footer-link {
  margin-left: 0.45rem;
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.privacy-footer-link {
  margin-left: 0.45rem;
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 720px) {
  .cookie-consent {
    right: 10px;
    bottom: 10px;
    left: 10px;
    grid-template-columns: 1fr;
    gap: 16px;
    max-height: calc(100vh - 20px);
    overflow-y: auto;
    padding: 20px;
  }

  .cookie-consent__actions {
    grid-template-columns: 1fr;
    min-width: 0;
  }

  .cookie-consent__details {
    grid-column: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-consent *,
  .cookie-settings-button {
    scroll-behavior: auto;
  }
}
