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

.cookie-consent {
  position: fixed;
  z-index: 10020;
  right: clamp(16px, 3vw, 48px);
  bottom: clamp(16px, 3vw, 40px);
  left: clamp(16px, 3vw, 48px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  max-width: 1180px;
  margin-inline: auto;
  padding: 24px 28px;
  border: 1px solid rgba(75, 214, 170, 0.35);
  border-radius: 22px;
  background: rgba(14, 27, 28, 0.97);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  color: #edf2f6;
  backdrop-filter: blur(16px);
}

.cookie-consent__copy strong {
  display: block;
  margin-bottom: 7px;
  color: #4bd6aa;
  font-size: 19px;
  line-height: 1.3;
}

.cookie-consent__copy p {
  max-width: 720px;
  font-size: 15px;
  line-height: 1.55;
}

.cookie-consent__copy a {
  color: #edf2f6;
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

.cookie-consent__actions button {
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid #4bd6aa;
  border-radius: 999px;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.cookie-consent__primary {
  background: #4bd6aa;
  color: #081313;
}

.cookie-consent__secondary {
  background: transparent;
  color: #edf2f6;
}

.cookie-consent__actions button:focus-visible,
.cookie-consent__copy a:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

@media (max-width: 760px) {
  .cookie-consent {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 20px;
    border-radius: 18px;
  }

  .cookie-consent__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .cookie-consent__actions button {
    width: 100%;
  }
}
