<nav class="navbar default-layout-navbar col-lg-12 col-12 p-0 fixed-top d-flex flex-row">

    <!-- Logo -->
    <div class="text-center navbar-brand-wrapper d-flex align-items-center justify-content-start">
        <a class="navbar-brand brand-logo" href="#" target="_blank">
            <img src="assets/images/logo_new1.png" alt="logo" />
        </a>
        <a class="navbar-brand brand-logo-mini" href="#" target="_blank">
            <img src="{{ asset('assets/images/image_logo.png') }}" alt="logo" />
        </a>
    </div>

    <div class="navbar-menu-wrapper d-flex align-items-stretch">

        <!-- Toggle -->
        <button class="navbar-toggler align-self-center" type="button">
            <span class="mdi mdi-menu"></span>
        </button>

        <ul class="navbar-nav navbar-nav-right">

            <!-- Profile -->
            <li class="nav-item nav-profile">
                <div class="nav-link d-flex align-items-center">
                    <div class="nav-profile-img">
                        <img src="assets/images/default-avatar.jpg" alt="profile">
                        <span class="availability-status online"></span>
                    </div>
                    <div class="nav-profile-text ms-2">
                        <p class="mb-0 text-black">John Doe</p>
                    </div>
                </div>
            </li>

            <!-- Notifications -->
            <li class="nav-item dropdown">
                <a class="nav-link count-indicator dropdown-toggle" href="#" data-bs-toggle="dropdown">
                    <i class="mdi mdi-bell-outline"></i>
                    <span class="count-symbol bg-danger"></span>
                </a>

                <div class="dropdown-menu dropdown-menu-end navbar-dropdown preview-list">

                    <h6 class="p-3 mb-0">
                        Notifications
                        <span class="badge bg-danger float-end">5</span>
                        <span class="badge bg-primary float-end" style="cursor: pointer;">Read all</span>
                    </h6>

                    <div class="dropdown-divider"></div>

                    <!-- Notification Item -->
                    <a class="dropdown-item preview-item fw-semibold" href="#">
                        <div class="preview-thumbnail">
                            <div class="preview-icon bg-primary">
                                <i class="mdi mdi-email-outline"></i>
                            </div>
                        </div>
                        <div class="preview-item-content d-flex flex-column">
                            <h6 class="preview-subject mb-1">
                                New Inquiry
                                <span class="badge bg-primary rounded-pill" style="font-size:7px;">NEW</span>
                            </h6>
                            <p class="text-gray mb-0">
                                You received a new inquiry <span>Listing Name</span>
                            </p>
                            <small class="text-muted">2 minutes ago</small>
                        </div>
                    </a>

                    <div class="dropdown-divider"></div>

                    <!-- Notification Item -->
                    <a class="dropdown-item preview-item" href="#">
                        <div class="preview-thumbnail">
                            <div class="preview-icon bg-success">
                                <i class="mdi mdi-home-outline"></i>
                            </div>
                        </div>
                        <div class="preview-item-content d-flex flex-column">
                            <h6 class="preview-subject mb-1">Listing Approved</h6>
                            <p class="text-gray mb-0">
                                Your listing has been approved <span>Campus Name</span>
                            </p>
                            <small class="text-muted">1 hour ago</small>
                        </div>
                    </a>

                    <div class="dropdown-divider"></div>

                    <!-- Empty State -->
                    <!--
                    <div class="p-3 text-center text-muted">
                        <i class="mdi mdi-bell-off-outline d-block mb-1" style="font-size:24px;"></i>
                        <small>No new notifications</small>
                    </div>
                    -->

                    <!-- View All -->
                    <a href="#" class="p-3 mb-0 text-center d-block text-decoration-none">
                        See all notifications
                    </a>

                </div>
            </li>

            <li class="nav-item nav-logout">
                <a class="nav-link" href="#"
                onclick="event.preventDefault(); document.getElementById('logout-form').submit();">
                    <i class="mdi mdi-power text-danger"></i>
                </a>

                <form id="logout-form" action="{{ route('logout') }}" method="POST" class="d-none">
                    @csrf
                </form>
            </li>

        </ul>

        <!-- Mobile Toggle -->
        <button class="navbar-toggler navbar-toggler-right d-lg-none align-self-center" type="button">
            <span class="mdi mdi-menu"></span>
        </button>

    </div>
</nav>