/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #f5f7fa;
}

/* 登录页面 */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.login-card {
    width: 400px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.login-card h2 {
    text-align: center;
    margin: 0;
    color: #303133;
}

/* 主容器 */
.main-container {
    min-height: 100vh;
}

/* 顶部导航 */
.header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.header h1 {
    font-size: 20px;
    color: #303133;
    margin: 0;
}

/* 侧边栏 */
.aside {
    background-color: #fff;
    border-right: 1px solid #e4e7ed;
    min-height: calc(100vh - 60px);
}

/* 主内容区 */
.main-content {
    padding: 20px;
    background-color: #f5f7fa;
}

/* 统计卡片 */
.stats-row {
    margin-bottom: 20px;
}

.stat-card {
    text-align: center;
}

.stat-value {
    font-size: 28px;
    font-weight: bold;
    color: #303133;
    margin-bottom: 10px;
}

.stat-value.positive {
    color: #67C23A;
}

.stat-value.negative {
    color: #F56C6C;
}

.stat-label {
    font-size: 14px;
    color: #909399;
}

/* 图表卡片 */
.chart-card {
    margin-bottom: 20px;
}

.chart-card h3 {
    margin: 0;
    font-size: 16px;
    color: #303133;
}

/* 表格 */
.el-table {
    margin-top: 10px;
}

/* 时间线 */
.el-timeline {
    padding-left: 10px;
}

.el-timeline-item h4 {
    margin: 0 0 10px 0;
    color: #303133;
}

.el-timeline-item p {
    margin: 0 0 10px 0;
    color: #606266;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .stats-row .el-col {
        margin-bottom: 10px;
    }

    .stat-value {
        font-size: 20px;
    }

    .header h1 {
        font-size: 16px;
    }
}
