<div class="container-fluid">
    <h1 class="h3 mb-4 text-gray-800">Buat Proyek Baru</h1>

    <div class="card shadow mb-4">
        <div class="card-header py-3">
            <h6 class="m-0 font-weight-bold text-primary">Detail Proyek</h6>
        </div>
        <div class="card-body">
            <form action="?page=project_store" method="POST">
                <div class="mb-3">
                    <label for="project_name" class="form-label">Nama Proyek</label>
                    <input type="text" class="form-control" id="project_name" name="project_name" required>
                </div>

                <div class="mb-3">
                    <label for="description" class="form-label">Deskripsi</label>
                    <textarea class="form-control" id="description" name="description" rows="3"></textarea>
                </div>

                <div class="row">
                    <div class="col-md-6 mb-3">
                        <label for="start_date" class="form-label">Tanggal Mulai</label>
                        <input type="date" class="form-control" id="start_date" name="start_date" required>
                    </div>
                    <div class="col-md-6 mb-3">
                        <label for="end_date" class="form-label">Tanggal Target Selesai</label>
                        <input type="date" class="form-control" id="end_date" name="end_date">
                    </div>
                </div>

                <div class="mb-3">
                    <label for="status" class="form-label">Status</label>
                    <select class="form-select" id="status" name="status">
                        <option value="Planning" selected>Planning</option>
                        <option value="In Progress">In Progress</option>
                        <option value="Completed">Completed</option>
                        <option value="On Hold">On Hold</option>
                    </select>
                </div>

                <div class="mt-4">
                    <button type="submit" class="btn btn-success">Simpan Proyek</button>
                    <a href="?page=projects" class="btn btn-secondary">Batal</a>
                </div>
            </form>
        </div>
    </div>
</div>
