<nav class="navbar navbar-expand-lg navbar-white bg-white border-bottom py-2 sticky-top">
    <div class="container-fluid px-4">
        <button class="btn btn-light border d-lg-none me-2" id="sidebarToggle">
            <i class="bi bi-list"></i>
        </button>

        <div class="d-flex align-items-center">
            <?php if(Request::is('admin/settings*')): ?>
                <div class="search-bar d-none d-lg-block me-4">
                    <div class="input-group input-group-sm" style="width: 300px;">
                        <span class="input-group-text bg-light border-0"><i class="bi bi-search text-muted"></i></span>
                        <input type="text" class="form-control bg-light border-0"
                            placeholder="Search settings, reports, or...">
                    </div>
                </div>
            <?php endif; ?>

            <nav aria-label="breadcrumb" class="d-none d-md-block">
                <ol class="breadcrumb mb-0 py-0">
                    <li class="breadcrumb-item"><a href="#" class="text-decoration-none text-muted small">App</a>
                    </li>
                    <li class="breadcrumb-item active fw-bold text-dark small" aria-current="page"><?php echo $__env->yieldContent('page_title', 'Dashboard'); ?>
                    </li>
                </ol>
            </nav>
        </div>

        <div class="ms-auto d-flex align-items-center">
            <!-- Notification Bell -->
            <div class="dropdown me-3">
                <a href="#" id="notifBell"
                    class="btn btn-light btn-sm position-relative rounded-circle border-0 p-2 shadow-none"
                    style="background: #f8f9fa;">
                    <i class="bi bi-bell-fill text-muted fs-5"></i>
                    <span
                        class="position-absolute top-0 start-100 translate-middle badge rounded-pill bg-danger border border-white border-2"
                        id="notifCount" style="display:none; padding: 0.35em 0.5em; font-size: 0.65rem;">
                        0
                    </span>
                </a>
                <?php echo $__env->make('partials._notifications-panel', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
            </div>

            <div class="vr mx-3 text-secondary opacity-25" style="height: 24px;"></div>

            <!-- User Dropdown -->
            <div class="dropdown">
                <a class="d-flex align-items-center text-decoration-none dropdown-toggle pe-0 shadow-none border-0 bg-transparent"
                    href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false">
                    <img src="<?php echo e(auth()->user()->avatar ?? 'https://ui-avatars.com/api/?name=' . auth()->user()->name . '&background=random'); ?>"
                        alt="" width="32" height="32" class="rounded-circle border me-2">
                    <div class="d-none d-lg-block">
                        <p class="mb-0 fw-semibold text-dark small"><?php echo e(auth()->user()->name); ?></p>
                    </div>
                </a>
                <ul class="dropdown-menu dropdown-menu-end shadow-lg border-0 rounded-3 mt-2 py-2">
                    <li><a class="dropdown-item py-2" href="<?php echo e(url('/profile')); ?>"><i class="bi bi-person me-2"></i> My
                            Profile</a></li>
                    <li><a class="dropdown-item py-2" href="<?php echo e(url('/settings')); ?>"><i class="bi bi-gear me-2"></i>
                            Settings</a></li>
                    <li>
                        <hr class="dropdown-divider opacity-50">
                    </li>
                    <li>
                        <form action="<?php echo e(url('/logout')); ?>" method="POST">
                            <?php echo csrf_field(); ?>
                            <button type="submit" class="dropdown-item py-2 text-danger"><i
                                    class="bi bi-box-arrow-right me-2"></i> Logout</button>
                        </form>
                    </li>
                </ul>
            </div>
        </div>
    </div>
</nav>
<?php /**PATH G:\wamp64\www\projects\attendance\resources\views/partials/_topbar.blade.php ENDPATH**/ ?>