
/* Total Expenses Chart Legend Adjustments - Dashboard Fix */
@media (min-width: 938px) {
    .chartLegend {
        width: 45% !important;
    }
    
    .chartLegend .e-grid {
        max-width: 450px !important;
        padding: 10px 10px 0 0 !important;
    }
    
    .chartLegend .e-grid .e-row td {
        font-size: 11px !important;
        padding: 4px 6px !important;
        line-height: 1.3;
    }
    
    .pieChart {
        width: 55% !important;
    }
}

@media (min-width: 750px) and (max-width: 937px) {
    .chartLegend {
        max-width: 450px !important;
    }
    
    .chartLegend .e-grid {
        padding: 30px 0 30px 0 !important;
    }
    
    .chartLegend .e-grid .e-row td {
        font-size: 12px !important;
        padding: 4px 6px !important;
        line-height: 1.3;
    }
}

@media (max-width: 770px) {
    .chartLegend {
        max-width: 450px !important;
    }
    
    .chartLegend .e-grid .e-row td {
        font-size: 12px !important;
        padding: 4px 6px !important;
        line-height: 1.3;
    }
}
