.register-wrap {
  padding-top: 80px;
  padding-bottom: 140px;
  background-image: url(../images/contact/page_bg.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

/* 836px宽度的居中容器 */
.register-container {
  width: 760px;
  margin: 0 auto;
  background-image: url(../images/register/card_bg.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  padding: 56px 40px 40px;
  box-sizing: border-box;
}

/* 标题图片容器 - 页面特有的文字大小设置 */
.register-title {
  font-size: 24px;
  font-weight: bold;
  line-height: 26px;
}

/* 表单卡片 */
.register-form-card {
  margin-top: 32px;
 background: rgba(255,255,255,0.40);
border: 2px solid rgba(255,255,255,0.60);
border-radius: 12px;
  padding: 20px 24px;
}

/* 表单行 - 用于横向排列 */
.form-row {
  display: flex;
  gap: 20px;
}

/* 表单项 */
.form-item {
  margin-bottom: 16px;
}

.form-item:last-child {
  margin-bottom: 0;
}

/* 一半宽度的表单项 */
.form-item-half {
  flex: 1;
  width: calc(50% - 10px);
}

.form-label {
  font-size: 14px;
  font-family: PingFang SC, PingFang SC-Semibold;
  font-weight: bold;
  text-align: left;
  color: #ffffff;
  line-height: 20px;
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
}

/* 验证码输入框 */
.form-input-code {
  display: flex;
  align-items: center;
  gap: 20px;
}

.code-num {
  width: 130px;
  padding: 0;
  background: #ffffff;
  font-size: 14px;
  font-family: PingFang SC, PingFang SC-Semibold;
  font-weight: bold;
  text-align: center;
  color: #333333;
  height: 40px;
  line-height: 40px;
  box-sizing: border-box;
}

.form-input-code .el-input {
  width: 130px;
  flex: none;
}

/* 同意协议 */
.form-agreement {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.form-agreement .el-checkbox {
  margin-top: 2px;
}

.agreement-text {
  flex: 1;
  font-size: 14px;
  font-family: PingFang SC, PingFang SC-Regular;
  font-weight: Regular;
  text-align: left;
  color: #ffffff;
  line-height: 20px;
}

/* 提交按钮 */
.form-submit {
  margin-top: 20px;
  cursor: pointer;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  width: 149px;
  height: 46px;
}

/* 英语版本 */
body.lang-en .form-submit {
  background-image: url(../images/faqs/submit_btn_en.png);
}
body.lang-en .form-submit:hover {
  background-image: url(../images/faqs/submit_btn_en_hover.png);
}

/* 法语版本 */
body.lang-fr .form-submit {
  background-image: url(../images/faqs/submit_btn_fr.png);
}
body.lang-fr .form-submit:hover {
  background-image: url(../images/faqs/submit_btn_fr_hover.png);
}

/* 简体中文版本 */
body.lang-zh-CN .form-submit {
  background-image: url(../images/faqs/submit_btn_zh_CN.png);
}
body.lang-zh-CN .form-submit:hover {
  background-image: url(../images/faqs/submit_btn_zh_CN_hover.png);
}

/* 繁体中文版本（使用简体中文图片） */
body.lang-zh-TW .form-submit {
  background-image: url(../images/faqs/submit_btn_zh_CN.png);
}
body.lang-zh-TW .form-submit:hover {
  background-image: url(../images/faqs/submit_btn_zh_CN_hover.png);
}

/* 覆盖 Element UI checkbox 样式以适配深色背景 */
.register-form-card .el-checkbox__inner {
  background-color: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.6);
}

.register-form-card .el-checkbox__input.is-checked .el-checkbox__inner {
  background-color: #409eff;
  border-color: #409eff;
}

/* 已有账号链接 */
.register-login-link {
  margin-top: 16px;
  text-align: center;
  font-size: 14px;
  font-family: PingFang SC, PingFang SC-Regular;
  font-weight: Regular;
  color: #ffffff;
  line-height: 20px;
}

.register-login-link a {
  color: #00a8a2;
  margin-left: 8px;
  text-decoration: none;
}

.register-login-link a:hover {
  text-decoration: underline;
}

/* ========== 移动端适配 ========== */

@media (max-width: 1199px) {
  /* 页面容器 */
  .register-wrap {
    padding-top: 24px;
    padding-bottom: 32px;
  }

  /* 注册卡片容器 */
  .register-container {
    width: calc(100% - 24px);
    margin: 0 12px;
    padding: 24px 16px 20px;
  }

  /* 标题 */
  .register-title {
    font-size: 18px;
    line-height: 24px;
  }

  /* 表单卡片 */
  .register-form-card {
    margin-top: 16px;
    padding: 16px 12px;
  }

  /* 表单行改为单列布局 */
  .form-row {
    flex-direction: column;
    gap: 0;
  }

  /* 表单项间距调整 */
  .form-item {
    margin-bottom: 12px;
  }

  /* 半宽表单项在移动端占满宽度 */
  .form-item-half {
    width: 100%;
    flex: none;
  }

  /* 表单标签 */
  .form-label {
    font-size: 13px;
    line-height: 18px;
    margin-bottom: 6px;
  }

  /* 输入框高度调整 */
  .form-input .el-input__inner,
  .form-input .el-textarea__inner {
    font-size: 14px;
    line-height: 20px;
    height: 40px;
  }

  .form-input .el-textarea__inner {
    height: auto;
    min-height: 80px;
  }

  /* 验证码区域 */
  .form-input-code {
    gap: 12px;
  }

  .code-num {
    width: 120px;
    height: 40px;
    font-size: 13px;
    line-height: 40px;
  }

  .form-input-code .el-input {
    width: 120px;
  }

  /* 协议文本 */
  .agreement-text {
    font-size: 13px;
    line-height: 18px;
  }

  /* 提交按钮 */
  .form-submit {
    width: 100%;
    max-width: 100px;
    height: 31px;
    margin: 16px auto 0;
  }

  /* 已有账号链接 */
  .register-login-link {
    margin-top: 12px;
    font-size: 13px;
    line-height: 18px;
  }

  .register-login-link a {
    font-size: 13px;
  }
}
