.toggle-switch-control {
}

.tsc-input {
  display: none;
  &:checked + .tsc-bttn:after {
    left: 50%;
  }
  &:checked + .tsc-bttn {
    background: $dark-blue;
  }
}

.tsc-bttn {
  outline: 0;
  display: block;
  width: rem(56);
  height: rem(28);
  position: relative;
  cursor: pointer;
  user-select: none;
  background: $gray-1;
  border-radius: rem(20);
  padding: rem(2);
  transition: all 0.4s ease;
  border: 1px solid $gray-2;
  &:after {
    position: relative;
    display: block;
    content: "";
    width: 50%;
    height: 100%;
    left: 0;
    border-radius: rem(28);
    background: white;
    transition: left 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275),
      padding 0.3s ease, margin 0.3s ease;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1), 0 4px 0 rgba(0, 0, 0, 0.08);
  }
}