     body {
        font: 14px Arial normal;
    }
            .navbar {
              display: flex;
              justify-content: space-between;
              align-items: center;
              background-color: #1e1b4b; /* Dark indigo background */
              padding: 20px;
            }
 
    .membership-list, .summary-table {
        margin-left: 20px;
    }
    table {
        border-collapse:collapse;
        border-spacing:0;
    }
    td {
        border-bottom: 1px solid gray;
        border-top: 1px solid gray;
    }
        
    tr {
        margin-top: 15px;
    }
        
    th {
        padding: 20px;
        margin-top: 15px;
    }
    a  {
            color: gray;    
            font-style: italic;
            text-decoration: underline;
            text-decoration-thickness: 1px;
            text-text-underline-offset: 4px;
            text-decoration-color: rgba(0, 0, 0, 0.8);
    }

    .no-borders {
        border: none;
    } 
                /* Navigation Links List */
            .nav-links {
              display: flex;
              list-style: none; /* Removes the default bullet points */
              gap: 20px; /* Modern spacing between the links */
              margin: 8px;
              padding-inline-start: 0px;
            }
            
            /* Core Link Styling */
            .nav-links a {
              display: block; /* Expands the clickable hit area */
              color: #cbd5e1; /* Soft gray text */
              text-decoration: none; /* Removes the default underline */
              font-size: 16px;
              font-style: normal;
              font-weight: 500;
              padding: 8px 16px;
              border-radius: 4px;
              transition: all 0.3s ease; /* Smooth hover transition */
            }
            
            /* Hover State (Mouse over) */
            .nav-links a:hover {
              color: #ffffff;
              background-color: #3730a3; /* Lighter indigo shift */
            }
            
            /* Active State (Current page link) */
            .nav-links a.active {
              color: #ffffff;
              background-color: #4f46e5; /* Distinct bright color */
            }
            .nav-links span {
              display: block;
              color: #bb0; /* Soft gray text */
              text-decoration: none; /* Removes the default underline */
              font-size: 16px;
              font-weight: 700;
              padding: 8px 16px;
            }
    @media print {
        .new-page {
            break-before: page;
            page-break-before: always; 
        }
        h6 {
            break-before: page;
            page-break-before: always; 
        }
        .navbar {
            display: none;
        }
        
        table {
        break-inside: auto; 
        page-break-inside: auto;
        }
        
        /* 1. Repeat the headers automatically on every new page */
        thead {
        display: table-header-group;
        }
        

        /* 2. Prevent a single row from tearing in half across a page boundary */
        tr, tbody {
        break-inside: avoid;
        page-break-inside: avoid;
        }
    }

    </style>