/* ==========================================================================
   NEXO SAÚDE — PRINT STYLES
   Clean, Official Layout for Medical Prescriptions & Consolidated Reports
   ========================================================================== */

@media print {
  /* Hide UI chrome */
  .app-sidebar,
  .app-header,
  .demo-floating-menu,
  .page-actions,
  .btn,
  .tabs-nav,
  .toast-container,
  .sync-drawer-overlay,
  .modal-backdrop {
    display: none !important;
  }

  body, .app-container, .app-main, .page-content {
    background: #FFFFFF !important;
    color: #000000 !important;
    padding: 0 !important;
    margin: 0 !important;
    height: auto !important;
    overflow: visible !important;
    width: 100% !important;
  }

  .report-paper, .prescription-sheet {
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .card {
    border: 1px solid #CCCCCC !important;
    box-shadow: none !important;
    page-break-inside: avoid;
  }

  h1, h2, h3, h4, h5, h6 {
    color: #000000 !important;
  }

  .table th {
    background: #F0F0F0 !important;
    color: #000000 !important;
  }

  .table td {
    background: #FFFFFF !important;
    color: #000000 !important;
  }

  /* Force print background colors */
  * {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
}
