/* Switch Button Styles */
.switch {
  position: relative;
  display: inline-block;
  width: 20px;
  height: 10px;
}

.switch-lg {
  width: 30px;
  height: 15px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch-md {
  width: 24px;
  height: 12px;
}

.switch-sm {
  width: 18px;
  height: 9px;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 7px;
  width: 7px;
  left: 1px;
  bottom: 1px;
  background-color: white;
  transition: .4s;
}

.switch-lg .slider:before {
  height: 11px;
  width: 11px;
  left: 2px;
  bottom: 2px;
}

.switch-sm .slider:before {
  height: 6px;
  width: 6px;
  left: 1px;
  bottom: 1px;
}

.slider.round {
  border-radius: 10px;
}

.slider.round:before {
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  transform: translateX(10px);
}

.switch-lg input:checked + .slider:before {
  transform: translateX(15px);
}

.switch-sm input:checked + .slider:before {
  transform: translateX(9px);
}

/* Primary color variant */
.switch-primary input:checked + .slider {
  background-color: #007bff;
}

.switch-primary input:focus + .slider {
  box-shadow: 0 0 1px #007bff;
} 