.cookies-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
}

.cookies-modal.activo {
  display: flex;
}

.cookies-content {
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  max-width: 600px;
  width: 90%;
  text-align: center;
  animation: fadeIn 0.3s ease;
  color: #333; /* texto base oscuro */
}

.cookies-content h2 {
  margin-bottom: 1rem;
  font-size: 1.6rem;
  color: #1a3d8f; /* color primario más visible */
  font-weight: bold;
}

.cookies-content p {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: #444; /* gris oscuro */
}

.cookies-options label {
  display: block;
  margin-bottom: 0.8rem;
  font-size: 1rem;
  color: #333; /* texto oscuro para que resalte */
}

.cookies-options input {
  margin-right: 0.5rem;
}

.cookies-options {
  text-align: left;
  margin-bottom: 1rem;
}

.cookies-options label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.cookies-actions {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.cookies-actions button {
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
}

#btn-aceptar-todo {
  background: #28a745;
  color: #fff;
}

#btn-guardar-preferencias {
  background: #007bff;
  color: #fff;
}

#btn-rechazar-todo {
  background: #dc3545;
  color: #fff;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

