<?php
// Inventory Module
?>
<!DOCTYPE html>
<html>
<head>
    <title>Inventory</title>
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
    <style>
        body { background: #f8f9fa; }
        .container { margin-top: 40px; }
    </style>
</head>
<body>
    <div class="container">
        <div class="d-flex justify-content-between align-items-center mb-4">
            <h1 class="fw-bold">Inventory</h1>
            <a href="../index.php" class="btn btn-secondary">Home</a>
        </div>
        <div class="card mb-4">
            <div class="card-header bg-warning text-dark">Update Inventory</div>
            <div class="card-body">
                <form class="row g-3">
                    <div class="col-md-4">
                        <input type="text" class="form-control" placeholder="Product Name">
                    </div>
                    <div class="col-md-2">
                        <input type="number" class="form-control" placeholder="New Stock">
                    </div>
                    <div class="col-md-6">
                        <button type="submit" class="btn btn-warning w-100">Update Stock</button>
                    </div>
                </form>
            </div>
        </div>
        <div class="card">
            <div class="card-header bg-primary text-white">Inventory List</div>
            <div class="card-body">
                <table class="table table-bordered table-striped">
                    <thead>
                        <tr><th>ID</th><th>Product</th><th>Category</th><th>Stock</th></tr>
                    </thead>
                    <tbody>
                        <!-- Inventory data will go here -->
                    </tbody>
                </table>
            </div>
        </div>
    </div>
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
</body>
</html>
