        body, html {
            margin: 0; padding: 0; height: 100%;
            font-family: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, 'Noto Sans', 'PingFang SC', 'Microsoft YaHei', sans-serif;
            background: radial-gradient(900px 520px at 20% 10%, rgba(37, 99, 235, 0.18), rgba(37, 99, 235, 0) 55%),
                radial-gradient(760px 520px at 85% 20%, rgba(148, 163, 184, 0.20), rgba(148, 163, 184, 0) 60%),
                linear-gradient(180deg, #f6f7f9 0%, #e9edf2 100%);
            display: flex; align-items: center; justify-content: center;
        }
        .login-overlay {
            position: absolute; top: 0; left: 0; right: 0; bottom: 0;
            background: linear-gradient(180deg, rgba(15, 23, 42, 0.06) 0%, rgba(15, 23, 42, 0.12) 100%);
            backdrop-filter: blur(10px);
            z-index: 1;
        }
        .login-box {
            position: relative; z-index: 2;
            background: rgba(255, 255, 255, 0.92);
            backdrop-filter: blur(18px);
            padding: 38px; border-radius: 18px;
            box-shadow: 0 28px 80px rgba(15, 23, 42, 0.16);
            width: 100%; max-width: 420px; text-align: left;
            border: 1px solid rgba(15, 23, 42, 0.10);
        }
        .login-box h1 { margin: 0 0 6px; color: #0f172a; font-size: 30px; font-weight: 800; letter-spacing: 0.2px; }
        .login-box p { color: rgba(15, 23, 42, 0.70); margin: 0 0 14px; font-size: 14px; line-height: 1.6; }
        .trust-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
        .trust-pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; background: rgba(15, 23, 42, 0.04); border: 1px solid rgba(15, 23, 42, 0.08); color: rgba(15, 23, 42, 0.78); font-size: 12px; font-weight: 700; }
        .brand-note { margin-top: 14px; color: rgba(15, 23, 42, 0.55); font-size: 12px; line-height: 1.6; }
        .form-group { text-align: left; margin-bottom: 20px; }
        .form-group label { display: block; margin-bottom: 8px; color: #34495e; font-size: 14px; font-weight: 600; }
        .form-control {
            width: 100%; padding: 12px 14px; border: 1px solid rgba(15, 23, 42, 0.14); border-radius: 12px;
            font-size: 14px; box-sizing: border-box; background: rgba(255,255,255,0.96);
            transition: all 0.2s ease;
        }
        .form-control:focus { outline: none; border-color: rgba(37, 99, 235, 0.55); box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.18); background: #fff; }
        .btn-login {
            width: 100%; padding: 14px; background: #2563eb; color: white; border: none;
            border-radius: 12px; font-size: 15px; cursor: pointer; transition: background 0.2s, transform 0.1s;
            font-weight: 800; margin-top: 10px; box-shadow: 0 14px 28px rgba(37,99,235,0.22);
        }
        .btn-login:hover { background: #1d4ed8; }
        .btn-login:active { transform: translateY(2px); }
        .error-msg { background: #fdecea; color: #e74c3c; padding: 12px; border-radius: 8px; margin-bottom: 20px; font-size: 14px; border: 1px solid #fadbd8; }
        select.form-control {
            appearance: none;
            background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2334495e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
            background-repeat: no-repeat; background-position: right 15px center; background-size: 15px;
        }
        .login-links { display: flex; justify-content: space-between; margin-top: 14px; font-size: 13px; }
        .login-links a { color: #1d4ed8; text-decoration: none; font-weight: 700; }
        .login-links a:hover { text-decoration: underline; }
        .modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.45); display: none; align-items: center; justify-content: center; z-index: 99999; padding: 20px; }
        .modal { width: 100%; max-width: 420px; background: rgba(255,255,255,0.95); border-radius: 14px; box-shadow: 0 20px 60px rgba(0,0,0,0.35); overflow: hidden; border: 1px solid rgba(255,255,255,0.35); }
        .modal-header { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; background: rgba(0,0,0,0.04); }
        .modal-title { font-size: 15px; font-weight: 700; color: #2c3e50; }
        .modal-close { border: none; background: transparent; font-size: 20px; cursor: pointer; color: #34495e; }
        .modal-body { padding: 16px; }
        .modal-actions { display: flex; gap: 10px; margin-top: 12px; }
        .btn-secondary { width: 100%; padding: 12px; background: #ecf0f1; color: #2c3e50; border: none; border-radius: 8px; font-size: 15px; cursor: pointer; font-weight: 700; }
        .btn-secondary:hover { background: #e3e8ea; }
        
        /* 登录加载遮罩与动画 */
        .loading-overlay {
            position: fixed; inset: 0; background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(12px);
            display: none; align-items: center; justify-content: center; flex-direction: column; z-index: 100000;
            transition: opacity 0.3s ease;
        }
        .loading-overlay.show { display: flex; opacity: 1; }
        .loading-spinner {
            width: 48px; height: 48px; border: 4px solid rgba(37, 99, 235, 0.2);
            border-top-color: #2563eb; border-radius: 50%;
            animation: spin 1s linear infinite; margin-bottom: 16px;
        }
        .loading-text { font-size: 16px; font-weight: 600; color: #1e293b; letter-spacing: 0.5px; }
        @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }