@media print {

    @page {
        margin: 0; /* Optional: Adjust the margins */
    }

    #printButton {
        display: none;
    }

    body {
        margin: 0;
        padding: 0;
    }

    @media print and (orientation: portrait) {
        .logo {
            width: 150px !important;
            padding-left: 10px !important;
        }
    }

    /* Table styling for print */
    .custom-table {
        width: 100%;
        border-collapse: collapse;
    }

    .custom-table th, .custom-table td {
        padding: 8px !important;
        border: 1px solid #ddd !important; /* Use a border to ensure visibility */
    }

    .custom-table thead th {
        background-color: #4CAF50 !important;
        color: white !important;
    }

    .custom-table tbody tr:nth-of-type(even) {
        background-color: #f2f2f2 !important; /* Zebra striping for even rows */
    }

    /* Optional: Ensure table does not have extra margins/padding */
    .custom-table {
        margin: 0;
        padding: 0;
    }

    .custom-table td {
        border: none; /* Remove borders if not needed */
    }
}
