 :root {
            --jp-blue: #3498db;
            --jp-dark: #2c3e50;
            --jp-bg: #f8fafc;
            --jp-green: #07c160;
            --jp-red: #e74c3c;
        }

        body {
            background: linear-gradient(135deg, #e0eafc 0%, #cfdef3 100%);
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: 'Segoe UI', system-ui, sans-serif;
            padding: 20px;
        }

        .login-card {
            background: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(15px);
            border-radius: 30px;
            overflow: hidden;
            box-shadow: 0 25px 70px rgba(0, 0, 0, 0.15);
            width: 100%;
            max-width: 1000px;
            display: flex;
        }

        /* 左侧：品牌展示区（与注册页保持一致） */
        .brand-side {
            background: linear-gradient(135deg, #2c3e50, #000000);
            padding: 60px;
            color: white;
            width: 45%;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        /* 右侧：登录区 */
        .form-side {
            padding: 60px;
            width: 55%;
            background: white;
            position: relative;
            transition: 0.3s;
        }

        /* 扫码与表单切换动画 */
        .fade-in {
            animation: fadeIn 0.4s ease-in-out;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(10px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .qr-frame {
            border: 1px solid #edf2f7;
            border-radius: 20px;
            padding: 20px;
            display: inline-block;
            background: white;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
            cursor: pointer;
            position: relative;
        }

        .qr-frame:hover::after {
            content: "点击模拟扫码";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.7);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 20px;
            font-weight: 600;
        }

        .form-control {
            border-radius: 12px;
            padding: 12px 20px;
            border: 1px solid #e2e8f0;
            background: #f8fafc;
            margin-bottom: 20px;
        }

        .btn-login {
            background: var(--jp-blue);
            color: white;
            border-radius: 12px;
            padding: 14px;
            font-weight: 600;
            width: 100%;
            border: none;
            transition: 0.3s;
        }

        .btn-login:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 20px rgba(52, 152, 219, 0.2);
        }

        .mode-link {
            color: var(--jp-blue);
            cursor: pointer;
            text-decoration: none;
            font-weight: 600;
            font-size: 0.9rem;
        }

        /* Toast 样式 */
        .toast-container {
            position: fixed;
            top: 30px;
            left: 50%;
            transform: translateX(-50%);
            z-index: 10000;
        }

        .custom-toast {
            background: white;
            border-radius: 16px;
            border: none;
            padding: 16px 20px;
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
            display: flex;
            align-items: center;
        }

        @media (max-width: 900px) {
            .brand-side {
                display: none;
            }

            .form-side {
                width: 100%;
                padding: 40px;
            }
        }