/* ===== Cookies Banner ===== */

.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: min(920px, calc(100% - 24px));
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  color: #e2e8f0;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
  padding: 16px 18px;
  z-index: 9999;

  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cookie-banner.hidden {
  display: none;
}

.cookie-text {
  font-size: 0.92rem;
  line-height: 1.4;
  color: #cbd5f5;
}

.cookie-text a {
  color: #60a5fa;
  text-decoration: none;
  font-weight: 600;
}

.cookie-text a:hover {
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.cookie-btn {
  border: none;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 0.85rem;
  cursor: pointer;
}

.cookie-btn.reject {
  background: transparent;
  color: #94a3b8;
  border: 1px solid rgba(148,163,184,0.4);
}

.cookie-btn.reject:hover {
  background: rgba(148,163,184,0.1);
}

.cookie-btn.accept {
  background: #2563eb;
  color: white;
}

.cookie-btn.accept:hover {
  background: #1d4ed8;
}

/* móvil */
@media (max-width: 600px) {
  .cookie-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-btn {
    width: 100%;
  }
}