/**
 * Admin Module JavaScript
 */
(function() {
    'use strict';

    // Auto-initialize DataTables on admin pages
    document.addEventListener('DOMContentLoaded', function() {
        // Initialize any Select2 dropdowns
        if ($.fn.select2) {
            $('.admin-select2').select2({ theme: 'bootstrap-5', width: '100%' });
        }
    });
})();