/* ===== Figma设计稿精确还原 ===== */
/* 页面: 1920x1200, 登录卡片: 440x613.19, 圆角22 */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body.login-page {
    min-height: 100vh;
    background: #FFFFFF url('../Image/login_bg.png') no-repeat center center;
    background-size: cover;
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ===== 布局容器 ===== */
.login-container {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 140px;
  max-width: 1920px;
  margin: 0 auto;
  gap: 60px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 注册模式：Hero隐藏，卡片居中 */
body.register-active .login-container {
  justify-content: center;
}

body.register-active .login-hero {
  opacity: 0;
  visibility: hidden;
  width: 0;
  max-width: 0;
  overflow: hidden;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body.login-active .login-hero {
  opacity: 1;
  visibility: visible;
  width: auto;
  max-width: 600px;
  overflow: visible;
  pointer-events: auto;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
}

/* ===== Logo 固定左上角 ===== */
/* 设计稿: x=2244, y=80 (相对页面左边202px) */
.login-logo-fixed {
  position: fixed;
  top: 80px;
  left: 202px;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 12px;
}

.login-logo-fixed .login-logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #067DFB, #2DD0B1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 18px;
  box-shadow: 0 4px 14px rgba(6, 125, 251, 0.35);
}

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

.login-logo-fixed .login-logo-title {
  font-size: 20px;
  font-weight: 700;
  color: #101A33;
  line-height: 20px;
}

.login-logo-fixed .login-logo-subtitle {
  font-size: 13px;
  font-weight: 700;
  color: #6A7890;
  line-height: 15.73px;
  margin-top: 5.5px;
}

/* ===== 左侧 Hero 区域 ===== */
/* 设计稿: Hero标题 fontSize=72, 描述 fontSize=16, 特性卡片 171x122 */
.login-hero {
  flex: 1;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* 设计稿: fontSize=72, fontWeight=700, color=#101A33, lineHeight=77.76 */
.hero-title {
  font-size: 56px;
  font-weight: 700;
  color: #101A33;
  line-height: 1.08;
  letter-spacing: -1px;
}

/* 设计稿: fontSize=16, fontWeight=700, color=#6A7890, lineHeight=27.2 */
.hero-desc {
  font-size: 16px;
  font-weight: 700;
  color: #6A7890;
  line-height: 1.7;
  max-width: 532px;
}

/* 设计稿: 4个卡片, 每个171x122, gap=18 */
.hero-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 8px;
  max-width: 360px;
}

/* 设计稿: 卡片 171x122, cornerRadius=8, 背景=白色opacity0.66, 边框=蓝色opacity0.12 */
.feature-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  padding: 17px;
  background: rgba(255, 255, 255, 0.66);
  border-radius: 8px;
  border: 1px solid rgba(6, 125, 251, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* 设计稿: 图标 34x34, cornerRadius=8, 渐变蓝→绿 */
.feature-icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  background: linear-gradient(135deg, #067DFB, #2DD4BF);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

/* 设计稿: 文字 fontSize=13, fontWeight=700, color=#101A33 */
.feature-text {
  display: flex;
  flex-direction: column;
}

.feature-title {
  font-size: 13px;
  font-weight: 700;
  color: #101A33;
  line-height: 1.2;
}

/* ===== 右侧登录卡片 ===== */
/* 设计稿: width=440, height=613.19, cornerRadius=22 */
/* padding: 顶部53, 左右21, 底部39 */
.login-right {
  flex-shrink: 0;
  width: 440px;
  z-index: 2;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 设计稿: 背景=白色opacity0.87, 边框=白色opacity0.7, 圆角=22 */
/* 阴影: y=16, radius=38, 模糊=14 */
.login-card {
  background: rgba(255, 255, 255, 0.87);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 22px;
  padding: 53px 37px 39px 37px;
  box-shadow: 0 16px 38px rgba(16, 26, 51, 0.14);
  width: 440px;
  box-sizing: border-box;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  position: relative;
}

/* 表单容器 - 用于淡入淡出切换 */
#login-form,
#register-form {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

#login-form.hidden,
#register-form.hidden {
  opacity: 0;
  transform: translateY(10px);
  position: absolute;
  pointer-events: none;
}

/* ===== 卡片头部 ===== */
.login-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 35px;
}

/* 设计稿: fontSize=12, fontWeight=700, color=#067DFA */
.back-workspace {
  font-size: 12px;
  color: #067DFA;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  line-height: 14.52px;
}

/* 设计稿: Tablist 165.94x44, cornerRadius=999, 背景=#EEF3F9 opacity0.92, 边框=#101A33 opacity0.09 */
.login-tabs {
  display: flex;
  background: rgba(238, 243, 249, 0.92);
  border-radius: 999px;
  padding: 5px;
  height: 44px;
  box-sizing: border-box;
  width: 165.94px;
  border: 1px solid rgba(16, 26, 51, 0.09);
}

/* 设计稿: 激活Tab 75.97x34, cornerRadius=999, 渐变蓝→绿 */
.login-tab {
  flex: 1;
  padding: 0;
  height: 34px;
  line-height: 34px;
  font-size: 12px;
  font-weight: 700;
  color: #667085;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.login-tab.active {
  background: linear-gradient(135deg, #067DFB, #2DD4BF);
  color: #FFFFFF;
  box-shadow: 0 10px 22px rgba(6, 125, 251, 0.18);
}

/* ===== 登录表单 ===== */
/* 设计稿: "Welcome Back" fontSize=30, fontWeight=700, color=#101A33, lineHeight=33.6 */
.login-card-title {
  font-size: 30px;
  font-weight: 700;
  color: #101A33;
  line-height: 33.6px;
  margin-bottom: 13px;
}

/* 设计稿: fontSize=14, fontWeight=700, color=#667085, lineHeight=16.94 */
.login-card-subtitle {
  font-size: 14px;
  font-weight: 700;
  color: #667085;
  line-height: 16.94px;
  margin-bottom: 33px;
}

/* 设计稿: label fontSize=13, fontWeight=700, color=#303949 */
.form-group {
  margin-bottom: 10px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #303949;
  margin-bottom: 10px;
  line-height: 15.73px;
}

/* 设计稿: 输入框 366x52, cornerRadius=8, 左padding=16 */
.input-wrapper {
  position: relative;
}

.input-wrapper .input-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #98A2B3;
  display: flex;
  align-items: center;
}

.input-wrapper .input-action {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #98A2B3;
  transition: color 0.2s ease;
}

.input-wrapper .input-action:hover {
  color: #067DFB;
}

.input-wrapper .input-status {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* 设计稿: 输入框 height=52, border=1px solid #D8E1EC, radius=8, fontSize=14, fontWeight=700 */
.input-wrapper input {
  width: 100%;
  height: 52px;
  padding: 0 16px 0 44px;
  border: 1px solid #D8E1EC;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #101A33;
  background: #FFFFFF;
  transition: all 0.2s ease;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  box-sizing: border-box;
  outline: none;
}

.input-wrapper input:focus {
  border-color: #067DFB;
  box-shadow: 0 0 0 4px rgba(6, 125, 251, 0.1);
  outline: none;
}

.input-wrapper input.error {
  border-color: #F06767;
  background: #FEF2F2;
}

.input-wrapper.success input {
  border-color: #2DD4A8;
}

.input-status .check-icon {
  color: #2DD4A8;
}

/* 设计稿: 错误文字 fontSize=12, fontWeight=700, color=#E05252 */
.input-error {
  font-size: 12px;
  color: #E05252;
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 700;
  line-height: 15px;
}

/* 设计稿: fontSize=12, fontWeight=700, color=#8792A6 */
.checking-text {
  font-size: 12px;
  color: #8792A6;
  margin-top: 9px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
}

.checking-text .loading-dots {
  display: flex;
  gap: 2px;
}

.checking-text .loading-dots span {
  width: 4px;
  height: 4px;
  background: #067DFB;
  border-radius: 50%;
  animation: dotPulse 1.4s infinite ease-in-out both;
}

.checking-text .loading-dots span:nth-child(1) { animation-delay: -0.32s; }
.checking-text .loading-dots span:nth-child(2) { animation-delay: -0.16s; }

@keyframes dotPulse {
  0%, 80%, 100% { transform: scale(0.8); opacity: 0.5; }
  40% { transform: scale(1); opacity: 1; }
}

/* ===== Remember me + Forgot password ===== */
/* 设计稿: 间距=18px from 上方, 容器高度22 */
.form-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  margin-top: 18px;
}

.remember-me {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
}

.remember-me input[type="checkbox"] {
  display: none;
}

/* 设计稿: 16x16, cornerRadius=2.5, 选中=蓝色#067DFB */
.checkbox-custom {
  width: 16px;
  height: 16px;
  border: 1.5px solid #D8E1EC;
  border-radius: 2.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  background: white;
  flex-shrink: 0;
}

.remember-me input:checked + .checkbox-custom {
  background: #067DFB;
  border-color: #067DFB;
}

.remember-me input:checked + .checkbox-custom::after {
  content: '';
  width: 4px;
  height: 8px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translateY(-1px);
}

/* 设计稿: fontSize=13, fontWeight=700, color=#667085 */
.remember-me span {
  font-size: 13px;
  font-weight: 700;
  color: #667085;
  line-height: 15.73px;
}

/* 设计稿: fontSize=13, fontWeight=700, color=#067DFA */
.forgot-password {
  font-size: 13px;
  color: #067DFB;
  font-weight: 700;
  cursor: pointer;
  line-height: 15.73px;
}

.forgot-password:hover {
  text-decoration: underline;
}

/* ===== 登录按钮 ===== */
/* 设计稿: 366x54, cornerRadius=8, 渐变蓝→绿, 阴影y=16 radius=34 */
.login-btn {
  width: 100%;
  height: 54px;
  padding: 0;
  background: linear-gradient(135deg, #067DFB, #2DD4BF);
  color: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0);
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  box-shadow: 0 16px 34px rgba(6, 125, 251, 0.22);
}

.login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(6, 125, 251, 0.28);
}

.login-btn:active {
  transform: translateY(0);
}

.login-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* ===== 注册链接 ===== */
/* 设计稿: fontSize=13, color=#7A8495, 居中 */
.register-link {
  text-align: center;
  margin-top: 27px;
  font-size: 13px;
  color: #7A8495;
  font-weight: 700;
  line-height: 15.73px;
}

.register-link a {
  color: #067DFB;
  font-weight: 700;
  cursor: pointer;
}

.register-link a:hover {
  text-decoration: underline;
}

/* ===== 语言切换 ===== */
/* 设计稿: 固定右上角 */
.lang-switch {
  position: fixed;
  top: 24px;
  right: 32px;
  z-index: 100;
  display: flex;
  align-items: center;
  width: 101px;
  height: 42px;
  background: #FFFFFF;
  border-radius: 999px;
  padding: 5px;
  box-sizing: border-box;
  border: 1px solid #101A33;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  font-family: 'Inter', sans-serif;
}

.lang-btn {
  flex: 1;
  height: 32px;
  padding: 0;
  font-size: 13px;
  font-weight: 700;
  color: #101A33;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Inter', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lang-btn.active {
  background: linear-gradient(135deg, #067DFB, #2DD4BF);
  color: #FFFFFF;
}

/* ===== 注册模式 ===== */
body.register-active .login-right {
  width: 860px;
}

body.register-active .login-card {
  width: 860px;
  padding: 37px;
  background: rgba(255, 255, 255, 0.87);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 22px;
  box-shadow: 0 16px 38px rgba(16, 26, 51, 0.14);
  box-sizing: border-box;
}

body.register-active .login-card-header {
  margin-bottom: 24px;
}

body.register-active .back-workspace {
  font-size: 12px;
  font-weight: 700;
  color: #067DFB;
}

body.register-active .login-tabs {
  background: rgba(238, 243, 249, 0.92);
  width: 165.94px;
  height: 44px;
  padding: 5px;
  box-sizing: border-box;
  border-radius: 999px;
  border: 1px solid rgba(16, 26, 51, 0.09);
}

body.register-active .login-tab {
  padding: 0;
  height: 34px;
  line-height: 34px;
  font-size: 12px;
  font-weight: 700;
  color: #667085;
  text-align: center;
}

body.register-active .login-tab.active {
  background: linear-gradient(135deg, #067DFB, #2DD4BF);
  color: #FFFFFF;
  box-shadow: 0 10px 22px rgba(6, 125, 251, 0.18);
}

body.register-active .login-card-title {
  font-size: 26px;
  font-weight: 700;
  color: #101A33;
  line-height: 29.12px;
  margin-bottom: 6px;
}

body.register-active .login-card-subtitle {
  font-size: 14px;
  font-weight: 700;
  color: #667085;
  line-height: 16.94px;
  margin-bottom: 24px;
}

/* ===== 注册进度条 ===== */
.register-progress-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.register-section-title {
  font-size: 13px;
  font-weight: 700;
  color: #101A33;
}

.register-step-badge {
  font-size: 12px;
  font-weight: 700;
  color: #067DFB;
  background: rgba(6, 125, 251, 0.1);
  padding: 3px 10px;
  border-radius: 999px;
}

.register-progress {
  position: relative;
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  padding: 0 12px;
}

.register-progress .progress-line {
  position: absolute;
  top: 16px;
  left: 40px;
  right: 40px;
  height: 2px;
  background: rgba(16, 26, 51, 0.08);
  border-radius: 999px;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  z-index: 1;
}

.progress-step .step-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #F7FBFF;
  border: 1px solid #101A33;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #98A2B3;
  transition: all 0.3s ease;
}

.progress-step.active .step-circle {
  background: linear-gradient(135deg, #067DFB, #2DD4BF);
  color: #FFFFFF;
  border: 1px solid #000000;
  box-shadow: 0 4px 12px rgba(6, 125, 251, 0.25);
}

.progress-step .step-label {
  font-size: 12px;
  font-weight: 700;
  color: #98A2B3;
  white-space: nowrap;
}

.progress-step.active .step-label {
  color: #067DFB;
}

/* ===== 注册表单 ===== */
.register-form {
  margin-top: 16px;
}

.register-form .form-row {
  display: flex;
  gap: 18px;
}

.register-form .form-row .form-group {
  flex: 1;
  min-width: 0;
  max-width: 384px;
}

.register-form .form-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #5F6B7C;
  margin-bottom: 8px;
}

.register-form .form-group {
  margin-bottom: 16px;
}

.register-form .form-group .required-star {
  color: #F44;
  margin-right: 2px;
  font-weight: 700;
}

.register-form .input-wrapper input,
.register-form .input-wrapper select,
.register-form .input-wrapper textarea {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border: 1px solid #D8E1EC;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #101A33;
  background: #FFFFFF;
  transition: all 0.2s ease;
  font-family: 'Inter', sans-serif;
  box-sizing: border-box;
  outline: none;
}

.register-form .input-wrapper textarea {
  resize: none;
  min-height: 60px;
  padding-top: 10px;
  padding-bottom: 10px;
  height: auto;
}

.register-form .input-wrapper select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  padding-right: 36px;
}

.register-form .input-wrapper .select-arrow {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #98A2B3;
  pointer-events: none;
}

.register-form .input-wrapper input:focus,
.register-form .input-wrapper select:focus,
.register-form .input-wrapper textarea:focus {
  outline: none;
  border-color: #067DFB;
  box-shadow: 0 0 0 3px rgba(6, 125, 251, 0.08);
}

.register-form .input-wrapper.error input,
.register-form .input-wrapper.error select,
.register-form .input-wrapper.error textarea {
  border-color: #F44;
  background: #FEF2F2;
}

.register-form .input-wrapper.success input,
.register-form .input-wrapper.success select,
.register-form .input-wrapper.success textarea {
  border-color: #2DD0B1;
}

.register-form .input-wrapper input::placeholder,
.register-form .input-wrapper textarea::placeholder {
  color: #7F8A9B;
  font-weight: 700;
}

.register-form .input-wrapper select option {
  color: #101A33;
}

.textarea-wrapper textarea {
  line-height: 1.5;
}

/* ===== 注册按钮 ===== */
.register-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
}

.register-actions .btn-cancel {
  width: 118px;
  height: 46px;
  background: #EEF3F9;
  color: #30394B;
  border: 1px solid #101A33;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Inter', sans-serif;
  padding: 0;
}

.register-actions .btn-cancel:hover {
  background: #E2E8F0;
}

.register-actions .btn-next {
  width: 118px;
  height: 46px;
  background: linear-gradient(135deg, #067DFB, #2DD4BF);
  color: #FFFFFF;
  border: 1px solid #000000;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Inter', sans-serif;
  padding: 0;
}

.register-actions .btn-next:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(6, 125, 251, 0.25);
}

.register-actions .btn-next:active {
  transform: translateY(0);
}

.register-actions .btn-next:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* ===== 响应式 ===== */
@media (max-width: 1440px) {
  .login-container {
    padding: 0 80px;
    gap: 40px;
  }

  .hero-title {
    font-size: 48px;
  }

  .login-logo-fixed {
    left: 80px;
  }
}

@media (max-width: 1200px) {
  .login-container {
    padding: 0 40px;
    gap: 30px;
  }

  .hero-title {
    font-size: 40px;
  }

  .login-right {
    width: 420px;
  }

  .login-card {
    width: 420px;
  }

  body.register-active .login-right {
    width: 580px;
  }

  body.register-active .login-card {
    width: 580px;
  }

  .login-logo-fixed {
    left: 40px;
  }
}

@media (max-width: 968px) {
  .login-hero {
    display: none;
  }

  .login-container {
    justify-content: center;
    padding: 0 20px;
  }

  .login-right {
    width: 100%;
    max-width: 420px;
  }

  .login-card {
    width: 100%;
  }

  body.register-active .login-right {
    width: 100%;
    max-width: 580px;
  }

  body.register-active .login-card {
    width: 100%;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }

  .register-progress .progress-line {
    display: none;
  }

  .progress-step .step-label {
    font-size: 10px;
  }
}

/* ===== 注册步骤内容切换动画 ===== */
.register-step-content {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.register-step-content.fade-out {
  opacity: 0;
  transform: translateX(-20px);
}

.register-step-content.fade-in {
  opacity: 1;
  transform: translateX(0);
}

/* ===== 已完成步骤样式 ===== */
.progress-step.completed .step-circle {
  background: #11835F;
  color: #FFFFFF;
  border-color: #11835F;
}

.progress-step.completed .step-label {
  color: #11835F;
}

/* ===== 文件上传区域 ===== */
/* 设计稿: 上传区域 860px宽, 虚线边框, 13px文字, 12px提示 */
.file-upload-area {
  border: 1.5px dashed #D8E1EC;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  background: rgba(255, 255, 255, 0.5);
}

.file-upload-area:hover {
  border-color: #067DFB;
  background: rgba(6, 125, 251, 0.04);
}

.file-upload-area.dragover {
  border-color: #067DFB;
  background: rgba(6, 125, 251, 0.08);
}

.file-upload-icon {
  margin-bottom: 12px;
  display: flex;
  justify-content: center;
}

/* 设计稿: fontSize=13, fontWeight=700, color=#303949 */
.file-upload-text {
  font-size: 13px;
  font-weight: 700;
  color: #303949;
  margin-bottom: 6px;
  line-height: 15.73px;
}

/* 设计稿: fontSize=12, fontWeight=700, color=#98A2B3 */
.file-upload-hint {
  font-size: 12px;
  font-weight: 700;
  color: #98A2B3;
  line-height: 14.52px;
}

/* ===== 已上传文件样式 ===== */
.file-uploaded {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: rgba(17, 131, 95, 0.06);
  border: 1px solid rgba(17, 131, 95, 0.2);
  border-radius: 8px;
  transition: all 0.2s ease;
}

.file-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.file-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(17, 131, 95, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.file-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* 设计稿: fileName 13px/700, color=#101A33 */
.file-name {
  font-size: 13px;
  font-weight: 700;
  color: #101A33;
  line-height: 15.73px;
}

/* 设计稿: Uploaded 12px/700, color=#11835F */
.file-status.uploaded {
  font-size: 12px;
  font-weight: 700;
  color: #11835F;
  display: flex;
  align-items: center;
  gap: 4px;
}

.file-remove {
  width: 28px;
  height: 28px;
  border: none;
  background: rgba(152, 146, 166, 0.1);
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.file-remove:hover {
  background: rgba(224, 82, 82, 0.1);
  color: #E05252;
}

/* ===== Review & Submit 确认页面 ===== */
/* 设计稿: 两列布局, 分组标题14px/700, 标签12px/700, 值14px/700 */
.register-review {
  margin-top: 16px;
}

.review-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.review-column {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* 设计稿: section title 14px/700, color=#101A33 */
.review-section-title {
  font-size: 14px;
  font-weight: 700;
  color: #101A33;
  margin-bottom: 12px;
  line-height: 16.94px;
}

.review-item {
  padding: 10px 0;
  border-bottom: 1px solid rgba(216, 225, 236, 0.5);
}

.review-item:last-child {
  border-bottom: none;
}

/* 设计稿: label 12px/700, color=#6A7486 */
.review-label {
  font-size: 12px;
  font-weight: 700;
  color: #6A7486;
  margin-bottom: 4px;
  line-height: 14.52px;
}

/* 设计稿: value 14px/700, color=#101A33 */
.review-value {
  font-size: 14px;
  font-weight: 700;
  color: #101A33;
  line-height: 16.94px;
  word-break: break-all;
}

/* ===== Review上传文件区域 ===== */
.review-files-section {
  margin-bottom: 20px;
}

.review-files {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.review-file-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(17, 131, 95, 0.04);
  border: 1px solid rgba(17, 131, 95, 0.15);
  border-radius: 8px;
}

.review-file-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(17, 131, 95, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.review-file-name {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.review-file-title {
  font-size: 13px;
  font-weight: 700;
  color: #101A33;
  line-height: 15.73px;
}

.review-file-filename {
  font-size: 12px;
  font-weight: 700;
  color: #6A7486;
  line-height: 14.52px;
}

.review-file-status.uploaded {
  font-size: 12px;
  font-weight: 700;
  color: #11835F;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ===== 协议勾选 ===== */
/* 设计稿: 13px/700, color=#6A7486 */
.review-agreement {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(216, 225, 236, 0.5);
}

.review-agreement .remember-me span:not(.checkbox-custom) {
  font-size: 13px;
  font-weight: 700;
  color: #6A7486;
  line-height: 15.73px;
}

/* ===== 注册成功页面 ===== */
/* 设计稿: 居中布局, 图标64px, 标题26px, 描述14px, ID 20px */
.register-success {
  text-align: center;
  padding: 20px 0;
}

.success-icon {
  margin-bottom: 24px;
  display: flex;
  justify-content: center;
}

/* 设计稿: title 26px/700, color=#101A33 */
.success-title {
  font-size: 26px;
  font-weight: 700;
  color: #101A33;
  margin-bottom: 10px;
  line-height: 31.2px;
}

/* 设计稿: desc 14px/700, color=#667085 */
.success-desc {
  font-size: 14px;
  font-weight: 700;
  color: #667085;
  line-height: 1.6;
  max-width: 420px;
  margin: 0 auto 28px auto;
}

/* 设计稿: Application ID */
.success-id {
  margin-bottom: 28px;
  padding: 16px 24px;
  background: rgba(6, 125, 251, 0.06);
  border: 1px solid rgba(6, 125, 251, 0.15);
  border-radius: 10px;
  display: inline-block;
  text-align: left;
}

.success-id-label {
  font-size: 12px;
  font-weight: 700;
  color: #738097;
  margin-bottom: 6px;
  line-height: 14.52px;
}

.success-id-value {
  font-size: 20px;
  font-weight: 700;
  color: #101A33;
  font-family: 'SF Mono', 'Consolas', monospace;
  line-height: 24px;
  letter-spacing: 0.5px;
}

.success-btn {
  width: auto;
  min-width: 145px;
  padding: 0 24px;
  display: inline-block;
}

/* ===== Back按钮在非第一步显示 ===== */
#register-cancel-btn.back-btn {
  content: 'Back';
}

/* ===== 文件上传加载状态 ===== */
.file-uploading {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(6, 125, 251, 0.06);
  border: 1px solid rgba(6, 125, 251, 0.2);
  border-radius: 8px;
  transition: all 0.2s ease;
}

.file-uploading .file-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(6, 125, 251, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.file-uploading .file-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.file-uploading .file-name {
  font-size: 13px;
  font-weight: 700;
  color: #101A33;
  line-height: 15.73px;
}

.file-uploading .upload-progress {
  width: 100%;
  height: 4px;
  background: rgba(6, 125, 251, 0.15);
  border-radius: 999px;
  overflow: hidden;
}

.file-uploading .upload-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #067DFB, #2DD4BF);
  border-radius: 999px;
  animation: uploadProgress 2s ease-in-out infinite;
}

@keyframes uploadProgress {
  0% { width: 0%; }
  50% { width: 70%; }
  100% { width: 100%; }
}

.file-uploading .upload-status {
  font-size: 12px;
  font-weight: 700;
  color: #067DFB;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ===== 注册表单输入框成功状态 ===== */
.register-form .input-wrapper.success {
  border-color: #2DD0B1;
}

.register-form .input-wrapper.success input,
.register-form .input-wrapper.success select,
.register-form .input-wrapper.success textarea {
  border-color: #2DD0B1;
}

.register-form .input-wrapper .input-status {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
}

.register-form .input-wrapper .input-status .check-icon {
  color: #2DD0B1;
  display: flex;
  align-items: center;
}

/* ===== 步骤切换动画增强 ===== */
.register-step-content {
  animation: fadeSlideIn 0.3s ease;
}

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ===== 成功页面图标动画 ===== */
.success-icon svg {
  animation: successPop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes successPop {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  70% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* ===== 协议勾选错误状态 ===== */
.review-agreement.error .remember-me {
  animation: shake 0.4s ease;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}
