* {
  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: 0.36rem;
  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;
}

.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: 0.73rem;
    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;
  }
}

/* 返回首页（流式右对齐，避免部分内核忽略绝对定位 right） */
.back-home-row {
  text-align: right;
  line-height: 0.32rem;
  margin-bottom: 0.12rem;
}

.back-home {
  font-size: 14px;
  color: #0058ff;
  text-decoration: none;
  cursor: pointer;
}

.back-home:hover {
  text-decoration: underline;
}


/* ===== rovu-logintopbar 2026-11-18 =====
   原来「返回首页」是右对齐文本行、「语言下拉」是 position:absolute; right:.1rem; top:.1rem，
   两者都挤在右上角导致重叠（语言框压住了「返回首页」）。
   改为同一行 flex 两端对齐，语言框不再绝对定位。 */
.login .login-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 0.34rem;
  margin-bottom: 0.12rem;
  position: relative;
  z-index: 12;
}
.login .login-topbar .back-home-row {
  display: none;
}
.login .login-topbar .lang-box {
  position: static !important;
  right: auto !important;
  top: auto !important;
  flex: 0 0 auto;
  margin: 0;
}
.login .login-topbar .back-home {
  flex: 0 0 auto;
  font-size: 14px;
  color: #0058ff;
  text-decoration: none;
  cursor: pointer;
  line-height: 0.32rem;
}
.login .login-topbar .back-home:hover {
  text-decoration: underline;
}
/* 语言下拉在窄屏不要超出 */
@media screen and (max-width: 900px) {
  .login .login-topbar {
    margin-bottom: 10px;
  }
  .login .login-topbar .lang-box .el-select {
    width: 1.15rem !important;
  }
}

#FFFFFF;
  text-decoration: underline;
}
/* 收一点上间距，让整块更靠上居中 */
.container-back .back-text {
  margin-top: 1.06rem;
}

/* ===== yeaton 2026-11-23：登录/注册左板「两行大标题 + 六项方框 + 带箭头链接」 ===== */
.container-back .back-text .text-title {
  font-size: 0.2rem;
  font-weight: 400;
  opacity: 0.92;
}
.container-back .back-text .hero-features {
  margin-top: 0.3rem;
}
.container-back .back-text .hero-title {
  font-size: 0.42rem;
  line-height: 1.28;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.012rem;
}
.container-back .back-text .hero-title.accent {
  color: #9FCEFF;
  margin-bottom: 0.26rem;
}
.container-back .back-text .hero-tags {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 0.14rem 0.16rem;
}
.container-back .back-text .hero-tags .hero-tag {
  box-sizing: border-box;
  min-width: 1.72rem;
  padding: 0.12rem 0.22rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  font-size: 0.17rem;
  font-weight: 400;
  line-height: 1.35;
  white-space: nowrap;
  text-align: center;
}
.container-back .back-text .hero-link {
  margin-top: 0.4rem;
}
.container-back .back-text .hero-link a {
  color: #9FCEFF;
  font-size: 0.18rem;
  text-decoration: none;
  cursor: pointer;
}
.container-back .back-text .hero-link a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}
/* 收一点上间距，让整块更靠上居中 */
.container-back .back-text {
  margin-top: 1.06rem;
}
