<header class="header">
    <div class="search-wrapper">
    </div>

    <div class="header-right">
        <div class="user-profile">
            <div class="profile-trigger">
                <img src="{{ url_for('static', filename='img/user_icon.png') }}"
                     alt="Admin" width="32" height="32">
                <span style="margin-left: 8px;">{{ admin_user.name if admin_user else 'Admin' }}</span>
                <i class="fa-light fa-chevron-down"></i>
            </div>
            <div class="profile-dropdown">
                <a href="{{ url_for('admin.logout') }}" class="dropdown-item">
                    <i class="fa-light fa-right-from-bracket"></i>
                    <span>Logout</span>
                </a>
            </div>
        </div>
    </div>
</header>

