/* Contenedor principal del banner */
.cookie-box {
  animation: fadeIn 0.5s ease;
}

/* Párrafo introductorio */
.cookie-box p {
  font-size: 0.95em;
}

/* Área de interruptores */
.cookie-category {
  text-align: left;
}

/* Descripciones debajo de cada categoría */
.cookie-description {
  font-size: 0.85em;
  color: #666;
  margin-top: 0.3em;
  padding-left: 56px;
}

/* Estilo para switchers */
.switch {
  display: flex;
  align-items: center;
  margin: 0.6em 0;
}

.switch input {
  display: none!important;
}

.switch .slider {
  position: relative;
  width: 46px;
  height: 26px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  margin-right: 10px;
  cursor: pointer;
  transition: 0.3s;
}

.switch .slider::before {
  content: "";
  position: absolute;
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 3px;
  background-color: white;
  border-radius: 50%;
  transition: 0.3s;
}

.switch input:checked + .slider {
  background-color: #5e0347;
}

.switch input:checked + .slider::before {
  transform: translateX(18px);
}

.switch input[disabled]:checked + .slider {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Etiquetas de texto junto al switch */
.label-text {
  font-size: 0.9em;
}

#advanced-options {
  overflow: hidden;
  display: none;
  height: 0;
  opacity: 0;
  transform: translateY(20px);
  transition: height 0.4s ease, opacity 0.4s ease, transform 0.4s ease;
}

#advanced-options.slideFadeInUpActive {
  height: auto;
  opacity: 1;
  transform: translateY(0);
}

/* Fade-in animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
