/* Correction du contraste des boutons au survol */

/* Boutons principaux - Amélioration du contraste */
.btn:hover,
.button-primary:hover,
button[class*="btn"]:hover,
button:hover {
    color: #2d3436 !important; /* Texte sombre pour contraste optimal sur fond violet clair */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
}

/* Règles très spécifiques pour forcer l'application */
body button:hover,
body .btn:hover,
body [class*="button"]:hover {
    color: #2d3436 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
}

/* Boutons avec fond violet clair au survol */
.btn-secondary:hover,
.btn-outline:hover {
    color: #2d3436 !important;
}

/* Boutons de signalement - Amélioration du contraste */
button[style*="background: #8a2be2"]:hover,
button[style*="background: linear-gradient(45deg, #ff6b6b"]:hover {
    color: #fff !important; /* Texte blanc pour les boutons rouges/orange */
    opacity: 0.9;
}

/* Boutons avec fond transparent - Amélioration du contraste */
button[style*="background: rgba(255, 255, 255, 0.1)"]:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    color: #fff !important;
}

/* Boutons d'action dans les messages */
.action-btn:hover {
    color: #2d3436 !important;
    background: rgba(108, 92, 231, 0.3) !important;
}

/* Boutons de réponse */
.reply-btn:hover {
    color: #2d3436 !important;
    background: rgba(108, 92, 231, 0.3) !important;
}

/* Boutons de signalement */
.report-btn:hover {
    color: #fff !important;
    background: rgba(220, 53, 69, 0.4) !important;
}

/* Boutons de navigation */
.nav-links .button-primary:hover {
    color: #2d3436 !important;
}

/* Boutons de chat */
.chat-button:hover {
    color: #2d3436 !important;
}

/* Boutons d'appréciation */
.appreciation-button:hover {
    color: #2d3436 !important;
}

/* Assurer que tous les boutons ont un bon contraste */
button:hover,
.btn:hover,
[class*="button"]:hover {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
}

/* Boutons avec fond sombre - garder le texte blanc */
button[style*="background: #2d3436"]:hover,
button[style*="background: #0f1729"]:hover,
button[style*="background: rgba(15, 23, 41"]:hover {
    color: #fff !important;
}

/* Boutons avec fond coloré - ajuster selon la couleur */
button[style*="background: linear-gradient(45deg, #ff6b6b"]:hover,
button[style*="background: #ff6b6b"]:hover {
    color: #fff !important;
}

button[style*="background: linear-gradient(45deg, #ff8e53"]:hover,
button[style*="background: #ff8e53"]:hover {
    color: #fff !important;
}
