/* EduDash - Print Styles */

@media print {
    /* Hide non-essential elements */
    .filter-panel,
    #print-button,
    .dash-tabs,
    header,
    nav {
        display: none !important;
    }
    
    /* Page setup */
    @page {
        size: A4 landscape;
        margin: 15mm;
    }
    
    /* Full width content */
    body {
        background: white !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    
    /* Show all dashboard cards */
    .dashboard-card {
        break-inside: avoid;
        page-break-inside: avoid;
        box-shadow: none !important;
        border: 1px solid #ddd;
        margin-bottom: 15px;
    }
    
    /* Grids in print */
    .grid-2 {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    
    .grid-3 {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    
    /* KPI cards */
    .kpi-container {
        display: flex;
        gap: 10px;
    }
    
    .kpi-card {
        box-shadow: none !important;
        border: 1px solid #ddd;
    }
    
    /* Charts */
    .js-plotly-plot, .plot-container {
        max-height: 300px;
    }
    
    /* Remove background colors from graphs */
    .main-svg {
        background: white !important;
    }
    
    /* Insights block */
    .insights-block {
        box-shadow: none !important;
        border: 1px solid #ddd;
    }
    
    /* Ensure all divs are visible */
    div [style*="display: none"] {
        display: block !important;
    }
}
