html, body { height: 100%; margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif; color: rgba(255,255,255,.85); overflow: hidden; }
.appBackground { position: absolute; inset: 0; width: 100%; height: 100%; background: #0d1d2d; }
#userLayout { position: relative; height: 100%; }
.container { position: relative; z-index: 1; height: 100%; padding: 5% 0 144px; box-sizing: border-box; margin: 0 auto; }
.top { text-align: center; }
.header { height: 44px; line-height: 44px; }
.title { font-size: 40px; letter-spacing: 10px; color: rgba(255,255,255,.85); font-weight: 500; }
.title2 { font-size: 15px; letter-spacing: 3px; color: rgba(255,255,255,.45); margin-top: 6px; }
.header-img { display: none; }
.stage { width: 1100px; max-width: 92vw; margin: 26px auto 0; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.content-left { width: 400px; flex: 0 0 400px; }
@keyframes rota { to { transform: rotate(360deg); } }
.main { width: 368px; flex: 0 0 368px; background: rgba(255,255,255,.97); border-radius: 4px; box-shadow: 0 12px 40px rgba(0,20,60,.28); padding: 24px 32px 32px; box-sizing: border-box; color: #262626; }
.login-tab { text-align: center; font-size: 16px; color: #1890ff; padding-bottom: 12px; border-bottom: 2px solid #1890ff; margin-bottom: 24px; }
.field { position: relative; height: 42px; margin-bottom: 18px; }
.field-icon { position: absolute; left: 12px; top: 12px; width: 18px; height: 18px; display: flex; align-items: center; justify-content: center; }
.field input { width: 100%; height: 42px; box-sizing: border-box; padding: 0 12px 0 38px; border: 1px solid #d9d9d9; border-radius: 2px; outline: none; font-size: 14px; color: #262626; background: #fff; }
.field input:focus { border-color: #40a9ff; box-shadow: 0 0 0 2px rgba(24,144,255,.12); }
.captcha-row { display: flex; gap: 10px; align-items: flex-start; }
.captcha-field { flex: 1; }
.captcha-img { width: 105px; height: 35px; margin-top: 3px; border: 1px solid #d9d9d9; border-radius: 2px; cursor: pointer; background: #f2f5fa; }
.options { display: flex; justify-content: space-between; align-items: center; font-size: 14px; margin: 2px 0 0; color: #595959; }
.auto-login { display: flex; align-items: center; gap: 6px; cursor: pointer; }
.auto-login input { accent-color: #1890ff; width: 14px; height: 14px; }
.link { border: 0; background: none; color: #1890ff; font-size: 14px; cursor: pointer; padding: 0; }
.message { min-height: 20px; margin: 8px 0 0; font-size: 13px; color: #ff4d4f; }
.message.ok { color: #52c41a; }
.submit { width: 100%; height: 42px; border: 0; border-radius: 2px; background: #1890ff; color: #fff; font-size: 16px; letter-spacing: 4px; cursor: pointer; }
.submit:hover { background: #40a9ff; }
.submit:disabled { background: #91d5ff; cursor: not-allowed; }
.footer { position: absolute; bottom: 0; left: 0; width: 100%; padding: 0 16px 24px; box-sizing: border-box; text-align: center; }
.copyright { color: #fff; font-size: 14px; opacity: .8; }
@media (max-width: 900px) {
  .title { font-size: 26px; letter-spacing: 5px; }
  .title2 { font-size: 12px; }
  .header-img { height: 54px; width: 80%; }
  .stage { justify-content: center; margin-top: 30px; }
  .content-left { display: none; }
  .main { width: 340px; flex-basis: 340px; padding: 20px 22px 26px; }
  .footer { position: static; margin-top: 40px; }
}

/* 研衡主题：藏青渐变背景，左侧品牌区，右侧登录卡片 */
body { background: #0d1d2d; }
.appBackground { background: linear-gradient(150deg, #0d1d2d 0%, #16324f 52%, #1b3a5e 100%); }
.appBackground::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 78% 22%, rgba(184,147,90,.16), transparent 55%), radial-gradient(ellipse at 12% 88%, rgba(184,147,90,.07), transparent 50%); }
.container { padding-top: 0; display: flex; align-items: center; justify-content: center; }
.top { display: none; }
.stage { margin-top: 0; gap: 72px; }
.content-left { width: 420px; height: auto; flex: 0 0 420px; background: none; animation: none; }
.brand-cn { font-size: 64px; letter-spacing: 14px; color: #f2dfb9; font-weight: 500; }
.brand-en { font-size: 15px; letter-spacing: 8px; color: rgba(242,223,185,.55); margin-top: 8px; }
.brand-desc { font-size: 21px; letter-spacing: 4px; color: rgba(255,255,255,.88); margin-top: 22px; }
.brand-line { width: 46px; height: 2px; background: #b8935a; margin: 26px 0; }
.brand-points { list-style: none; padding: 0; margin: 0; }
.brand-points li { font-size: 14px; color: rgba(255,255,255,.62); line-height: 2.2; letter-spacing: 1px; padding-left: 18px; position: relative; }
.brand-points li::before { content: ""; position: absolute; left: 0; top: 15px; width: 6px; height: 6px; border: 1px solid #b8935a; transform: rotate(45deg); }
.main { width: 380px; flex: 0 0 380px; border-radius: 12px; box-shadow: 0 18px 60px rgba(0,10,25,.4); padding: 30px 34px 34px; }
.login-tab { color: #1b3a5e; border-bottom-color: #b8935a; font-weight: 500; letter-spacing: 2px; }
.field input { border-radius: 6px; }
.field input:focus { border-color: #b8935a; box-shadow: 0 0 0 3px rgba(184,147,90,.12); }
.auto-login input { accent-color: #1b3a5e; }
.link { color: #1b3a5e; }
.submit { background: #1b3a5e; border-radius: 6px; letter-spacing: 6px; }
.submit:hover { background: #24486f; }
.submit:disabled { background: #9db2c6; }
.copyright { color: rgba(255,255,255,.5); font-size: 13px; letter-spacing: 1px; }
@media (max-width: 900px) {
  .brand-cn { font-size: 44px; }
  .container { padding-top: 40px; }
  .stage { margin-top: 0; }
  .main { width: 340px; flex-basis: 340px; }
}

/* 研衡品牌视觉：藏青底 + 金铜强调，替换早期素材图 */
.appBackground {
  background:
    radial-gradient(ellipse at 18% 10%, #24486f 0%, rgba(18,38,57,0) 55%),
    radial-gradient(ellipse at 84% 90%, #1b3a5e 0%, rgba(13,29,45,0) 62%),
    linear-gradient(160deg, #122639 0%, #0d1d2d 100%);
}
.header-img { display: none; }
.content-left { background: none; animation: none; position: relative; padding-left: 22px; box-sizing: border-box; }
.content-left::before {
  content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 2px;
  background: linear-gradient(180deg, #b8935a 0%, rgba(184,147,90,0) 100%);
}
.login-tab { color: #1b3a5e; border-bottom-color: #b8935a; }
.field input:focus { border-color: #1b3a5e; box-shadow: 0 0 0 2px rgba(27,58,94,.12); }
.submit { background: #1b3a5e; }
.submit:hover { background: #24486f; }
.link { color: #1b3a5e; }
.auto-login input { accent-color: #1b3a5e; }
