.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #f1f1f1;
  padding: 20px;
  display: none;
  z-index: 1000;
  box-shadow: 0px -2px 10px rgba(0, 0, 0, 0.1);
  border-top: 3px solid #007bff;
  font-family: Arial, sans-serif;
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-icon {
  font-size: 30px;
  color: #007bff;
  margin-right: 20px;
}

.cookie-text {
  flex-grow: 1;
  max-width: 600px;
}

.cookie-text h2 {
  font-size: 18px;
  margin: 0 0 10px;
  color: #333;
}

.cookie-text p {
  font-size: 14px;
  color: #555;
}

.cookie-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cookie-button {
  padding: 10px 20px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  width: 160px;
  text-align: center;
}

.cookie-button:hover {
  background-color: #0056b3;
}

.cookie-button:focus {
  outline: none;
}





/* Estilos para la sección de configuración de cookies (popup flotante) */
.cookie-config {
  display: none;
  background-color: white;
  padding: 20px;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
  max-width: 600px;
  margin: 20px auto;
  border-radius: 8px;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2000; /* Asegura que esté encima del contenido */
  background-color: #ffffff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  border: 2px solid #007bff;
  width: 80%;
  max-width: 600px;
  overflow: auto;
  padding: 30px;
}

.cookie-config h3 {
  font-size: 18px;
  margin-bottom: 15px;
}

.cookie-config form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cookie-config label {
  font-size: 14px;
}

.cookie-config input[type="checkbox"] {
  margin-right: 10px;
}

#cookie-config.show {
  display: block; /* Mostrar sección de configuración */
}

.cookie-link {
  padding: 10px 20px;
  color: #007bff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block; /* Hace que el enlace se comporte como un botón */
  text-align: center;
}

.cookie-link:hover {
  color: #2c8afd;
}

.cookie-link:focus {
  outline: none;
}

/* Fondo semi-transparente detrás del popup */
#cookie-config-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999; /* Fondo debajo del popup */
}
