@page "/error5005"
@{
    ViewData["Title"] = "Error 500 5";
}
@{
    ViewData["SidebarVariant"] = "1";

}

<div class="p-4 md:p-6 flex items-center justify-center" style="min-height: calc(100vh - 64px);">
            <div class="flex items-center gap-4">
                <button x-on:click="side = !side" class="p-2 rounded-lg hover:bg-gray-100 transition"><svg class="w-5 h-5 text-gray-600" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 6h16M4 12h16M4 18h16"/></svg></button>
            </div>
            <div class="flex items-center gap-3">
                <button class="relative p-2 rounded-lg hover:bg-gray-100 transition">
                    <svg class="w-5 h-5 text-gray-500" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 17h5l-1.405-1.405A2.032 2.032 0 0118 14.158V11a6.002 6.002 0 00-4-5.659V5a2 2 0 10-4 0v.341C7.67 6.165 6 8.388 6 11v3.159c0 .538-.214 1.055-.595 1.436L4 17h5m6 0v1a3 3 0 11-6 0v-1m6 0H9"/></svg>
                    <span class="absolute -top-0.5 -right-0.5 w-4 h-4 rounded-full bg-blue-500 text-white text-[10px] flex items-center justify-center font-bold">3</span>
                </button>
                <div class="flex items-center gap-2 pl-3 ml-1 border-l border-gray-200">
                    <div class="w-8 h-8 rounded-full flex items-center justify-center text-white font-bold text-xs" style="background: #3b82f6;">JD</div>
                    <div class="hidden sm:block text-sm leading-tight"><p class="font-semibold text-gray-800">John Doe</p><p class="text-gray-400 text-xs">Sales Admin</p></div>
                </div>
            </div>
        </header>
        <div class="p-4 md:p-6 flex items-center justify-center" style="min-height: calc(100vh - 64px);">
            <div class="text-center">
                <p class="text-9xl font-bold text-gray-300">500</p>
                <h1 class="text-4xl font-bold text-gray-800 mt-4">Internal Server Error</h1>
                <p class="text-gray-500 mt-2">The server encountered an internal error and could not complete your request.</p>
                <a href="/dashboard5" class="inline-flex items-center gap-2 mt-6 px-5 py-2.5 text-sm font-semibold rounded-lg text-white transition" style="background: #3b82f6;">
                    <svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M7 16l-4-4m0 0l4-4m-4 4h18"/></svg>
                    Go to Dashboard
                </a>
            </div>
        </div>
