    </div>

    <div id="modal-overlay" class="modal-overlay hidden">
        <div class="modal-content">
            <div class="modal-header">
                <h3 id="modal-title">Titre</h3>
                <button id="modal-close"><i data-lucide="x"></i></button>
            </div>
            <div id="modal-body" class="modal-body"></div>
        </div>
    </div>

    <div id="toast" class="toast hidden">Notification</div>
    <script>
        if ('serviceWorker' in navigator) {
            window.addEventListener('load', () => {
                navigator.serviceWorker.register('/sw.js')
                    .then(reg => console.log('SW enregistré!', reg.scope))
                    .catch(err => console.log('SW échec:', err));
            });
        }
    </script>
    <script src="/app.auth.js"></script>
    <script src="/app.js"></script>
</body>
</html>
