
@media print {
  /* Hide navigation and other non-essential elements */
  nav, 
  header, 
  .sidebar,
  .no-print,
  button,
  [role="navigation"],
  [role="complementary"] {
    display: none !important;
  }

  /* Full width content */
  main,
  .main-content,
  .content-container {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Ensure white background and black text */
  body {
    background-color: white !important;
    color: black !important;
    font-family: 'Helvetica', 'Arial', sans-serif !important;
  }

  /* Force page breaks */
  .page-break {
    page-break-before: always;
  }

  /* Ensure tables appear correctly */
  table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
  }

  td, th {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
  }

  th {
    background-color: #f2f2f2;
    font-weight: bold;
  }

  /* Add header and footer info */
  @page {
    margin: 2cm;
    size: letter;
  }

  /* Make links and text readable */
  a {
    color: black !important;
    text-decoration: none;
  }

  /* Make sure light text is visible when printed */
  .text-muted-foreground {
    color: #333 !important;
  }

  /* Make cards and borders visible */
  .card,
  .border {
    border: 1px solid #ddd !important;
    padding: 16px !important;
    margin-bottom: 16px !important;
  }

  /* Give specific styling to quotation elements */
  .quotation-header {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #ddd;
  }

  .quotation-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }

  .patient-info {
    margin-bottom: 1rem;
  }

  .quotation-summary {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #ddd;
  }

  .quotation-footer {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #ddd;
    font-size: 0.8rem;
    text-align: center;
  }

  /* Hide actions buttons on print */
  .quotation-actions {
    display: none !important;
  }
}
