/**
 * 🔧 CURSOR FIX STYLES
 * VERSION MINIMALE - Seules les règles critiques pour le typing indicator
 * Le reste est géré par le JavaScript (cursor-fix.js)
 */

/* ✅ SEULE RÈGLE NÉCESSAIRE: S'assurer que le typing indicator ne bloque jamais */
#typing-indicator,
.typing-indicator {
    pointer-events: none !important;
}

/* Classes utilitaires pour le déblocage JS (utilisées par cursor-fix.js) */
.cursor-fix-reset {
    cursor: default !important;
    pointer-events: auto !important;
}

.cursor-fix-blocked {
    /* Appliqué temporairement pour diagnostiquer les problèmes */
    outline: 2px dashed red !important;
}

/* Style pour l'indicateur de déblocage d'urgence */
.cursor-fix-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #27ae60;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 999999;
    animation: slideInRight 0.3s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
}

@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Message d'aide pour le raccourci d'urgence */
.cursor-fix-help {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 12px;
    z-index: 999998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.cursor-fix-help.visible {
    opacity: 1;
}

.cursor-fix-help kbd {
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 6px;
    border-radius: 3px;
    font-family: monospace;
    font-size: 11px;
}
