<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>@lang('emails.title')</title>
</head>
<body style="margin:0; padding:0; background-color:#f4f4f4; font-family:Arial, sans-serif;">
    <table width="100%" cellpadding="0" cellspacing="0" border="0" style="background-color:#f4f4f4; padding:20px;">
        <tr>
            <td align="center">
                <table width="600" cellpadding="0" cellspacing="0" border="0" style="background-color:#ffffff; padding:20px; border-radius:8px; box-shadow:0 2px 5px rgba(0,0,0,0.1);">
                    <tr>
                        <td align="center" style="padding-bottom:20px;">
                            <h1 style="color:#333333; font-size:24px; margin:0;">@lang('emails.title_summary')</h1>
                        </td>
                    </tr>
                    <tr>
                        <td style="font-size:16px; color:#555555; line-height:1.5; padding:10px 0;">
                            <p style="margin:0;">@lang('emails.dear') {{ $data['client_name'] ?? ''}},</p>
                            <p style="margin:10px 0 0 0;">@lang('emails.click_link_below')</p>
                        </td>
                    </tr>
                    <tr>
                        <td align="center" style="padding:15px; background-color:#f0f0f0; border-radius:6px; margin:10px 0;">
                            <p style="margin:0;">📄 <a href="{{ $data['campaign_report_link'] ?? ''}}" style="text-decoration:none; color:#007BFF; font-weight:bold;">@lang('emails.download_campaigns')</a></p>
                        </td>
                    </tr>
                    <tr height="15px">
                        <td></td>
                    </tr>
                    <tr>
                        <td align="center" style="padding:15px; background-color:#f0f0f0; border-radius:6px; margin:10px 0;">
                            <p style="margin:0;">📄 <a href="{{ $data['email_report_link'] ?? ''}}" style="text-decoration:none; color:#007BFF; font-weight:bold;">@lang('emails.download_emails')</a></p>
                        </td>
                    </tr>
                    <tr height="15px">
                        <td></td>
                    </tr>
                    <tr>
                        <td align="center" style="padding-top:20px; font-size:14px; color:#888888;">
                            <p style="margin:0;">&copy; {{ date('Y') }} {{ $data['company_name'] ?? ''}}. @lang('emails.rights').</p>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
</body>
</html>
