/* Add this to your existing CSS in admin.py, public.py, forms.py, etc. */

/* Force font loading and display */
@font-face {
    font-family: 'Font Awesome 6 Free';
    font-style: normal;
    font-weight: 900;
    font-display: block;
    src: url("/static/fontawesome/webfonts/fa-solid-900.woff2") format("woff2"),
         url("/static/fontawesome/webfonts/fa-solid-900.ttf") format("truetype");
}

@font-face {
    font-family: 'Font Awesome 6 Brands';
    font-style: normal;
    font-weight: 400;
    font-display: block;
    src: url("/static/fontawesome/webfonts/fa-brands-400.woff2") format("woff2"),
         url("/static/fontawesome/webfonts/fa-brands-400.ttf") format("truetype");
}

.fas, .fa-solid {
    font-family: 'Font Awesome 6 Free' !important;
    font-weight: 900 !important;
}

.fab, .fa-brands {
    font-family: 'Font Awesome 6 Brands' !important;
    font-weight: 400 !important;
}

/* Ensure icons display properly */
.fas, .fab, .far, .fal, .fa {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
}