.employee-print-brand,
.employee-print-footer,
.report-generated-date {
    display: none;
}

#employeePrintMessage {
    align-self: center;
    color: #b91c1c;
    font-size: 13px;
}

#printPdfButton:disabled {
    opacity: .6;
    cursor: wait;
}

@media print {
    @page {
        margin-bottom: 20mm;

        @bottom-center {
            content: "strona " counter(page) " z " counter(pages);
            text-align: center;
            vertical-align: middle;
            font: 10px Arial, sans-serif;
            color: #475569;
        }

        @bottom-right {
            content: url("/assets/rcpgo-logo.png?v=c2fa8cecdd9c");
            text-align: right;
            vertical-align: middle;
        }
    }

    .report-print-heading,
    .header-row:has(.employee-print-brand) {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 18px;
        margin-bottom: 12px;
        padding-bottom: 10px;
        border-bottom: 1px solid #d1d5db;
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .report-generated-heading {
        flex: 0 0 auto;
    }

    .report-generated-date {
        display: block;
        margin-top: 4px;
        color: #6b7280;
        font-size: 11px;
        font-weight: 400;
        line-height: 1.4;
    }

    .report-print-title {
        flex: 1;
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .report-print-heading .sub {
        margin-bottom: 0;
    }

    .employee-print-brand {
        display: block;
        max-width: 55%;
        text-align: right;
        min-width: 0;
    }

    .employee-print-footer {
        display: none;
    }

    .employee-print-footer img {
        display: block;
        width: 170px;
        height: 40px;
        object-fit: contain;
    }

    .employee-print-company {
        min-width: 0;
        color: #111827;
        font-size: 11px;
        line-height: 1.4;
        overflow-wrap: anywhere;
    }

    #employeePrintCompanyName {
        font-size: 13px;
        font-weight: 700;
    }
}
