<div class="modal fade" id="languagesModal" tabindex="-1" aria-hidden="true">
    <div class="modal-dialog modal-dialog-centered">
        <div class="modal-content">
            <div class="modal-header bg-info text-white py-2">
                <h6 class="modal-title"><i class="bi bi-translate me-2"></i>Project Languages</h6>
                <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close project languages"></button>
            </div>
            <div class="modal-body py-2">
                <div class="mb-2">
                    <label class="form-label small mb-1">Add Language</label>
                    <div class="input-group input-group-sm">
                        <input type="text" class="form-control" id="newLangCode" placeholder="Code (e.g., ne)">
                        <input type="text" class="form-control" id="newLangName" placeholder="Name (e.g., Nepali)">
                        <button class="btn btn-outline-primary" id="btnAddLanguage"><i class="bi bi-plus"></i></button>
                    </div>
                </div>
                <div class="small text-muted mb-2">English (en) is always included.</div>
                <ul class="list-group small" id="languagesList">
                    <!-- filled by JS -->
                </ul>
            </div>
            <div class="modal-footer py-2">
                <button type="button" class="btn btn-sm btn-secondary" data-bs-dismiss="modal">Close</button>
            </div>
        </div>
    </div>
</div>
