{{-- 
    Welcome Email for Health Marketor
    HTML Email Template
--}}
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Welcome to Health Directory</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, #16a34a, #15803d); padding: 30px; text-align: center; border-radius: 8px 8px 0 0;">
        <h1 style="color: white; margin: 0; font-size: 28px;">
            Welcome to Health Directory!
        </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>
        
        <p style="color: #4b5563;">
            Welcome to the Health Directory Marketing Platform! Your account has been successfully created with the <strong>Health Marketor</strong> role.
        </p>
        
        <div style="background: #f0fdf4; border-left: 4px solid #16a34a; padding: 15px; margin: 20px 0;">
            <h3 style="margin-top: 0; color: #166534;">What you can do:</h3>
            <ul style="margin: 0; padding-left: 20px; color: #166534;">
                <li>Register and manage healthcare institution listings</li>
                <li>Market digital health machines</li>
                <li>Track your payment history</li>
                <li>Reach patients across South Sudan</li>
            </ul>
        </div>
        
        <h3 style="color: #111827;">Next Steps:</h3>
        <ol style="color: #4b5563;">
            <li>Complete your profile information</li>
            <li>Register your first healthcare institution</li>
            <li>Add digital health machines to showcase</li>
        </ol>
        
        <div style="text-align: center; margin: 30px 0;">
            <a href="{{ route('dashboard.institutions.index') }}" 
               style="display: inline-block; padding: 12px 30px; background: linear-gradient(to right, #16a34a, #15803d); color: white; text-decoration: none; border-radius: 6px; font-weight: bold;">
                Go to Dashboard
            </a>
        </div>
        
        <p style="color: #6b7280; font-size: 14px;">
            If you have any questions, please don't hesitate to contact our support team.
        </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>
