/* General print styles */
@media print {
    body {
        font: 90%/1.45em "Helvetica Neue", HelveticaNeue, Verdana, Arial, Helvetica, sans-serif !important;
        color: #333 !important;
        background-color: #fff !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Ensure tables are styled properly */
    body.dt-print-view table {
        width: 100% !important;
        border-collapse: collapse !important;
        font-size: 10px !important;
    }

    body.dt-print-view table th, table td {
        border: 1px solid #0056b3 !important;
        padding: 8px;
    }

    /* Header styling */
    body.dt-print-view table th {
        background-color: #3d84b1 !important;
        color: white !important;
        font-weight: bold !important;
        text-align: center !important;
    }

    /* Align specific columns */
    body.dt-print-view table tbody td:nth-child(1),
    body.dt-print-view table tbody td:nth-child(2),
    body.dt-print-view table tbody td:nth-child(3) {
        text-align: left !important;
    }

    body.dt-print-view table tbody td:nth-child(4),
    body.dt-print-view table tbody td:nth-child(5),
    body.dt-print-view table tbody td:nth-child(6) {
        text-align: right !important;
    }

    /* Alternate row coloring */
    body.dt-print-view table tbody tr:nth-child(even) {
        background-color: #b8cce3 !important;
    }
}
