/* Font Awesome 7 Compatibility Fix */

/* Override the new CSS custom property syntax with traditional approach */
.fas::before,
.far::before,
.fab::before,
.fa-solid::before,
.fa-regular::before,
.fa-brands::before,
.fa::before {
    font-family: "Font Awesome 7 Free" !important;
    font-weight: 900 !important;
    font-style: normal !important;
    display: inline-block !important;
    text-rendering: auto !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

/* Specific icon definitions using traditional content approach */
.fa-coins::before { content: "\f51e" !important; }
.fa-credit-card::before { content: "\f09d" !important; }
.fa-balance-scale::before { content: "\f24e" !important; }
.fa-home::before { content: "\f015" !important; }
.fa-church::before { content: "\f51d" !important; }
.fa-bars::before { content: "\f0c9" !important; }
.fa-exchange-alt::before { content: "\f362" !important; }
.fa-receipt::before { content: "\f543" !important; }
.fa-piggy-bank::before { content: "\f4d3" !important; }
.fa-tags::before { content: "\f02c" !important; }
.fa-chart-line::before { content: "\f201" !important; }
.fa-file-invoice::before { content: "\f570" !important; }
.fa-file-upload::before { content: "\f574" !important; }
.fa-users::before { content: "\f0c0" !important; }
.fa-upload::before { content: "\f093" !important; }
.fa-users-cog::before { content: "\f509" !important; }
.fa-cogs::before { content: "\f085" !important; }

/* Ensure proper font loading */
@font-face {
    font-family: "Font Awesome 7 Free";
    font-style: normal;
    font-weight: 900;
    font-display: block;
    src: url("../lib/webfonts/fa-solid-900.woff2") format("woff2");
}

@font-face {
    font-family: "Font Awesome 7 Free";
    font-style: normal;
    font-weight: 400;
    font-display: block;
    src: url("../lib/webfonts/fa-regular-400.woff2") format("woff2");
}