
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Poppins', sans-serif;
        }

        :root {
            --primary: #4361ee;
            --primary-dark: #3a56d4;
            --secondary: #3f37c9;
            --accent: #4895ef;
            --light: #f8f9fa;
            --dark: #212529;
            --text: #333;
            --text-light: #6c757d;
            --success: #4cc9f0;
            --danger: #e5383b;
            --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
            --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            --transition: all 0.3s ease;
        }

        body {
            display: flex;
            min-height: 100vh;
            background: #f8f9ff;
            overflow: hidden;
        }

        .login-container {
            display: flex;
            width: 100%;
            height: 100vh;
        }

        /* 左侧表单区域 */
        .form-container {
            display: flex;
            flex-direction: column;
            /* justify-content: center; */
            margin-top: 80px;
            align-items: center;
            width: 55%;
            padding: 0 5%;
            overflow-y: auto;
            position: relative;
            z-index: 10;
        }

        .logo {
            display: flex;
            align-items: center;
            margin-bottom: 30px;
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--primary);
        }

        .logo i {
            margin-right: 12px;
            font-size: 2.2rem;
            background: var(--gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .form-header {
            margin-bottom: 30px;
            text-align: center;
        }

        .form-header h1 {
            font-size: 2.5rem;
            margin-bottom: 12px;
            color: var(--dark);
        }

        .form-header p {
            color: var(--text-light);
            font-size: 1.05rem;
            max-width: 400px;
        }

        .toggle-forms {
            display: flex;
            margin-bottom: 30px;
            background: #fff;
            border-radius: 50px;
            padding: 5px;
            box-shadow: var(--shadow);
            position: relative;
        }

        .toggle-btn {
            padding: 12px 35px;
            border-radius: 50px;
            font-weight: 500;
            cursor: pointer;
            transition: var(--transition);
            text-align: center;
            position: relative;
            z-index: 1;
            color: var(--text);
            background: transparent;
            border: none;
            font-size: 1rem;
            min-width: 140px;
        }

        .toggle-indicator {
            position: absolute;
            top: 5px;
            left: 5px;
            background: var(--gradient);
            border-radius: 50px;
            height: calc(100% - 10px);
            width: 50%;
            transition: var(--transition);
            z-index: 0;
        }

        .toggle-btn.active {
            color: white;
        }

        .forms {
            position: relative;
            width: 100%;
            max-width: 450px;
        }

        .form {
            display: flex;
            flex-direction: column;
            width: 100%;
            background: white;
            border-radius: 20px;
            padding: 35px 30px;
            box-shadow: var(--shadow);
            transition: var(--transition);
            position: absolute;
            opacity: 0;
            transform: translateX(30px);
            pointer-events: none;
        }

        .form.active {
            opacity: 1;
            transform: translateX(0);
            pointer-events: all;
        }

        .input-group {
            margin-bottom: 10px;
            position: relative;
        }

        .input-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: 500;
            color: var(--dark);
            font-size: 0.95rem;
        }

        .input-icon {
            position: absolute;
            left: 15px;
            top: 65%;
            transform: translateY(-50%);
            color: var(--text-light);
        }

        .input-box {
            width: 100%;
            padding: 15px 15px 15px 45px;
            border: 1px solid #ddd;
            border-radius: 12px;
            font-size: 1rem;
            transition: var(--transition);
        }

        .input-box:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.15);
        }

        .error-message {
            color: var(--danger);
            font-size: 0.85rem;
            margin-top: 5px;
            display: none;
        }

        .password-toggle {
            position: absolute;
            right: 15px;
            top: 65%;
            transform: translateY(-50%);
            color: var(--text-light);
            cursor: pointer;
        }

        .form-options {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 25px;
        }

        .remember-me {
            display: flex;
            align-items: center;
            gap: 8px;
            cursor: pointer;
        }

        .remember-me input {
            width: 18px;
            height: 18px;
            accent-color: var(--primary);
        }

        .forgot-password {
            color: var(--primary);
            text-decoration: none;
            font-size: 0.95rem;
            font-weight: 500;
            transition: var(--transition);
        }

        .forgot-password:hover {
            text-decoration: underline;
        }

        .btn {
            padding: 16px;
            border-radius: 12px;
            font-weight: 500;
            cursor: pointer;
            transition: var(--transition);
            text-decoration: none;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            font-size: 1rem;
            border: none;
            width: 100%;
        }

        .btn-primary {
            background: var(--gradient);
            color: white;
            box-shadow: 0 5px 15px rgba(67, 97, 238, 0.25);
            font-weight: 600;
            font-size: 1.05rem;
        }

        .btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(67, 97, 238, 0.35);
        }

        .btn-google {
            background: white;
            color: #4285F4;
            border: 1px solid #ddd;
            position: relative;
            font-weight: 500;
        }

        .btn-google:hover {
            background: #f8f9ff;
        }

        .btn-microsoft {
            background: white;
            color: #0078D7;
            border: 1px solid #ddd;
            position: relative;
            font-weight: 500;
        }

        .btn-microsoft:hover {
            background: #f8f9ff;
        }

        .btn-wechat {
            background: white;
            color: #07C160;
            border: 1px solid #ddd;
            position: relative;
            font-weight: 500;
        }

        .btn-wechat:hover {
            background: #f8f9ff;
        }

        .or-divider {
            display: flex;
            align-items: center;
            margin: 15px 0;
            color: var(--text-light);
            font-size: 0.9rem;
        }

        .or-divider::before,
        .or-divider::after {
            content: '';
            flex: 1;
            height: 1px;
            background: #ddd;
        }

        .or-divider span {
            padding: 0 15px;
        }

        .social-login {
            display: flex;
            flex-direction: column;
            gap: 15px;
            margin-top: 15px;
        }

        .terms {
            margin-top: 15px;
            color: var(--text-light);
            font-size: 0.85rem;
            text-align: center;
        }

        .terms a {
            color: var(--primary);
            text-decoration: none;
            font-weight: 500;
        }

        .terms a:hover {
            text-decoration: underline;
        }

        /* 右侧背景区域 */
        .image-container {
            flex: 1;
            /* position: relative; */
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .bg-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(67, 97, 238, 0.7), rgba(63, 55, 201, 0.8));
            z-index: 1;
        }

        .bg-content {
            position: relative;
            z-index: 2;
            color: white;
            padding: 40px;
            max-width: 640px;
            text-align: center;
        }

        .bg-content h2 {
            font-size: 2.8rem;
            margin-bottom: 20px;
            text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
        }

        .bg-content p {
            font-size: 1.1rem;
            opacity: 0.9;
            margin-bottom: 30px;
            line-height: 1.7;
        }

        .features-list {
            display: flex;
            justify-content: center;
            gap: 25px;
            flex-wrap: wrap;
            margin-bottom: 40px;
        }

        .feature {
            background: rgba(255, 255, 255, 0.15);
            backdrop-filter: blur(10px);
            border-radius: 15px;
            padding: 18px;
            width: 160px;
        }

        .feature i {
            font-size: 1.8rem;
            margin-bottom: 12px;
            color: rgba(255, 255, 255, 0.9);
        }

        .feature h3 {
            font-size: 1.05rem;
            font-weight: 500;
        }

        .image-container img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            z-index: 0;
        }

        /* 响应式设计 */
        @media (max-width: 1024px) {
            .image-container {
                display: none;
            }

            .form-container {
                width: 100%;
                top: 100px;
                /* justify-content: center; */
            }
        }

        @media (max-width: 768px) {
            .form-container {
                padding: 0 7%;
            }
            
            .form {
                padding: 30px 25px;
            }
            
            .toggle-btn {
                padding: 10px 25px;
                min-width: 120px;
            }
            
            .form-header h1 {
                font-size: 2.2rem;
            }
            
            .or-divider {
                margin: 20px 0;
            }
        }

        @media (max-width: 480px) {
            body {
                padding: 20px;
                background: white;
            }
            
            .login-container {
                height: auto;
            }
            
            .form {
                box-shadow: none;
                border: 1px solid #f0f0f0;
            }
            
            .logo {
                margin-bottom: 20px;
            }
            
            .form-header h1 {
                font-size: 2rem;
            }
            
            .form-header p {
                font-size: 1rem;
            }
            
            .toggle-forms {
                width: 100%;
            }
        }
        
        /* 返回主页链接样式 */
.home-link {
    position: absolute;
    top: 20px;
    z-index: 20;
}

.home-link.left {
    left: 20px;
}

.home-link.right {
    right: 20px;
}

.home-link a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 50px;
    background: white;
    transition: var(--transition);
}

.home-link a:hover {
    background: white;
    transform: translateX(-3px);
}

/* 响应式调整 */
@media (max-width: 480px) {
    .home-link {
        top: 15px;
    }
    
    .home-link.left {
        left: 15px;
    }
    
    .home-link.right {
        right: 15px;
    }
    
    .home-link a {
        padding: 6px 12px;
        font-size: 0.9rem;
    }
}
/* Add to the existing styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.7);
}

.modal-content {
  background-color: #fff;
  margin: 5% auto;
  padding: 30px;
  border-radius: 15px;
  width: 420px;
  height: 500px;
  max-width: 90%;
  text-align: center;
  position: relative;
}

.close-modal {
  position: absolute;
  right: 20px;
  top: 15px;
  font-size: 24px;
  cursor: pointer;
}

#wechat-qrcode {
  margin: 30px;
  width: 200px;
  height: 200px;
}

.status-message {
  margin-top: 15px;
  color: var(--primary);
  font-weight: 500;
}
/* Add to existing styles */
.g_id_signin {
    width: 100% !important;
}

.g_id_signin > div {
    width: 100% !important;
    display: flex;
    justify-content: center;
}

.g_id_signin iframe {
    width: 100% !important;
}