/* @media print {
    table {
        width: 100%;
        border-collapse: collapse;
        margin-bottom: 15px;
        page-break-inside: auto;
    }

    table tr {
        page-break-inside: avoid; 
        page-break-after: auto;
    }

    thead { 
        display: table-header-group;
    }

    tfoot { 
        display: table-footer-group;
    }

    table, th, td, th {
        border: 1px solid black;
        height: 30px;
        padding-left: 5px;
        text-align: left;
    }

    table tr td:nth-of-type(1),
    table tr th:nth-of-type(1) {
        width: 60%;
    }

    table tr td:nth-of-type(2),
    table tr th:nth-of-type(2) {
        width: 20%;
        text-align: center;
    }

    table tr td:nth-of-type(3),
    table tr th:nth-of-type(3) {
        text-align: center;
    }

    input, button, hr {
        display: none;
    }

    div.header {
        text-align: center;
        padding: 8px;
        border: 1px solid black;
        margin-bottom: 15px;
    }

    div.footer {
        text-align: right;
    }
} */