/* Print-specific styles for PDF reports and browser printing */

@media print {
    /* Hide navigation and non-essential elements */
    .navbar,
    .nav,
    .main-nav,
    .no-print,
    .btn,
    .year-selector,
    .actions,
    form {
        display: none !important;
    }
    
    /* Reset page margins */
    body {
        margin: 0;
        padding: 0;
        background: white;
        font-size: 10pt;
    }
    
    /* Reset container */
    .container,
    .container-xl {
        max-width: 100%;
        margin: 0;
        padding: 0;
    }
    
    /* Ensure tables don't break across pages */
    table {
        page-break-inside: avoid;
    }
    
    tr {
        page-break-inside: avoid;
    }
    
    /* Cards should not break */
    .card {
        break-inside: avoid;
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #000;
    }
    
    /* Force black text for better printing */
    * {
        color: #000 !important;
    }
    
    /* Remove backgrounds for ink saving */
    .metric-card,
    .stat-card,
    .alert {
        background: none !important;
        border: 1px solid #000;
    }
    
    /* Headers */
    h1 {
        font-size: 14pt;
    }
    
    h2, h3 {
        font-size: 12pt;
    }
    
    /* Table styling for print */
    .table th,
    .table td {
        padding: 4pt 8pt;
        border: 1px solid #000;
    }
    
    .table th {
        background: #e0e0e0 !important;
    }
    
    /* Links should not be styled differently */
    a {
        text-decoration: none;
    }
    
    /* Page header styling */
    .page-header {
        border-bottom: 2px solid #000;
    }
}
