/* print.css */

@media print {
    /* General styles */
    body {
        font-size: 12pt;
        line-height: 1.5;
        color: #000;
        background: none;
    }

    /* Remove navigation, headers, footers, and unnecessary elements */
    nav, header, footer, .sidebar, .no-print {
        display: none;
    }

    /* Style the main content area */
    .content, .main {
        width: 100%;
        margin: 0;
        padding: 0;
    }

    /* Remove background colors and images */
    * {
        background: none !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    /* Remove margins and padding */
    body, h1, h2, h3, h4, h5, h6, p, div, span, img, ul, ol, li, table, tr, th, td {
        margin: 0;
        padding: 0;
    }

    /* Ensure all links are displayed fully */
    a:link, a:visited {
        color: #000;
        text-decoration: underline;
    }

    /* Ensure tables are printable */
    table {
        width: 100%;
        border-collapse: collapse;
    }

    th, td {
        border: 1px solid #000;
        padding: 4px;
        text-align: left;
    }

    /* Prevent page breaks inside table rows */
    tr, img {
        page-break-inside: avoid;
    }

    /* Improve readability */
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
    }

    p {
        page-break-before: avoid;
    }

    /* Adjust image sizes */
    img {
        max-width: 100%;
        height: auto;
    }

    /* Additional customizations as needed */
}
