<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Styled Table</title>
  <style>
    body {
      font-family: 'Georgia', serif;
      padding: 2rem;
      background-color: #fff;
    }

    table {
      width: 100%;
      border-collapse: collapse;
      border-spacing: 0;
      font-size: 16px;
    }

    caption {
      caption-side: top;
      font-weight: bold;
      text-align: left;
      background-color: #eaf3fb;
      padding: 0.75rem 1rem;
      font-size: 18px;
    }

    caption span {
      color: #007acc;
    }

    th, td {
      padding: 10px 15px;
      text-align: left;
      vertical-align: top;
      border-bottom: 1px solid #ccc;
    }

    th {
      font-weight: bold;
      border-bottom: 3px solid #007acc;
    }

    tr:last-child td {
      border-bottom: 3px solid #007acc;
    }

    td em {
      font-style: italic;
    }

    .table-caption {
      background-color: #eaf6ff; /* light blue background */
      border-top: 2px solid #00aaff; /* top border */
      padding: 10px;
      font-family: 'Georgia', serif;
      font-size: 18px;
    }

    .table-caption .label {
      color: #00aaff;
      font-weight: bold;
    }

    .table-caption .caption {
      font-weight: bold;
    }

    .note {
        font-size: 16px;
        padding: 10px;
    }
  </style>
</head>
<body>
    <div class="table-caption">
        <span class="label">Table 1</span>
        <span class="caption">Demographic characteristics of patients between different age groups and endometrial preparation groups.</span>
    </div>
    <table class="table table-bordered table-condensed table-hover">
<colgroup>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
</colgroup>
<thead>
<tr>
<th>Characteristics</th>
<th colspan="3" style="text-align:center;">Group A (<i>n</i>= 2,605)</th>
<th colspan="3" style="text-align:center;">Group B (<i>n</i>= 1,486)</th>
</tr>
<tr>
<th></th>
<th>HRT (<i>n</i> = 1965)</th>
<th>GnRHa-HRT (<i>n</i> = 640)</th>
<th>
<i>P</i> value</th>
<th>HRT (<i>n</i> = 1054)</th>
<th>GnRHa-HRT (<i>n</i> = 432)</th>
<th>
<i>P</i>value</th>
</tr>
</thead>
<tbody>
<tr>
<td>Maternal age (years)</td>
<td>30.60 (28.20,32.60)</td>
<td>30.30 (27.50,32.00)</td>
<td data-jats-char="." style="text-align:char;">0.0016<a class="xref xref-fn" data-jats-ref-type="fn" data-jats-rid="table-1fn2" href="#table-1fn2"><sup>*</sup></a>
</td>
<td>38.10 (36.40,40.50)</td>
<td>38.30 (36.60,40.68)</td>
<td data-jats-char="." style="text-align:char;">0.2700</td>
</tr>
<tr>
<td>Male age (years)</td>
<td>32.00 (30.00,35.00)</td>
<td>33.00 (31.00,35.00)</td>
<td>0.1824</td>
<td>39.00 (37.00,42.00)</td>
<td>39.00 (37.00,42.00)</td>
<td>0.7680</td>
</tr>
<tr>
<td>BMI (kg/m<sup>2</sup> )</td>
<td>21.09 (19.31,23.44)</td>
<td>21.26 (19.56,23.81)</td>
<td>0.0697</td>
<td>21.81 (20.06,23.92)</td>
<td>22.03 (20.09,24.02)</td>
<td>0.5264</td>
</tr>
<tr>
<td>Duration of infertility (years)</td>
<td>3.00 (1.00,4.00)</td>
<td>3.00 (1.00,4.00)</td>
<td>0.6756</td>
<td>3.00 (1.00,5.00)</td>
<td>3.00 (1.00,5.00)</td>
<td>0.6349</td>
</tr>
<tr>
<td>Number of embryos transferred, <i>n</i> (%)</td>
<td></td>
<td></td>
<td>0.0381<a class="xref xref-fn" data-jats-ref-type="fn" data-jats-rid="table-1fn2" href="#table-1fn2"><sup>*</sup></a>
</td>
<td></td>
<td></td>
<td>0.5588</td>
</tr>
<tr>
<td>1</td>
<td>677 (34.45%)</td>
<td>192 (30.00%)</td>
<td></td>
<td>409 (38.80%)</td>
<td>175 (40.51%)</td>
<td></td>
</tr>
<tr>
<td>2</td>
<td>1288 (65.55%)</td>
<td>448 (70.00%)</td>
<td></td>
<td>645 (61.20%)</td>
<td>257 (59.49%)</td>
<td></td>
</tr>
<tr>
<td>Infertility type, <i>n</i> (%)</td>
<td></td>
<td></td>
<td>0.4007</td>
<td></td>
<td></td>
<td>0.7348</td>
</tr>
<tr>
<td>Primary</td>
<td>754 (38.37%)</td>
<td>258 (40.31%)</td>
<td></td>
<td>135 (12.81%)</td>
<td>58 (13.43%)</td>
<td></td>
</tr>
<tr>
<td>Secondary</td>
<td>1211 (61.63%)</td>
<td>382 (59.69%)</td>
<td></td>
<td>919 (87.19%)</td>
<td>374 (86.57%)</td>
<td></td>
</tr>
<tr>
<td>History of intrauterine adhesions, <i>n</i> (%)</td>
<td>149 (7.58%)</td>
<td>61 (9.53%)</td>
<td>0.1320</td>
<td>128 (12.14%)</td>
<td>84 (19.44%)</td>
<td>0.0004<a class="xref xref-fn" data-jats-ref-type="fn" data-jats-rid="table-1fn3" href="#table-1fn3"><sup>**</sup></a>
</td>
</tr>
<tr>
<td>Protocol in fresh cycle, <i>n</i> (%)</td>
<td></td>
<td></td>
<td>0.0014<a class="xref xref-fn" data-jats-ref-type="fn" data-jats-rid="table-1fn2" href="#table-1fn2"><sup>*</sup></a>
</td>
<td></td>
<td></td>
<td>0.0040<a class="xref xref-fn" data-jats-ref-type="fn" data-jats-rid="table-1fn2" href="#table-1fn2"><sup>*</sup></a>
</td>
</tr>
<tr>
<td>Agonist</td>
<td>1566 (79.69%)</td>
<td>488 (76.25%)</td>
<td></td>
<td>631 (59.87%)</td>
<td>218 (50.46%)</td>
<td></td>
</tr>
<tr>
<td>Antagonist</td>
<td>23 (1.17%)</td>
<td>0</td>
<td></td>
<td>10 (0.95%)</td>
<td>2 (0.46%)</td>
<td></td>
</tr>
<tr>
<td>PPOS/LPOI</td>
<td>212 (10.79%)</td>
<td>96 (15.00%)</td>
<td></td>
<td>235 (22.30%)</td>
<td>127 (29.40%)</td>
<td></td>
</tr>
<tr>
<td>Others</td>
<td>164 (8.35%)</td>
<td>56 (8.75%)</td>
<td></td>
<td>178 (16.88%)</td>
<td>85 (19.68%)</td>
<td></td>
</tr>
<tr>
<td>Fertilization type, <i>n</i> (%)</td>
<td></td>
<td></td>
<td>0.7898</td>
<td></td>
<td></td>
<td>0.3129</td>
</tr>
<tr>
<td>IVF</td>
<td>1515 (77.10%)</td>
<td>485 (75.78%)</td>
<td></td>
<td>775 (73.53%)</td>
<td>316 (73.15%)</td>
<td></td>
</tr>
<tr>
<td>ICSI</td>
<td>444 (22.60%)</td>
<td>153 (23.91%)</td>
<td></td>
<td>265 (25.14%)</td>
<td>114 (26.39%)</td>
<td></td>
</tr>
<tr>
<td>IVF+ICSI</td>
<td>6 (0.3%)</td>
<td>2 (0.31%)</td>
<td></td>
<td>14 (1.33%)</td>
<td>2 (0.46%)</td>
<td></td>
</tr>
</tbody>
</table>
    <div class="note">
        Notes: Abbreviations PPOS Progestin-primed ovarian stimulation LPOI luteal phase ovulation induction * P < 0.05. ** P < 0.001.
    </div>
</body>
</html>