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

.cookie-consent {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 1090;
  max-width: 760px;
  margin: 0 auto;
  color: #152238;
  background: #fff;
  border: 1px solid #d7dee8;
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(12, 31, 58, .22);
}

.cookie-consent__content {
  padding: 1.25rem;
}

.cookie-consent h2 {
  margin: 0 0 .5rem;
  color: #102a43;
  font-size: 1.25rem;
}

.cookie-consent p {
  margin: 0 0 .75rem;
  line-height: 1.55;
}

.cookie-consent__policy a {
  color: #075ca8;
  text-decoration: underline;
}

.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  align-items: center;
}

.cookie-consent__button {
  min-height: 44px;
  padding: .65rem 1rem;
  color: #123;
  background: #f3f6fa;
  border: 1px solid #aebdce;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
}

.cookie-consent__button:hover,
.cookie-consent__button:focus-visible {
  border-color: #075ca8;
  outline: 3px solid rgba(7, 92, 168, .2);
  outline-offset: 2px;
}

.cookie-consent__button--primary {
  color: #fff;
  background: #075ca8;
  border-color: #075ca8;
}

.cookie-consent__button--link {
  color: #075ca8;
  background: transparent;
  border-color: transparent;
}

.cookie-consent__settings {
  margin-top: 1rem;
  padding-top: .25rem;
  border-top: 1px solid #d7dee8;
}

.cookie-consent__option {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding: .85rem 0;
  border-bottom: 1px solid #e7ecf2;
}

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

.cookie-consent__option span span {
  margin-top: .2rem;
  color: #506176;
  font-size: .92rem;
}

.cookie-consent__option input {
  width: 1.35rem;
  height: 1.35rem;
  flex: 0 0 auto;
  accent-color: #075ca8;
}

.cookie-consent__always-on {
  color: #325c36;
  font-size: .86rem;
  font-weight: 700;
  white-space: nowrap;
}

.cookie-consent__settings .cookie-consent__actions {
  margin-top: 1rem;
}

.footer-cookie-button {
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  text-decoration: underline;
  cursor: pointer;
}

.footer-cookie-button:hover,
.footer-cookie-button:focus-visible {
  color: #fff;
}

@media (max-width: 575.98px) {
  .cookie-consent {
    right: .5rem;
    bottom: .5rem;
    left: .5rem;
    max-height: calc(100vh - 1rem);
    overflow-y: auto;
  }

  .cookie-consent__content {
    padding: 1rem;
  }

  .cookie-consent__actions,
  .cookie-consent__button {
    width: 100%;
  }
}

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