/* 数据中心页面样式 */
.data-main {
    width: 100%;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 20px;
    overflow: auto;
}

.data-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.data-header h2 {
    font-size: 18px;
    color: #333;
    font-weight: 500;
}

.date-selector {
    display: flex;
    align-items: center;
}

.date-selector span {
    font-size: 14px;
    color: #666;
    margin-right: 10px;
}

.date-selector select {
    height: 32px;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0 10px;
    font-size: 14px;
    color: #333;
    width: 120px;
}

/* 数据卡片样式 */
.data-cards {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.data-card {
    flex: 1;
    background-color: #f9f9f9;
    border-radius: 4px;
    padding: 15px;
    margin-right: 15px;
    border: 1px solid #eee;
}

.data-card:last-child {
    margin-right: 0;
}

.card-title {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.card-value {
    font-size: 24px;
    color: #333;
    font-weight: 500;
    margin-bottom: 10px;
}

.card-trend {
    display: flex;
    align-items: center;
    font-size: 14px;
}

.card-trend.up {
    color: #52c41a;
}

.card-trend.down {
    color: #f5222d;
}

.trend-icon {
    margin-right: 5px;
}

/* 图表区域样式 */
.data-charts {
    display: flex;
    margin-bottom: 20px;
}

.chart-section {
    flex: 1;
    background-color: #fff;
    border-radius: 4px;
    border: 1px solid #eee;
    padding: 15px;
    margin-right: 15px;
}

.chart-section:last-child {
    margin-right: 0;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.chart-header h3 {
    font-size: 16px;
    color: #333;
    font-weight: 500;
}

.chart-filter {
    display: flex;
    align-items: center;
}

.chart-filter select {
    height: 28px;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0 10px;
    font-size: 14px;
    color: #333;
}

.chart-btn {
    height: 28px;
    padding: 0 10px;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    color: #666;
    margin-right: 5px;
    cursor: pointer;
}

.chart-btn:last-child {
    margin-right: 0;
}

.chart-btn.active {
    background-color: #2fb3ff;
    color: #fff;
    border-color: #2fb3ff;
}

.chart-container {
    width: 100%;
    height: 300px;
    position: relative;
}

/* 占位图表 */
.placeholder-chart {
    width: 100%;
    height: 100%;
    background-color: #f9f9f9;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #999;
    font-size: 16px;
    border-radius: 4px;
}

/* 表格区域样式 */
.data-tables {
    margin-bottom: 20px;
}

.table-section {
    background-color: #fff;
    border-radius: 4px;
    border: 1px solid #eee;
    padding: 15px;
}

.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.table-header h3 {
    font-size: 16px;
    color: #333;
    font-weight: 500;
}

.export-btn {
    height: 32px;
    padding: 0 15px;
    background-color: #fff;
    border: 1px solid #2fb3ff;
    border-radius: 4px;
    font-size: 14px;
    color: #2fb3ff;
    cursor: pointer;
}

.export-btn:hover {
    background-color: #e6f7ff;
}

.table-container {
    width: 100%;
    overflow-x: auto;
}

.table-container table {
    width: 100%;
    border-collapse: collapse;
}

.table-container th,
.table-container td {
    padding: 12px 15px;
    text-align: left;
    font-size: 14px;
    border-bottom: 1px solid #eee;
}

.table-container th {
    color: #666;
    font-weight: normal;
    background-color: #f9f9f9;
}

.table-container td {
    color: #333;
}

.detail-link {
    color: #2fb3ff;
    text-decoration: none;
}

.detail-link:hover {
    text-decoration: underline;
}

/* 响应式调整 */
@media screen and (max-width: 1200px) {
    .data-cards,
    .data-charts {
        flex-direction: column;
    }
    
    .data-card,
    .chart-section {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .chart-container {
        height: 250px;
    }
} 