
.toggleSwitch {
  padding: 0.4375rem 0;
}

.toggleSwitchStyles {
  background-color: #8e9092;
  border-radius: 0.9375rem;
  cursor: pointer;
  padding: 0.125rem;
  height: 1.625rem;
  position: relative;
  transition: background-color 0.15S ease-in-out;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  width: 2.875rem;
  min-width: 2.875rem;
  box-sizing: content-box;
  outline: none;
  display: inline-block;
}

.toggleSwitchStyles::after {
  content: "";
  display: block;
  background-color: #fff;
  border-radius: 50%;
  height: 1.625rem;
  position: absolute;
  cursor: grab;
  transform: translateX(0);
  transition: transform 0.15S ease-in-out;
  top: 2px;
  left: 2px;
  width: 1.625rem;
}

@media (prefers-reduced-motion) {  .toggleSwitchStyles::after {
    transition: transform 0s;
  }
}

.toggleSwitch:focus {
  outline: none;
}

.toggleSwitch:focus .toggleSwitchStyles {
  outline: dashed 1px #53565a;
  outline-offset: 3px;
}

.toggleSwitch[aria-checked=true] .toggleSwitchStyles {
  background-color: #006fcf;
}

.toggleSwitch[aria-checked=true] .toggleSwitchStyles::after {
  transform: translateX(1.25rem);
}

.toggleSwitch[disabled] .toggleSwitchStyles {
  background-color: #c8c9c7;
  cursor: not-allowed;
}

.toggleSwitch[disabled] .toggleSwitchStyles::after {
  cursor: not-allowed;
}

.toggleSwitch[disabled] .switchHandle {
  cursor: not-allowed;
}

.switch {
  background-color: #8e9092;
  border-radius: 0.9375rem;
  cursor: pointer;
  padding: 0.125rem;
  height: 1.625rem;
  position: relative;
  transition: background-color 0.15S ease-in-out;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  width: 2.875rem;
  min-width: 2.875rem;
  box-sizing: content-box;
  outline: none;
}

.switch::after {
  content: "";
  display: block;
  background-color: #fff;
  border-radius: 50%;
  height: 1.625rem;
  position: absolute;
  cursor: grab;
  transform: translateX(0);
  transition: transform 0.15S ease-in-out;
  top: 2px;
  left: 2px;
  width: 1.625rem;
}

@media (prefers-reduced-motion) {  .switch::after {
    transition: transform 0s;
  }
}

.switch[aria-checked=true] {
  background-color: #006fcf;
}

.switch[aria-checked=true]::after {
  transform: translateX(1.25rem);
}

.switch[disabled] {
  background-color: #c8c9c7;
  cursor: not-allowed;
}

.switch[disabled] .switchHandle {
  cursor: not-allowed;
}