body {
    margin: 0;
    padding: 20px;
    background: #f0f2f5;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

#app {
    max-width: 1400px;
    margin: 0 auto;
}

/* 统计卡片样式 */
.stat-cards {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.stat-card {
    flex: 1;
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 12px 0 rgba(0,0,0,0.1);
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.stat-item {
    text-align: center;
}

.stat-item .num {
    font-size: 24px;
    font-weight: bold;
    color: #bf3a3f;
}

.stat-item .label {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

/* 图表容器样式 */
.charts-container {
    margin-bottom: 20px;
}

.chart-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.chart-card {
    flex: 1;
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 12px 0 rgba(0,0,0,0.1);
}

.chart {
    height: 300px;
}

/* 排行榜列表样式 */
.ranking-list {
    height: 400px;
    overflow: hidden;
}

.ranking-list .el-table {
    margin: -10px -20px;
}

.ranking-list .el-table th {
    background-color: #f5f7fa;
    color: #606266;
}

.ranking-list .el-table td {
    padding: 8px 0;
}

/* 排名样式 */
.ranking-list .el-table .cell {
    text-align: center;
}

/* 排名前三名特殊样式 */
.ranking-list tr:nth-child(1) .el-table_1_column_1 .cell {
    color: #f5b723;
    font-weight: bold;
}

.ranking-list tr:nth-child(2) .el-table_1_column_1 .cell {
    color: #c0c4cc;
    font-weight: bold;
}

.ranking-list tr:nth-child(3) .el-table_1_column_1 .cell {
    color: #b87333;
    font-weight: bold;
}

h3 {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 18px;
}

/* 筛选条件样式 */
.filter-container {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 12px 0 rgba(0,0,0,0.1);
}

.filter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-form .el-form-item {
    margin-bottom: 0;
    margin-right: 20px;
}

.filter-form .el-date-editor {
    width: 320px;
}

.filter-form .el-select {
    width: 160px;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.chart-header h3 {
    margin: 0;
}

.full-width {
    width: 100% !important;
}

.chart.large {
    height: 400px;
} 