.login {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(139deg, #0090F6 0%, #31D3F8 100%);

  &::before,
  &::after {
    content: ' ';
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
  }

  &::before {
    top: 0;
    background: url('./images/login-top-bg.png') no-repeat top center;
    background-size: contain;
  }

  &::after {
    bottom: 0;
    background: url('./images/login-bottom-bg.png') no-repeat bottom center;
    background-size: contain;
  }

  .arrowLeft {
    position: absolute;
    z-index: 99;
    top: 26px;
    left: 18px;
    font-weight: bold;
    font-size: 22px;
    color: #333333;
  }


  .loginContainer {
    position: relative;
    z-index: 1;
    padding: 75px 13px 20px;

    .container {
      background: url('./images/login-bg.png') no-repeat center;
      background-size: contain;
      padding: 69px 22px;
      min-height: 395px;
      max-width: 350px;
      margin: 0 auto;
    }
  }

  .logo {
    display: block;
    width: 168px;
    height: 171px;
    margin: 0 auto -38px;
  }

  .input-group {
    height: 48px;
    background: #F2F4F8;
    border-radius: 24px;
    font-size: 16px;

    &+.input-group {
      margin-top: 18px;
    }

    .iconPhone,
    .iconPassword {
      width: 20px;
      height: 20px;
    }

    :global {
      .van-field__left-icon {
        display: flex;
        align-items: center;
      }
    }
  }

  input::placeholder {
    color: #A6AFCC;
  }

  .btnGroup {
    padding-top: 34px;
  }

  .primaryButton,
  .login-change {
    height: 48px;
    border-radius: 39px;
    font-size: 16px;
    border: none;
  }

  .primaryButton {
    background: linear-gradient(73deg, #5BECFF 0%, #259CFE 100%);
    font-weight: 600;
    color: #FFFFFF;
  }

  .protocol {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 22px;
    font-size: 12px;
    color: #999999;
    line-height: 17px;

    .iconChecked {
      display: inline-block;
      width: 15px;
      height: 15px;
      border-radius: 50%;
      border: 1px solid #ccc;
      margin-right: 3px;

      &.active {
        background: url('./images/icon-checked.png') no-repeat center;
        background-size: contain;
        border: none;
      }
    }

    span {
      color: #1BACF1;
    }
  }

  .login-change {
    margin-top: 14px;
    background: #F5F7FB;
    font-weight: 500;
    color: #496AAC;
  }

  .code-title {
    text-align: center;
    font-size: 22px;
    color: #333333;
    line-height: 30px;
  }

  .codePhone {
    font-size: 16px;
    color: #ABB3CF;
    line-height: 22px;
    text-align: center;
    padding-top: 28px;

    span {
      padding-left: 6px;
      color: #086497;
    }
  }

  --van-password-input-background: #F2F4F8;
  --van-password-input-height: 40px;

  :global {
    .van-password-input {
      margin: 40px 0 0;
    }

    .van-password-input__security li {
      border-radius: 6px;
    }
  }

  .btnWrap {
    margin-top: 46px;
    text-align: center;

    .btnSend {
      padding: 10px 18px;
      font-size: 16px;
      font-weight: 600;
      color: #FFFFFF;
      line-height: 22px;
    }
  }
}