/* COOKIE CONSENT */

.footer-cookie-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 8px;
  background: transparent;
  color: #ffffff;
  font: inherit;
  cursor: pointer;
}

.footer-cookie-btn:hover,
.footer-cookie-btn:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  outline: 3px solid #8edce6;
  outline-offset: 2px;
}

.cookie-consent {
  position: fixed;
  z-index: 3000;
  left: 16px;
  right: 16px;
  bottom: 16px;
  width: min(760px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px;
  border: 1px solid #d8e5e7;
  border-radius: 16px;
  background: #ffffff;
  color: #1f2a2d;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

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

.cookie-consent h2 {
  margin: 0 0 10px;
  color: #153f47;
  font-size: 1.35rem;
  line-height: 1.25;
}

.cookie-consent p {
  margin: 8px 0;
}

.cookie-consent a {
  color: #176d79;
}

.cookie-consent__details {
  margin-top: 12px;
  padding: 12px;
  border-radius: 10px;
  background: #eef8fa;
}

.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.cookie-consent__button {
  flex: 1 1 180px;
  min-height: 48px;
  padding: 10px 14px;
  border: 2px solid #217d89;
  border-radius: 8px;
  background: #ffffff;
  color: #165c66;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.cookie-consent__button:hover,
.cookie-consent__button:focus-visible {
  background: #217d89;
  color: #ffffff;
  outline: 3px solid #8edce6;
  outline-offset: 2px;
}

@media (max-width: 560px) {
  .cookie-consent {
    left: 8px;
    right: 8px;
    bottom: 8px;
    width: calc(100% - 16px);
    max-height: calc(100vh - 16px);
    overflow-y: auto;
    padding: 18px;
  }

  .cookie-consent__button {
    flex-basis: 100%;
  }
}