/**
 * Print stylesheet for Erbschaft-/Schenkungsteuerrechner
 * Optimized for official Bescheid-style output
 */

@media print {
  /* Hide non-essential UI elements */
  nav,
  .mode-toggle,
  .perspective-toggle,
  .wizard-nav,
  .what-if-panel,
  button:not(.print-include),
  [data-print="hide"] {
    display: none !important;
  }

  /* Reset background colors for print */
  body,
  .bg-white,
  .dark\:bg-gray-800 {
    background: white !important;
    color: black !important;
  }

  /* Remove shadows and borders for cleaner print */
  .shadow,
  .shadow-lg,
  .shadow-sm {
    box-shadow: none !important;
  }

  /* Ensure text is black */
  * {
    color: black !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  /* Keep colored backgrounds for key sections */
  .bg-blue-50,
  .bg-yellow-100 {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  /* Page breaks */
  .bescheid-header {
    page-break-after: avoid;
  }

  .audit-points-list {
    page-break-before: always;
  }

  /* Ensure monospace for reference numbers */
  .font-mono {
    font-family: "Courier New", monospace !important;
  }

  /* Set page margins */
  @page {
    margin: 2cm;
    size: A4;
  }
}
