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

<head>
    <meta charset="UTF-8">
    <title>Error - Elfit Arabia</title>
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
    <style>
        body {
            background-color: #1a2b1f;
            color: white;
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
            font-family: Arial, sans-serif;
        }

        .error-container {
            text-align: center;
            padding: 40px;
            background-color: #2a3b2f;
            border-radius: 12px;
            max-width: 500px;
        }

        h1 {
            color: #dc3545;
        }

        a {
            color: #6ba581;
        }
    </style>
</head>

<body>
    <div class="error-container">
        <h1>Oops!</h1>
        <p class="lead">
            <%= message %>
        </p>
        <% if (error && error.message) { %>
            <p class="text-muted small">
                <%= error.message %>
            </p>
            <% } %>
                <a href="/" class="btn btn-success mt-3">Go to Home</a>
    </div>
</body>

</html>