.dao-switch {
  display: inline-flex;
  align-items: center;
  position: relative;
  &.disabled {
    opacity: 0.50;
    cursor: not-allowed;
    pointer-events: none;
  }
  &.sm &-core {
    height: 26px;
  }
  &.sm &-button {
    height: 24px;
    width: 24px;
  }
  &-input {
    display: none;
  }
  &-core {
    display: inline-block;
    background: #fff;
    border: 1px solid #e4e7ed;
    position: relative;
    box-sizing: border-box;
    overflow: visible;
    width: 54px;
    height: 32px;
    padding: 0;
    margin: 0;
    border-radius: 20px;
    cursor: pointer;
    box-shadow: rgb(223, 223, 223) 0 0 0 0 inset;
    transition: 0.3s ease-out all;
    -webkit-transition: 0.3s ease-out all;
    top: -1px;
  }
  &-checked {
    background: #22c36a;
    border-color: #22c36a;
  }
  &-button {
    top: 0;
    left: 0;
    position: absolute;
    transition: 0.3s ease-out all;
    z-index: 20;
    border-radius: 100%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.4);
    width: 30px;
    height: 30px;
    background-color: #fff;
  }
  &-label {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 10;
    span {
      line-height: 1;
      top: 9px;
      position: absolute;
      font-size: 13px;
      display: inline-block;
    }
    .off-text {
      right: 10%;
      color: #a9a9a9;
    }
    .on-text {
      left: 10%;
      color: #fff;
    }
  }
  &-notice {
    margin-left: 10px;
  }
}
