/* ========== 价格走势页特有样式 ========== */

/* 主布局 */
.clar-left {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    gap: 20px;
}

/* 左侧统计卡片区域 */
.left {
    width: 400px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-content: flex-start;
}

.left .stat-card {
    width: 48%;
    margin-bottom: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.left .stat-card:hover {
    background: rgba(26, 31, 60, 0.9);
    border-color: rgba(77, 138, 240, 0.5);
}

/* 右侧图表区域 */
.dashboard-container-right {
    width: calc(100% - 430px);
    flex-grow: 1;
}

.dashboard-container-right .chart-card {
    width: 100%;
    height: 80vh;
    min-height: 600px;
}

.dashboard-container-right .card-content {
    height: calc(100% - 50px);
    position: relative;
}

/* 图表容器 */
.chart-container-full {
    height: 100%;
    width: 100%;
    position: absolute;
}

/* 响应式调整 */
@media (max-width: 1200px) {
    .clar-left {
        flex-direction: column;
    }

    .left {
        width: 100%;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 10px;
    }

    .left .stat-card {
        min-width: 180px;
        flex-shrink: 0;
		margin:0 10px;
    }

    .dashboard-container-right {
        width: 100%;
        height: 49vh;
    }
}

@media (max-width: 768px) {
    .dashboard-container-right .chart-card {
        height: 45vh;
        min-height: 400px;
    }
}