.chart-container {
    position: relative;
    margin: 30px auto;
    padding: 20px;
    /* background: white; */
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.chart-wrapper {
    position: relative;
    height: 400px;
    margin-bottom: 20px;
}



/* Heatmap styles */
.heatmap-container {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin: 30px 0;
}

body.dark-mode .heatmap-container {
    background: #2c2c2c;
    color: #e0e0e0;
}

.heatmap-header {
    cursor: pointer;
    transition: all 0.2s;
}

.heatmap-header:hover {
    fill: #007bff;
}

.heatmap-header.active {
    fill: #007bff;
    font-weight: bold;
}

.heatmap-header-rect {
    cursor: pointer;
    transition: fill 0.2s;
}

.heatmap-header-rect:hover {
    fill: #e9ecef;
}

.heatmap-header-rect.active {
    fill: #d0e7ff;
}

.heatmap-cell {
    cursor: pointer;
    transition: opacity 0.2s;
}

.heatmap-cell:hover {
    opacity: 0.8;
    stroke: #333;
    stroke-width: 2px;
}

.heatmap-tooltip {
    position: absolute;
    padding: 10px;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    border-radius: 4px;
    pointer-events: none;
    font-size: 14px;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.2s;
}

.heatmap-tooltip.show {
    opacity: 1;
}

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

    .heatmap-container {
        padding: 15px;
        overflow-x: auto;
    }
}