<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Submitted Query</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            background-color: #f9f9f9;
            margin: 0;
            padding: 0;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
        }

        .container {
            background-color: #ffffff;
            border-radius: 8px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            padding: 20px;
            max-width: 400px;
            width: 100%;
            text-align: left;
        }

        h1 {
            font-size: 1.5rem;
            margin-bottom: 20px;
            color: #333;
        }

        .submitted-data p {
            font-size: 1rem;
            margin: 10px 0;
            color: #555;
        }

        .submitted-data p strong {
            color: #000;
        }
    </style>
</head>
<body>
    <div class="container">
        <h1>Submitted Data</h1>
        <div class="submitted-data">
            <p><strong>Name:</strong> {{$data['name'] ?? ""}}</p>
            <p><strong>Email:</strong> {{$data['email'] ?? ""}}</p>
            <p><strong>Message:</strong> {{$data['message'] ?? ""}}</p>
        </div>
    </div>
</body>
</html>
