/* viewer-count-config — styles page (migration DA, ne pas dupliquer la coque) */

.btn-danger { background: rgba(220, 38, 38, 0.8); color: white; padding: 10px 18px; border-radius: 8px; border: none; font-weight: 600; cursor: pointer; }

        .module-toggle { position: relative; width: 90px; height: 36px; border-radius: 18px; background: #374151; border: 1px solid rgba(255,255,255,0.15); cursor: pointer; display: inline-flex; align-items: center; padding: 4px; transition: all 0.25s ease; }
        .module-toggle.on { background: linear-gradient(135deg, #ff6b35, #f7931e); box-shadow: 0 8px 20px rgba(255, 107, 53, 0.35); }
        .module-toggle .thumb { position: relative; width: 28px; height: 28px; background: white; border-radius: 14px; transform: translateX(0); transition: transform 0.25s ease; box-shadow: 0 4px 10px rgba(0,0,0,0.25); }
        .module-toggle.on .thumb { transform: translateX(54px); }
        .module-toggle .labels { position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between; padding: 0 10px; font-size: 11px; font-weight: 700; text-transform: uppercase; color: rgba(255,255,255,0.85); pointer-events: none; }
        /* Combo : même style que chat-config (fond, options, curseur) */

        /* Éviter que le dropdown Police / Épaisseur chevauche les champs en dessous */
        .grid-parametres-police > div { position: relative; z-index: 0; }
        .grid-parametres-police > div:nth-child(1),
        .grid-parametres-police > div:nth-child(3) { z-index: 2; }
        .preview-viewer-count { height: 5rem; min-height: 80px; border-radius: 8px; overflow: hidden; display: block; width: 100%; border: none; background: #0f0f0f; }
