.switch-input {
  position: absolute;
  opacity: 0;
}

label.label-wrapper:has([type=checkbox]) {
  position: relative;
  display: inline-block;
  cursor: pointer;
  width: 51px;
  height: 31px;
  margin: 0;
}

.switch-track {
  background: #ccc;
  border-radius: 100px;
  width: 100%;
  height: 100%;
  transition: background 0.3s;
}

.switch-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 27px;
  height: 27px;
  background: #fff;
  box-shadow: 0px 3px 1px 0px rgba(0, 0, 0, 0.06),0px 3px 8px 0px rgba(0, 0, 0, 0.15),0px 0px 0px 1px rgba(0, 0, 0, 0.04);
  border-radius: 50%;
  transition: transform 0.3s;
}
.switch-input:checked + .switch-track {
  background: #5068a5;
}

.switch-input:checked + .switch-track .switch-thumb {
  transform: translateX(20px);
}
