* {
  margin: 0;
  padding: 0;
}

[v-cloak] {
  display: none;
}


.read-text {
  flex: 1;
  font-size: 14px;
  line-height: 19px;
  padding: 0 10px;
  color: #606266;
  font-weight: 500;
}

#login {
  height: 100vh;
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
}

.login-container {
  width: 15.7rem;
  height: 8.2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* 背景板 开始 */
.container-back {
  width: 15.7rem;
  height: 6.8rem;
  background: #2f53eb;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  font-family: Source Han Sans CN;
}

.back-text {
  font-size: .27rem;
  z-index: 10;
  color: #ffffff;
  margin-top: 1.39rem;
  margin-left: .65rem;
  font-weight: 400;
}

.text-welcome {
  font-size: .74rem;
  font-family: Bahnschrift;
  line-height: .74rem;
}

.text-title {
  margin-top: 5px;
}

.text-level {
  font-size: .12rem;
  margin-top: .81rem;
}

.back-line1,
.back-line2,
.back-line3 {
  width: .6rem;
  background: linear-gradient(180deg,
      rgba(255, 255, 255, 0.3000) 0%,
      rgba(255, 255, 255, 0) 100%);
  z-index: 2;
  position: absolute;
}

.back-line1 {
  height: 5rem;
  opacity: 1;
  transform: rotate(45deg);
  top: -1.2rem;
  left: 4.15rem;
}

.back-line2 {
  height: 7rem;
  transform: rotate(110deg);
  top: 0px;
  left: 5rem;
}

.back-line3 {
  height: 5rem;
  transform: rotate(45deg);
  top: 2.3rem;
  left: 1.5rem;
}

/* 背景板结束 */

/* 前景 登录框 开始 */
.container-before {
  width: 7.5rem;
  height: 8.2rem;
  background: #ffffff;
  box-shadow: 0px 3px 12px rgba(0, 0, 0, 0.1000);
  position: absolute;
  right: .9rem;
  border: 4px;
  z-index: 10;
}

.login {
  padding-top: .8rem;
  padding-left: 1.24rem;
  padding-right: 1.05rem;
  font-size: 14px;
  font-family: PingFang SC;
  font-weight: 400;
  line-height: 14px;
  position: relative;
}

.lang-box {
  position: absolute;
  right: 0.1rem;
  top: 0.1rem;
}

.lang-option {
  display: flex;
  align-items: center;
  column-gap: 5px;
}

.lang-option .lang-img {
  width: 30px;
  height: 20px;
  display: inline-block;
  vertical-align: middle
}

.login-text {
  display: flex;
  flex-direction: column;
}

.login-text-title {
  font-size: .32rem;
  color: #1e2736;
  line-height: .32rem;
}

.login-text-regist {
  font-weight: Regular;
  margin-top: .08rem;
  color: #1e2736;
}

.login-text-regist a {
  color: #0058ff;
  cursor: pointer;
}

.login-form {
  margin-top: .68rem;
}

.login-top {
  display: flex;
  flex-direction: row;
}

.login-email,
.login-phone {
  height: .34rem;
  color: #666b80;
  cursor: pointer;
}

.login-email.active,
.login-phone.active {
  color: #0058ff;
  border-bottom: 2px solid #0058ff;
}

.login-email {
  margin-right: .4rem;
}

.form-main {
  margin-top: .3rem;
}

.form-item {
  margin-top: .3rem;
}

.input-with-select .el-input-group__prepend {
  background: #ffffff;
  width: 64px;
}

.code-item {
  display: flex;
  flex-direction: row;
}

.code-btn {
  margin-left: .1rem;
  background: #0058ff;
  color: #ffffff;
}

.rember-item {
  margin-top: .2rem;
  display: flex;
  justify-content: space-between;
  line-height: 1.5;
}

.rember-item a {
  color: #0058ff;
  cursor: pointer;
}

.login-btn {
  width: 100%;
  height: 46px;
  background: #0058ff;
}

.pass-btn {
  width: 100%;
  height: 46px;
  margin-left: 0 !important;
  margin-top: .15rem;
}

.read-item {
  margin-top: .2rem;
}

.read-item a {
  color: #0058ff;
  cursor: pointer;
}

.line-item {
  margin-top: .4rem;
}

.line-item text {
  font-size: 16px;
  color: #1e2736;
}

.type-btn {
  width: 100%;
  height: 46px;
  font-size: .16rem;
}

.login-type {
  display: flex;
  align-items: center;
  column-gap: 0.15rem;
  flex-wrap: wrap;
}

.a-text {
  color: #0058ff;
  cursor: pointer;
  margin-right: 5px;
}

.oauth-item {
  display: flex;
  align-items: center;
  padding: 10px;
  cursor: pointer;
}

.oauth-img {
  width: 40px;
  height: 40px;
}

.oauth-item:hover .oauth-img {
  filter: brightness(0.8);
}

@media screen and (max-width: 750px) {
  .login-container {
    height: calc(100vh - 1.2rem);
    width: 100vw;
    background: #f2f2fe;
    padding: .6rem 0;
  }

  .container-back {
    display: none;
  }

  .container-before {
    width: 100%;
    height: 100%;
    margin: 0rem .3rem;
    position: unset;
    z-index: 0;
  }

  .login {
    padding-top: 1.17rem;
    padding-left: .3rem;
    padding-right: .3rem;
    font-size: .26rem;
    line-height: .3rem;
  }

  .login-text-title {
    font-size: .4rem;
  }

  .login-text-regist {
    margin-top: .1rem;
    font-size: .28rem;
  }

  .login-form {
    margin-top: 1.21rem;
  }

  .form-main {
    margin-top: .6rem;
  }

  .login-email,
  .login-phone {
    height: .34rem;
    width: 100%;
    text-align: center;
    color: #666b80;
    cursor: pointer;
    padding-bottom: .13rem;
  }

  .el-checkbox__label {
    font-size: .22rem;
  }

  .read-item {
    line-height: .3rem;
  }

  .login-btn {
    font-size: .34rem;
    height: .8rem;
  }

  .type-btn {
    border: none;
    color: #0058ff;
    font-size: .34rem;
  }
}

/* Auth agreement alignment refresh */
.nq-auth .nq-auth-check,
.nq-auth .nq-auth-agreement .form-check {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  width: 100%;
  margin-top: 12px !important;
  color: var(--nq-text-3, #868e9c);
  font-size: 13px;
  line-height: 20px;
  text-align: left;
  white-space: normal;
  box-sizing: border-box;
}

.nq-auth .nq-auth-check > .el-checkbox,
.nq-auth .nq-auth-agreement .form-check > .el-checkbox {
  display: inline-flex !important;
  align-items: flex-start !important;
  flex: 0 0 14px !important;
  width: 14px !important;
  min-width: 14px !important;
  max-width: 14px !important;
  height: 20px !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
  white-space: normal !important;
}

.nq-auth .nq-auth-check > .el-checkbox .el-checkbox__input,
.nq-auth .nq-auth-agreement .form-check > .el-checkbox .el-checkbox__input {
  display: inline-flex !important;
  margin-top: 3px !important;
  line-height: 1 !important;
  vertical-align: top !important;
}

.nq-auth .nq-auth-check > .el-checkbox .el-checkbox__inner,
.nq-auth .nq-auth-agreement .form-check > .el-checkbox .el-checkbox__inner {
  width: 14px;
  height: 14px;
}

.nq-auth .nq-auth-check > .el-checkbox .el-checkbox__label,
.nq-auth .nq-auth-agreement .form-check > .el-checkbox .el-checkbox__label {
  display: none !important;
  padding: 0 !important;
}

.nq-auth .nq-auth-check > .read-text,
.nq-auth .nq-auth-agreement .form-check > .form-check-label {
  display: block !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  width: auto !important;
  padding: 0 !important;
  color: var(--nq-text-3, #868e9c) !important;
  font-size: 13px;
  font-weight: 400;
  line-height: 20px !important;
  text-align: left;
  cursor: pointer;
  word-break: normal;
  overflow-wrap: anywhere;
}

/* Mobile auth layout refresh */
@media screen and (max-width: 750px) {
  #login,
  #regist,
  #forget {
    min-height: 100vh;
    height: auto;
    align-items: flex-start;
    overflow-x: hidden;
  }

  .nq-auth {
    min-height: 100vh;
    height: auto;
    padding: 32px 16px calc(24px + env(safe-area-inset-bottom));
    box-sizing: border-box;
    align-items: flex-start;
  }

  .nq-auth-form {
    margin-top: 0;
    margin-bottom: 0;
  }

  .login-container {
    width: 100vw;
    height: auto;
    min-height: 100vh;
    padding: 32px 16px calc(24px + env(safe-area-inset-bottom));
    box-sizing: border-box;
    align-items: flex-start;
    background: transparent;
  }

  .container-before {
    width: 100%;
    height: auto;
    min-height: 0;
    margin: 0;
    position: relative;
    box-sizing: border-box;
  }

  .login {
    padding: 32px 24px 28px;
    box-sizing: border-box;
  }

  .login-form {
    margin-top: 28px;
  }

  .form-main {
    margin-top: 18px;
  }

  .login-email,
  .login-phone {
    height: auto;
    min-height: 34px;
    padding-bottom: 10px;
  }

  .nq-auth-footer {
    position: static;
    margin-top: 16px;
  }
}
