<?php
$tenant = service('tenantContext')->hasTenant() ? service('tenantContext')->getTenant() : null;
$primaryColor   = safe_hex_color($tenant->primary_color ?? null, '#4f46e5');
$secondaryColor = safe_hex_color($tenant->secondary_color ?? null, '#f59e0b');
$hotelName      = $tenant->hotel_name ?? 'MaxYields PMS';
?>
<!DOCTYPE html>
<html lang="en">
<head>
    <?php include APPPATH . 'Views/public/_shell_head.php'; ?>
</head>
<body>
<div class="public-shell">
    <div class="public-card text-center py-5">
        <i class="bi bi-compass text-muted" style="font-size: 2.5rem;"></i>
        <h1 class="h6 mt-3 mb-1">Link Not Found</h1>
        <p class="text-muted small mb-0">This link isn't valid or the event is no longer accepting registrations. Please check the link and try again, or contact the hotel directly.</p>
    </div>
</div>
</body>
</html>
