<div class="container mt-5" style="max-width: 500px;"> <div class="card shadow-lg border-0">
        <div class="card-header bg-warning text-dark d-flex align-items-center p-3">
            <i class="fas fa-map-marker-alt fa-lg me-3"></i> <h5 class="m-0 fw-bold">Edit Lokasi Inventory</h5>
        </div>
        
        <div class="card-body p-4">
            <form action="<?php echo site_url('Admin/Inventory/Inventory_Location_Controller/update'); ?>" method="post">
                <input type="hidden" name="inventory_location_id" value="<?= $location->inventory_location_id; ?>">

                <div class="mb-4">
                    <label for="inventory_location_nama" class="form-label fw-semibold">Nama Lokasi <span class="text-danger">*</span></label>
                    <div class="input-group">
                        <span class="input-group-text"><i class="fas fa-building"></i></span> <input type="text" class="form-control" id="inventory_location_nama" name="inventory_location_nama" 
                            value="<?= set_value('inventory_location_nama', $location->inventory_location_nama); ?>" 
                            placeholder="Contoh: Gudang Utama, Rak A-10, Server Room" required autofocus>
                    </div>
                </div>

                <hr class="mt-4 mb-4">
                
                <div class="d-flex justify-content-end">
                    <a href="<?php echo site_url('Admin/Inventory/Inventory_Location_Controller/index'); ?>" class="btn btn-secondary me-3">
                        <i class="fas fa-times me-1"></i> Batal
                    </a>
                    <button type="submit" class="btn btn-warning fw-bold text-dark">
                        <i class="fas fa-save me-1"></i> Simpan Perubahan
                    </button>
                </div>
            </form>
        </div>
    </div>
</div>