.#{$prefix}login {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;

  &-mask {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: $mask-color;
    z-index: 505;
  }

  &-wrap {
    width: 440px;
    height: auto;
    background: $background-color-write;
    z-index: 1000;

    @include box-shadow(y);
  }

  &-header {
    @include border(bottom);

    height: 40px;
    background: $background-color-title;
    position: relative;
    font-size: 14px;

    &-inner {
      text-align: center;
      color: $text-color-default;
      line-height: 40px;
      font-size: 14px;
    }

    &-close {
      width: 20px;
      height: 20px;
      position: absolute;
      right: 10px;
      top: 6px;
      color: $icon-color;
      font-size: 28px;
      text-align: center;
      line-height: 20px;
      transform: rotate(45deg);
    }
  }

  &-main {
    width: 100%;
    padding: 16px;
    color: $text-color-default;
    font-size: 14px;
    position: relative;

    &-tips {
      position: absolute;
      right: 16px;
      top: 48px;
      color: $login-color-error;

      &-two {
        top: 105px;
      }

      &-three {
        top: 163px;
      }
    }
  }

  &-tel {
    margin-bottom: 24px;
    overflow: hidden;

    &-prefix-text {
      font-size: 14px;
    }

    &-input {
      font-size: 14px;
    }
  }

  &-input {
    margin-bottom: 24px;
  }

  &-imgcode {
    margin-bottom: 24px;
    overflow: hidden;
  }

  &-button {
    width: 100%;
    height: 32px;
    font-size: 14px;
  }

  &-type {
    text-align: center;

    &-weixin-icon {
      font-size: 40px;
    }

    &-account-icon {
      font-size: 40px;

      &::before {
        color: $brand-color-default;
      }
    }
  }

  &-handle {
    @include clearfix();

    margin-top: 16px;

    &-checkout {
      float: left;
    }

    &-text {
      font-size: 14px;
      color: $text-color-Three;
    }

    &-link {
      float: right;
      line-height: 14px;
      color: $text-color-Three;
    }

    &-child-link {
      float: right;
      line-height: 14px;
      color: $text-color-Three;
      position: relative;
      margin-right: 10px;
      padding: 0 10px;

      &::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 1px;
        height: 14px;
        background: $button-color-default;
      }
    }
  }

  &-weixin {
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 16px;
  }
}
