<div>
    @if (!$isOnline)
    <div class="flex fixed top-0 right-0 p-4" style="z-index: 500">
        <div class="inline-flex items-center gap-2 px-4 py-2 rounded-lg bg-red-50 border border-red-200 shadow text-red-700 font-medium animate-fade-in">
            <i class="ph ph-wifi-slash"></i>
        </div>
    </div>
    @endif
</div>