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

.cookie-consent {
  position: fixed;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 100000;
  max-width: 860px;
  margin: 0 auto;
  color: #173a46;
  background: #ffffff;
  border: 1px solid rgba(23, 58, 70, 0.2);
  border-radius: 18px;
  box-shadow: 0 16px 48px rgba(13, 44, 54, 0.24);
  font-family: Arial, sans-serif;
}

.cookie-consent__content {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 22px;
}

.cookie-consent strong {
  display: block;
  margin-bottom: 6px;
  font-size: 20px;
}

.cookie-consent p {
  margin: 0 0 7px;
  color: #405d66;
  font-size: 15px;
  line-height: 1.45;
}

.cookie-consent a {
  color: #08798b;
  font-size: 14px;
  font-weight: 700;
}

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

.cookie-consent button,
.cookie-settings-button {
  min-height: 44px;
  padding: 10px 18px;
  border: 2px solid #0b6a79;
  border-radius: 999px;
  cursor: pointer;
  font: 700 14px/1 Arial, sans-serif;
}

.cookie-consent__reject {
  color: #0b6a79;
  background: #ffffff;
}

.cookie-consent__accept {
  color: #ffffff;
  background: #0b6a79;
}

.cookie-consent button:focus-visible,
.cookie-settings-button:focus-visible {
  outline: 3px solid #f08a6a;
  outline-offset: 3px;
}

.cookie-settings-button {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 99999;
  min-height: 38px;
  padding: 8px 14px;
  color: #ffffff;
  background: #173a46;
  border-color: #ffffff;
  border-width: 1px;
  border-radius: 10px;
  box-shadow: 0 5px 18px rgba(13, 44, 54, 0.22);
  font-size: 12px;
}

@media (max-width: 720px) {
  .cookie-consent {
    bottom: 76px;
  }

  .cookie-consent__content {
    display: block;
    padding: 18px;
  }

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

  .cookie-consent__actions button {
    flex: 1;
  }

  .cookie-settings-button {
    bottom: 66px;
  }
}
