.switch {
  position: relative;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  -webkit-box-flex: 0;
  -ms-flex-positive: 0;
  flex-grow: 0;
  border: 1px solid lightgray;
  border-radius: 5rem;
  overflow: hidden;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center; }

.switch--disabled {
  opacity: 0.5; }
  .switch--disabled .switch__status {
    cursor: default; }

.switch__status {
  -ms-flex-negative: 0;
  flex-shrink: 0;
  -webkit-box-flex: 0;
  -ms-flex-positive: 0;
  flex-grow: 0;
  text-align: center;
  padding: 0.5rem 1rem;
  cursor: pointer;
  will-change: background-color, color;
  background-color: white;
  -webkit-transition: background-color .3s ease-in, color .3s ease-in;
  -o-transition: background-color .3s ease-in, color .3s ease-in;
  transition: background-color .3s ease-in, color .3s ease-in;
  line-height: 1;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none; }

.switch__status--on {
  background-color: #2dc6d6;
  color: white; }

.switch__button {
  display: block;
  width: 2rem;
  height: 100%;
  border-radius: 100%;
  background-color: skyblue; }
