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

 body {
   font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
   background: url('/img/login-img/bg.png') no-repeat center center;
   background-size: cover;
   min-height: 100vh;
   display: flex;
   flex-direction: column;
 }

 /* ==================== 登录页面样式 ==================== */

 .login-main {
   flex: 1;
   display: flex;
   align-items: center;
   justify-content: center;
   padding: 20px;
 }

 .login-main .container-fluid {
   max-width: 1150px;
   width: 100%;
   padding: 0;
 }

 .login-main .row {
   margin: 0;
   justify-content: center;
 }

 /* 左侧表单区域 */
 .login-form-section {
   display: flex;
   align-items: center;
   justify-content: flex-end;
   padding: 20px;
 }

 .login-form-wrapper {
   width: 400px;
 }

 .login-card {
   background: #fff;
   border-radius: 12px;
   padding: 36px 32px;
   box-shadow: 0 8px 10px -6px rgba(0, 0, 0, 0.1),
     0 20px 25px -5px rgba(0, 0, 0, 0.1);
 }

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

 .login-title {
   font-size: 24px;
   font-weight: 600;
   color: #101929;
   margin-bottom: 6px;
   text-align: center;
 }

 .login-subtitle {
   text-align: center;
   font-size: 14px;
   color: #6A7280;
   margin: 0;
 }

 .login-form .form-group {
   margin-bottom: 16px;
   position: relative;

   /* 为绝对定位的错误提示预留空间 */
   /* padding-bottom: 18px; */
 }

 .login-form .form-label {
   font-size: 13px;
   font-weight: 500;
   color: #374151;
   margin-bottom: 6px;
   display: block;
 }

 .login-input {
   width: 100%;
   height: 40px;
   padding: 10px 14px;
   font-size: 14px;
   color: #0A0A0A;
   background: #fff;
   border: 1px solid #D1D5DB;
   border-radius: 8px;
   transition: border-color 0.2s, box-shadow 0.2s;
 }

 .login-input::placeholder {
   color: rgba(10, 10, 10, 0.5);
 }

 .login-input:focus {
   border-color: #153CFC;
   box-shadow: 0 0 0 3px rgba(21, 60, 252, 0.1);
   outline: none;
 }

 /* 输入框错误状态 */
 .login-input.input-error {
   border-color: #EF4444;
   background: #FEF2F2;
 }

 .login-input.input-error:focus {
   border-color: #EF4444;
   box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
 }

 /* ==================== 字段级错误提示样式 ==================== */
 /* 
  * 每个表单字段下方的错误提示
  * 使用绝对定位，不占用布局空间
  * 默认隐藏，验证失败时显示
  */
 .field-error {
   position: absolute;
   right: 0px;
   bottom: 47px;
   font-size: 12px;
   color: #EF4444;
   line-height: 1.4;
   transition: opacity 0.15s ease;
 }


 /* 输入框错误状态时的 wrapper */
 .form-group.has-error .login-input,
 .input-wrapper.has-error .input-field {
   border-color: #EF4444;
   background: #FEF2F2;
 }

 .form-group.has-error .login-input:focus,
 .input-wrapper.has-error .input-field:focus {
   border-color: #EF4444;
   box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
 }

 /* ==================== 按钮 Loading 状态 ==================== */
 /* 
  * 三个表单提交按钮的 loading 状态
  * 添加 .loading 类触发
  */
 .login-btn.loading,
 .submit-btn.loading,
 .sms-code-btn.loading {
   position: relative;
   color: transparent !important;
   pointer-events: none;
   opacity: 0.8;
 }

 .login-btn.loading::after,
 .submit-btn.loading::after {
   content: '';
   position: absolute;
   width: 18px;
   height: 18px;
   top: 50%;
   left: 50%;
   margin-left: -9px;
   margin-top: -9px;
   border: 2px solid rgba(255, 255, 255, 0.3);
   border-top-color: #fff;
   border-radius: 50%;
   animation: btn-loading-spin 0.8s linear infinite;
 }

 .sms-code-btn.loading::after {
   content: '';
   position: absolute;
   width: 14px;
   height: 14px;
   top: 50%;
   left: 50%;
   margin-left: -7px;
   margin-top: -7px;
   border: 2px solid rgba(21, 60, 252, 0.3);
   border-top-color: #153CFC;
   border-radius: 50%;
   animation: btn-loading-spin 0.8s linear infinite;
 }

 @keyframes btn-loading-spin {
   0% {
     transform: rotate(0deg);
   }

   100% {
     transform: rotate(360deg);
   }
 }

 /* 旧的顶部错误提示区域 - 保留但不再使用 */
 .login-error-message {
   background: #FEF2F2;
   border: 1px solid #FCA5A5;
   border-radius: 8px;
   padding: 10px 14px;
   margin-bottom: 16px;
   display: none;
 }

 .login-error-message.show {
   display: block;
 }

 .login-error-text {
   font-size: 13px;
   color: #E70B11;
   margin: 0;
 }

 /* 验证码区域 */
 .captcha-group {
   position: relative;
 }

 .captcha-wrapper {
   display: flex;
   align-items: center;
   gap: 10px;
 }

 .captcha-input {
   flex: 1;
 }

 .captcha-wrapper img {
   height: 40px;
   width: 100px;
   border-radius: 8px;
   cursor: pointer;
   border: 1px solid #D1D5DB;
   object-fit: cover;
   transition: transform 0.3s, opacity 0.3s;
 }

 .captcha-wrapper img:hover {
   opacity: 0.8;
 }

 .captcha-wrapper img.captcha-refreshing {
   transform: rotateY(180deg);
   opacity: 0.5;
 }

 .captcha-error {
   font-size: 12px;
   color: #EF4444;
   margin: 6px 0 0 0;
   display: none;
 }

 .captcha-error.show {
   display: block;
 }

 /* 密码输入框 */
 .password-wrapper {
   position: relative;
 }

 .password-wrapper .login-input {
   padding-right: 48px;
 }

 .password-toggle {
   position: absolute;
   right: 12px;
   top: 50%;
   transform: translateY(-50%);
   background: none;
   border: none;
   padding: 4px;
   cursor: pointer;
   color: #9CA3AF;
   transition: color 0.2s;
   outline: none;
   display: flex;
   align-items: center;
 }

 .password-toggle:hover {
   color: #6B7280;
 }

 .password-toggle:focus {
   outline: none;
   box-shadow: none;
 }

 .eye-icon {
   width: 20px;
   height: 20px;
 }

 /* 记住账号和忘记密码 */
 .form-options {
   display: flex;
   justify-content: space-between;
   align-items: center;
   margin-bottom: 20px;
 }

 .custom-control-label {
   font-size: 13px;
   color: #4A5568;
   cursor: pointer;
 }

 .custom-control-input:checked~.custom-control-label::before {
   background-color: #153CFC;
   border-color: #153CFC;
 }

 .forgot-password {
   font-size: 13px;
   color: #153CFC;
   text-decoration: none;
   font-weight: 500;
 }

 .forgot-password:hover {
   color: #1134D4;
   text-decoration: underline;
 }

 /* 登录按钮 */
 .login-btn {
   width: 100%;
   height: 40px;
   font-size: 14px;
   font-weight: 500;
   background: #153CFC;
   border: none;
   border-radius: 8px;
   transition: background 0.2s;
 }

 .login-btn:hover {
   background: #1134D4;
 }

 .login-btn:active {
   background: #0E2AA8;
 }

 /* 注册链接 */
 .register-link {
   text-align: center;
   margin-top: 20px;
   font-size: 13px;
   color: #4A5568;
 }

 .register-link a {
   color: #153CFC;
   font-weight: 500;
   text-decoration: none;
   margin-left: 4px;
 }

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

 /* ==================== 申请账号页面样式 ==================== */
 .register-main {
   flex: 1;
   display: flex;
   align-items: center;
   justify-content: center;
   padding: 20px;
 }

 .register-main .container-fluid {
   max-width: 1150px;
   width: 100%;
   padding: 0;
 }

 .register-main .row {
   margin: 0;
   justify-content: center;
 }

 /* ==================== 重置密码页面样式 ==================== */
 .reset-main {
   flex: 1;
   display: flex;
   align-items: center;
   justify-content: center;
   padding: 20px;
 }

 .reset-main .container-fluid {
   max-width: 1150px;
   width: 100%;
   padding: 0;
 }

 .reset-main .row {
   margin: 0;
   justify-content: center;
 }

 /* 短信验证码输入框 */
 .sms-code-wrapper {
   display: flex;
   align-items: center;
   gap: 10px;
 }

 .sms-code-wrapper .login-input {
   flex: 1;
 }

 .sms-code-btn {
   flex-shrink: 0;
   height: 40px;
   padding: 0 16px;
   background: transparent;
   border: 1px solid #153CFC;
   border-radius: 8px;
   font-size: 13px;
   color: #153CFC;
   cursor: pointer;
   transition: all 0.2s;
   white-space: nowrap;
 }

 .field-error-reset {
   right: 0px;
   bottom: auto;
   top: 3px;
 }

 .sms-code-btn:hover {
   background: rgba(21, 60, 252, 0.05);
 }

 .sms-code-btn:disabled {
   border-color: #D1D5DB;
   color: #9CA3AF;
   cursor: not-allowed;
   background: transparent;
 }

 /* 协议勾选 */
 .agreement-check {
   display: flex;
   align-items: flex-start;
   gap: 8px;
   margin-bottom: 20px;
   position: relative;
   /* padding-bottom: 18px; */
   /* 为绝对定位的错误提示预留空间 */
   flex-wrap: wrap;
   /* 允许错误提示换行 */
 }

 /* 协议勾选框的错误提示特殊处理 */
 .agreement-check .field-error {
   width: 100%;
   position: absolute;
   right: auto;
   left: 24px;
   bottom: -9px;
 }

 .agreement-checkbox {
   width: 16px;
   height: 16px;
   margin-top: 2px;
   cursor: pointer;
   accent-color: #153CFC;
 }

 .agreement-label {
   font-size: 13px;
   color: #4A5568;
   line-height: 1.5;
   cursor: pointer;
 }

 .agreement-link {
   color: #153CFC;
   text-decoration: none;
 }

 .agreement-link:hover {
   text-decoration: underline;
 }

 /* 右侧宣传区域 */
 .login-promo-section {
   display: flex;
   align-items: center;
   justify-content: flex-start;
   padding: 20px 20px 20px 50px;
 }

 .promo-content {
   /* width: 650px; */
 }

 /* 标签 */
 .promo-tag {
   display: inline-flex;
   align-items: center;
   gap: 8px;
   background: linear-gradient(90deg, #153CFC 0%, #4F6AFF 100%);
   border: none;
   border-radius: 50px;
   padding: 10px 20px;
   margin-bottom: 24px;
   font-size: 14px;
   font-weight: 500;
   border-radius: 16777200px;
   border: 1px solid rgba(21, 93, 252, 0.20);
   background: rgba(21, 93, 252, 0.10);


   color: #155DFC;
   font-family: Inter;
   font-size: 14px;
   font-style: normal;
   font-weight: 400;
   line-height: 20px;
   /* 142.857% */
   letter-spacing: -0.15px;
 }

 .tag-dot {
   width: 8px;
   height: 8px;
   background: #155DFC;
   border-radius: 50%;
 }

 /* 主标题 */
 .promo-title {
   font-size: 42px;
   font-weight: 700;
   color: #153CFC;
   margin-bottom: 18px;
   letter-spacing: 1px;
   font-family: Inter;
 }

 /* 副标题 */
 .promo-slogan {
   margin-bottom: 16px;
 }

 .promo-slogan p {
   font-size: 22px;
   font-weight: 500;
   color: #4A5565;
   line-height: 1.5;
   margin: 0;
 }

 .promo-slogan p:last-child {
   color: #6A7282;
 }

 /* 描述 */
 .promo-desc {
   font-size: 14px;
   color: #6B7280;
   line-height: 1.6;
   margin-bottom: 28px;
 }

 /* 下载按钮 */
 .download-buttons {
   display: flex;
   gap: 50px;
 }

 .download-btn-wrapper {
   position: relative;
 }

 .download-btn {
   display: inline-flex;
   align-items: center;
   gap: 8px;
   /* background: rgba(255, 255, 255, 0.9); */
   text-decoration: none;
   transition: all 0.2s;
   color: rgba(10, 10, 10, 0.50);
   font-family: Inter;
   font-size: 14px;
   font-style: normal;
   font-weight: 400;
   line-height: normal;
   letter-spacing: -0.312px;
 }

 .download-btn:hover {
   /* background: #fff; */
   border-color: #153CFC;
   color: #153CFC;
   text-decoration: none;
 }

 .download-icon {
   width: 14px;
   height: 14px;
 }

 /* 二维码弹出层 */
 .qr-popup {
   position: absolute;
   bottom: calc(100% + 12px);
   left: 50%;
   transform: translateX(-50%);
   background: #fff;
   border-radius: 12px;
   padding: 16px;
   box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
   opacity: 0;
   visibility: hidden;
   transition: all 0.3s ease;
   z-index: 100;
   text-align: center;
 }

 .qr-popup::after {
   content: '';
   position: absolute;
   top: 100%;
   left: 50%;
   transform: translateX(-50%);
   border: 8px solid transparent;
   border-top-color: #fff;
 }

 .download-btn-wrapper:hover .qr-popup {
   opacity: 1;
   visibility: visible;
 }

 .qr-img-box {
   width: 120px;
   height: 120px;
 }

 .qr-img {
   width: 100%;
   height: 100;
   margin-bottom: 10px;
   border-radius: 8px;
 }

 .qr-text {
   font-size: 12px;
   color: #6B7280;
   line-height: 1.5;
   display: block;
 }

 /* 底部服务条款 */
 .login-footer {
   text-align: center;
   padding: 16px;
   background: transparent;
 }

 .login-footer p {
   font-size: 13px;
   color: #6B7280;
   margin: 0;
 }

 .login-footer a {
   color: #153CFC;
   text-decoration: none;
 }

 .login-footer a:hover {
   text-decoration: underline;
 }

 /* ==================== 重置密码页面样式（保留原有样式） ==================== */

 /* 顶部导航栏 */
 .header {
   background: rgba(255, 255, 255, 0);
   border-bottom: 1px solid #E5E7EB;
   padding: 16px 242px 1px;
   display: flex;
   justify-content: space-between;
   align-items: center;
   height: 65px;
 }

 .logo-section {
   display: flex;
   align-items: center;
   gap: 8px;
 }

 .logo-icon {
   width: 26px;
   height: 26px;
   /* background: linear-gradient(135deg, #153CFC 0%, #2563EB 100%); */
   /* border-radius: 50%; */
   display: flex;
   align-items: center;
   justify-content: center;
   position: relative;
 }

 .logo-img {
   width: 100%;
   height: 100%;
 }

 .logo-icon::before {
   content: '';
   width: 14px;
   height: 14px;
   background: rgba(255, 255, 255, 0.2);
   border-radius: 50%;
   position: absolute;
 }

 .logo-text {
   font-size: 24px;
   font-weight: 500;
   color: #153CFC;
   letter-spacing: 0.07px;
 }

 .nav-links {
   display: flex;
   align-items: center;
   gap: 16px;
 }

 .nav-btn {
   padding: 8px 0;
   font-size: 16px;
   color: #000;
   text-decoration: none;
   letter-spacing: -0.31px;
   background: none;
   border: none;
   cursor: pointer;
   transition: opacity 0.2s;
 }

 .nav-btn:hover {
   opacity: 0.7;
   color: #153CFC;
 }

 .nav-btn.login {
   padding: 8px 16px;
 }

 /* 导航栏客户端下载弹出层 */
 .nav-download-wrapper {
   position: relative;
 }

 .nav-qr-popup {
   position: absolute;
   top: 100%;
   right: 0;
   margin-top: 8px;
   background: #fff;
   border-radius: 12px;
   padding: 16px;
   box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
   opacity: 0;
   visibility: hidden;
   transition: all 0.2s ease;
   z-index: 100;
 }

 .nav-download-wrapper:hover .nav-qr-popup {
   opacity: 1;
   visibility: visible;
 }

 .nav-qr-content {
   display: flex;
   gap: 16px;
 }

 .nav-qr-item {
   text-align: center;
 }

 .nav-qr-img-box {
   width: 120px;
   height: 120px;
 }

 .nav-qr-img {
   width: 100%;
   height: 100%;
   margin-bottom: 8px;
   border-radius: 8px;
 }

 .nav-qr-text {
   font-size: 12px;
   color: #6B7280;
   line-height: 1.4;
   display: block;
 }

 /* 主内容区域 */
 .main-content {
   flex: 1;
   display: flex;
   justify-content: center;
   align-items: center;
   padding: 20px;
 }

 .card-container {
   width: 400px;
   display: flex;
   flex-direction: column;
   gap: 24px;
 }

 .form-card {
   background: #fff;
   border-radius: 16px;
   padding: 40px;
   box-shadow:
     0 8px 10px -6px rgba(0, 0, 0, 0.1),
     0 20px 25px -5px rgba(0, 0, 0, 0.1);
 }

 .back-button {
   display: flex;
   align-items: center;
   gap: 8px;
   font-size: 14px;
   color: #4A5568;
   text-decoration: none;
   margin-bottom: 24px;
   cursor: pointer;
   background: none;
   border: none;
   padding: 0;
   letter-spacing: -0.15px;
 }

 .back-button:hover {
   color: #2D3748;
 }

 .back-icon {
   width: 20px;
   height: 20px;
   display: flex;
   align-items: center;
   justify-content: center;
 }

 .back-icon svg {
   width: 20px;
   height: 20px;
   stroke: #4A5568;
   stroke-width: 1.67;
 }

 .form-content {
   display: flex;
   flex-direction: column;
   gap: 32px;
 }

 .form-header {
   text-align: center;
 }

 .form-title {
   font-size: 30px;
   font-weight: 400;
   color: #101929;
   line-height: 36px;
   letter-spacing: 0.4px;
   margin-bottom: 8px;
 }

 .form-description {
   font-size: 16px;
   color: #6A7280;
   line-height: 24px;
   letter-spacing: -0.31px;
 }

 .error-message {
   background: #FEF2F2;
   border: 1px solid #FCA5A5;
   border-radius: 10px;
   padding: 13px 16px;
   display: none;
 }

 .error-message.show {
   display: block;
 }

 .error-text {
   font-size: 14px;
   color: #E70B11;
   letter-spacing: -0.15px;
 }

 .input-wrapper {
   display: flex;
   flex-direction: column;
   gap: 8px;
   position: relative;
   padding-bottom: 18px;
   /* 为绝对定位的错误提示预留空间 */
 }

 .input-label {
   font-size: 14px;
   color: #374151;
   letter-spacing: -0.15px;
 }

 .input-field {
   width: 100%;
   padding: 12px 16px;
   font-size: 16px;
   color: #0A0A0A;
   background: transparent;
   border: 1px solid #D1D5DB;
   border-radius: 10px;
   outline: none;
   transition: border-color 0.2s;
   letter-spacing: -0.31px;
 }

 .input-field::placeholder {
   color: rgba(10, 10, 10, 0.5);
 }

 .input-field:focus {
   border-color: #153CFC;
 }

 .input-field.error {
   border-color: #FCA5A5;
 }

 /* 重置密码页面短信验证码输入框适配 */
 .sms-code-wrapper .input-field {
   flex: 1;
   width: auto;
 }

 .submit-btn {
   width: 100%;
   padding: 12px;
   font-size: 16px;
   font-weight: 400;
   color: #fff;
   background: #153CFC;
   border: none;
   border-radius: 10px;
   cursor: pointer;
   transition: background 0.2s;
   letter-spacing: -0.31px;
 }

 .submit-btn:hover {
   background: #1134D4;
 }

 .submit-btn:active {
   background: #0E2AA8;
 }

 .help-section {
   text-align: center;
   height: 52px;
   display: flex;
   align-items: center;
   justify-content: center;
 }

 .help-text {
   font-size: 14px;
   color: #4A5568;
   letter-spacing: -0.15px;
 }

 /* 底部页脚 */
 .footer {
   background: rgba(255, 255, 255, 0);
   border-top: 1px solid #E5E7EB;
   padding: 25px 210px 24px;
   margin-top: auto;
 }

 .footer-content {
   padding: 0 24px;
   display: flex;
   flex-direction: column;
   gap: 12px;
 }

 .footer-links {
   display: flex;
   justify-content: center;
   gap: 24px;
   flex-wrap: wrap;
 }

 .footer-link {
   font-size: 14px;
   color: #4A5568;
   text-decoration: none;
   letter-spacing: -0.15px;
 }

 .footer-link:hover {
   color: #2D3748;
 }

 .footer-copyright {
   text-align: center;
   font-size: 14px;
   color: #6A7280;
   letter-spacing: -0.15px;
 }

 /* 响应式设计 */
 @media (max-width: 992px) {
   .login-promo-section {
     padding: 40px;
   }

   .promo-title {
     font-size: 42px;
   }

   .promo-slogan p {
     font-size: 22px;
   }
 }

 /* ==================== 中等屏幕响应式（768-1073px）==================== */
 /* 
  * 修复导航栏在中等屏幕宽度下的换行问题
  * 主要调整 header padding 和导航链接间距
  */
 @media (min-width: 769px) and (max-width: 1073px) {
   .header {
     padding: 16px 40px 1px;
   }

   .nav-links {
     gap: 16px;
   }

   .nav-link {
     font-size: 13px;
     padding: 6px 10px;
   }

   .nav-contact {
     font-size: 13px;
   }

   .logo-text {
     font-size: 16px;
   }
 }

 @media (max-width: 768px) {
   .header {
     padding: 16px 20px;
     flex-direction: column;
     height: auto;
     gap: 12px;
   }

   .nav-links {
     flex-wrap: wrap;
     justify-content: center;
   }

   .card-container {
     width: 100%;
     max-width: 448px;
   }

   .footer {
     padding: 25px 20px;
   }

   .footer-links {
     gap: 12px;
   }

   .login-form-section {
     padding: 20px;
   }

   .login-card {
     padding: 32px 24px;
   }

   .download-buttons {
     flex-direction: column;
   }
 }

 .success-box {
     display: flex;
     flex-direction: column;
     align-items: center;
     margin-bottom: 30px;
 }

 .success-box img {
     width: 50px;
     height: 50px;
 }

 .success-box .span-text {
     font-size: 14px;
 }

 .succ-a {
     width: 100%;
     height: 40px;
     font-size: 14px;
     font-weight: 500;
     background: #153CFC;
     border: none;
     border-radius: 8px;
     transition: background 0.2s;
     color: #ffffff !important;
     display: flex;
     align-items: center;
     justify-content: center;
     cursor: pointer;
 }

 .succ-a:hover {
     background: #1134D4;
 }


 .logo-box {
     width: 100%;
     max-height: 120px;
     display: flex;
     align-items: center;
     justify-content: center;
     border-radius: 8px;
     margin-bottom: 10px;
     padding: 1px 0px;
     box-sizing: content-box;
 }

 .logo-box img {
     max-width: 100%;
     max-height: 100%;
 }