.custom-toggle {
  position: relative;
  appearance: none;
  background-color: #21212114;
  width: 36px;
  height: 14px;
  border-radius: 999px;
  cursor: pointer;
}

.custom-toggle:checked {
  background-color: var(--primaryLight);
}

.custom-toggle:after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background-color: white;
  border-radius: 999px;
  transition: all 0.3s ease;
  box-shadow:
    0px 1px 1px 0px #00000026,
    0px 2px 1px 0px #0000001f,
    0px 1px 3px 0px #00000033;
}

.custom-toggle:checked:after {
  transform: translateY(-50%) translateX(16px);
  background-color: var(--primary);
}
