/* 仪表板页面样式 */
.dashboard-header {
    text-align: center;
    margin: 40px 0;
    padding: 30px;
    background: linear-gradient(135deg, var(--accent-color) 0%, #2980b9 100%);
    color: white;
    border-radius: var(--border-radius);
    box-shadow: 0 8px 24px rgba(1, 190, 243, 0.3);
}

.dashboard-header h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.dashboard-header h1 i {
    margin-right: 15px;
    font-size: 2rem;
}

.dashboard-subtitle {
    font-size: 1.1rem;
    opacity: 0.95;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.dashboard-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.dashboard-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.card-header {
    background: #f8f9fa;
    padding: 20px 30px;
    border-bottom: 1px solid #e9ecef;
}

.card-header h2 {
    color: #2c3e50;
    margin: 0;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
}

.card-header h2 i {
    margin-right: 12px;
    color: var(--accent-color);
}

.card-body {
    padding: 30px;
}

/* 图表容器 - 增加高度 */
.chart-container {
    position: relative;
    height: 500px;
    width: 100%;
}

/* 统计网格 */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--accent-color);
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 5px;
}

.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
}

.stat-value.positive {
    color: var(--success-color);
}

.stat-value.negative {
    color: var(--danger-color);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .dashboard-header h1 {
        font-size: 1.8rem;
    }
    
    .card-body {
        padding: 20px;
    }
    
    .chart-container {
        height: 350px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .chart-container {
        height: 300px;
    }
}
