.switch {
  width: 44px;
  height: 24px;
  border-radius: 999px;
  border: 1px solid var(--admin-border);
  background: rgba(96, 100, 108, 0.18);
  cursor: pointer;
  position: relative;
  padding: 0;
  transition:
    background 160ms ease,
    border-color 160ms ease;
}

.switch-knob {
  position: absolute;
  top: 50%;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  transform: translateY(-50%);
  transition: transform 180ms ease;
}

.switch.is-on {
  background: rgba(15, 186, 49, 0.25);
  border-color: rgba(15, 186, 49, 0.55);
}

.switch.is-on .switch-knob {
  transform: translateY(-50%) translateX(20px);
}
