<aside class="sidebar">
    <div class="logo-container">
        <div class="logo">
            <i class="fas fa-shield-alt" style="font-size: 24px;"></i>
            <span class="logo-text">DizzCall AI Admin</span>
        </div>
        <button class="toggle-btn">
            <i class="fas fa-chevron-left"></i>
        </button>
    </div>
    <ul class="nav-menu">
        <li class="nav-item">
            <a href="{{ route('admin.dashboard') }}" class="nav-link {{ Request::is('admin/dashboard') ? 'active' : '' }}">
                <i class="fas fa-tachometer-alt nav-icon"></i>
                <span class="nav-text">Dashboard</span>
            </a>
        </li>
        <li class="nav-item">
            <a href="{{ route('admin.users.index') }}" class="nav-link {{ Request::is('admin/users*') ? 'active' : '' }}">
                <i class="fas fa-users nav-icon"></i>
                <span class="nav-text">User Management</span>
            </a>
        </li>
        <li class="nav-item">
            <a href="{{ route('admin.calls.index') }}" class="nav-link {{ Request::is('admin/calls*') ? 'active' : '' }}">
                <i class="fas fa-phone nav-icon"></i>
                <span class="nav-text">Call Management</span>
            </a>
        </li>
        <li class="nav-item">
            <a href="{{ route('admin.finance.index') }}" class="nav-link {{ Request::is('admin/finance*') ? 'active' : '' }}">
                <i class="fas fa-wallet nav-icon"></i>
                <span class="nav-text">Financial Reports</span>
            </a>
        </li>
        <li class="nav-item">
            <a href="{{ route('admin.analytics.index') }}" class="nav-link {{ Request::is('admin/analytics*') ? 'active' : '' }}">
                <i class="fas fa-chart-bar nav-icon"></i>
                <span class="nav-text">Analytics</span>
            </a>
        </li>
        <li class="nav-item">
            <a href="{{ route('admin.settings.index') }}" class="nav-link {{ Request::is('admin/settings*') ? 'active' : '' }}">
                <i class="fas fa-cog nav-icon"></i>
                <span class="nav-text">System Settings</span>
            </a>
        </li>
        <li class="nav-item mt-4">
            <a href="{{ route('dashboard') }}" class="nav-link {{ request()->routeIs('dashboard') ? 'active' : '' }}">
                <i class="fas fa-arrow-left nav-icon"></i>
                <span class="nav-text">Back to Main App</span>
            </a>
        </li>
    </ul>
</aside>