/* PRINT STYLESHEET */

/* Preserve all colors and backgrounds on print */
@media print {
  /* Enable exact color and background printing */
  * {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  /* Preserve grid layouts */
  .grid {
    display: grid !important;
  }

  /* Keep shadows and borders visible */
  .shadow-md, .shadow-lg {
    box-shadow: none !important; /* Optional: shadows often print poorly, remove if needed */
  }
  .border {
    border-style: solid !important;
  }

  /* Prevent breaking inside important containers */
  article, section, div {
    break-inside: avoid !important;
    page-break-inside: avoid !important;
  }

  /* Force page breaks before each major section for clarity */
  section {
    break-before: page !important;
    page-break-before: always !important;
  }

  /* Full width container */
  .max-w-7xl {
    max-width: 100% !important;
    width: 100% !important;
  }

  /* Prevent content from shrinking */
  body, html {
    width: 100% !important;
    height: auto !important;
  }

  /* Remove any fixed positioning */
  * {
    position: static !important;
  }

  /* Links underline for visibility */
  a {
    text-decoration: underline !important;
    color: black !important;
  }

  /* Remove hover effects */
  a:hover, button:hover {
    color: black !important;
    background: none !important;
    box-shadow: none !important;
  }

  /* Optional: ensure backgrounds print on all browsers */
  body {
    background-color: white !important;
  }
}
