<table style="height: 100%; width: 100%">
  <tr>
    <td style="vertical-align: middle; text-align: center">
      <div style="padding: 24px;  justify-content: center;">
        <div style="background-color: #052439; elevation: 2;">
          <div style="display: flex; justify-content: center;">
            <img src="{{logo}}" style="width: 190px; height: 50px;" />
          </div>
        </div>
        <div style="margin-bottom: 16px; color: #052439; ">
          <p style="color: #052439; font-weight: 600; font-size: 32px; line-height: 30px;  text-align: center; padding: 16px;">Hey
            {{name}},</p>
          <p style="text-align: center;">You are now ready to check in upon arrival on {{arrivalDate}}.</p>
        </div>
        <a href="{{qrLink}}" style="text-decoration: none"><div
            style="margin-top: 16px; padding: 5px; background-color: #4caf50; border-radius: 16px; text-align: center;"
          >
            <p style="color: white; font-weight: bold;">QR code Link (Click Here)</p>
          </div></a>

        <div style="margin-top: 16px; text-align: center; color: #052439; ">
          <p>Please present the QR code sent to you at the pedestrian entrance for access.</p>
        </div>

        <div style="margin-top: 16px; padding: 5px; background-color: #052439; border-radius: 16px; text-align: center;">
          <p style="color: white; font-weight: bold;">Visitor Information</p>
        </div>

        <div style="margin-top: 16px; max-width:100%; margin-left: auto; margin-right: auto; margin-bottom: 50px">
          <table style="color: #052439; font-size: 16px; margin: 0 auto; border-collapse: collapse; width: 100%;">
            <tbody>
              <tr style="border-bottom: 1px solid gray; padding: 20px;">
                <td style="text-align: left; font-weight: bold; padding: 8px;">Name</td>
                <td style="text-align: right; padding: 8px;">{{name}}</td>
              </tr>

              <tr style="border-bottom: 1px solid gray; padding: 20px;">
                <td style="text-align: left; font-weight: bold; padding: 8px;">Tenant/Resident Address</td>
                <td style="text-align: right; padding: 8px;">{{address}}</td>
              </tr>
              <tr style="border-bottom: 1px solid gray; padding: 20px;">
                <td style="text-align: left; font-weight: bold; padding: 8px;">Contact No.</td>
                <td style="text-align: right; padding: 8px;">{{contactNumber}}</td>
              </tr>
              <tr style="border-bottom: 1px solid gray; padding: 20px;">
                <td style="text-align: left; font-weight: bold; padding: 8px;">Email</td>
                <td style="text-align: right; padding: 8px;">{{email}}</td>
              </tr>

              <tr style="border-bottom: 1px solid gray; padding: 20px;">
                <td style="text-align: left; font-weight: bold; padding: 8px;">Arrival Date</td>
                <td style="text-align: right; padding: 8px;">{{arrivalDate}}</td>
              </tr>
              <tr style="border-bottom: 1px solid gray; padding: 20px;">
                <td style="text-align: left; font-weight: bold; padding: 8px;">Arrival Time</td>
                <td style="text-align: right; padding: 8px;">{{arrivalTime}}</td>
              </tr>
              <tr style="border-bottom: 1px solid gray; padding: 20px;">
                <td style="text-align: left; font-weight: bold; padding: 8px;">Duration</td>
                <td style="text-align: right; padding: 8px;">{{duration}}</td>
              </tr>
              <tr style=" padding: 20px;">
                <td style="text-align: left; font-weight: bold; padding: 8px;">Purpose of Visit</td>
              </tr>
              <tr style="padding: 20px;"><td style="text-align: right; padding: 8px;">{{purposeOfVisit}}</td></tr>
            </tbody>
          </table>
        </div>
        <footer height="70" style="padding: 0;  bottom: 0; left: 0; right: 0; z-index: 10; background-color: #fff;">
          <div style="padding: 12px; max-width: 600px; margin-left: auto; margin-right: auto;">
            <div style="text-align: center;">
              <span style="font-size: 16px;">© 2024 powered by Seven365 Pte. Ltd. v.1</span>
            </div>
          </div>
        </footer>
      </div>
    </td>
  </tr>
</table>