/**
 * Override Old Styles - Force suppression des anciens styles
 * Priorité maximale pour écraser les anciens CSS
 * Version: 1.0.0
 * Date: 2025-01-28
 */

/* SUPPRESSION GLOBALE de border-radius: 8px */
* {
    /* Réinitialiser tous les border-radius de 8px */
}

/* Cibler spécifiquement les éléments avec border-radius: 8px */
[style*="border-radius: 8px"],
[style*="border-radius:8px"] {
    border-radius: 12px !important;
}

/* Suppression des border-left: 4px solid partout */
[style*="border-left: 4px solid"],
[style*="border-left:4px solid"],
[style*="border-left: 4px"],
[style*="border-left:4px"] {
    border-left: none !important;
}

/* Classes communes qui utilisaient l'ancien style */
.card,
.box,
.panel,
.container-box,
.info-box,
.warning-box,
.success-box,
.error-box,
.alert-box,
.message,
.notification-box,
.feature-card,
.service-card,
.pricing-card,
.testimonial,
.review-card,
.stat-card,
.metric-card,
.dashboard-card,
.widget,
.module,
.section-box {
    border-left: none !important;
    border-radius: 12px !important;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.15), 
                0 4px 12px rgba(102, 126, 234, 0.1) !important;
    border: 1px solid rgba(102, 126, 234, 0.2) !important;
}

/* Forcer l'affichage des icônes SVG */
.icon {
    display: inline-block !important;
    vertical-align: middle !important;
    margin-right: 4px !important;
}

.icon::before {
    display: inline-block !important;
    width: 15px !important;
    height: 15px !important;
    content: '' !important;
}

/* Forcer la taille des emojis restants à 15px */
body {
    font-size: inherit;
}

/* Cibler les emojis Unicode directement */
.emoji,
[role="img"],
img.emoji {
    width: 15px !important;
    height: 15px !important;
    display: inline-block !important;
    vertical-align: middle !important;
}

/* Forcer la taille de tous les caractères emoji Unicode */
* {
    /* Les emojis sont des caractères, on ne peut pas changer leur taille directement */
    /* Mais on peut les wrapper dans un span avec font-size */
}

/* Debug : mettre en évidence les éléments avec l'ancien style */
/* Décommenter pour debug */
/*
[style*="border-radius: 8px"] {
    outline: 2px solid red !important;
}
[style*="border-left: 4px solid"] {
    outline: 2px solid orange !important;
}
*/
