/**
 * Styles for PDF export clones (.report-pdf-export).
 * @media print rules apply only when printing (media="print" in app.blade.php).
 */
.report-pdf-export,
.report-pdf-export .report-document-panel {
    width: 100%;
    margin: 0;
    padding: 0;
    background: #fff;
    color: #2d3748;
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    font-size: 12px;
    line-height: 1.45;
    overflow: visible;
}

.report-pdf-export .listing-panel {
    border-radius: 6px;
    overflow: visible;
    background: #fff;
    border: 1px solid #d5dde8;
    box-shadow: none;
    margin: 0;
}

.report-pdf-export .report-document-header {
    display: table;
    width: 100%;
    padding: 20px 24px 16px;
    border-bottom: 2px solid #4a7fc1;
    background: #f7f9fc;
    page-break-after: avoid;
}

.report-pdf-export .report-document-header__logo {
    display: table-cell;
    vertical-align: middle;
    width: 110px;
    padding-right: 20px;
}

.report-pdf-export .report-document-header__logo img {
    width: 100%;
    max-width: 110px;
    height: auto;
}

.report-pdf-export .report-document-header__content {
    display: table-cell;
    vertical-align: middle;
}

.report-pdf-export .report-document-header__title {
    margin: 0 0 4px;
    font-size: 20px;
    font-weight: 700;
    color: #2d3748;
}

.report-pdf-export .report-document-header__meta {
    margin: 0;
    font-size: 13px;
    color: #718096;
}

.report-pdf-export .report-section .pg-panel__header {
    padding: 12px 18px;
    background: #eef3fb;
    border-bottom: 1px solid #d5e0f0;
}

.report-pdf-export .report-section .pg-panel__body {
    padding: 16px 18px 18px;
}

.report-pdf-export .report-chart-card {
    padding: 14px 16px 10px;
    background: #fafbfc;
    border: 1px solid #dde4ee;
    border-radius: 6px;
    margin-bottom: 12px;
    page-break-inside: avoid;
}

.report-pdf-export .report-chart-image {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}

.report-pdf-export .report-table--multiline {
    table-layout: fixed;
    width: 100%;
    font-size: 9px;
}

.report-pdf-export .report-table--multiline thead th {
    font-size: 8px;
    padding: 6px 3px;
    background: #eef3fb;
    border: 1px solid #d5e0f0;
}

.report-pdf-export .report-table--multiline tbody td {
    padding: 5px 3px;
    font-size: 9px;
    border: 1px solid #edf0f5;
}

.report-pdf-export .morris-hover {
    display: none !important;
}

@media print {
    @page {
        margin: 0.8cm;
    }

    #to_print.report-print-ready,
    #to_print.report-print-ready .report-document-panel {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        background: #fff !important;
        box-shadow: none !important;
        border: none !important;
    }

    #to_print.report-print-ready .report-document-header {
        display: table;
        width: 100%;
        padding: 16px 20px 14px;
        border-bottom: 2px solid #4a7fc1;
        background: #f7f9fc !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
        page-break-after: avoid;
    }

    #to_print.report-print-ready .report-document-header__logo {
        display: table-cell;
        vertical-align: middle;
        width: 100px;
        padding-right: 16px;
    }

    #to_print.report-print-ready .report-document-header__logo img {
        max-width: 100px;
    }

    #to_print.report-print-ready .report-document-header__content {
        display: table-cell;
        vertical-align: middle;
    }

    #to_print.report-print-ready .report-document-header__title {
        font-size: 18px;
        font-weight: 700;
        color: #2d3748;
        margin: 0 0 4px;
    }

    #to_print.report-print-ready .report-document-header__meta {
        font-size: 12px;
        color: #718096;
    }

    #to_print.report-print-ready .report-section .pg-panel__header {
        padding: 10px 16px;
        background: #eef3fb !important;
        border-bottom: 1px solid #d5e0f0;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
        page-break-after: avoid;
    }

    #to_print.report-print-ready .report-section .pg-panel__body {
        padding: 14px 16px 16px;
    }

    #to_print.report-print-ready .listing-header__icon {
        display: none !important;
    }

    #to_print.report-print-ready .report-chart-card {
        background: #fafbfc !important;
        border: 1px solid #dde4ee;
        border-radius: 6px;
        padding: 12px 14px 8px;
        margin-bottom: 10px;
        page-break-inside: avoid;
        break-inside: avoid;
    }

    #to_print.report-print-ready .report-chart-image {
        display: block;
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    #to_print.report-print-ready .row {
        display: table;
        width: 100%;
        table-layout: fixed;
    }

    #to_print.report-print-ready .col-md-5,
    #to_print.report-print-ready .col-md-7 {
        display: table-cell;
        vertical-align: top;
        float: none !important;
        width: auto !important;
    }

    #to_print.report-print-ready .col-md-5 {
        width: 38% !important;
        padding-right: 10px;
    }

    #to_print.report-print-ready .col-md-7 {
        width: 62% !important;
    }

    #to_print.report-print-ready .listing-table {
        width: 100%;
        border-collapse: collapse;
        font-size: 11px;
    }

    #to_print.report-print-ready .listing-table thead th {
        padding: 8px 6px;
        font-size: 10px;
        font-weight: 700;
        background: #eef3fb !important;
        border: 1px solid #d5e0f0;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    #to_print.report-print-ready .listing-table tbody td {
        padding: 6px;
        border: 1px solid #edf0f5;
        font-size: 11px;
    }

    #to_print.report-print-ready .report-table--multiline {
        table-layout: fixed;
        width: 100%;
        font-size: 10px;
    }

    #to_print.report-print-ready .report-table--multiline thead th {
        font-size: 9px;
        line-height: 1.3;
        padding: 7px 4px;
        background: #eef3fb !important;
        border: 1px solid #d5e0f0;
        white-space: normal;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    #to_print.report-print-ready .report-table--multiline tbody td {
        font-size: 10px;
        padding: 5px 4px;
        border: 1px solid #edf0f5;
    }

    #to_print.report-print-ready .report-table--multiline tbody tr {
        page-break-inside: auto !important;
        break-inside: auto !important;
    }

    #to_print.report-print-ready .report-table-totals-block {
        page-break-inside: avoid;
        margin-top: 0;
    }

    #to_print.report-print-ready .report-table-totals-only th {
        padding: 7px 4px;
        font-size: 10px;
        font-weight: 700;
        background: #eef3fb !important;
        border: 1px solid #d5e0f0;
        border-top: 2px solid #4a7fc1;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    #to_print.report-print-ready .morris-hover {
        display: none !important;
    }

    #to_print.report-print-ready thead {
        display: table-header-group;
    }
}
