/* 基础样式 */
:root {
    --color-bg: #0a0e14;
    --color-surface: #161b22;
    --color-border: #30363d;
    --color-primary: #1f6feb;
    --color-secondary: #58a6ff;
    --color-danger: #ff6b6b;
    --color-warning: #ff9e64;
    --color-success: #81c784;
    --color-text: #c0caf5;
    --color-text-muted: #8b949e;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', 'Segoe UI', sans-serif;
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* 导航栏样式 */
.report-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(22, 27, 34, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

/* 封面页样式 */
.cover-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px 40px;
    position: relative;
    overflow: hidden;
}

.cover-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(31, 111, 235, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 107, 107, 0.1) 0%, transparent 50%);
    z-index: -1;
}

/* 图表区域样式 */
.chart-section {
    padding: 60px 30px;
    border-bottom: 1px solid var(--color-border);
}

.chart-wrapper {
    position: relative;
    margin-top: 30px;
}

.chart-container {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 25px;
    margin-top: 20px;
    position: relative;
    min-height: 500px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .report-nav {
        padding: 12px 15px;
        flex-wrap: wrap;
    }
    
    .chart-section {
        padding: 40px 15px;
    }
    
    .chart-container {
        padding: 15px;
    }
}
/* 强制图表容器可见 */
.chart-container {
    background: #1a1a2e !important;
    min-height: 400px !important;
    position: relative !important;
}

/* 确保canvas存在 */
#chart1Canvas {
    width: 100% !important;
    height: 400px !important;
    display: block !important;
}

/* 如果图表加载失败，显示提示 */
.chart-container::after {
    content: '📊 动态图表加载中...';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #8b949e;
    font-size: 18px;
    z-index: 1;
}

.chart-container canvas {
    position: relative;
    z-index: 2;
}