     <label class="relative inline-flex items-center cursor-pointer">
                            <input type="checkbox" class="sr-only peer" onchange="toggleStatusPdf(this, 'pdf-status')" {% if user_settings.compact_pdf %} checked {% endif %}>
                            <div class="w-14 h-7 bg-gray-300 rounded-full peer peer-checked:bg-green-500 transition-colors duration-300"></div>
                            <span class="absolute left-1 top-1 w-5 h-5 bg-white rounded-full transition-transform duration-