@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

/* One print language for every report: matches the compact PDF exports. */
@media print {
  @page {
    size: auto;
    margin: 10mm;
  }

  html,
  body,
  body *:not(i):not(.fa):not([class*="icon-"]) {
    font-family: "Poppins", Arial, sans-serif !important;
    font-style: normal;
  }

  html,
  body {
    color: #000 !important;
    background: #fff !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  html body #printable-area,
  html body .contentx,
  html body #logo-header,
  html body #report-header,
  html body #reprt-table-modal {
    margin-top: 0 !important;
    page-break-before: auto !important;
    break-before: auto !important;
    page-break-after: auto !important;
    break-after: auto !important;
  }

  html body #printable-area,
  html body .contentx {
    width: 96% !important;
    max-width: 96% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 1mm !important;
    padding-right: 1mm !important;
    box-sizing: border-box !important;
    overflow: visible !important;
  }

  html body table,
  html body .table,
  html body table.dataTable,
  html body .financial-report table {
    width: 100% !important;
    max-width: 100% !important;
    border-collapse: collapse !important;
    border-spacing: 0 !important;
    table-layout: auto !important;
    font-family: "Poppins", Arial, sans-serif !important;
    font-size: 9px !important;
    line-height: 1.3 !important;
    color: #000 !important;
    background: #fff !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }

  html body table thead th,
  html body .table thead th,
  html body table.dataTable thead th,
  html body .financial-report table thead th {
    padding: 4px 5px !important;
    border: 1px solid #bfc5ca !important;
    background: #e7edf4 !important;
    color: #000 !important;
    font-family: "Poppins", Arial, sans-serif !important;
    font-size: 9px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    text-align: center !important;
    vertical-align: middle !important;
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  html body table tbody td,
  html body table tfoot td,
  html body .table tbody td,
  html body .table tfoot td,
  html body table.dataTable tbody td,
  html body .financial-report table tbody td,
  html body .financial-report table tfoot td {
    padding: 4px 5px !important;
    border: 1px solid #bfc5ca !important;
    background: #fff !important;
    color: #000 !important;
    font-family: "Poppins", Arial, sans-serif !important;
    font-size: 9px !important;
    font-weight: 400 !important;
    line-height: 1.3 !important;
    vertical-align: middle !important;
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }

  html body table tbody tr:nth-child(even) td,
  html body .table tbody tr:nth-child(even) td,
  html body .financial-report table tbody tr:nth-child(even) td {
    background: #f7f8f8 !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  html body table a,
  html body table a:visited,
  html body .table a,
  html body .table a:visited {
    color: #000 !important;
    text-decoration: none !important;
  }

  html body table tr {
    page-break-inside: avoid !important;
    break-inside: avoid !important;
  }

  html body table th:last-child,
  html body table td:last-child {
    border-right: 1px solid #8f9aa5 !important;
  }

  html body table:has(thead th:nth-child(8)) {
    font-size: 7.5px !important;
    line-height: 1.2 !important;
  }
  html body table:has(thead th:nth-child(8)) th,
  html body table:has(thead th:nth-child(8)) td {
    font-size: 7.5px !important;
    padding: 3px 4px !important;
  }

  /* Filter summaries (for example "Types: All") are metadata, not data
     tables, so they must stay borderless like the PDF design. */
  html body table.tb-header,
  html body table.left-table,
  html body table.right-table,
  html body #report-header table {
    width: 100% !important;
    border: 0 !important;
    background: transparent !important;
  }

  html body #report-header,
  html body #report-header > div {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
  }

  html body table.tb-header tr,
  html body table.tb-header td,
  html body table.tb-header th,
  html body table.left-table tr,
  html body table.left-table td,
  html body table.left-table th,
  html body table.right-table tr,
  html body table.right-table td,
  html body table.right-table th,
  html body #report-header table tr,
  html body #report-header table td,
  html body #report-header table th {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 1px 2px !important;
  }

  html body .signature {
    display: none !important;
    visibility: hidden !important;
  }

  html body .row-3-col:has(#report-footer:empty) {
    display: none !important;
  }

  html body .report_title2,
  html body #form-report-title,
  html body .report-title,
  html body .print-title {
    color: #003399 !important;
    font-family: "Poppins", Arial, sans-serif !important;
    font-weight: 600 !important;
  }
}
