[v-cloak] {
  display: none;
}
.lang-option {
  display: flex;
  align-items: center;
  column-gap: 5px;
}
.lang-option .lang-img {
  width: 30px;
  height: 20px;
  display: inline-block;
  vertical-align: middle;
}
.read-text {
  flex: 1;
  font-size: 14px;
  line-height: 19px;
  padding: 0 10px;
  color: #606266;
  font-weight: 500;
}
#login {
  position: relative;
  min-height: 100vh;
  width: 100vw;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 0.4rem 8vw 0.4rem 0.4rem;
  box-sizing: border-box;
  overflow: hidden;
  background: #eef6ff;
}
.login-hero-img {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
  pointer-events: none;
}
.login-container {
  position: relative;
  z-index: 2;
  width: auto;
  height: auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.container-back {
  display: none;
}
.container-back .back-text {
  font-size: 0.27rem;
  z-index: 10;
  color: #ffffff;
  margin-top: 1.39rem;
  margin-left: 0.65rem;
  font-weight: 400;
}
.container-back .text-welcome {
  font-size: 0.74rem;
  font-family: Bahnschrift;
  line-height: 0.74rem;
}
.container-back .text-title {
  margin-top: 5px;
}
.container-back .text-level {
  font-size: 0.12rem;
  margin-top: 0.81rem;
}
.back-line1,
.back-line2,
.back-line3 {
  width: 0.6rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 100%);
  z-index: 2;
  position: absolute;
  display: none;
}
.back-line1 {
  height: 5rem;
  opacity: 1;
  transform: rotate(45deg);
  top: -1.2rem;
  left: 4.15rem;
}
.back-line2 {
  height: 7rem;
  transform: rotate(110deg);
  top: 0;
  left: 5rem;
}
.back-line3 {
  height: 5rem;
  transform: rotate(45deg);
  top: 2.3rem;
  left: 1.5rem;
  clip-path: polygon(0px 0.3rem, 0.64rem 0px, 100% 100%, 0 100%);
}
.container-before {
  width: 7.8rem;
  min-height: 8.6rem;
  max-height: 92vh;
  overflow-y: auto;
  background: #ffffff;
  box-shadow: 0 12px 48px rgba(30, 39, 54, 0.12);
  position: relative;
  border-radius: 16px;
  z-index: 10;
  border: 1px solid rgba(255, 255, 255, 0.8);
}
.login-btn.el-button--primary {
  background: var(--color-primary);
  border-color: var(--color-primary);
}
.login-btn.el-button--primary:hover,
.login-btn.el-button--primary:focus {
  opacity: 0.92;
}
.login {
  padding-top: 0;
  padding-left: 0;
  padding-right: 0;
  font-size: 14px;
  font-family: PingFang SC;
  font-weight: 400;
  line-height: 14px;
  position: relative;
}
.login .lang-box {
  position: absolute;
  right: 0.1rem;
  top: 0.1rem;
}
.login .qr-code {
  position: absolute;
  right: 1.05rem;
  top: 0.8rem;
  cursor: pointer;
  width: 0.48rem;
  height: 0.48rem;
}
.login .qr-code .login-icon {
  fill: var(--color-primary);
  width: 100%;
  height: 100%;
}
.login .qr-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.login .qr-box .qr-box-img {
  width: 200px;
  height: 200px;
  position: relative;
}
.login .qr-box .qr-box-img img {
  cursor: pointer;
  width: 100%;
  height: 100%;
}
.login .qr-box .qr-box-img .qr-expire-time {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  background: rgba(0, 0, 0, 0.5);
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  line-height: 14px;
  cursor: pointer;
}
.login .qr-box .qr-box-img .qr-expire-time .el-icon-refresh-right {
  font-size: 30px;
}
.login .qr-box .qr-box-tips {
  margin-top: 10px;
  font-size: 14px;
  color: #666;
}
.login .qr-box-select-account {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  width: 100%;
  height: 100%;
  padding: 0.2rem;
  border-radius: 10px;
  border: 1px solid #e5e5e5;
}
.login .qr-box-select-account .qr-box-back {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;
  font-size: 16px;
  color: var(--color-primary);
  cursor: pointer;
}
.login .qr-box-select-account .qr-box-select-account-title {
  font-size: 14px;
  color: #666;
}
.login-text {
  display: flex;
  flex-direction: column;
}
.login-text-title {
  font-size: 0.32rem;
  color: #1e2736;
  line-height: 0.32rem;
}
.login-text-regist {
  font-weight: Regular;
  margin-top: 0.08rem;
  color: #1e2736;
}
.login-text-regist a {
  color: var(--color-primary);
  cursor: pointer;
}
.login-form {
  margin-top: 0.68rem;
}
.login-top {
  display: flex;
  flex-direction: row;
}
.login-email,
.login-phone {
  height: 0.34rem;
  color: #666b80;
  cursor: pointer;
}
.active {
  color: var(--color-primary);
  border-bottom: 2px solid var(--color-primary);
}
.login-email {
  margin-right: 0.4rem;
}
.form-main {
  margin-top: 0.3rem;
}
.form-item {
  margin-top: 0.3rem;
}
.input-with-select .el-input-group__prepend {
  background: #ffffff;
  width: 60px;
}
.code-item {
  display: flex;
  flex-direction: row;
}
.code-btn {
  margin-left: 0.1rem;
  color: #ffffff;
}
.rember-item {
  margin-top: 0.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  line-height: 1.5;
}
.rember-item a {
  color: var(--color-primary);
  cursor: pointer;
}
.login-btn {
  width: 100%;
  height: 46px;
}
.pass-btn {
  width: 100%;
  height: 46px;
  margin-left: 0 !important;
  margin-top: 0.15rem;
}
.read-item {
  margin-top: 0.2rem;
}
.read-item a {
  color: var(--color-primary);
  cursor: pointer;
}
.line-item {
  margin-top: 0.4rem;
}
.line-item text {
  font-size: 16px;
  color: #1e2736;
}
.type-btn {
  width: 100%;
  height: 46px;
  font-size: 0.16rem;
}
.login-type {
  display: flex;
  align-items: center;
  column-gap: 0.15rem;
  flex-wrap: wrap;
}
.oauth-item {
  display: inline-flex;
  align-items: center;
  gap: 0.1rem;
  padding: 0.1rem 0.16rem;
  border: 1px solid #e7e7e7;
  border-radius: 0.06rem;
  background: #fafafa;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.oauth-item:hover {
  border-color: var(--color-primary);
  background: #f5f8ff;
}
.oauth-item:hover .oauth-img {
  filter: brightness(0.95);
}
.oauth-img {
  width: 0.32rem;
  height: 0.32rem;
  flex-shrink: 0;
}
.oauth-text {
  font-size: 0.14rem;
  color: #1e2736;
  white-space: nowrap;
}
@media screen and (max-width: 750px) {
  #login {
    justify-content: center;
    padding: 0.6rem;
  }
  .login-container {
    height: calc(100vh - 1.2rem);
    width: 100vw;
    padding: 0.6rem 0;
  }
  .container-back {
    display: none;
  }
  .container-before {
    width: 100%;
    height: 100%;
    margin: 0 0.3rem;
    position: relative;
    z-index: 2;
    max-height: none;
  }
  .login {
    padding-top: 1.17rem;
    padding-left: 0.3rem;
    padding-right: 0.3rem;
    font-size: 0.26rem;
    line-height: 0.3rem;
  }
  .login .qr-code {
    right: 0.3rem;
    top: 1.17rem;
    cursor: pointer;
  }
  .login-text-title {
    font-size: 0.4rem;
  }
  .login-text-regist {
    margin-top: 0.16rem;
    font-size: 0.28rem;
  }
  .login-form {
    margin-top: 1.21rem;
  }
  .form-main {
    margin-top: 0.6rem;
  }
  .login-email,
  .login-phone {
    height: 0.34rem;
    width: 100%;
    text-align: center;
    color: #666b80;
    cursor: pointer;
    padding-bottom: 0.13rem;
  }
  .el-checkbox__label {
    font-size: 0.22rem;
  }
  .read-item {
    line-height: 0.3rem;
  }
  .login-btn {
    font-size: 0.34rem;
    height: 0.8rem;
  }
  .type-btn {
    border: none;
    color: var(--color-primary);
    font-size: 0.34rem;
  }
}
