.root {
  width: 40px;
  height: 24px;
  border-radius: 40px;
  background-color: var(--fill3);
  padding: 4px;
  box-sizing: border-box;
  cursor: pointer;
  border: none;
  outline: none;
  position: relative;
  transition: background-color 300ms;

  .indicator {
    background: var(--white);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    position: absolute;
    left: 4px;
    top: 4px;
    transition: all 100ms ease-in-out;
  }

  &_active {
    background-color: var(--secondary);

    .indicator {
      left: 20px;
    }
  }

  &:disabled {
    opacity: 0.4;
    cursor: default;
  }
}