<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">
    <title>New Lead Registration on Leadmine.pro</title>
</head>

<body style="font-family: Arial, sans-serif; background: #f9f9f9; padding: 20px;">
    <table width="100%" cellpadding="0" cellspacing="0" style="
        max-width: 600px;
        margin: auto;
        background: #ffffff;
        border-radius: 8px;
        padding: 20px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    ">
        <tr>
            <td>
                <div class="logo" style="text-align:center; margin-bottom:18px;">
                    <img src="{{ env('LEADMINE_LOGO', 'https://leadmine.pro/web/assets/images/headlogo.webp') }}"
                        alt="Logo" style="max-width: 280px;">
                </div>
                <h2 style="color: #333;">New Lead Registration on Leadmine.pro</h2>
                @if(isset($message))
                    <p
                        style="background: #e8f4fd; border-left: 4px solid #2196F3; padding: 12px; margin: 15px 0; color: #1976D2;">
                        <strong>{{ $message }}</strong></p>
                @endif
                <p style="color: #555;">A new lead has completed registration with the following details:</p>

                <table cellpadding="5" cellspacing="0" width="100%" style="border-collapse: collapse;">
                    <tr>
                        <td style="background: #f2f2f2; width:150px;"><strong>Name</strong></td>
                        <td>{{ $name ?? 'N/A' }}</td>
                    </tr>

                    <tr>
                        <td style="background: #f2f2f2;"><strong>Email</strong></td>
                        <td>{{ $email ?? 'N/A' }}</td>
                    </tr>

                    <tr>
                        <td style="background: #f2f2f2;"><strong>Company</strong></td>
                        <td>{{ $company ?? 'N/A' }}</td>
                    </tr>

                    <tr>
                        <td style="background: #f2f2f2;"><strong>Phone</strong></td>
                        <td>{{ $phone ?? 'N/A' }}</td>
                    </tr>
                </table>

                <p style="margin-top: 20px; color: #888; font-size: 12px;">
                    This is an automated system notification.
                </p>
            </td>
        </tr>
    </table>
</body>

</html>