<!DOCTYPE html>
<html lang="pt">

<head>
    <meta charset="UTF-8">
</head>

<body style="margin:0;padding:0;background-color:#ffffff;font-family:'Segoe UI',Arial,sans-serif;">
    <table role="presentation" width="100%" cellpadding="0" cellspacing="0" border="0"
        style="background-color:#ffffff;">
        <tr>
            <td align="center" style="padding:32px 16px;">
                <table role="presentation" width="600" cellpadding="0" cellspacing="0" border="0"
                    style="max-width:600px;width:100%;border:1px solid #e0e0e0;border-radius:12px;overflow:hidden;">

                    <!-- Header -->
                    <tr>
                        <td style="padding:28px 40px;border-bottom:2px solid #fdc500;text-align:center;">
                            <img src="{{ config('app.url') }}/images/logo-dark.png" alt="SEGUNOR" width="100"
                                style="display:block;margin:0 auto;height:auto;border:0;" />
                            <p
                                style="margin:10px 0 0;font-size:11px;text-transform:uppercase;letter-spacing:0.12em;color:#999;">
                                Novo Pedido RGPD</p>
                        </td>
                    </tr>

                    <!-- Body -->
                    <tr>
                        <td style="padding:32px 40px;">
                            <p style="margin:0 0 20px;font-size:14px;color:#555;line-height:1.6;">Foi submetido um novo
                                pedido de exercício de direitos RGPD:</p>

                            <table role="presentation" width="100%" cellpadding="0" cellspacing="0" border="0"
                                style="border:1px solid #eee;border-radius:8px;overflow:hidden;">
                                <tr>
                                    <td style="padding:20px 24px;">
                                        <table role="presentation" width="100%" cellpadding="0" cellspacing="0"
                                            border="0">
                                            <tr>
                                                <td style="padding:6px 0;border-bottom:1px solid #f3f3f3;">
                                                    <span
                                                        style="font-size:11px;color:#aaa;text-transform:uppercase;letter-spacing:0.05em;">Nome</span><br />
                                                    <span
                                                        style="font-size:14px;color:#333;">{{ $rgpdRequest->nome_completo }}</span>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td style="padding:6px 0;border-bottom:1px solid #f3f3f3;">
                                                    <span
                                                        style="font-size:11px;color:#aaa;text-transform:uppercase;letter-spacing:0.05em;">Email</span><br />
                                                    <span
                                                        style="font-size:14px;color:#333;">{{ $rgpdRequest->email }}</span>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td style="padding:6px 0;border-bottom:1px solid #f3f3f3;">
                                                    <span
                                                        style="font-size:11px;color:#aaa;text-transform:uppercase;letter-spacing:0.05em;">Tipo</span><br />
                                                    <span
                                                        style="font-size:14px;color:#b8960a;">{{ \App\Models\RgpdRequest::TIPOS[$rgpdRequest->tipo_pedido] ?? $rgpdRequest->tipo_pedido }}</span>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td style="padding:6px 0;">
                                                    <span
                                                        style="font-size:11px;color:#aaa;text-transform:uppercase;letter-spacing:0.05em;">Data</span><br />
                                                    <span
                                                        style="font-size:14px;color:#333;">{{ $rgpdRequest->created_at->format('d/m/Y H:i') }}</span>
                                                </td>
                                            </tr>
                                        </table>
                                    </td>
                                </tr>
                            </table>

                            <p style="margin:20px 0 0;font-size:13px;color:#aaa;text-align:center;">Aceda ao painel de
                                administração para tratar este pedido.</p>
                        </td>
                    </tr>

                    <!-- Footer -->
                    <tr>
                        <td style="padding:16px 40px;border-top:1px solid #eee;text-align:center;">
                            <p style="margin:0;font-size:11px;color:#bbb;">Email gerado automaticamente · Segunor —
                                Segurança Privada</p>
                        </td>
                    </tr>

                </table>
            </td>
        </tr>
    </table>
</body>

</html>