/* Force Font Awesome à fonctionner correctement */
.fa, .fas, .far, .fal, .fab,
[class^="fa-"], [class*=" fa-"],
.fa:before, .fas:before, .far:before, .fal:before, .fab:before {
    font-family: "Font Awesome 5 Free", "Font Awesome 5 Pro", "FontAwesome" !important;
    font-weight: 900 !important;
    font-style: normal !important;
    font-variant: normal !important;
    text-transform: none !important;
    line-height: 1 !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    display: inline-block !important;
}

/* Style spécifique pour les icônes far (regular) */
.far, .far:before {
    font-weight: 400 !important;
}

/* Style spécifique pour les icônes fal (light) */
.fal, .fal:before {
    font-weight: 300 !important;
}

/* Style spécifique pour les icônes fab (brands) */
.fab, .fab:before {
    font-family: "Font Awesome 5 Brands" !important;
    font-weight: normal !important;
}

/* Icône utilisateur spécifique */
.fa-user, .fa-user:before {
    content: "\f007" !important;
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
}

/* Icône de connexion */
.fa-sign-in-alt, .fa-sign-in-alt:before {
    content: "\f2f6" !important;
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
}

/* Icône d'inscription */
.fa-user-plus, .fa-user-plus:before {
    content: "\f234" !important;
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
}

/* Icône de déconnexion */
.fa-sign-out-alt, .fa-sign-out-alt:before {
    content: "\f2f5" !important;
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
}

/* Fix pour les widgets et éléments du thème */
.widget .fa, .widget .fas, .widget .far,
.menu .fa, .menu .fas, .menu .far,
.navbar .fa, .navbar .fas, .navbar .far {
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
}

/* Fix pour les pseudo-éléments */
*:before, *:after {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
