/* Newsprint page styles. Moved from templates/newsprint.html inline <style>. */
body {
        background: white;
        color: black;
      }

      @page {
        size: 8.5in 11in portrait;
        margin-top: 1in;
        margin-left: 1in;
        margin-right: 1in;
        margin-bottom: 1in;
        orphans: 3;
      }
      ul,
      li {
        font-size: 1.15rem;
        line-height: 1.25;
        font-family: "Times New Roman", times, serif;
      }

      p {
        font-size: 1.15rem;
        line-height: 1.25;
        font-family: "Times New Roman", times, serif;
      }
      #popup {
        display: none;
        position: fixed;
        top: 20px;
        right: 20px;
        width: 300px;
        padding: 15px;
        border-radius: 8px;
        background: #f9f9f9;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
        z-index: 1000;
      }
      #popup-message {
        margin: 0 0 10px;
        font-size: 14px;
        font-family: Arial, sans-serif;
      }
      #popup button {
        background: #007bff;
        color: white;
        border: none;
        padding: 6px 12px;
        border-radius: 4px;
        cursor: pointer;
      }
      #popup button:hover {
        background: #0056b3;
      }

      h4,
      p,
      ul,
      li {
        page-break-inside: avoid;
      }

      table {
        border-collapse: collapse;
      }
      th,
      td {
        font-family: "Times New Roman", Times, serif;
        font-size: 1.15rem;
        border-bottom: 1px solid black;
      }

      td {
        line-height: 1.4rem;
      }

      /* below not generally supported by browsers, so I'm not getting page numbers as I wanted. Chrome/Edge print dialog has setting so broswer will add the page numbers. */
      @page {
        @bottom-right {
          content: counter(page);
        }
      }
