/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', 'Microsoft YaHei', sans-serif;
}

/* 头部样式 */
.header {
    background: #1a2b4c;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    color: white;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    margin-left: 2rem;
    font-size: 0.95em;
}

/* 登录主体 */
.login-container {
    min-height: 100vh;
    background: #f5f7fa;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 20px;
}

.login-box {
    background: white;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
}

.login-title {
    color: #1a2b4c;
    margin-bottom: 1.5rem;
    text-align: center;
}

.input-group {
    margin-bottom: 1.5rem;
}

.input-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.login-btn {
    width: 100%;
    padding: 12px;
    background: #2c7be5;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

/* 底部样式 */
.footer {
    background: #1a2b4c;
    color: white;
    padding: 3rem 5%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: #2c7be5;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #b0b8c8;
    text-decoration: none;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .login-box {
        padding: 1.5rem;
    }

    .footer {
        grid-template-columns: 1fr;
        text-align: center;
    }
}