    /* Styles personnalisés pour centrer et rendre l'apparence plus agréable */
        body {
            /* Couleurs de fond adaptatives */
            background-color: #f3f4f6; 
            transition: background-color 0.3s;
            display: flex;
            justify-content: center;
            align-items: flex-start;
            min-height: 10vh;
            padding: 2rem 1rem;
            font-family: 'Inter', sans-serif;
        }
        
        /* Style pour le mode sombre sur le corps */
        .dark body {
             background-color: #1f2937; /* Gris foncé */
        }

        /* Conteneur principal du QR, utilisé pour positionner le logo */
        #qrcode-wrapper {
            position: relative;
            display: inline-block; /* S'adapte à la taille du QR */
        }

        #qrcode {
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 1rem;
            border-radius: 0.75rem;
            background-color: #ffffff;
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
        }
        
        /* Cacher la zone du code QR au début */
        #qrcode-display-container {
            min-height: 256px; /* Espace réservé pour le QR */
        }
        
        /* Positionnement du logo au centre du wrapper (utile pour l'affichage uniquement) */
        #logo-overlay {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            z-index: 10;
            width: 25%; /* Taille du logo par rapport au QR */
            height: 25%;
            pointer-events: none;
        }

        #logo-overlay img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            border-radius: 12px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
            background-color: white;
            padding: 4px;
        }

        /* Style pour les inputs de couleur */
        input[type="color"] {
            -webkit-appearance: none;
            -moz-appearance: none;
            appearance: none;
            border: none;
            width: 32px;
            height: 32px;
            padding: 0;
            cursor: pointer;
            border-radius: 6px;
        }
        input[type="color"]::-webkit-color-swatch-wrapper {
            padding: 0;
        }
        input[type="color"]::-webkit-color-swatch {
            border: 1px solid #d1d5db;
            border-radius: 6px;
        }
        input[type="color"]::-moz-color-swatch {
            border: 1px solid #d1d5db;
            border-radius: 6px;
        }