{{-- 
    Renewal Reminder Email
    HTML Email Template
--}}
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Renewal Reminder</title>
</head>
<body style="font-family: Arial, sans-serif; line-height: 1.6; color: #333; max-width: 600px; margin: 0 auto; padding: 20px;">
    
    {{-- Header --}}
    <div style="background: linear-gradient(to right, #ca8a04, #a16207); padding: 30px; text-align: center; border-radius: 8px 8px 0 0;">
        <h1 style="color: white; margin: 0; font-size: 28px;">
            ⚠️ Renewal Reminder
        </h1>
    </div>
    
    {{-- Body --}}
    <div style="background: #ffffff; padding: 30px; border: 1px solid #e5e7eb; border-top: none;">
        
        <p style="font-size: 18px; color: #374151;">
            Hello {{ $userName }},
        </p>
        
        <div style="background: #fefce8; border-left: 4px solid #ca8a04; padding: 15px; margin: 20px 0;">
            <p style="margin: 0; color: #854d0e;">
                <strong>Your listing is expiring soon!</strong><br>
                <strong>{{ $entityName }}</strong> will expire on {{ $expiresAt }}.
            </p>
        </div>
        
        <p style="color: #4b5563;">
            Don't let your listing go offline! Renew now to maintain visibility to potential patients and customers.
        </p>
        
        <h3 style="color: #111827;">Benefits of renewing:</h3>
        <ul style="color: #4b5563;">
            <li>Continue reaching patients across South Sudan</li>
            <li>Maintain your online presence</li>
            <li>Keep your listing visible in search results</li>
            <li>Preserve your reviews and ratings</li>
        </ul>
        
        <div style="text-align: center; margin: 30px 0;">
            <a href="{{ $renewalUrl }}" 
               style="display: inline-block; padding: 12px 30px; background: linear-gradient(to right, #ca8a04, #a16207); color: white; text-decoration: none; border-radius: 6px; font-weight: bold;">
                Renew Now
            </a>
        </div>
        
        <p style="color: #6b7280; font-size: 14px;">
            If you have already renewed, please ignore this email.
        </p>
        
        <hr style="border: none; border-top: 1px solid #e5e7eb; margin: 30px 0;">
        
        <p style="color: #6b7280; font-size: 14px;">
            Best regards,<br>
            <strong>The Health Directory Team</strong>
        </p>
    </div>
    
    {{-- Footer --}}
    <div style="background: #f9fafb; padding: 20px; text-align: center; border-radius: 0 0 8px 8px; border: 1px solid #e5e7eb; border-top: none;">
        <p style="margin: 0; color: #6b7280; font-size: 12px;">
            © {{ date('Y') }} Health Directory Marketing Platform. All rights reserved.
        </p>
    </div>
    
</body>
</html>
