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

.cookie-consent {
  position: fixed;
  inset-inline: 1rem;
  bottom: 1rem;
  z-index: 80;
}

.cookie-consent__panel {
  margin: 0 auto;
  max-width: 68rem;
  display: grid;
  gap: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 1.5rem;
  padding: 1.15rem;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(2, 6, 23, 0.92)),
    radial-gradient(circle at top left, rgba(34, 197, 94, 0.18), transparent 40%);
  box-shadow: 0 30px 90px -45px rgba(2, 6, 23, 0.95);
  backdrop-filter: blur(22px);
}

.cookie-consent__content {
  min-width: 0;
}

.cookie-consent__eyebrow {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(134, 239, 172, 0.92);
}

.cookie-consent__title {
  margin: 0.45rem 0 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 800;
  line-height: 1.2;
  color: #f8fafc;
}

.cookie-consent__text,
.cookie-consent__status {
  margin: 0.7rem 0 0;
  font-size: 0.96rem;
  line-height: 1.6;
  color: rgba(226, 232, 240, 0.9);
}

.cookie-consent__text a {
  color: #86efac;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

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

.cookie-consent__button,
.cookie-consent-settings {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 0.8rem 1.15rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 150ms ease, background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}

.cookie-consent__button:hover,
.cookie-consent-settings:hover {
  transform: translateY(-1px);
}

.cookie-consent__button--secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
}

.cookie-consent__button--secondary:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.14);
}

.cookie-consent__button--primary {
  border-color: rgba(134, 239, 172, 0.4);
  background: linear-gradient(135deg, rgba(74, 222, 128, 0.98), rgba(34, 197, 94, 0.9));
  color: #052e16;
}

.cookie-consent__button--primary:hover {
  border-color: rgba(167, 243, 208, 0.72);
  background: linear-gradient(135deg, rgba(134, 239, 172, 0.98), rgba(74, 222, 128, 0.92));
}

.cookie-consent-settings {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 70;
  background: rgba(15, 23, 42, 0.9);
  color: #e2e8f0;
  backdrop-filter: blur(18px);
}

.cookie-consent-settings:hover {
  border-color: rgba(134, 239, 172, 0.38);
  color: #f8fafc;
}

@media (min-width: 768px) {
  .cookie-consent__panel {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    padding: 1.35rem 1.5rem;
  }

  .cookie-consent__actions {
    justify-content: flex-end;
  }
}

@media (max-width: 767px) {
  .cookie-consent {
    inset-inline: 0.75rem;
    bottom: 0.75rem;
  }

  .cookie-consent__button {
    width: 100%;
    justify-content: center;
  }

  .cookie-consent-settings {
    left: 0.75rem;
    bottom: 0.75rem;
    max-width: calc(100vw - 1.5rem);
  }
}
