/* Print CSS for 1:1 Excel reproduction */
@page {
    size: A4 landscape;
    margin: 8mm 8mm 8mm 8mm;
}

@media print {
    body {
        background-color: #ffffff !important;
        font-size: 10pt;
        color: #000000 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Hide non-print elements */
    .no-print,
    .navbar,
    .action-toolbar,
    .btn,
    .card-header,
    .modal,
    footer,
    .nav-tabs,
    .alert {
        display: none !important;
    }

    .container,
    .container-fluid {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .excel-wrapper {
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        overflow: visible !important;
    }

    .table-excel {
        width: 100% !important;
        border-collapse: collapse !important;
        font-size: 9pt !important;
    }

    .table-excel th,
    .table-excel td {
        border: 1px solid #000000 !important;
        padding: 3px 4px !important;
        color: #000000 !important;
    }

    .table-excel thead th {
        background-color: #4ba3c3 !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    .table-excel tr.row-total td,
    .table-excel td.cell-total,
    .table-excel tr.row-grand-total td {
        background-color: #ffff00 !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
        font-weight: bold !important;
    }

    .table-excel .text-weekend {
        color: #c00000 !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    .signature-section {
        page-break-inside: avoid;
        margin-top: 25px !important;
    }

    .signature-box .role-title {
        margin-bottom: 50px !important;
    }
}
