/* Contenedor principal del banner */
.consent-banner {
  display: none; /* Se muestra u oculta con JS */
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color:var(--neutral1);
  color: var(--mainColor);
  padding: var(--Space-padding);
  font-family: "Texto";
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  z-index: 9999;
  box-sizing: border-box;
  gap: 20px;
  flex-wrap: wrap; /* para que se adapte en móviles */
}



/* Mensaje dentro del banner */
.consent-message {
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.4;
  padding: var(--Space-padding);
}

/* Contenedor botones */
.consent-buttons {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  margin-top: 8px; /* en dispositivos pequeños se separa un poco */
}

/* Estilo básico para botones */
.consent-buttons .btn {
  padding: 8px 16px;
  font-weight: bold;
  border: none;
  color: white;
  cursor: pointer;
  border-radius: 4px;
  font-size: 16px;
  transition: background-color 0.3s ease;
  white-space: nowrap;
}

/* Botón aceptar */
.consent-buttons .accept {
  background-color:var(--anchor);
}

.consent-buttons .accept:hover {
  background-color: var(--CTA);
}

/* Botón rechazar */
.consent-buttons .reject {
  background-color: var(--mainColor);
}

.consent-buttons .reject:hover {
  background-color: var(--CTA);
}

/* Opcional: versión más móvil-friendly */
@media (max-width: 768px) {
  .consent-banner {
    flex-direction: column;
    text-align: center;
    top:0;
    bottom: auto;
  }
  .consent-buttons {
    justify-content: center;
    margin-top: 10px;
  }
}
