 /* ===========================================================
   Ultra-slim toggle switch (perfect for table-sm)
   No JS dependency
   =========================================================== */
.switch-xs {
  position: relative;
  display: inline-block;
  width: 32px;
  height: 16px;
}
.switch-xs input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider-xs {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ced4da;
  transition: .2s;
  border-radius: 10px;
}
.slider-xs:before {
  position: absolute;
  content: "";
  height: 12px;
  width: 12px;
  left: 2px;
  bottom: 2px;
  background-color: #fff;
  transition: .2s;
  border-radius: 50%;
}
.switch-xs input:checked + .slider-xs {
  background-color: #28a745;
}
.switch-xs input:checked + .slider-xs:before {
  transform: translateX(16px);
}