/* === Estilos generales para el banner de cookies === */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 600px;
  background: #ffffff;
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 15px 20px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  font-family: sans-serif;
  text-align: center;
  animation: fadeIn 0.5s ease-out;
}

.cookie-banner p {
  margin-bottom: 10px;
  font-size: 14px;
  color: #333;
}

.cookie-banner a {
  color: #0066cc;
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.cookie-buttons button {
  padding: 8px 14px;
  font-size: 14px;
  cursor: pointer;
  background-color: #004080;
  color: white;
  border: none;
  border-radius: 6px;
  white-space: nowrap;
  transition: background-color 0.3s ease;
}

.cookie-buttons button:hover {
  background-color: #0066cc;
}

/* === Panel de configuración de cookies === */
.cookie-settings {
  position: fixed;
  bottom: 50%;
  left: 50%;
  transform: translate(-50%, 50%);
  width: 90%;
  max-width: 500px;
  background: #ffffff;
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  z-index: 10000;
  font-family: sans-serif;
  animation: fadeIn 0.4s ease-out;
}

.cookie-settings h3 {
  font-size: 16px;
  margin-bottom: 15px;
  text-align: center;
}

.cookie-group {
  margin-bottom: 15px;
  font-size: 14px;
  color: #444;
}

.cookie-group label {
  display: block;
  margin-top: 5px;
  cursor: pointer;
}

.cookie-settings input[type="checkbox"] {
  margin-right: 5px;
}

.hidden {
  display: none;
}

/* === Animación suave de aparición === */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, 20px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}
