/* 登录页 - 参考设计 */
.login-page { margin: 0; min-height: 100vh; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
.login-wrap { display: flex; min-height: 100vh; }
.login-left { flex: 1; min-width: 0; background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 50%, #90caf9 100%); position: relative; overflow: hidden; }
.login-right { width: 480px; flex-shrink: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px; background: #f8fafc; position: relative; }
.login-lang { position: absolute; top: 24px; right: 24px; font-size: 14px; color: #64748b; }
.login-lang a { color: inherit; text-decoration: none; }
.login-lang a:hover, .login-lang a.active { color: #409eff; font-weight: 500; }
.login-lang .sep { margin: 0 6px; color: #cbd5e1; }

.login-bg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.login-cube { width: 120px; height: 120px; background: rgba(255,255,255,0.9); border-radius: 24px; box-shadow: 0 20px 60px rgba(33,150,243,0.25); transform: rotate(-15deg); }
.login-shapes { position: absolute; inset: 0; }
.login-shapes .shape { position: absolute; border-radius: 50%; background: rgba(255,255,255,0.5); }
.login-shapes .s1 { width: 80px; height: 80px; top: 15%; left: 20%; }
.login-shapes .s2 { width: 50px; height: 50px; top: 25%; right: 25%; }
.login-shapes .s3 { width: 60px; height: 60px; bottom: 30%; left: 15%; }
.login-shapes .s4 { width: 40px; height: 40px; bottom: 20%; right: 20%; }

.login-card { width: 100%; max-width: 380px; background: #fff; border-radius: 12px; padding: 40px; box-shadow: 0 4px 24px rgba(0,0,0,0.06); }
.login-header { display: flex; align-items: center; gap: 16px; margin-bottom: 32px; }
.login-logo { width: 48px; height: 48px; object-fit: contain; flex-shrink: 0; }
.login-title-wrap { }
.login-title { font-size: 20px; font-weight: 600; color: #1a1a2e; margin: 0 0 4px 0; }
.login-subtitle { font-size: 14px; font-weight: 500; color: #64748b; margin: 0; }

.login-form { }
.login-field { position: relative; margin-bottom: 20px; }
.login-field-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-size: 18px; color: #94a3b8; pointer-events: none; }
.login-input { height: 48px; padding-left: 44px; padding-right: 44px; border: 1px solid #e2e8f0; border-radius: 8px; font-size: 15px; }
.login-input:focus { border-color: #409eff; box-shadow: 0 0 0 3px rgba(64,158,255,0.15); }
.login-field .login-pwd-toggle { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 18px; color: #94a3b8; cursor: pointer; }
.login-field .login-pwd-toggle:hover { color: #64748b; }

.login-remember { margin-bottom: 24px; }
.login-remember .form-check-input { margin-top: 0.2em; }
.login-remember .form-check-label { margin-left: 8px; font-size: 14px; color: #64748b; cursor: pointer; }

.btn-login { width: 100%; height: 48px; font-size: 16px; font-weight: 500; border-radius: 8px; background: #409eff; border: none; }
.btn-login:hover { background: #66b1ff; }
.btn-login:disabled { opacity: 0.7; cursor: not-allowed; }

@media (max-width: 992px) {
    .login-wrap { flex-direction: column; }
    .login-left { min-height: 200px; }
    .login-right { width: 100%; }
}
html[lang="ja"] .login-title,
html[lang="ja"] .login-subtitle,
html[lang="ja"] .login-input,
html[lang="ja"] .login-remember .form-check-label,
html[lang="ja"] .btn-login { font-weight: 500; }
