<aside class="sidebar" id="sidebar">
    <div class="sidebar-header">
        <button class="sidebar-toggle" id="sidebar-toggle">
            <i class="fas fa-bars"></i>
        </button>
        <h2>OBM ERP</h2>
    </div>
    
    <div class="sidebar-menu">
        <a href="{{ route('dashboard') }}" class="menu-item {{ request()->routeIs('dashboard') ? 'active' : '' }}">
            <i class="fas fa-tachometer-alt"></i>
            <span>Dashboard</span>
        </a>
        
        <div class="menu-divider"></div>
        <div class="menu-title">Transportasi</div>
        
        <a href="{{ route('drivers.index') }}" class="menu-item {{ request()->routeIs('drivers.*') ? 'active' : '' }}">
            <i class="fas fa-id-card"></i>
            <span>Driver</span>
        </a>
        
        <a href="{{ route('trucks.index') }}" class="menu-item {{ request()->routeIs('trucks.*') ? 'active' : '' }}">
            <i class="fas fa-truck"></i>
            <span>Truck</span>
        </a>
        
        <a href="{{ route('trips.index') }}" class="menu-item {{ request()->routeIs('trips.*') ? 'active' : '' }}">
            <i class="fas fa-route"></i>
            <span>Trip</span>
        </a>
        
        <a href="{{ route('fuel-purchases.index') }}" class="menu-item {{ request()->routeIs('fuel-purchases.*') ? 'active' : '' }}">
            <i class="fas fa-gas-pump"></i>
            <span>Bahan Bakar</span>
        </a>
        
        <div class="menu-divider"></div>
        <div class="menu-title">Proyek</div>
        
        <a href="{{ route('projects.index') }}" class="menu-item {{ request()->routeIs('projects.*') ? 'active' : '' }}">
            <i class="fas fa-project-diagram"></i>
            <span>Proyek</span>
        </a>
        
        <a href="{{ route('clients.index') }}" class="menu-item {{ request()->routeIs('clients.*') ? 'active' : '' }}">
            <i class="fas fa-user-tie"></i>
            <span>Klien</span>
        </a>
        
        <a href="{{ route('materials.index') }}" class="menu-item {{ request()->routeIs('materials.*') ? 'active' : '' }}">
            <i class="bi bi-box-seam"></i>
            <span>Material</span>
        </a>
        
        <a href="{{ route('material-np.index') }}" class="menu-item {{ request()->routeIs('material-np.*') ? 'active' : '' }}">
            <i class="fas fa-box"></i>
            <span>Material-NP</span>
        </a>
        
        <a href="{{ route('expenses.index') }}" class="menu-item {{ request()->routeIs('expenses.*') ? 'active' : '' }}">
            <i class="fas fa-money-bill-wave"></i>
            <span>Pengeluaran</span>
        </a>
        
        <div class="menu-divider"></div>
        <div class="menu-title">Laporan</div>
        
        <a href="{{ route('reports.trips') }}" class="menu-item {{ request()->routeIs('reports.trips') ? 'active' : '' }}">
            <i class="fas fa-chart-line"></i>
            <span>Laporan Trip</span>
        </a>
        
        <a href="{{ route('reports.fuel') }}" class="menu-item {{ request()->routeIs('reports.fuel') ? 'active' : '' }}">
            <i class="fas fa-chart-pie"></i>
            <span>Laporan Bahan Bakar</span>
        </a>
        
        <a href="{{ route('reports.expenses') }}" class="menu-item {{ request()->routeIs('reports.expenses') ? 'active' : '' }}">
            <i class="fas fa-chart-bar"></i>
            <span>Laporan Pengeluaran</span>
        </a>
        
        <a href="{{ route('reports.projects') }}" class="menu-item {{ request()->routeIs('reports.projects') ? 'active' : '' }}">
            <i class="fas fa-chart-area"></i>
            <span>Laporan Proyek</span>
        </a>
    </div>
</aside>