/* Font Icon Fix - Ensure all icon fonts load properly */

/* FontAwesome icon base classes */
.fa, .fas, .far, .fab, .fal, .fad {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands", "FontAwesome" !important;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
}

/* Solid icons */
.fas {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}

/* Regular icons */
.far {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 400 !important;
}

/* Brand icons */
.fab {
    font-family: "Font Awesome 6 Brands" !important;
    font-weight: 400 !important;
}

/* Fontello icons fallback */
[class^="icon-"]:before, [class*=" icon-"]:before {
    font-family: "fontello" !important;
    font-style: normal;
    font-weight: normal;
    speak: none;
    display: inline-block;
    text-decoration: inherit;
    width: 1em;
    margin-right: .2em;
    text-align: center;
    font-variant: normal;
    text-transform: none;
    line-height: 1em;
    margin-left: .2em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Ensure icon fonts are loaded with proper fallbacks */
@font-face {
    font-family: "Font Awesome 6 Free";
    src: url("../fonts/fontawesome/fa-solid-900.woff2") format("woff2");
    font-weight: 900;
    font-display: swap;
}

@font-face {
    font-family: "Font Awesome 6 Free";
    src: url("../fonts/fontawesome/fa-regular-400.woff2") format("woff2");
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Font Awesome 6 Brands";
    src: url("../fonts/fontawesome/fa-brands-400.woff2") format("woff2");
    font-weight: 400;
    font-display: swap;
}