/*** BEGIN VARIABLES ***/
/*** END VARIABLES *** BEGIN STYLING ***/
.switch {
  display: none;
}
.switch + label,
.switch + label::after {
  display: inline-block;
  position: relative;
  width: 54px;
  height: 34px;
  box-sizing: border-box;
  background: #FFF;
  border: 2px solid #DDD;
  border-radius: 9999px;
  transition: 300ms;
}
.switch + label::after {
  content: "";
  position: absolute;
  left: 0;
  background: #FFF;
  width: 30px;
  height: 30px;
  border: none;
  box-shadow: 0 5px 5px -1px rgba(0, 0, 0, 0.2), 0 0 0 2px #DDD;
}
.switch:checked + label {
  border: 2px solid #4BD865;
  box-shadow: inset 0 0 0 calc(19px) #4BD865;
}
.switch:checked + label::after {
  left: calc(20px);
  box-shadow: 0 5px 5px -1px rgba(0, 0, 0, 0.2), 0 0 0 2px #4BD865;
}
.switch:not(:checked) + label:hover:active {
  box-shadow: inset 0 0 0 calc(19px) #DDD;
}
.switch + label:hover:active::after {
  width: calc(35px);
}
.switch:checked + label:hover:active::after {
  left: calc(15px);
}