 py-2 bg-red-600 text-white rounded-md hover:bg-red-700 transition-colors" id="confirmDeactivate">Close Job</button>
      </div>
    </div>
  </div>
</div>
{% endblock %}

{% block extra_js %}
<!-- Initialize Lucide Icons -->
<script>
  document.addEventListener('DOMContentLoaded', function() {
    if (typeof lucide !== 'undefined') {
      lucide.createIcons();
    }
  });
</script>

<!-- Job Deactivation Handler -->
<script>
  let deactivateUrl = '';
  
  function closeDeactivateModal() {
    document.ge