* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', 'Source Han Sans SC', sans-serif; background: #f0f2f5; min-height: 100vh; display: flex; align-items: center; justify-content: center; -webkit-font-smoothing: antialiased; }
.login-page { width: 100%; padding: 20px; }
.login-card { display: flex; max-width: 960px; margin: 0 auto; background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 8px 40px rgba(0,0,0,.08); min-height: 520px; }
.login-left { flex: 1; padding: 48px 40px; background: linear-gradient(160deg, #f8faff 0%, #eef3ff 100%); display: flex; flex-direction: column; }
.brand-title { font-size: 32px; font-weight: 700; color: #2563eb; margin-bottom: 12px; }
.brand-desc { font-size: 14px; color: #64748b; line-height: 1.6; margin-bottom: 40px; }
.brand-illustration { flex: 1; position: relative; display: flex; align-items: flex-end; justify-content: center; }
.illus-window { width: 280px; height: 180px; background: #fff; border-radius: 12px; box-shadow: 0 4px 20px rgba(37,99,235,.1); padding: 12px; position: relative; }
.illus-bar { display: flex; gap: 6px; margin-bottom: 12px; }
.illus-bar span { width: 10px; height: 10px; border-radius: 50%; background: #e2e8f0; }
.illus-bar span:first-child { background: #ef4444; }
.illus-bar span:nth-child(2) { background: #f59e0b; }
.illus-bar span:nth-child(3) { background: #22c55e; }
.illus-chart { height: 100px; background: linear-gradient(180deg, #dbeafe 0%, #eff6ff 100%); border-radius: 8px; position: relative; }
.illus-chart::after { content: ''; position: absolute; bottom: 20px; left: 20px; right: 20px; height: 40px; background: linear-gradient(90deg, #3b82f6, #60a5fa, #93c5fd); border-radius: 4px; opacity: .6; }
.illus-duck { position: absolute; bottom: 20px; right: 60px; font-size: 48px; filter: drop-shadow(0 4px 8px rgba(0,0,0,.1)); }
.login-right { flex: 1; padding: 48px 40px; display: flex; flex-direction: column; justify-content: center; }
.login-right h2 { font-size: 28px; font-weight: 700; color: #1e293b; margin-bottom: 4px; }
.welcome { font-size: 14px; color: #64748b; margin-bottom: 28px; }
.login-tabs { display: flex; background: #f1f5f9; border-radius: 10px; padding: 4px; margin-bottom: 24px; }
.login-tabs .tab { flex: 1; padding: 10px; border: none; background: transparent; font-size: 13px; color: #64748b; cursor: pointer; border-radius: 8px; transition: all .2s; }
.login-tabs .tab.active { background: #fff; color: #2563eb; font-weight: 600; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.input-group { display: flex; align-items: center; border: 1px solid #e2e8f0; border-radius: 10px; padding: 0 14px; margin-bottom: 16px; transition: border .2s; }
.input-group:focus-within { border-color: #3b82f6; }
.input-icon { font-size: 16px; margin-right: 10px; opacity: .5; }
.input-group input { flex: 1; min-width: 0; border: none; padding: 14px 0; font-size: 14px; outline: none; background: transparent; }
.btn-code { border: 1px solid #3b82f6; background: transparent; color: #3b82f6; padding: 6px 10px; border-radius: 6px; font-size: 12px; cursor: pointer; white-space: nowrap; flex-shrink: 0; transition: all .2s; margin-left: 6px; }
.btn-code:hover { background: #eff6ff; }
.btn-code:disabled { opacity: .5; cursor: not-allowed; }
.btn-login { width: 100%; padding: 14px; background: #2563eb; color: #fff; border: none; border-radius: 10px; font-size: 16px; font-weight: 600; cursor: pointer; margin-top: 8px; transition: background .2s; }
.btn-login:hover { background: #1d4ed8; }
.login-error { background: #fef2f2; color: #dc2626; padding: 10px 14px; border-radius: 8px; font-size: 13px; margin-bottom: 16px; }
.login-success { background: #ecfdf5; color: #059669; padding: 10px 14px; border-radius: 8px; font-size: 13px; margin-bottom: 16px; }
.login-extra { display: flex; justify-content: space-between; margin: -8px 0 12px; font-size: 13px; }
.login-extra a { color: #2563eb; text-decoration: none; }
.login-extra a:hover { text-decoration: underline; }
/* 弹出式验证码挂载点，不占登录表单布局 */
.sgz-captcha-host { position: fixed; width: 0; height: 0; overflow: hidden; opacity: 0; pointer-events: none; }
@media (max-width: 768px) {
    .login-card { flex-direction: column; }
    .login-left { display: none; }
    .login-right { padding: 32px 20px; }
    .input-group { padding: 0 10px; }
    .btn-code { padding: 6px 8px; font-size: 11px; }
}
