﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", sans-serif;
}

body {
    background-color: #cce0ff;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    display: flex;
    width: 100%;
    max-width: 900px;
    overflow: hidden;
}

/* 左侧插画区域：确保图片居中 */
.illustration-area {
    flex: 1;
    background-color: #f0edff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 300px;
}

/* 图片样式：兼容VS2010，居中不变形 */
.login-img {
    width: 220px;
    height: 220px;
    display: block;
    margin: 0 auto;
}

/* 右侧表单区域 */
.form-area {
    flex: 1;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-title {
    text-align: center;
    color: #333;
    font-size: 24px;
    margin-bottom: 40px;
    position: relative;
}

.form-title::before,
.form-title::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 60px;
    height: 1px;
    background-color: #ccc;
}

.form-title::before {
    left: 20px;
}

.form-title::after {
    right: 20px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    color: #666;
    margin-bottom: 8px;
    font-size: 15px;
}

.form-group input {
    width: 100%;
    border: none;
    border-bottom: 1px solid #eee;
    padding: 10px 0;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s;
}

.form-group input:focus {
    border-bottom-color: #4096ff;
}

.login-btn {
    width: 100%;
    background-color: #4096ff;
    color: white;
    border: none;
    border-radius: 25px;
    padding: 12px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.login-btn:hover {
    background-color: #1890ff;
}

.service-tel {
    text-align: center;
    margin-top: 20px;
    color: #999;
    font-size: 13px;
}

/* 手机端自适应：上下布局 */
@media (max-width: 768px) {
    .login-card {
        flex-direction: column;
        max-width: 400px;
    }

    .illustration-area {
        min-height: 200px;
    }

    .form-area {
        padding: 30px 20px;
    }

    .form-title::before,
    .form-title::after {
        width: 30px;
    }
}}