<!DOCTYPE html>
<html>
<head>
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <style>
    @import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');
    
    body { margin: 0; font-family: 'Arial', sans-serif; line-height: 1.6; }
    .container { max-width: 700px; margin: 0 auto; background: #ffffff; }
    .header { background: #0055cc url('https://example.com/header-bg.png'); padding: 40px; text-align: center; }
    .logo { width: 200px; display: block; margin: 0 auto 20px; }
    .content { padding: 30px; color: #333333; }
    .shipment-alert { background: #e3f2fd; padding: 20px; border-radius: 8px; margin: 20px 0; }
    .details-table { width: 100%; border-collapse: collapse; margin: 25px 0; }
    .details-table td, .details-table th { padding: 15px; border: 1px solid #e0e0e0; }
    .details-table th { background: #f8f9fa; text-align: left; width: 35%; }
    .icon { width: 20px; height: 20px; vertical-align: middle; margin-right: 10px; }
    .cta-button { background: #0055cc; color: white!important; padding: 14px 35px; 
                border-radius: 8px; text-decoration: none; display: inline-block; 
                margin: 15px 0; transition: 0.3s; }
    .cta-button:hover { background: #003f99; }
    .footer { padding: 25px; text-align: center; background: #2c3e50; color: white; }
    .social-links { margin: 15px 0; }
  </style>
</head>
<body>
  <div class="container">
    <!-- Header with Visible Preview Image -->
    <div class="header">
      <img src="{{ siteLogo() }}"
           alt="SwiftShip Logo" class="logo">
      <h1 style="color: white; margin: 15px 0;">Shipment Successfully Registered</h1>
    </div>

    <div class="content">
      <div class="shipment-alert">
        <h2 style="margin-top: 0;">Shipping Notification</h2>
        <p>Hello  <strong>{{$receiver_name}},</strong> {{$sender_name}} has arranged a delivery for you through {{$globalSiteName}}. Below are full details of your registered shipment:</p>
      </div>

      <table class="details-table">
        <tr>
          <th colspan="2" style="background: #0055cc; color: white; text-align: center;">
            
            SHIPMENT DETAILS
          </th>
        </tr>
        <tr>
          <th><i class="fas fa-barcode"></i> Tracking Number</th>
          <td>{{$tracking_number}}</td>
        </tr>
        <tr>
          <th><i class="fas fa-calendar-alt"></i> Estimated Delivery</th>
          <td>{{$expected_delivery_date}}</td>
        </tr>
        <tr>
          <th><i class="fas fa-box-open"></i> Shipment Weight</th>
          <td>{{$weight}}</td>
        </tr>
        
        <tr>
          <th><i class="fas fa-user-tag"></i> Sender Details</th>
          <td>
            <strong>[{{$sender_name}}]</strong><br>
            [{{$sender_address}}]<br>
            [{{$sender_phone_number}}]
          </td>
        </tr>
        <tr>
          <th><i class="fas fa-map-marker-alt"></i> Recipient Details</th>
          <td>
            <strong>[{{$receiver_name}}]</strong><br>
            [{{$receiver_address}}]<br>
            [{{$receiver_phone_number}}]
          </td>
        </tr>
        <tr>
          <th><i class="fas fa-shipping-fast"></i> Shipping Mode</th>
          <td>{{$shipping_mode}}</td>
        </tr>
        <tr>
          <th><i class="fas fa-clipboard-list"></i> Contents</th>
          <td>{{$shipment_name}}</td>
        </tr>
      </table>

      <center style="margin: 30px 0;">
        <a href="{{$globalDomain}}/tracking" class="cta-button">
          <i class="fas fa-map-marked-alt"></i> LIVE TRACKING
        </a>
        <br>
        <a href="{{$globalDomain}}/contact-us" style="color: #0055cc; text-decoration: none;">
          <i class="fas fa-headset"></i> NEED HELP? CONTACT SUPPORT
        </a>
      </center>
    </div>

    <div class="footer">
      
      
      <p>{{$globalSiteName}}<br>
      {{$globalAddress}}<br>
      <a href="tel:{{$globalPhoneNumber}}" style="color: #fff;">{{$globalPhoneNumber}}</a></p>
      
      <p style="font-size: 0.85em; margin-top: 20px;">
        <a href="[UNSUBSCRIBE_LINK]" style="color: #95a5a6;">Shipping Policy</a> | 
        <a href="[PRIVACY_LINK]" style="color: #95a5a6;">Terms & Conditions</a><br>
        ©2025 - {{$globalSiteName}} All Rights Reserved.
      </p>
    </div>
  </div>
</body>
</html>