/* css/base.css */

/* --- 全局与布局样式 --- */
html {
    height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    margin: 0;
    background-color: #f4f4f4;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

a:hover {
    color: #007bff;
}

/* --- 主要内容区域 --- */
.main-content {
    flex-grow: 1; 
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* 自适应容器 */
.container {
    max-width: 1240px;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}