/* ALA Community - 统一样式文件 */
/* 基于 index.php 的原始样式 */

/* 基础重置和通用样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #f8f9fa;
    line-height: 1.6;
}

/* 头部样式 */
/* Header相关样式已移至 header.css */

/* 导航栏样式已移至 header.css */

/* 用户信息样式已移至 header.css */

/* 按钮样式已移至 header.css */

/* 布局容器 */
.container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 20px;
    background: transparent;
}

/* main-content样式已移至 content.css */

/* 侧边栏样式已移至 sidebar.css */

/* 帖子样式已移至 content.css */

/* 帖子操作和媒体预览样式已移至 content.css */

/* Subreddit 样式已移至 sidebar.css */

/* 欢迎消息样式已移至 content.css */

/* 用户信息样式已移至 header.css */

/* Reddit风格侧边栏样式已移至 sidebar.css */

/* 用户页面专用样式已移至 user.css */

/* 侧边栏卡片样式已移至 sidebar.css */

.btn-full {
    width: 100%;
    margin-bottom: 8px;
}

.btn-small {
    padding: 6px 12px;
    font-size: 12px;
}



/* Footer样式已移至 footer.css */

/* 页面内容样式 */
.page-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 40px 0;
    border-bottom: 1px solid #e1e5e9;
}

.page-header h1 {
    font-size: 32px;
    font-weight: 700;
    color: #1c1c1e;
    margin-bottom: 10px;
}

.page-subtitle {
    font-size: 16px;
    color: #7c7c7c;
    margin: 0;
}

.content-section {
    margin-bottom: 30px;
    padding: 20px;
    background: white;
    border-radius: 8px;
    border: 1px solid #e1e5e9;
}

.content-section h2 {
    font-size: 24px;
    font-weight: 600;
    color: #1c1c1e;
    margin-bottom: 15px;
    border-bottom: 2px solid #ff4500;
    padding-bottom: 8px;
}

.content-section h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1c1c1e;
    margin: 20px 0 10px 0;
}

.content-section p {
    line-height: 1.6;
    color: #1c1c1e;
    margin-bottom: 10px;
}

.alert {
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
    border-left: 4px solid;
}

.alert-info {
    background-color: #e3f2fd;
    border-left-color: #2196f3;
    color: #0d47a1;
}

.alert-warning {
    background-color: #fff3e0;
    border-left-color: #ff9800;
    color: #e65100;
}

.shortcut-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.shortcut-item {
    padding: 12px;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #e1e5e9;
}

.shortcut-item strong {
    color: #ff4500;
    font-family: monospace;
    font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
        margin: 10px;
        padding: 0 10px;
    }
    
    /* sidebar 响应式样式已移至 sidebar.css */
    
    .search-bar {
        display: none;
    }
    
    /* footer响应式样式已移至 footer.css */
}