<turbo-stream action="update" target="planning_modal">
    <template>
        <div
            class="custom_modal relative z-10"
            aria-labelledby="modal-title"
            role="dialog" aria-modal="true">
            <div class="fixed inset-0 bg-gray-500 opacity-50 transition-opacity"></div>
            <div class="fixed inset-0 z-10 w-screen overflow-y-auto" onclick="document.getElementById('planning_modal').innerHTML = '';">
                <div class="flex min-h-full items-center justify-center text-center">
                    <div class="relative transform rounded-lg text-left shadow-xl transition-all sm:my-8 w-auto">
                        <div class="bg-white rounded-lg" onclick="event.stopPropagation();">
                            <div class="planning-item">
                                <p class="text-xl font-semibold pb-1 mb-3 border-b border-gray-500">
                                                                            Soirée jeux
                                                                    </p>
                                <p class="mb-3 h-18 line-clamp-3">
                                    
                                </p>
                                <div class="grid grid-cols-2 gap-x-2 h-12">
                                    <div>
                                        <small>
                                            <svg viewBox="0 0 24 24" fill="currentColor" height="1em" width="1em" class="inline text-guild-green" aria-hidden="true"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path d="M8 2v4m8-4v4"></path><rect width="18" height="18" x="3" y="4" rx="2"></rect><path d="M3 10h18"></path></g></svg>
                                            06/11/2026 19:00
                                        </small>
                                                                                    <br>
                                            <small>
                                                <svg viewBox="0 0 24 24" fill="currentColor" height="1em" width="1em" class="inline text-guild-green" aria-hidden="true"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path d="M8 2v4m8-4v4"></path><rect width="18" height="18" x="3" y="4" rx="2"></rect><path d="M3 10h18"></path></g></svg>
                                                06/11/2026 22:00
                                            </small>
                                                                            </div>
                                    <div>
                                        <small>
                                            <svg viewBox="0 0 24 24" fill="currentColor" height="1em" width="1em" class="inline text-guild-green" aria-hidden="true"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path d="M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0"></path><circle cx="12" cy="10" r="3"></circle></g></svg>
                                            10 rue des Peupliers 35320 Tresboeuf
                                        </small>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </template>
</turbo-stream>
