/* Print styles for Math Assignment Generator */
@media print {
    body {
      font-family: 'Inter', sans-serif;
      background: white !important;
      color: black !important;
    }
  
    header, 
    .no-print, 
    #darkToggle,
    .sidebar, 
    .download-buttons,
    #loader {
      display: none !important;
    }
  
    main {
      max-width: 100%;
      margin: 0;
      padding: 0;
    }
  
    h1, h2, h3 {
      color: black !important;
      margin-top: 1rem;
      margin-bottom: 0.5rem;
    }
  
    img {
      max-width: 100%;
      height: auto;
      page-break-inside: avoid;
    }
  
    article {
      border: none !important;
      box-shadow: none !important;
      page-break-inside: avoid;
      padding: 0.5rem 0;
    }
  
    /* Avoid breaking a question & answer in two pages */
    .question-block, 
    .answer-block {
      page-break-inside: avoid;
    }
  }
  