xt-muted rc-mt-md">Loading case devices...</p>
                </div>
            </div>
        </div>
    </div>

    <!-- Add Device to Case Modal -->
    <div id="addDeviceToCaseModal" class="rc-modal" style="display: none;">
        <div class="rc-modal-overlay" onclick="closeAddDeviceToCaseModal()"></div>
        <div class="rc-modal-content" style="max-width: min(95vw, 1200px); width: 100%;">
            <div class="rc-modal-header">
                <h3 class="rc-modal-title">
                    <i 