* {
  margin: 0;
  padding: 0;
}
#regist {
  height: 100vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #13294B 0%, #1A3A6B 30%, #0052D9 70%, #1A6DF5 100%);
  position: relative;
  overflow: hidden;
}
/* Tencent Cloud 风格背景装饰 */
#regist::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
  border-radius: 50%;
}
#regist::after {
  content: '';
  position: absolute;
  bottom: -15%;
  left: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
  border-radius: 50%;
}
.custom-form {
  margin-top: 0.2rem;
}
.custom-form .el-form-item__label {
  line-height: 1;
  color: #5F6877;
  font-size: 13px;
}
.custom-form .el-select {
  width: 100%;
}
.login-container {
  width: 14rem;
  height: 7.8rem;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  max-width: 90vw;
}
/* 背景板 开始 */
.container-back {
  width: 14rem;
  height: 6.4rem;
  background: linear-gradient(135deg, rgba(0, 82, 217, 0.15) 0%, rgba(26, 58, 107, 0.3) 100%);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(20px);
}
.back-text {
  font-size: 0.24rem;
  z-index: 10;
  color: #FFFFFF;
  margin-top: 1.2rem;
  margin-left: 0.6rem;
  font-weight: 400;
}
.text-welcome {
  font-size: 0.68rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 200;
  line-height: 0.74rem;
  letter-spacing: 4px;
  background: linear-gradient(135deg, #FFFFFF 0%, rgba(255,255,255,0.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-title {
  margin-top: 8px;
  font-size: 0.18rem;
  color: rgba(255,255,255,0.85);
  font-weight: 300;
  line-height: 1.6;
}
.text-level {
  font-size: 0.12rem;
  margin-top: 0.4rem;
  color: rgba(255,255,255,0.5);
  font-weight: 300;
}
.back-line1,
.back-line2,
.back-line3 {
  width: 60px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.15) 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: 7rem;
  height: 7.8rem;
  padding-bottom: 0;
  overflow-y: auto;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2);
  position: absolute;
  right: 0.6rem;
  border-radius: 16px;
  z-index: 10;
  backdrop-filter: blur(20px);
}
.container-before::-webkit-scrollbar {
  width: 4px;
}
.container-before::-webkit-scrollbar-track {
  background-color: transparent;
}
.container-before::-webkit-scrollbar-thumb {
  background-color: rgba(0, 82, 217, 0.3);
  border-radius: 0.5rem;
}
.login {
  padding-top: 0.6rem;
  padding-left: 0.8rem;
  padding-right: 0.8rem;
  font-size: 14px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-weight: 400;
  line-height: 14px;
}
.login-text {
  display: flex;
  flex-direction: column;
}
.login-text-title {
  font-size: 0.28rem;
  color: #1D2129;
  line-height: 0.32rem;
  font-weight: 600;
}
.login-text-regist {
  font-weight: 400;
  margin-top: 0.08rem;
  color: #5F6877;
  font-size: 0.14rem;
}
.login-text-regist a {
  color: #0052D9;
  cursor: pointer;
  text-decoration: none;
  font-weight: 500;
}
.login-text-regist a:hover {
  color: #1A6DF5;
  text-decoration: underline;
}
.login-form {
  margin-top: 0.4rem;
}
.login-top {
  display: flex;
  flex-direction: row;
  border-bottom: 1px solid #E5E6E8;
  margin-bottom: 0.24rem;
}
.login-email,
.login-phone {
  height: 0.36rem;
  color: #8C92A0;
  cursor: pointer;
  font-size: 0.14rem;
  padding-bottom: 0.08rem;
  margin-bottom: -1px;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}
.active {
  color: #0052D9;
  border-bottom: 2px solid #0052D9;
  font-weight: 500;
}
.login-email {
  margin-right: 0.4rem;
}
.login-email:hover,
.login-phone:hover {
  color: #0052D9;
}
.form-main {
  margin-top: 0.2rem;
}
.form-item {
  margin-top: 0.2rem;
}
.input-with-select .el-input-group__prepend {
  background: #FFFFFF;
  width: 64px;
}
.code-item {
  display: flex;
  flex-direction: row;
}
.code-btn {
  margin-left: 0.1rem;
  background: #0052D9;
  color: #FFFFFF;
  border: none;
  border-radius: 6px;
  height: 40px;
  padding: 0 16px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.3s ease;
}
.code-btn:hover {
  background: #1A6DF5;
}
.code-btn.is-disabled {
  background: #B0B8C8;
  cursor: not-allowed;
}
.rember-item {
  margin-top: 0.16rem;
  display: flex;
  justify-content: space-between;
}
.rember-item a {
  color: #0052D9;
  cursor: pointer;
  text-decoration: none;
}
.rember-item a:hover {
  color: #1A6DF5;
  text-decoration: underline;
}
.login-btn {
  width: 100%;
  height: 44px;
  background: #0052D9;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 1px;
  transition: background 0.3s ease;
}
.login-btn:hover {
  background: #1A6DF5;
}
.login-btn:active {
  background: #0047B3;
}
.read-text {
  flex: 1;
  font-size: 14px;
  line-height: 19px;
  padding: 0 10px;
  color: #5F6877;
  font-weight: 400;
}
.read-item {
  margin-top: 0.16rem;
}
.read-item a {
  color: #0052D9;
  cursor: pointer;
  text-decoration: none;
}
.read-item a:hover {
  color: #1A6DF5;
  text-decoration: underline;
}
.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;
}

/* Element UI 样式覆盖 */
.el-input__inner {
  border-radius: 6px;
  border-color: #D0D3D9;
  height: 40px;
  line-height: 40px;
  transition: border-color 0.3s ease;
}
.el-input__inner:focus {
  border-color: #0052D9;
}
.el-input__inner:hover {
  border-color: #B0B8C8;
}
.el-input-group__prepend {
  border-radius: 6px 0 0 6px;
  border-color: #D0D3D9;
}
.el-checkbox__inner {
  border-radius: 3px;
  border-color: #D0D3D9;
}
.el-checkbox__input.is-checked .el-checkbox__inner {
  background-color: #0052D9;
  border-color: #0052D9;
}
.el-select .el-input__inner:focus {
  border-color: #0052D9;
}

@media screen and (max-width: 750px) {
  #regist {
    background: #F0F2F5;
  }
  #regist::before,
  #regist::after {
    display: none;
  }
  .login-btn {
    font-size: 0.34rem;
    height: 0.8rem;
  }
  .type-btn {
    border: none;
    color: #0052D9;
    font-size: 0.34rem;
  }
  .code-btn {
    font-size: 0.32rem;
    height: 0.8rem;
  }
  .login-container {
    height: calc(100vh - 1.2rem);
    width: 100vw;
    padding: 0.6rem 0;
    max-width: 100vw;
  }
  .container-back {
    display: none;
  }
  .container-before {
    width: 100%;
    height: 100%;
    margin: 0rem 0.3rem;
    position: unset;
    z-index: 0;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  }
  .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: 0.6rem;
  }
  .form-main {
    margin-top: 0.4rem;
  }
  .login-email,
  .login-phone {
    height: 0.34rem;
    width: 100%;
    text-align: center;
    color: #8C92A0;
    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;
  }
}