* {
  margin: 0;
  padding: 0;
}
#regist {
  height: 100vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.custom-form {
  margin-top: 0.3rem;
}
.custom-form .el-form-item__label {
  line-height: 1;
}
.custom-form .el-select {
  width: 100%;
}
.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: var(--color-primary);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  font-family: Source Han Sans CN;
}
.back-text {
  font-size: 0.27rem;
  z-index: 10;
  color: #FFFFFF;
  margin-top: 1.39rem;
  margin-left: 0.65rem;
  font-weight: 400;
}
.text-welcome {
  font-size: 0.74rem;
  font-family: Bahnschrift;
  line-height: 0.74rem;
}
.text-title {
  margin-top: 5px;
}
.text-level {
  font-size: 0.12rem;
  margin-top: 0.81rem;
}
.back-line1,
.back-line2,
.back-line3 {
  width: 60px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 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: 8rem;
  overflow-y: auto;
  background: #FFFFFF;
  box-shadow: 0px 3px 12px rgba(0, 0, 0, 0.1);
  position: absolute;
  right: 0.9rem;
  border: 4px;
  z-index: 10;
}
.login {
  padding-top: 0.8rem;
  padding-left: 1.24rem;
  padding-right: 1.05rem;
  font-size: 14px;
  font-family: PingFang SC;
  font-weight: 400;
  line-height: 14px;
}
.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;
}
.password-form-item {
  position: relative;
}
.password-rule-popover {
  position: absolute;
  left: 0;
  top: calc(100% + 0.08rem);
  z-index: 20;
  width: 100%;
  box-sizing: border-box;
  padding: 0.16rem 0.2rem;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
  line-height: 1.4;
}
.password-rule-title {
  margin-bottom: 0.1rem;
  color: #1E2736;
  font-size: 14px;
  font-weight: 600;
}
.password-rule-item {
  display: flex;
  align-items: flex-start;
  gap: 0.08rem;
  color: #909399;
  font-size: 13px;
  line-height: 20px;
}
.password-rule-item + .password-rule-item {
  margin-top: 0.05rem;
}
.password-rule-item i {
  margin-top: 3px;
  flex: 0 0 auto;
}
.password-rule-item.is-pass {
  color: #21BA45;
}
.input-with-select .el-input-group__prepend {
  background: #FFFFFF;
  width: 60px;
}
.code-item {
  display: flex;
  flex-direction: row;
}
.code-btn {
  margin-left: 0.1rem;
  background: var(--color-primary);
  color: #FFFFFF;
}
.rember-item {
  margin-top: 0.2rem;
  display: flex;
  justify-content: space-between;
}
.rember-item a {
  color: var(--color-primary);
  cursor: pointer;
}
.login-btn {
  width: 100%;
  height: 46px;
  background: var(--color-primary);
}
.read-text {
  flex: 1;
  font-size: 14px;
  line-height: 19px;
  padding: 0 10px;
  color: #606266;
  font-weight: 500;
}
.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: 0.46rem;
  font-size: 0.16rem;
}
@media screen and (max-width: 750px) {
  .login-btn {
    font-size: 0.34rem;
    height: 0.8rem;
  }
  .type-btn {
    border: none;
    color: var(--color-primary);
    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;
  }
}

/* ===== 全码云定制 v2：注册页对齐登录页 ===== */
#regist {
  height: auto;
  min-height: 100vh;
  width: 100%;
  display: block;
  box-sizing: border-box;
  padding-bottom: 78px;
  background-color: #f6f8fc;
  background-image: url("../img/login-bg.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}
/* --- 顶部导航（通栏白底） --- */
#regist .qm-topbar {
  position: relative;
  z-index: 20;
  width: 100%;
  height: 68px;
  margin: 0;
  padding: 0 max(32px, calc((100% - 1180px) / 2 + 32px));
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border-bottom: 1px solid #eaeef6;
  box-shadow: 0 2px 10px rgba(23, 54, 110, 0.04);
}
#regist .qm-brand {
  display: flex;
  align-items: center;
  font-size: 19px;
  font-weight: 600;
  color: #22417c;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
#regist .qm-brand-logo {
  width: 30px;
  height: 30px;
  margin-right: 10px;
  flex: 0 0 auto;
  display: block;
}
#regist .login-jump-btn {
  position: static;
  display: flex;
  align-items: center;
  gap: 18px;
}
#regist .login-jump-btn .qm-home-link {
  font-size: 14px;
  font-weight: 500;
  color: #4a5d80;
  text-decoration: none;
  letter-spacing: 1px;
  white-space: nowrap;
  padding: 6px 14px;
  border-radius: 999px;
  transition: color 0.2s ease, background-color 0.2s ease;
}
#regist .login-jump-btn .qm-home-link:hover {
  color: var(--color-primary);
  background: rgba(59, 110, 235, 0.08);
}
#regist .login-jump-btn .btn {
  margin: 0;
}
#regist .login-jump-btn .btn a {
  color: #ffffff;
}
/* --- 主体两栏 --- */
#regist .login-container {
  width: 100%;
  max-width: 1180px;
  height: auto;
  min-height: calc(100vh - 146px);
  margin: 0 auto;
  padding: 24px 32px 40px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  background: none;
}
#regist .container-back {
  position: static;
  width: auto;
  max-width: 560px;
  height: auto;
  background: transparent;
  border-radius: 0;
  overflow: visible;
  flex: 1 1 auto;
  order: 1;
  font-family: "Source Han Sans CN", "PingFang SC", "Microsoft YaHei", sans-serif;
}
#regist .container-back .back-line1,
#regist .container-back .back-line2,
#regist .container-back .back-line3 {
  display: none;
}
#regist .container-back .back-text {
  margin: 0;
  padding: 0;
  font-size: 20px;
  color: #22417c;
}
#regist .container-back .text-welcome {
  font-size: 44px;
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: 2px;
  color: #22417c;
}
#regist .container-back .text-title {
  margin-top: 16px;
  font-size: 20px;
  letter-spacing: 1px;
  color: #4a5d80;
  font-weight: 400;
}
/* --- 注册卡片 --- */
#regist .container-before {
  position: static;
  width: 420px;
  height: auto;
  max-height: calc(100vh - 190px);
  overflow-y: auto;
  overflow-x: hidden;
  flex: 0 0 420px;
  order: 2;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 12px 40px rgba(23, 54, 110, 0.1);
  border: 0;
  padding: 0;
}
#regist .container-before::-webkit-scrollbar {
  width: 6px;
}
#regist .container-before::-webkit-scrollbar-thumb {
  background: #dbe2ee;
  border-radius: 3px;
}
#regist .login {
  padding: 28px 28px 24px;
  font-size: 14px;
  line-height: 1.4;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}
#regist .login-text-title {
  font-size: 22px;
  line-height: 1.3;
  text-align: center;
  color: #1e2736;
}
#regist .login-text-regist {
  margin-top: 10px;
  text-align: center;
  font-size: 13px;
  color: #8593ab;
  font-weight: 400;
}
#regist .login-text-regist a {
  color: var(--color-primary);
}
#regist .login-form {
  margin-top: 22px;
}
#regist .login-top {
  justify-content: center;
}
#regist .login-email,
#regist .login-phone {
  height: auto;
  padding-bottom: 8px;
  font-size: 14px;
}
#regist .login-email {
  margin-right: 28px;
}
#regist .form-main {
  margin-top: 18px;
}
#regist .form-item {
  margin-top: 14px;
}
#regist .login .el-input__inner {
  height: 44px;
  line-height: 44px;
  border-radius: 4px;
  border-color: #dfe4ec;
}
#regist .login .el-input__inner:focus {
  border-color: var(--color-primary);
}
#regist .login .el-textarea__inner {
  border-radius: 4px;
  border-color: #dfe4ec;
}
#regist .input-with-select .el-input-group__prepend {
  background: #ffffff;
  border-color: #dfe4ec;
}
#regist .code-item {
  display: flex;
  flex-direction: row;
  gap: 10px;
}
#regist .code-btn {
  flex: 0 0 auto;
  margin-left: 0;
  height: 44px;
  line-height: 44px;
  background: var(--color-primary);
  color: #ffffff;
  border-radius: 4px;
  padding: 0 16px;
}
#regist .login-btn {
  width: 100%;
  height: 44px;
  font-size: 15px;
  border-radius: 4px;
}
#regist .read-text {
  flex: 1;
  font-size: 13px;
  line-height: 20px;
  padding: 0 10px;
  color: #8593ab;
  font-weight: 400;
}
#regist .read-item {
  margin-top: 14px;
  display: flex;
  align-items: flex-start;
}
#regist .read-item a {
  color: var(--color-primary);
}
#regist .custom-form {
  margin-top: 6px;
}
#regist .custom-form .el-form-item {
  margin-bottom: 12px;
}
#regist .password-rule-popover {
  top: calc(100% + 6px);
  padding: 12px 14px;
}
#regist .password-rule-title {
  margin-bottom: 8px;
  font-size: 13px;
}
#regist .password-rule-item {
  font-size: 12px;
  line-height: 18px;
}
/* --- 页脚 --- */
#regist ~ .qm-footer,
.qm-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  padding: 8px 16px 12px;
  text-align: center;
  font-size: 12px;
  line-height: 22px;
  color: #9aa0ab;
  box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.04);
}
.qm-footer-line {
  margin: 0;
}
.qm-footer a {
  color: #9aa0ab;
  text-decoration: none;
}
.qm-footer a:hover {
  color: var(--color-primary);
}
.qm-footer-sep {
  margin: 0 8px;
  color: #d5d9e0;
}
.qm-gongan {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.qm-gongan img {
  width: 16px;
  height: 16px;
  display: inline-block;
}
/* --- 移动端 --- */
@media screen and (max-width: 750px) {
  #regist {
    min-height: calc(100vh - 113px);
    padding-bottom: 0;
    background-position: 65% center;
  }
  #regist .qm-topbar {
    height: 60px;
    padding: 0 16px;
  }
  #regist .qm-brand {
    font-size: 17px;
  }
  #regist .qm-brand-logo {
    width: 28px;
    height: 28px;
    margin-right: 9px;
  }
  #regist .login-jump-btn {
    gap: 10px;
  }
  #regist .login-jump-btn .qm-home-link {
    font-size: 14px;
    padding: 5px 12px;
  }
  #regist .login-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-height: calc(100vh - 173px);
    height: auto;
    padding: 40px 16px;
    box-sizing: border-box;
    background: none;
  }
  #regist .container-back {
    display: none;
  }
  #regist .container-before {
    width: 100%;
    max-width: 420px;
    height: auto;
    max-height: none;
    overflow: visible;
    flex: none;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border-radius: 12px;
  }
  #regist .login {
    padding: 30px 20px 26px;
    font-size: 14px;
    line-height: 1.4;
  }
  #regist .login-text-title {
    font-size: 21px;
  }
  #regist .login-text-regist {
    margin-top: 8px;
    font-size: 13px;
  }
  #regist .login-form {
    margin-top: 18px;
  }
  #regist .form-main {
    margin-top: 16px;
  }
  #regist .login .el-input__inner {
    height: 46px;
    line-height: 46px;
  }
  #regist .login-email,
  #regist .login-phone {
    height: auto;
    width: auto;
    font-size: 14px;
    padding-bottom: 8px;
  }
  #regist .login-btn {
    height: 46px;
    font-size: 16px;
  }
  #regist .code-btn {
    height: 46px;
    font-size: 14px;
    padding: 0 14px;
  }
  #regist .read-item {
    line-height: 20px;
  }
  #regist .el-checkbox__label {
    font-size: 13px;
  }
  .qm-footer {
    position: static;
    padding: 12px 16px 18px;
    font-size: 11px;
    line-height: 20px;
  }
  .qm-gongan img {
    width: 14px;
    height: 14px;
  }
}
/* --- 隐藏首屏加载遮罩：进入页面直接显示内容 --- */
#mainLoading {
  display: none !important;
}
