.switchBox {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  // height: 30px;
  .box-loading {
    position: absolute;
    top: 50%;
    left: 60%;
    z-index: 333;
    transform: translateY(-50%);
  }
  .box-close-loading {
    left: 14%;
  }

  .content {
    position: relative;
    width: 48px;
    height: 24px;
    padding: 3px;
    background: rgba(255, 232, 35, 1);
    border-radius: 12px;
    cursor: pointer;
    transition: background-color 0.3s;
    &:hover {
      background: rgba(255, 232, 35, 0.7);
    }
    &.closeBg {
      background: rgba(196, 196, 196, 0.2);
      transition: background-color 0.3s;
    }
    &.closeBg:hover {
      background: rgba(196, 196, 196, 0.3);
    }
    .point {
      position: absolute;
      top: 0;
      width: 24px;
      height: 24px;
      background: #fff;
      border: 1px solid #c4c4c4;
      border-radius: 50%;
      box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.03);
      transform: translate(90%, 0%);
      transition: transform 0.3s cubic-bezier(0.3, 1.05, 0.4, 1.05);

      &.closePt {
        transform: translate(-10%, 0%);
      }
    }
  }
}

.small {
  width: 32px;
  height: 16px;
  .content {
    width: 32px;
    height: 16px;
    .point {
      width: 16px;
      height: 16px;
    }
  }
}
