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

body {
    background: #f0f2f5;
    min-height: 100vh;
}

/* 头部样式 */
header {
    background: linear-gradient(135deg, #1a237e, #0d47a1);
    padding: 1rem 5%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    width: 180px;
    height: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

/* 登录表单区域 */
.login-container {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 5%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.login-banner {
    background: url('../image/login-bg.jpg') no-repeat center/cover;
    height: 500px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.login-form {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.form-title {
    color: #1a237e;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.input-group {
    margin-bottom: 1.5rem;
}

.input-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.input-group input:focus {
    border-color: #1a237e;
    outline: none;
}

.login-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(45deg, #1a237e, #3949ab);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s;
}

.login-btn:hover {
    transform: translateY(-2px);
}

/* 底部样式 */
footer {
    background: #2c3e50;
    color: white;
    padding: 3rem 5%;
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.contact-info p {
    margin: 0.8rem 0;
    line-height: 1.6;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .login-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .login-banner {
        height: 200px;
    }

    .nav-links {
        display: none; /* 移动端隐藏导航链接 */
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}