.terms {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: left;
  margin-bottom: 15px;
}

.terms .help-block {
  position: absolute;
  display: inline-block;
  padding: 0px 5px;
  font-size: 0.93em;
  line-height: 1.75em;
  margin: 70px 0 0 30px;
  color: #fff;
  background: #ff4e4e;
  z-index: 2;
}

.terms .help-block:after {
  content: " ";
  position: absolute;
  left: 5px;
  bottom: 100%;
  width: 0;
  height: 0;
  border-bottom: 10px solid #ff4e4e;
  border-right: 10px solid transparent;
}

.terms .help-block:empty {
  display: none;
}

.switch-text {
  font-size: 12px;
  text-align: justify;
  line-height: 1.5;
}

label.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
  min-width: 50px;
  margin: 0 10px;
}

label.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

label.switch .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  border-radius: 34px;
  -webkit-transition: background-color 0.4s, transform 0.4s;
  transition: background-color 0.4s, transform 0.4s;
}

label.switch .slider:before {
  content: "";
  position: absolute;
  height: 18px;
  width: 18px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  border-radius: 50%;
  -webkit-transition: transform 0.4s;
  transition: transform 0.4s;
}

input:checked + .slider {
  background-color: #04b4e0;
}

input:checked + .slider:before {
  -webkit-transform: translateX(23px);
  -ms-transform: translateX(23px);
  transform: translateX(23px);
}

/* Añade este estilo para ajustar el enfoque del input */
input:focus {
  outline: none; /* Elimina el contorno predeterminado al hacer clic */
}

@media screen and (max-width: 768px) {
  label.switch {
    width: 40px;
    height: 24px;
  }

  label.switch .slider {
    border-radius: 20px;
  }

  label.switch .slider:before {
    height: 16px;
    width: 16px;
    left: 5px;
    bottom: 4px;
  }

  input:checked + .slider:before {
    -webkit-transform: translateX(14px);
    -ms-transform: translateX(14px);
    transform: translateX(14px);
    left: 15px;
  }
}
