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

.cookie-consent {
  position: fixed;
  right: 20px;
  bottom: 20px;
  left: 20px;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 980px;
  margin: 0 auto;
  padding: 20px 22px;
  color: #263333;
  background: #fff;
  border: 1px solid rgba(18, 160, 168, 0.3);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.22);
  font-family: "Quicksand", Arial, sans-serif;
}

.cookie-consent__content {
  flex: 1;
}

.cookie-consent__content h2 {
  margin: 0 0 8px;
  color: #167c82;
  font-family: "Quicksand", Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
}

.cookie-consent__content p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
}

.cookie-consent__actions {
  display: flex;
  flex-shrink: 0;
  gap: 10px;
}

.cookie-consent__button {
  min-width: 155px;
  padding: 11px 16px;
  border: 2px solid #128f96;
  border-radius: 7px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.cookie-consent__button--reject {
  color: #167c82;
  background: #fff;
}

.cookie-consent__button--accept {
  color: #fff;
  background: #128f96;
}

.cookie-consent__button:hover,
.cookie-consent__button:focus-visible {
  outline: 3px solid rgba(18, 143, 150, 0.25);
  outline-offset: 2px;
}

.cookie-settings-link {
  margin: 2px 5px;
  padding: 0;
  color: inherit;
  background: none;
  border: 0;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

.cookie-settings-link:hover,
.cookie-settings-link:focus-visible {
  color: #fff;
  text-decoration-thickness: 2px;
}

@media (max-width: 760px) {
  .cookie-consent {
    right: 10px;
    bottom: 10px;
    left: 10px;
    display: block;
    padding: 18px;
  }

  .cookie-consent__actions {
    margin-top: 16px;
  }

  .cookie-consent__button {
    flex: 1;
    min-width: 0;
  }
}

@media (max-width: 430px) {
  .cookie-consent__actions {
    flex-direction: column-reverse;
  }
}
