
                        <button onclick="showEditCase(${caseData.caseID})" class="rc-btn rc-btn-primary">
                            <i class="bi bi-pencil"></i> Edit Case
                        </button>
                    </div>
                `;
            })
            .catch(error => {
                content.innerHTML = `
                    <div class="rc-alert rc-alert-error">
                        <i class="bi bi-exclamation-triangle"></i>
                        Error loading case details