@import "./common/var.scss";
.vl-select__wrapper {
  display: inline-block;
  position: relative;

  .vl-select {
    width: 100%;
    height: 32px;
    border-radius: 4px;
    border: 1px solid $borderColor;
    -webkit-appearance: none;
    background-color: #fff;
    background-image: none;
    color: rgba(0,0,0,0.88);
    cursor: pointer;
    display: flex;
    align-items: center;
    position: relative;

    &-input {
      width: calc(100% - 28px);
      height: 100%;
      padding: 9px 0 12px 9px;
      outline: none;
      border: 0;
      border-radius: 10px;
      -webkit-appearance: none;
      background-color: #fff;
      background-image: none;
      box-sizing: border-box;
      color: rgba(0,0,0,0.88);
      display: inline-block;
      transition: border-color 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
      pointer-events: none;
      font-size: 14px;
      overflow: hidden;
      .is-disabled {
        background-color: #FAFAFA;
        cursor: not-allowed;
      }
    }

    &-icon {
      display: flex;
      align-items: center;
      justify-content: center;
      float: right;
      color: #C0C4CC;
      font-size: 16px;
      transition: transform .3s;
      cursor: pointer;
      height: 100%;
      text-align: center;
      width: 28px;
      pointer-events: none;
    }

    &:hover, &:focus {
      border: 1px solid $primary;

      .vl-select-icon {
        color: $primary;
      }
    }

    .is-disabled {
      background-color: #FAFAFA;
      cursor: not-allowed;
    }
  }

  .vl-option {
    background-color: #FFF;
    border-radius: 10px;
    font-size: 13px;
    overflow: hidden;
    padding: 10px 0;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
    margin-top: 5px;
    z-index: 2016;
    position: absolute;
    width: 100%;

    &-item {
      padding: 0 20px;
      height: 34px;
      line-height: 34px;
      cursor: pointer;

      &:hover {
        background-color: #F5F7FA;
      }

      &-active {
        color: $primary;
        font-weight: 600;
      }
    }
  }
}




.ms-zoom-in-top-enter-active,
.ms-zoom-in-top-leave-active {
  opacity: 1;
  -ms-transform: scaleY(1);
  transform: scaleY(1);
  transition: transform .3s cubic-bezier(.23, 1, .32, 1) .1s, opacity .3s cubic-bezier(.23, 1, .32, 1) .1s;
  -ms-transform-origin: center bottom;
  transform-origin: center bottom;
  z-index: 110;
}


.ms-zoom-in-top-enter,
.ms-zoom-in-top-leave-active {
  opacity: 0;
  -ms-transform: scaleY(0);
  transform: scaleY(0);
}


@keyframes rotate90 {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(180deg);
  }
}
.rotate-animation {
  animation: rotate90 .2s linear 1 forwards;
}
