* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f4f4;
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
}

/* 主容器 */
.main-container {
    display: flex;
    flex: 1;
    overflow: hidden;
}

/* 主内容区 */
.content {
    flex: 1;
    padding: 30px;
    overflow-y: auto;
    background: #f9f9f9;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.content-header {
    margin-bottom: 30px;
    text-align: center;
    width: 100%;
    max-width: 800px;
}

.content-header h1 {
    color: #333;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
}

.content-header p {
    color: #666;
    font-size: 16px;
}

/* 通用容器样式 */
.common-container {
    width: 85%;
    margin: 0 auto;
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .content {
        padding: 10px;
    }
    
    .common-container {
        padding: 20px 15px;
        width: 100%;
        max-width: 100%;
        border-radius: 0;
        box-shadow: none;
    }
}

/* 深色模式响应式设计 */
@media (max-width: 768px) {
    body.theme-dark .content {
        padding: 20px;
        background: #121212;
    }
    
    body.theme-dark .common-container {
        background: #1e1e1e;
        box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    }
    
    body.theme-dark .content-header h1 {
        color: #999;
    }
    
    body.theme-dark .content-header p {
        color: #666;
    }
}
