/**
 * 数据看板页面特有样式
 */

/* 看板页面已使用 common.css 中的样式 */
/* 以下仅为看板特有的补充样式 */

.chart-container {
    height: 300px;
    width: 100%;
}

.chart-3d-container {
    height: 400px;
    width: 100%;
}

/* 面板展开/收缩 */
.charts-grid-container {
    display: flex;
    gap: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.chart-panel {
    flex: 1;
    min-width: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
}

.chart-panel:hover {
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.chart-panel.expanded {
    flex: 3;
    z-index: 10;
}

.chart-panel.collapsed {
    flex: 1;
}

.chart-panel::after {
    content: '\f065';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 16px;
    right: 16px;
    color: #bfbfbf;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.chart-panel:hover::after {
    opacity: 1;
}

.chart-panel.expanded::after {
    content: '\f066';
    opacity: 1;
    color: var(--primary-color);
}
