<html>

<head>
    <meta charset="UTF-8">
    <!-- <meta name="viewport" content="width=device-width, initial-scale=1.0"> -->
    <title>Approved</title>
    <link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap" rel="stylesheet">
    <link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap" rel="stylesheet">
</head>

<body>
    <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="font-weight: bold; text-align: center; margin-bottom: 16px;  font-size: 64px;">Hey {{ name }},</p>
          <p style="text-align: center;">Thank you for registering your visit. You are now ready to check in upon arrival on {{ arrivalDate }}.</p>
        </div>
      
        <div style="border: 1px solid #f2f2f2; border-radius: 16px; padding: 24px; background: #fff; box-shadow: 0 8px 12px rgba(0, 0, 0, 0.1); text-align: center;">
          <img src="your_qr_code_image_url" style="width: 200px; height: 200px;" />
        </div>
      
        <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; text-align: center; color: #052439; ">
          <p>You have 2 convenient options for check-in:</p>
          <div style="padding: 0 12px;">
            <ol>
              <li>QR Code Entry: Please present the QR code sent to you at the pedestrian entrance for access.</li>
              <li>Automatic Vehicle Entry: If arriving by vehicle, simply drive up to the boom gate. It will automatically recognize your vehicle's registered details given and grant access.</li>
            </ol>
          </div>
        </div>
      
        <div style="margin-top: 16px; padding: 16px; background-color: #052439; border-radius: 16px; text-align: center;">
          <p style="color: white; font-weight: bold;">Visitor Information</p>
        
        </div>
      
        {{!-- <div class="timer-container">
            <div class="timer-box">
              <div class="timer-content" style="background-color: #39b54a;">
                <p class="timer-value">12:00</p>
                <p class="timer-label">Actual Check In</p>
              </div>
            </div>
            <div class="timer-box">
              <div class="timer-content" style="background-color: #FF5252;">
                <p class="timer-value">n/a</p>
                <p class="timer-label">Actual Check Out</p>
              </div>
            </div>
          </div> --}}
          
          <div style="margin-top: 16px; max-width:100%; margin-left: auto; margin-right: auto;">
            <table style="color: #052439; font-size: 32px; 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;">NRIC/Passport/ID No.</td>
                  <td style="text-align: right; padding: 8px;">{{nric}}</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;">Vehicle Plate No.</td>
                  <td style="text-align: right; padding: 8px;">{{ plateNumber}}</td>
                </tr>
                {{!-- <tr style="border-bottom: 1px solid gray; padding: 20px;">
                  <td style="text-align: left; font-weight: bold; padding: 8px;">Overnight Parking</td>
                  <td style="text-align: right; padding: 8px;">{{ overnightParking}}</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>
              </tbody>
            </table>
          </div>
          <footer height="70" style="padding: 0; position: fixed; 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: 32px;">© 2024 by Seven 365 Pte Ltd V1.0</span>
              </div>
            </div>
          </footer>
      </div>
      
</body>
<style>
div {
    font-family: 'Roboto', sans-serif;
}
    .timer-container {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}

.timer-box {
  flex: 1;
  margin: 0 8px;
}

.timer-content {
  border: 1px solid #f2f2f2;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.1);
  padding: 16px;
  text-align: center;
}

.timer-value {
  color: white;
  font-weight: 500;
  font-size: 32px;
  line-height: 48px;
  margin: 0;
}

.timer-label {
  color: #052439;
  font-size: 12px;
  margin: 0;
}

@media (max-width: 768px) {
  .timer-container {
    flex-direction: column;
  }
  
  .timer-box {
    margin: 8px 0;
  }
}
</style>
</html>