<?php use App\Core\View; ?>
<!doctype html>
<html dir="rtl" lang="fa">
<head>
<meta charset="utf-8">
<title>خطا</title>
<link rel="stylesheet" href="/public/assets/vendor/bootstrap/bootstrap.rtl.min.css">
<link rel="stylesheet" href="/public/assets/vendor/bootstrap-icons/bootstrap-icons.min.css">
<link rel="stylesheet" href="/public/assets/css/app.css">
</head>
<body class="auth-body">
<div class="container py-5" style="max-width:560px">
    <div class="card border-0 shadow-sm p-4 text-center">
        <div class="mb-3">
            <div style="width:64px;height:64px;border-radius:18px;background:linear-gradient(135deg,#ef4444,#f97316);color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:28px;box-shadow:0 8px 22px rgba(239,68,68,.30)">
                <i class="bi bi-exclamation-triangle"></i>
            </div>
        </div>
        <h2 class="mb-2">خطا</h2>
        <p class="text-muted mb-4"><?= View::e($errorMessage ?? 'خطایی رخ داد.') ?></p>
        <div><a href="/" class="btn btn-primary"><i class="bi bi-house"></i> بازگشت به خانه</a></div>
    </div>
</div>
</body>
</html>
