if no cookie is found
            }

            const theme = getThemeFromCookie();
            document.documentElement.setAttribute('data-theme', theme);
        })();
    </script>
</head>
<body class=" font-sans">
    <div class="flex h-screen">
        <!-- Sidebar -->
        <div class="bg-gray-800 text-white w-64 flex flex-col sidebar">
            <div class="px-6 py-4">
                <a href="/admin" class="text-2xl font-semibold">
                    Admin Dashboard
            