/* Chart fixes to ensure proper rendering */
.chart-card canvas {
    width: 100% !important;
    height: auto !important;
    max-height: 400px !important;
}

/* Generic chart container */
.chart-container {
    position: relative;
    height: auto;
    min-height: 300px;
    margin-bottom: 20px;
}

/* Ensure the chart canvas is visible */
canvas {
    display: block !important;
}

/* Chart header and title styling for light mode */
.chart-header h3 {
    color: #333333;
    margin: 0;
    padding: 10px 0;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Chart card styling */
.chart-card {
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    padding: 15px;
}
