
input[type="checkbox"] {
    display: none;
  }
  
  input[type="checkbox"] + label {
    position: relative;
    width: 60px;
    height: 30px;
    background: rgb(95, 93, 93);
    border-radius: 15px;
    cursor: pointer;
    transition: background-color 0.5s;
  }
  
  input[type="checkbox"]:checked + label {
    background:  rgb(0, 26, 255) ;
  }
  
  /* Estilo del círculo */
  input[type="checkbox"] + label::before {
    content: "";
    position: absolute;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgb(55, 220, 241);
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    transition: left 0.5s, background-color 0.5s;
  }
  
  input[type="checkbox"]:checked + label::before {
    left: 30px;
    background: rgb(55, 220, 241);
  }






























  




  
  