<aside class="sidebar">
    <div class="brand">
        <a href="{{ url_for('admin.dashboard') }}" class="brand-logo">
            <span>
                <img src="{{ url_for('static', filename='img/Logo (5).png') }}" alt="Logo"
                     style="height: 45px; vertical-align: middle;">
            </span>
        </a>
    </div>

    <div class="nav-section">
        <div class="nav-header">Overview</div>
        <div class="nav-item {% if request.endpoint == 'admin.dashboard' %}active{% endif %}">
            <a href="{{ url_for('admin.dashboard') }}" class="nav-link">
                <i class="fa-light fa-gauge"></i>
                <span>Dashboard</span>
            </a>
        </div>
        <div class="nav-item {% if request.endpoint == 'admin.companies' %}active{% endif %}">
            <a href="{{ url_for('admin.companies') }}" class="nav-link">
                <i class="fa-light fa-buildings"></i>
                <span>Companies</span>
            </a>
        </div>
        <div class="nav-item {% if request.endpoint == 'admin.packages' %}active{% endif %}">
            <a href="{{ url_for('admin.packages') }}" class="nav-link">
                <i class="fa-light fa-box"></i>
                <span>Packages</span>
            </a>
        </div>
        <div class="nav-item {% if request.endpoint == 'admin.billing' %}active{% endif %}">
            <a href="{{ url_for('admin.billing') }}" class="nav-link">
                <i class="fa-light fa-file-invoice-dollar"></i>
                <span>Billing</span>
            </a>
        </div>
        <div class="nav-item {% if request.endpoint == 'admin.settings' %}active{% endif %}">
            <a href="{{ url_for('admin.settings') }}" class="nav-link">
                <i class="fa-light fa-sliders"></i>
                <span>Settings</span>
            </a>
        </div>
        <div class="nav-item {% if request.endpoint == 'admin.support_tickets' or request.endpoint == 'admin.view_support_ticket' %}active{% endif %}">
            <a href="{{ url_for('admin.support_tickets') }}" class="nav-link">
                <i class="fa-light fa-ticket"></i>
                <span>Support Tickets</span>
            </a>
        </div>
    </div>
</aside>

