.switch {
  position: relative;
  cursor: pointer;
}

.rail {
  height: 1px;
  width: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.rail2 {
  height: 1px;
  width: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.switch_button {
  position: absolute;
}

.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}