<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">
    <title>New Land Wanted Request</title>
</head>

<body style="margin:0;padding:0;background:#f5f5f5;font-family:Arial,Helvetica,sans-serif;">

    <table width="100%" cellpadding="0" cellspacing="0" style="background:#f5f5f5;padding:30px 0;">
        <tr>
            <td align="center">

                <table width="650" cellpadding="0" cellspacing="0"
                    style="background:#ffffff;border-radius:8px;overflow:hidden;box-shadow:0 5px 15px rgba(0,0,0,0.08);">

                    <!-- Header -->
                    <tr>
                        <td
                            style="background:#ED1C24;color:#ffffff;padding:25px;text-align:center;font-size:22px;font-weight:bold;">
                            New Land Wanted Submission
                        </td>
                    </tr>

                    <!-- Intro -->
                    <tr>
                        <td style="padding:25px 30px;color:#333;font-size:14px;">
                            A user has submitted land details through the website.
                        </td>
                    </tr>

                    <!-- Owner Information -->
                    <tr>
                        <td style="padding:0 30px;">
                            <h3 style="margin:0 0 12px 0;color:#ED1C24;">Owner Information</h3>
                        </td>
                    </tr>

                    <tr>
                        <td style="padding:0 30px 20px 30px;">
                            <table width="100%" cellpadding="8" cellspacing="0"
                                style="border-collapse:collapse;font-size:14px;">

                                <tr style="background:#f8f8f8;">
                                    <td style="font-weight:bold;width:160px;">Name</td>
                                    <td>{{ $data['name'] }}</td>
                                </tr>

                                <tr>
                                    <td style="font-weight:bold;">Email</td>
                                    <td>{{ $data['email'] }}</td>
                                </tr>

                                <tr style="background:#f8f8f8;">
                                    <td style="font-weight:bold;">Phone</td>
                                    <td>{{ $data['phone'] }}</td>
                                </tr>

                                <tr>
                                    <td style="font-weight:bold;">Address</td>
                                    <td>{{ $data['address'] ?? 'N/A' }}</td>
                                </tr>

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

                    <!-- Land Information -->
                    <tr>
                        <td style="padding:0 30px;">
                            <h3 style="margin:0 0 12px 0;color:#ED1C24;">Land Information</h3>
                        </td>
                    </tr>

                    <tr>
                        <td style="padding:0 30px 30px 30px;">
                            <table width="100%" cellpadding="8" cellspacing="0"
                                style="border-collapse:collapse;font-size:14px;">

                                <tr style="background:#f8f8f8;">
                                    <td style="font-weight:bold;width:160px;">Category</td>
                                    <td>{{ $data['category'] }}</td>
                                </tr>

                                <tr>
                                    <td style="font-weight:bold;">Size</td>
                                    <td>{{ $data['size'] }}</td>
                                </tr>

                                <tr style="background:#f8f8f8;">
                                    <td style="font-weight:bold;">Location</td>
                                    <td>{{ $data['location'] }}</td>
                                </tr>

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

                    <!-- Footer -->
                    <tr>
                        <td style="background:#fafafa;text-align:center;padding:18px;font-size:12px;color:#888;">
                            This email was generated automatically from your website land submission form.
                        </td>
                    </tr>

                </table>

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

</body>

</html>
