.small{
  transform: scale(.7);
}

.switch{
  position: relative;
  display: flex;
  width: 36px;
  height: 18px;
  box-sizing: border-box;
  align-items: center;
  gap: 10px;
  padding: 2px;
  border-radius: 54px;
  background: #D2D2D2;
  transition: background .3s;
  &::after{
    content: '';
    display: block;
    transition: all .3s;
    position: absolute;
    left: 2px;
    top: 2px;
    width: 14px;
    height: 14px;
    border-radius: 100%;
    background-color: white;
  }
}
.switchChecked{
  .switch();
  background-color: var(--color-primary-dark);
  &::after{
    transform: translateX(calc(100% + 5px));
  }
}
