<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <style>
        body {
            font-family: Arial, sans-serif;
            line-height: 1.6;
        }
        .content {
            padding: 20px;
        }
        .footer {
            background-color: #f8f9fa;
            padding: 20px;
            text-align: center;
            font-size: 12px;
            color: #6c757d;
            width: 800px;
            height: auto;
        }
        .report-details {
            background-color: #f8f9fa;
            padding: 15px;
            border-radius: 5px;
            margin: 15px 0;
        }
    </style>
</head>
<body>
    <table role="presentation" style="width: 100%; border-collapse: collapse;">
        <tr>
            <td style="">
                <img src="{{ $headerImageUrl }}" alt="Company Logo" style="max-width: 800px; height: 150px;">
            </td>
        </tr>
        <tr>
            <td class="content">
                <p><b>Hi {{ $notifiable->first_name }},</b></p>
                <p>{{ $sender }} sent you a generated report for you to check.</p>
                
                <div class="report-details">
                    <p><strong>Report ID:</strong> {{ $reportId }}</p>
                    <p><strong>Employee ID:</strong> {{ $employeeId }}</p>
                </div>
                
                <div style="margin: 20px 0;">
                    {!! $message !!}
                </div>
                
                <p>The report is attached to this email as a CSV file.</p>
                <p>Thank you for using our application!</p>
                <p><b>Regards,</b></p>
                <p>HRIS</p>
            </td>
        </tr>
        <tr>
            <td class="footer">
                <p>&copy; {{ date('Y') }} AUTOHUB GROUP. All rights reserved.</p>
                <p>BGC, Taguig City</p>
                {{-- <p><a href="https://www.yourcompany.com/unsubscribe">Unsubscribe</a></p> --}}
            </td>
        </tr>
    </table>
</body>
</html>