#cookie-consent {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 100;
  padding: 12px 16px 16px;
  pointer-events: none;
}

#cookie-consent.is-visible {
  pointer-events: auto;
}

#cookie-consent .cookie-consent__panel {
  max-width: 56rem;
  margin: 0 auto;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(16, 185, 129, 0.35);
  background: rgba(17, 24, 39, 0.97);
  color: #f3f4f6;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px);
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

#cookie-consent.is-visible .cookie-consent__panel {
  transform: translateY(0);
  opacity: 1;
}

#cookie-consent .cookie-consent__title {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 6px;
  color: #fff;
}

#cookie-consent .cookie-consent__text {
  font-size: 0.8rem;
  line-height: 1.5;
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.72);
}

#cookie-consent .cookie-consent__text a {
  color: #34d399;
  text-decoration: underline;
  text-underline-offset: 2px;
}

#cookie-consent .cookie-consent__text a:hover {
  color: #6ee7b7;
}

#cookie-consent .cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

#cookie-consent button {
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 10px;
  padding: 10px 16px;
  border: none;
  transition: background 0.2s, color 0.2s;
}

#cookie-consent [data-consent-accept] {
  background: #10b981;
  color: #fff;
}

#cookie-consent [data-consent-accept]:hover {
  background: #059669;
}

#cookie-consent [data-consent-reject] {
  background: rgba(255, 255, 255, 0.08);
  color: #e5e7eb;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

#cookie-consent [data-consent-reject]:hover {
  background: rgba(255, 255, 255, 0.12);
}

@media (min-width: 640px) {
  #cookie-consent .cookie-consent__panel {
    display: flex;
    align-items: flex-end;
    gap: 20px;
    padding: 18px 22px;
  }

  #cookie-consent .cookie-consent__body {
    flex: 1;
    min-width: 0;
  }

  #cookie-consent .cookie-consent__text {
    margin-bottom: 0;
  }

  #cookie-consent .cookie-consent__actions {
    flex-shrink: 0;
  }
}
