.report-print-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.report-print-wrapper .card {
  page-break-inside: avoid;
  break-inside: avoid;
  margin-bottom: 1.5rem;
}

.report-print-wrapper .card-body {
  padding: 1rem 1.25rem;
}

.report-print-wrapper .table {
  width: 100% !important;
}

.report-print-wrapper .table-responsive {
  overflow: visible;
}

.report-print-wrapper .alert {
  margin-top: 1rem;
}

@media print {
  @page {
    margin: 0.5in;
  }

  html,
  body {
    min-width: 1024px !important;
  }

  body {
    padding: 0 !important;
    background-color: #fff !important;
    color: #212529 !important;
  }

  .navbar,
  .chat-floating-widget,
  .voice-assistant-widget,
  [data-install-prompt] {
    display: none !important;
  }

  .container {
    width: 100% !important;
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .container > .row,
  .container > .dashboard-hero,
  .container > .card,
  .container > .card + .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .dashboard-hero {
    background: #f8f9fa !important;
    color: #212529 !important;
    border: 1px solid #dee2e6 !important;
    border-radius: 1rem !important;
    padding: 2rem !important;
  }

  .dashboard-hero::after {
    display: none !important;
  }

  .dashboard-hero .badge {
    background-color: var(--bs-primary) !important;
    color: #fff !important;
  }

  .dashboard-hero .dashboard-status-chip {
    background-color: rgba(13, 110, 253, 0.12) !important;
    color: #0d6efd !important;
  }

  .dashboard-summary-card,
  .card {
    box-shadow: none !important;
    border: 1px solid #dee2e6 !important;
  }

  .card .card-body {
    padding: 1.25rem !important;
  }

  .report-print-wrapper {
    max-width: none !important;
  }

  .report-print-wrapper .btn,
  .report-print-wrapper [data-report-action],
  .report-print-wrapper .btn-toolbar {
    display: none !important;
  }

  .report-print-wrapper [data-report-filters] {
    display: none !important;
  }

  .report-print-wrapper .row {
    display: flex !important;
    flex-wrap: wrap !important;
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 1.5rem;
  }

  .report-print-wrapper .row > * {
    flex: 0 0 auto;
    max-width: 100%;
    padding-right: calc(var(--bs-gutter-x) / 2);
    padding-left: calc(var(--bs-gutter-x) / 2);
    padding-top: calc(var(--bs-gutter-y) / 2);
    padding-bottom: calc(var(--bs-gutter-y) / 2);
  }

  .report-print-wrapper .row-cols-md-3 > * {
    width: 33.333333% !important;
    max-width: 33.333333% !important;
  }

  .report-print-wrapper .row-cols-md-4 > * {
    width: 25% !important;
    max-width: 25% !important;
  }

  .report-print-wrapper .row-cols-xl-5 > * {
    width: 20% !important;
    max-width: 20% !important;
  }

  .report-print-wrapper .col-md-4 {
    width: 33.333333% !important;
    max-width: 33.333333% !important;
  }

  .report-print-wrapper .col-lg-3 {
    width: 25% !important;
    max-width: 25% !important;
  }

  .report-print-wrapper .col-lg-4 {
    width: 33.333333% !important;
    max-width: 33.333333% !important;
  }

  .report-print-wrapper .col-lg-8 {
    width: 66.666667% !important;
    max-width: 66.666667% !important;
  }

  .report-print-wrapper .flex-lg-row {
    flex-direction: row !important;
  }

  .report-print-wrapper .justify-content-lg-end {
    justify-content: flex-end !important;
  }

  .report-print-wrapper .align-items-lg-center {
    align-items: center !important;
  }
}
