<header class="admin-topbar">
    <div class="admin-topbar-left">
        <button type="button" class="admin-icon-button md:hidden" onclick="AdminUI.toggleSidebar()" aria-label="Open menu"><i class="bi bi-list"></i></button>
        <button type="button" class="admin-icon-button hidden md:grid" onclick="AdminUI.toggleSidebarCollapse()" aria-label="Collapse sidebar" data-bs-toggle="tooltip" title="Collapse sidebar"><i class="bi bi-layout-sidebar-inset"></i></button>
    </div>

    <div class="admin-topbar-actions">
        <button type="button" class="admin-icon-button" aria-label="Notifications" data-bs-toggle="tooltip" title="Notifications"><i class="bi bi-bell"></i></button>
        <button type="button" class="admin-language-button" aria-label="Language">EN</button>
        <button id="dark-mode-toggle" type="button" class="admin-icon-button" onclick="AdminUI.toggleDarkMode()" aria-label="Toggle color theme" data-bs-toggle="tooltip" title="Theme"><i id="dark-mode-icon" class="bi bi-moon"></i></button>
        <div class="dropdown relative inline-block ml-auto">
            <button class="admin-profile-button" type="button" onclick="toggleDropdown('profile-menu')" aria-expanded="false" aria-label="Open profile menu">
                <span class="admin-avatar"><?php echo e(strtoupper(substr(Auth::user()->name, 0, 2))); ?></span>
                <span class="admin-profile-copy">
                    <strong><?php echo e(Auth::user()->name); ?></strong>
                    <small><?php echo e(Auth::user()->email); ?></small>
                </span>
                <i class="bi bi-chevron-down"></i>
            </button>
            <div id="dropdown-profile-menu" class="dropdown-menu dropdown-menu-end admin-profile-menu hidden absolute right-0 z-50 mt-2 min-w-[14rem] origin-top-right rounded-xl shadow-lg border border-slate-200 dark:border-slate-800 bg-white dark:bg-slate-900 focus:outline-none">
                <div class="admin-profile-menu-head p-3">
                    <strong><?php echo e(Auth::user()->name); ?></strong>
                    <span><?php echo e(Auth::user()->email); ?></span>
                </div>
                <hr class="dropdown-divider border-slate-100 dark:border-slate-800 my-1">
                <a class="dropdown-item" href="<?php echo e(route('admin.profile.show')); ?>"><i class="bi bi-person-gear"></i>Profile settings</a>
                <form method="POST" action="<?php echo e(route('admin.logout')); ?>"><?php echo csrf_field(); ?>
                    <button class="dropdown-item text-danger" type="submit" data-no-loading="true"><i class="bi bi-box-arrow-right"></i>Sign out</button>
                </form>
            </div>
        </div>
    </div>
</header>
<?php /**PATH /Users/mac/Documents/e-com/resources/views/layouts/partials/header.blade.php ENDPATH**/ ?>