.switch[type="checkbox"] {
  outline: 0;
  user-select: none;
  display: inline-block;
  position: absolute;
  opacity: 0;
}
.switch[type="checkbox"] + label {
  position: relative;
  display: initial;
  font-size: 1rem;
  line-height: initial;
  padding-left: 3.5rem;
  /* padding-top: .2rem; */
  cursor: pointer;
}
.switch[type="checkbox"]:checked + label::before {
  background: #23d160;
}
.switch[type="checkbox"] + label::before {
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  width: 3rem;
  height: 1.5rem;
  border: 0.1rem solid transparent;
  border-radius: 8px;
  background: #ff3860;
  content: '';
}
.switch[type="checkbox"]:checked + label::after {
  left: 1.75rem;
}
.switch[type="checkbox"] + label::after {
  display: block;
  position: absolute;
  top: .25rem;
  left: .25rem;
  width: 1rem;
  height: 1rem;
  transform: translate3d(0, 0, 0);
  border-radius: 4px;
  background: #f5f5f5;
  transition: all 0.25s ease-out;
  content: '';
}
