/* Need to check with designer */
/* Need to check with designer */
:host {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

*,
::after,
::before {
  box-sizing: border-box;
}

.toggle-switch {
  position: relative;
  display: inline-block;
}
.toggle-switch.small {
  width: 28px;
  height: 12px;
}
.toggle-switch.medium {
  width: 36px;
  height: 16px;
}
.toggle-switch.large {
  width: 44px;
  height: 20px;
}
.toggle-switch .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 34px;
  background: #acb6be;
  transition: 0.2s;
}
.toggle-switch .slider::before {
  position: absolute;
  content: "";
  width: 45%;
  height: 65%;
  left: 4px;
  bottom: 3px;
  border-radius: 50%;
  box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.23);
  background-color: #fff;
  transition: 0.2s;
}
.toggle-switch .slider.small {
  width: 28px;
  height: 12px;
}
.toggle-switch .slider.small::before {
  width: 16px;
  height: 16px;
  left: 0;
  bottom: -2px;
  border: solid 1px #647a8e;
}
.toggle-switch .slider.small:hover::before {
  box-shadow: 0 0 4px 4px rgba(87, 108, 125, 0.3);
}
.toggle-switch .slider.medium {
  width: 36px;
  height: 16px;
}
.toggle-switch .slider.medium::before {
  width: 20px;
  height: 20px;
  left: 0;
  bottom: -2px;
  border: solid 1px #647a8e;
}
.toggle-switch .slider.medium:hover::before {
  box-shadow: 0 0 4px 4px rgba(87, 108, 125, 0.3);
}
.toggle-switch .slider.large {
  width: 44px;
  height: 20px;
}
.toggle-switch .slider.large::before {
  width: 24px;
  height: 24px;
  left: 0;
  bottom: -2px;
  border: solid 1px #647a8e;
}
.toggle-switch .slider.large:hover::before {
  box-shadow: 0 0 5px 5px rgba(87, 108, 125, 0.3);
}
.toggle-switch input {
  display: none;
}
.toggle-switch input:checked + .slider {
  background-color: #2c5cc5;
}
.toggle-switch input:checked + .slider.small::before {
  transform: translateX(12px);
  border: solid 1px #2c5cc5;
}
.toggle-switch input:checked + .slider.small:hover::before {
  box-shadow: 0 0 3px 3px rgba(40, 61, 165, 0.3);
}
.toggle-switch input:checked + .slider.medium::before {
  transform: translateX(16px);
  border: solid 1px #2c5cc5;
}
.toggle-switch input:checked + .slider.medium:hover::before {
  box-shadow: 0 0 4px 4px rgba(40, 61, 165, 0.3);
}
.toggle-switch input:checked + .slider.large::before {
  transform: translateX(20px);
  border: solid 1px #2c5cc5;
}
.toggle-switch input:checked + .slider.large:hover::before {
  box-shadow: 0 0 5px 5px rgba(40, 61, 165, 0.3);
}
.toggle-switch input:disabled + .slider {
  opacity: 0.4;
  cursor: not-allowed;
}