<!DOCTYPE html>
<html lang="ro">
    <head>
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <title>Solicitare noua - Radiere SRL</title>
        <style>
            @media (max-width: 600px) {
                .email-wrap {
                    padding: 16px !important;
                }
                .email-title {
                    font-size: 16px !important;
                }
                .email-subtitle {
                    font-size: 11px !important;
                }
                .email-body {
                    font-size: 13px !important;
                }
                .email-label {
                    font-size: 12px !important;
                }
                .email-value {
                    font-size: 12px !important;
                }
                .email-footer {
                    font-size: 11px !important;
                }
            }
        </style>
    </head>
    <body style="margin:0;padding:0;background-color:#f8fafc;font-family:'Segoe UI',Tahoma,Arial,sans-serif;color:#0f172a;">
        <table role="presentation" cellpadding="0" cellspacing="0" width="100%" style="background-color:#f8fafc;padding:24px 16px;">
            <tr>
                <td align="center">
                    <table role="presentation" cellpadding="0" cellspacing="0" width="100%" style="max-width:640px;background-color:#ffffff;border:1px solid #e2e8f0;border-top:2px solid #991b1b;border-radius:16px;overflow:hidden;">
                        <tr>
                            <td style="padding:20px 24px;background-color:#f0fdf4;border-bottom:1px solid #e2e8f0;">
                                <table role="presentation" cellpadding="0" cellspacing="0" width="100%">
                                    <tr>
                                        <td style="width:44px;vertical-align:middle;">
                                            <img src="{{ asset('uploads/radiere-logo.png') }}" alt="Radiere SRL" width="40" height="40" style="display:block;width:40px;height:40px;border-radius:12px;">
                                        </td>
                                        <td style="padding-left:12px;vertical-align:middle;">
                                            <div class="email-title" style="font-size:18px;font-weight:700;color:#0f172a;">Radiere SRL</div>
                                            <div class="email-subtitle" style="font-size:12px;color:#475569;">Solicitare noua de consultare</div>
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                        <tr>
                            <td class="email-wrap" style="padding:24px;">
                                <div class="email-body" style="font-size:14px;color:#475569;margin-bottom:12px;">Datele trimise din formular:</div>
                                <table role="presentation" cellpadding="0" cellspacing="0" width="100%" style="border-collapse:collapse;">
                                    <tr>
                                        <td class="email-label" style="padding:10px 0;border-bottom:1px solid #e2e8f0;font-weight:600;color:#0f172a;width:32%;">Nume complet</td>
                                        <td class="email-value" style="padding:10px 0;border-bottom:1px solid #e2e8f0;color:#334155;">{{ $lead->full_name }}</td>
                                    </tr>
                                    <tr>
                                        <td class="email-label" style="padding:10px 0;border-bottom:1px solid #e2e8f0;font-weight:600;color:#0f172a;">Telefon</td>
                                        <td class="email-value" style="padding:10px 0;border-bottom:1px solid #e2e8f0;color:#334155;">{{ $lead->phone }}</td>
                                    </tr>
                                    <tr>
                                        <td class="email-label" style="padding:10px 0;border-bottom:1px solid #e2e8f0;font-weight:600;color:#0f172a;">Cod fiscal</td>
                                        <td class="email-value" style="padding:10px 0;border-bottom:1px solid #e2e8f0;color:#334155;">{{ $lead->cod_fiscal }}</td>
                                    </tr>
                                    <tr>
                                        <td class="email-label" style="padding:10px 0;border-bottom:1px solid #e2e8f0;font-weight:600;color:#0f172a;">Email</td>
                                        <td class="email-value" style="padding:10px 0;border-bottom:1px solid #e2e8f0;color:#334155;">{{ $lead->email ?: '—' }}</td>
                                    </tr>
                                    <tr>
                                        <td class="email-label" style="padding:10px 0;vertical-align:top;font-weight:600;color:#0f172a;">Mesaj</td>
                                        <td class="email-value" style="padding:10px 0;color:#334155;">
                                            {!! nl2br(e($lead->message ?: '—')) !!}
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                        <tr>
                            <td class="email-footer" style="padding:16px 24px;border-top:1px solid #e2e8f0;background-color:#f8fafc;font-size:12px;color:#64748b;">
                                Acest mesaj a fost trimis automat din formularul de pe website.
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
    </body>
</html>
