* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.empty-input {
  position: absolute;
  opacity: 0;
  height: 0;
  width: 0;
  pointer-events: none;
}
#regist {
  height: 100vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #E8F4FF 0%, #F0F8FF 50%, #FFFFFF 100%);
  position: relative;
  overflow: hidden;
}
#regist::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  right: -200px;
  top: -150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 82, 212, 0.08) 0%, transparent 70%);
}
#regist::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  left: -120px;
  bottom: -120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.06) 0%, transparent 70%);
}
.login-container {
  width: auto;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
  padding: 40px 20px;
}
/* 背景板 隐藏 */
.container-back {
  display: none;
}
.back-text {
  display: none;
}
.text-welcome {
  display: none;
}
.text-title {
  display: none;
}
.text-level {
  display: none;
}
.back-line1,
.back-line2,
.back-line3 {
  display: none;
}
/* 前景 注册框 */
.container-before {
  width: 540px;
  max-height: 90vh;
  overflow-y: auto;
  background: #ffffff;
  box-shadow: 0 8px 32px rgba(0, 82, 212, 0.12);
  border-radius: 24px;
  position: relative;
  border: 1px solid rgba(0, 82, 212, 0.08);
  z-index: 10;
}
.container-before::-webkit-scrollbar {
  width: 6px;
}
.container-before::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 3px;
  margin: 10px 0;
}
.container-before::-webkit-scrollbar-thumb {
  background: rgba(0, 82, 212, 0.2);
  border-radius: 3px;
  transition: background 0.3s;
}
.container-before::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 82, 212, 0.4);
}
.login {
  padding: 60px 50px;
  font-size: 14px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-weight: 400;
  line-height: 1.5;
}
.login-text {
  display: flex;
  flex-direction: column;
  margin-bottom: 40px;
}
.login-text-title {
  font-size: 32px;
  font-weight: 600;
  color: #0052D4;
  line-height: 1.2;
  margin-bottom: 12px;
}
.login-text-regist {
  font-weight: 400;
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}
.login-text-regist a {
  color: #0052D4;
  cursor: pointer;
  font-weight: 500;
  transition: opacity 0.3s;
}
.login-text-regist a:hover {
  opacity: 0.8;
}
.login-form {
  margin-top: 0;
}
.login-top {
  display: flex;
  flex-direction: row;
  gap: 32px;
  margin-bottom: 30px;
  border-bottom: 1px solid rgba(0, 82, 212, 0.1);
}
.login-email,
.login-phone {
  font-size: 15px;
  padding: 12px 4px;
  color: #666;
  cursor: pointer;
  transition: all 0.3s;
  font-weight: 500;
  position: relative;
}
.login-email:hover,
.login-phone:hover {
  color: #0052D4;
}
.active {
  color: #0052D4;
}
.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: #0052D4;
  border-radius: 2px 2px 0 0;
}
.login-email {
  margin-right: 0;
}
.form-main {
  margin-top: 0;
}
.form-item {
  margin-top: 20px;
}
#regist .el-input__inner {
  height: 48px;
  border-radius: 8px;
  border: 1px solid rgba(0, 82, 212, 0.15);
  transition: all 0.3s;
  font-size: 15px;
}
#regist .el-input__inner:hover {
  border-color: rgba(0, 82, 212, 0.3);
}
#regist .el-input__inner:focus {
  border-color: #0052D4;
  box-shadow: 0 0 0 3px rgba(0, 82, 212, 0.08);
}
.input-with-select .el-input-group__prepend {
  background: #ffffff;
  width: 100px;
  border: 1px solid rgba(0, 82, 212, 0.15);
  border-right: none;
  border-radius: 8px 0 0 8px;
}
.input-with-select .el-select .el-input__inner {
  border: none;
  background: transparent;
  color: #0052D4;
  font-weight: 500;
}
.select-input .el-input__inner {
  border-radius: 0 8px 8px 0 !important;
}
#regist .el-select-dropdown__item {
  padding: 10px 16px;
  transition: background 0.3s;
}
#regist .el-select-dropdown__item:hover {
  background: rgba(0, 82, 212, 0.05);
}
#regist .el-select-dropdown__item.selected {
  color: #0052D4;
  font-weight: 500;
}
#regist .el-input.is-disabled .el-input__inner {
  background-color: #f5f7fa;
  border-color: rgba(0, 82, 212, 0.1);
  color: #999;
  cursor: not-allowed;
}
.code-item {
  display: flex;
  flex-direction: row;
  gap: 12px;
}
.code-btn {
  color: #ffffff;
  background: #0052D4;
  border: none;
  border-radius: 8px;
  padding: 0 20px;
  white-space: nowrap;
  transition: all 0.3s;
  font-weight: 500;
  height: 48px;
}
.code-btn:hover {
  background: #0066FF;
}
.rember-item {
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.rember-item a {
  color: #0052D4;
  cursor: pointer;
  transition: opacity 0.3s;
  font-weight: 500;
}
.rember-item a:hover {
  opacity: 0.8;
}
.login-btn {
  width: 100%;
  height: 48px;
  background: #0052D4;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s;
}
.login-btn:hover {
  background: #0066FF;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 82, 212, 0.25);
}
.login-btn:active {
  transform: translateY(0);
}
.read-text {
  flex: 1;
  font-size: 14px;
  line-height: 1.5;
  padding: 0 10px;
  color: #606266;
  font-weight: 500;
}
.read-item {
  margin-top: 16px;
  display: flex;
  align-items: center;
}
.read-item a {
  color: #0052D4;
  cursor: pointer;
  transition: opacity 0.3s;
}
.read-item a:hover {
  opacity: 0.8;
}
.line-item {
  margin-top: 30px;
  margin-bottom: 20px;
}
.line-item text {
  font-size: 14px;
  color: #999;
}
.line-item .el-divider__text {
  background: #ffffff;
  color: #999;
}
.type-btn {
  width: 100%;
  height: 48px;
  font-size: 15px;
  border-radius: 8px;
}
.custom-form {
  margin-top: 20px;
}
.custom-form .el-form-item__label {
  line-height: 1.5;
  color: #333;
  font-weight: 500;
  margin-bottom: 8px;
}
.custom-form .el-select {
  width: 100%;
}
.custom-form .el-textarea__inner {
  border-radius: 8px;
  border: 1px solid rgba(0, 82, 212, 0.15);
  transition: all 0.3s;
}
.custom-form .el-textarea__inner:focus {
  border-color: #0052D4;
  box-shadow: 0 0 0 3px rgba(0, 82, 212, 0.08);
}
#regist .el-checkbox__inner {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border-color: rgba(0, 82, 212, 0.3);
}
#regist .el-checkbox__input.is-checked .el-checkbox__inner {
  background-color: #0052D4;
  border-color: #0052D4;
}
#regist .el-checkbox__input.is-checked + .el-checkbox__label {
  color: #333;
}
#regist .el-checkbox__label {
  color: #666;
  font-size: 14px;
}
#regist .el-button--primary {
  background: #0052D4;
  border-color: #0052D4;
}
#regist .el-button--primary:hover {
  background: #0066FF;
  border-color: #0066FF;
}
.login-jump-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 20;
}
.login-jump-btn .btn {
  height: 36px;
  padding: 0 20px;
  background: #0052D4;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s;
}
.login-jump-btn .btn:hover {
  background: #0066FF;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 82, 212, 0.25);
}
.login-jump-btn .btn a {
  color: #ffffff;
  text-decoration: none;
}
@media screen and (max-width: 750px) {
  #regist {
    padding: 20px;
  }
  .login-container {
    width: 100%;
    height: auto;
    padding: 0;
  }
  .container-before {
    width: 100%;
    max-height: none;
    margin: 0;
    position: relative;
    z-index: 0;
  }
  .login {
    padding: 40px 30px;
    font-size: 14px;
    line-height: 1.5;
  }
  .login-text-title {
    font-size: 28px;
  }
  .login-text-regist {
    margin-top: 10px;
    font-size: 14px;
  }
  .login-form {
    margin-top: 0;
  }
  .form-main {
    margin-top: 0;
  }
  .login-top {
    gap: 24px;
  }
  .login-email,
  .login-phone {
    padding: 10px 4px;
    font-size: 14px;
  }
  .el-checkbox__label {
    font-size: 13px;
  }
  .read-item {
    line-height: 1.5;
  }
  .read-item .check-div {
    display: flex;
    white-space: inherit;
  }
  .login-btn {
    font-size: 16px;
    height: 48px;
  }
  .type-btn {
    border: none;
    color: #0052D4;
    font-size: 16px;
    height: 48px;
  }
  .code-btn {
    font-size: 15px;
    height: 48px;
  }
  .login-jump-btn {
    position: fixed;
    top: 10px;
    right: 10px;
  }
  .login-jump-btn .btn {
    height: 32px;
    padding: 0 16px;
    font-size: 13px;
  }
  .custom-form {
    margin-top: 16px;
  }
}
