/* =============================================
   BANNER DE CONSENTIMIENTO DE COOKIES (RGPD)
   ============================================= */

#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #2c3e50;
  color: #fdfaf6;
  padding: 1.2rem 2rem;
  display: none; /* Se activa desde JS solo si es necesario */
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  z-index: 9999;
  font-family: "Noto Sans", sans-serif;
  font-size: 0.85rem;
  flex-wrap: wrap;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}

#cookie-banner p {
  margin: 0;
  flex: 1;
  min-width: 200px;
  line-height: 1.6;
}

#cookie-banner a {
  color: #c5a059;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-btns {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 0.6rem 1.4rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-family: "Noto Sans", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
  transition: all 0.2s ease;
}

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

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

.cookie-btn--reject {
  background: transparent;
  color: #fdfaf6;
  border: 1px solid rgba(253, 250, 246, 0.4);
}

.cookie-btn--reject:hover {
  border-color: #fdfaf6;
}

/* Adaptación móvil */
@media (max-width: 600px) {
  #cookie-banner {
    padding: 1rem 1.2rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-btns {
    width: 100%;
  }

  .cookie-btn {
    flex: 1;
    text-align: center;
  }
}
