
/** -------------------------------------------Toggle Switch------------------------------------------- **/

.toggle-switch {
    position: relative;
    width: 100px;
    height: 50px;
    scale: 75%;
  }
  
  .switch-label {
    position: absolute;
    width: 100%;
    height: 50px;
    background-color: var(--background);
    border-radius: 25px;
    cursor: pointer;
    border: 3px solid var(--background);
  }
  
  .checkbox {
    position: absolute;
    display: none;
  }
  
  .slider {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 25px;
  }
  
  .checkbox:checked ~ .slider {
    background-color: var(--white);
  }
  
  .slider::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 10px;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    -webkit-box-shadow: inset 12px -4px 0px 0px var(--white);
    box-shadow: inset 12px -4px 0px 0px var(--white);
    background-color: var(--background);
    -webkit-transition: 0.5s;
    transition: 0.5s;
  }
  
  .checkbox:checked ~ .slider::before {
    -webkit-transform: translateX(50px);
    -ms-transform: translateX(50px);
    transform: translateX(50px);
    background-color: var(--gray);
    -webkit-box-shadow: none;
    box-shadow: none;
  }
  