* {
  margin: 0;
  padding: 0;
}

#regist {
  height: 100vh;
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
  background: url("../img/c3f153dd-80a0-40a8-9a54-a3b7d6717ab8.jpg") center center / cover no-repeat;
}

.custom-form {
  margin-top: 0.3rem;
}

.custom-form .el-form-item__label {
  line-height: 1;
}

.custom-form .el-select {
  width: 100%;
}

/* 左上角logo（与登录页一致） */
.login-logo {
  position: fixed;
  top: .4rem;
  left: .5rem;
  height: .56rem;
  width: auto;
  max-width: 4.5rem;
  z-index: 100;
  object-fit: contain;
}

.login-container {
  width: 13rem;
  height: 6.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
}

/* 左侧透明面板（与登录页一致） */
.container-back {
  display: block;
  width: 6.5rem;
  height: 6.5rem;
  background: transparent;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  order: 0;
}

.container-back::before,
.container-back::after,
.back-line1,
.back-line2,
.back-line3 {
  display: none;
}

.back-text {
  position: relative;
  z-index: 10;
  color: #3a4160;
  padding: 1.7rem .85rem 0 .85rem;
  font-weight: 400;
}

.text-welcome {
  font-size: .56rem;
  font-family: Bahnschrift;
  line-height: .56rem;
  font-weight: 700;
  letter-spacing: .02rem;
}

.text-title {
  margin-top: .24rem;
  font-size: .3rem;
  line-height: 1.5;
  font-weight: 500;
}

.text-level {
  font-size: .16rem;
  margin-top: .5rem;
  opacity: 0.85;
  line-height: 1.6;
}

/* 右侧白色表单卡 */
.container-before {
  width: 6.5rem;
  height: 6.5rem;
  background: #ffffff;
  border-radius: 0 8px 8px 0;
  z-index: 10;
  flex-shrink: 0;
  order: 1;
  overflow-y: auto;
  padding-bottom: 0.2rem;
}

.container-before::-webkit-scrollbar {
  width: 0;
}

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

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

.login-text-title {
  font-size: .32rem;
  color: #1e2736;
  line-height: .32rem;
  font-weight: 600;
  letter-spacing: .01rem;
}

.login-text-regist {
  margin-top: .12rem;
  color: #666b80;
  font-size: 14px;
}

.login-text-regist a {
  color: #006EFF;
  cursor: pointer;
  font-weight: 500;
}

.login-text-regist a:hover {
  text-decoration: underline;
}

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

/* 切换标签：灰色圆角容器 + 白色高亮块（分段控件风格） */
.login-top {
  display: inline-flex;
  background: #f2f4f8;
  border-radius: 6px;
  padding: 4px;
}

.login-email,
.login-phone {
  height: .34rem;
  line-height: .34rem;
  padding: 0 16px;
  color: #666b80;
  cursor: pointer;
  border-radius: 4px;
  transition: background .2s, color .2s;
}

.active {
  color: #1e2736;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

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

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

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

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

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

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

/* 协议行：勾选框与首行文字对齐 */
.read-item {
  margin-top: .2rem;
  display: flex;
  align-items: flex-start;
}

.read-item .el-checkbox {
  height: 19px;
  display: flex;
  align-items: center;
}

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

.read-item a {
  color: #006EFF;
  cursor: pointer;
}

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

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

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

/* 底部版权备案（与登录页一致） */
.login-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  column-gap: 8px;
  row-gap: 4px;
  padding: 12px 20px;
  font-size: 14px;
  line-height: 20px;
  color: #7a8194;
  z-index: 50;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.login-footer-icp {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  column-gap: 12px;
  row-gap: 4px;
}

.login-footer .footer-icp-item {
  display: inline-flex;
  align-items: center;
  column-gap: 4px;
  color: #7a8194;
  text-decoration: none;
}

.login-footer .footer-icp-item:hover {
  color: #006EFF;
}

.login-footer .footer-icp-icon {
  width: 14px;
  height: 14px;
  object-fit: contain;
}

.login-footer-divider {
  color: #d0d3da;
}

.login-footer-copy {
  white-space: nowrap;
}

@media screen and (max-width: 750px) {
  .login-btn {
    font-size: 0.34rem;
    height: 0.8rem;
  }
  .type-btn {
    border: none;
    color: #006EFF;
    font-size: 0.34rem;
  }
  .code-btn {
    font-size: 0.32rem;
    height: 0.8rem;
  }
  .login-container {
    height: calc(100vh - 1.2rem);
    width: 100vw;
    background: #F2F2FE;
    padding: 0.6rem 0;
  }
  .container-back {
    display: none;
  }
  .container-before {
    width: 100%;
    height: 100%;
    margin: 0rem 0.3rem;
    position: unset;
    z-index: 0;
  }
  .login {
    padding-top: 1.17rem;
    padding-left: 0.3rem;
    padding-right: 0.3rem;
    font-size: 0.26rem;
    line-height: 0.3rem;
  }
  .login-text-title {
    font-size: 0.4rem;
  }
  .login-text-regist {
    margin-top: 0.1rem;
    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.26rem;
  }
  .read-item {
    line-height: 0.3rem;
  }
  .read-item .check-div {
    display: flex;
    white-space: inherit;
  }
}
