 * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
            background: #f8fafc;
            display: flex;
            flex-direction: column;
            min-height: 100vh;
        }

        /* 顶部导航 */
        .top-header {
            height: 60px;
            background: #fff;
            border-bottom: 1px solid #e5e7eb;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 30px;
        }

        .logo {
            font-size: 20px;
            font-weight: 700;
            color: #2563eb;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .logo-icon {
            width: 32px;
            height: 32px;
            /* background: #2563eb; */
            border-radius: 6px;
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .back-home {
            color: #64748b;
            font-size: 14px;
            text-decoration: none;
            cursor: pointer;
        }

        .back-home:hover {
            color: #2563eb;
        }

        /* 登录主体 */
        .login-wrapper {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
        }

        .login-box {
            width: 100%;
            max-width: 950px;
            height: 540px;
            background: #fff;
            border-radius: 16px;
            box-shadow: 0 10px 40px rgba(0,0,0,0.08);
            display: flex;
            overflow: hidden;
        }

        /* 左侧加宽 */
        .login-left {
            width: 45%;
            background: linear-gradient(135deg, #1e40af, #3b82f6);
            color: white;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            padding: 40px;
            position: relative;
            white-space: nowrap;
        }

        .login-left::before {
            content: '';
            position: absolute;
            top: 0; left: 0; width: 100%; height: 100%;
            background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" opacity="0.1" viewBox="0 0 100 100"><defs><pattern id="g" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M0 10L10 0M20 10L10 0M10 10L20 0M0 20L10 10" stroke="white" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23g)"/></svg>');
        }

        .left-content {
            position: relative;
            z-index: 2;
            text-align: center;
        }

        .logo-big {
            font-size: 28px;
            font-weight: 800;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

        .logo-icon-big {
            width: 36px;
            height: 36px;
            background: white;
            border-radius: 8px;
            color: #2563eb;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
        }

        .slogan {
            font-size: 20px;
            font-weight: 600;
            margin-bottom: 12px;
        }

        .sub-slogan {
            font-size: 14px;
            color: rgba(255,255,255,0.85);
            margin-bottom: 32px;
        }

        .qrcode-box {
            background: white;
            padding: 12px;
            border-radius: 8px;
            display: inline-block;
            margin-bottom: 12px;
        }

        .qrcode {
            width: 120px;
            height: 120px;
            background: #e2e8f0;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #64748b;
            font-size: 12px;
        }

        .qrcode-tip {
            font-size: 12px;
            color: rgba(255,255,255,0.9);
        }

        /* 右侧 */
        .login-right {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 40px;
        }

        .form-container {
            width: 100%;
            max-width: 360px;
        }

        .form-title2 {
            font-size: 24px;
            font-weight: 700;
            color: #1e293b;
            margin-bottom: 8px;
        }

        .form-desc {
            font-size: 14px;
            color: #64748b;
            margin-bottom: 32px;
        }

        /* 固定高度，防止跳动 */
        .form-group {
            margin-bottom: 28px;
            position: relative;
        }

        .form-label {
            display: block;
            font-size: 14px;
            font-weight: 500;
            color: #334155;
            margin-bottom: 8px;
        }

        .form-input {
            width: 100%;
            padding: 14px 16px;
            border: 1px solid #e2e8f0;
            border-radius: 8px;
            font-size: 15px;
            outline: none;
            transition: border-color 0.2s;
        }

        .form-input:focus {
            border-color: #2563eb;
            box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
        }

        /* 错误提示固定位置，不挤压布局 */
        .error-msg {
            position: absolute;
            font-size: 12px;
            color: #ef4444;
            margin-top: 4px;
            display: none;
        }

        .form-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 28px;
            font-size: 14px;
        }

        .remember {
            display: flex;
            align-items: center;
            gap: 8px;
            color: #475569;
        }

        .remember input {
            width: 16px;
            height: 16px;
            accent-color: #2563eb;
        }

        .forget {
            color: #2563eb;
            text-decoration: none;
        }

        .login-btn {
            width: 100%;
            padding: 15px;
            background: #2563eb;
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: background 0.2s;
            margin-top: 25px;
        }

        .login-btn:hover {
            background: #1d4ed8;
        }

        .register-tip {
            text-align: center;
            margin-top: 24px;
            font-size: 14px;
            color: #64748b;
        }

        .register-tip a {
            color: #2563eb;
            text-decoration: none;
            font-weight: 500;
        }

        /* 全局提示条 */
        .global-tip {
            position: fixed;
            top: 80px;
            left: 50%;
            transform: translateX(-50%);
            padding: 10px 24px;
            border-radius: 6px;
            font-size: 14px;
            color: #fff;
            z-index: 9999;
            display: none;
        }
        .tip-success { background: #16a34a; }
        .tip-error { background: #dc2626; }

        /* 底部版权 */
        .footer {
            background: #fff;
            border-top: 1px solid #e5e7eb;
            padding: 20px 0;
            text-align: center;
            font-size: 13px;
            color: #64748b;
        }

        @media (max-width: 768px) {
            .login-box {
                flex-direction: column;
                height: auto;
            }
            .login-left {
                width: 100%;
                padding: 30px 20px;
            }
        }