/* Estilos base para el botón */
.switch {
  position: relative;
  display: inline-block;
  width: 40px; /* Ancho del botón */
  height: 20px; /* Alto del botón */
}

/* Estilo del checkbox oculto */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* Estilo del slider del botón */
.slider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  border-radius: 10px; /* Radio del borde del botón */
  transition: 0.4s;
}

/* Estilo del slider cuando el botón está activado */
.slider::before {
  position: absolute;
  content: "";
  height: 14px; /* Tamaño del círculo */
  width: 14px; /* Tamaño del círculo */
  left: 3px;
  bottom: 3px;
  background-color: white;
  border-radius: 50%;
  transition: 0.4s;
}

/* Estilo del slider cuando el botón está activado */
.switch input:checked + .slider {
  background-color: darkblue;
}

/* Estilo del slider cuando el botón está activado */
.switch input:checked + .slider::before {
  transform: translateX(16px); /* Distancia que se desliza el círculo */
}

/* Estilo para el texto de etiqueta */
.label-text {
  display: inline-block;
  margin-left: 20px;
}

/* Estilo para centrar verticalmente el contenido */
.centered-container {
  display: flex;
  align-items: center;
    margin-left: 50px;
    padding: 2px 0px;
}
