/* FontAwesome Pro to Free mapping */

/* Base class mappings */
.fal, .far {
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free";
    font-weight: 400; /* Regular weight for free version */
}

.fas {
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free";
    font-weight: 900; /* Solid weight */
}

.fab {
    font-family: "Font Awesome 6 Brands", "Font Awesome 5 Brands";
    font-weight: 400;
}

.fad {
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free";
    font-weight: 900; /* Use solid for duotone replacements */
}

/* Specific icon mappings - Pro to Free equivalents */

/* Users Medical -> Users */
.fa-users-medical::before {
    content: "\f0c0"; /* fa-users */
}

/* Hands USD -> Hand Holding USD */
.fa-hands-usd::before {
    content: "\f4c0"; /* fa-hand-holding-usd */
}

/* Comments Alt -> Comments */
.fa-comments-alt::before {
    content: "\f086"; /* fa-comments */
}

/* Gamepad Alt -> Gamepad */
.fa-gamepad-alt::before {
    content: "\f11b"; /* fa-gamepad */
}

/* User Alt -> User */
.fa-user-alt::before {
    content: "\f007"; /* fa-user */
}

/* Home LG Alt -> Home */
.fa-home-lg-alt::before {
    content: "\f015"; /* fa-home */
}

/* Long Arrow Left -> Arrow Left */
.fa-long-arrow-left::before {
    content: "\f060"; /* fa-arrow-left */
}

/* Users Crown -> Crown (or Users) */
.fa-users-crown::before {
    content: "\f0c0"; /* fa-users (crown is pro-only, use users instead) */
}

/* Coin -> Coins */
.fa-coin::before {
    content: "\f51e"; /* fa-coins */
}

/* Money Bill -> Dollar Sign */
.fa-money-bill::before {
    content: "\f155"; /* fa-dollar-sign */
}

/* User Friends -> Users */
.fa-user-friends::before {
    content: "\f0c0"; /* fa-users */
}

/* University (available in free) */
.fa-university::before {
    content: "\f19c"; /* fa-university */
}

/* Sort Numeric Up Alt -> Sort Numeric Up */
.fa-sort-numeric-up-alt::before {
    content: "\f163"; /* fa-sort-numeric-up */
}

/* Bullhorn (available in free) */
.fa-bullhorn::before {
    content: "\f0a1"; /* fa-bullhorn */
}

/* Times (available in free) */
.fa-times::before {
    content: "\f00d"; /* fa-times */
}

/* Spinner Third -> Spinner */
.fa-spinner-third::before {
    content: "\f110"; /* fa-spinner */
}

/* Check (available in free) */
.fa-check::before {
    content: "\f00c"; /* fa-check */
}

/* Sign In -> Sign In Alt */
.fa-sign-in::before {
    content: "\f2f6"; /* fa-sign-in-alt */
}

/* User Plus (available in free) */
.fa-user-plus::before {
    content: "\f234"; /* fa-user-plus */
}

/* Chevron Right/Left are available in free */
.fa-chevron-right::before {
    content: "\f054"; /* fa-chevron-right */
}

.fa-chevron-left::before {
    content: "\f053"; /* fa-chevron-left */
}

/* Check Circle is available in free */
.fa-check-circle::before {
    content: "\f058"; /* fa-check-circle */
}

/* Handshake is available in free */
.fa-handshake::before {
    content: "\f2b5"; /* fa-handshake */
}

/* Ensure all icons use proper font weights */
.fal.fa-power-off,
.fal.fa-wallet,
.fal.fa-plus,
.fal.fa-minus,
.fal.fa-gift,
.fal.fa-lock,
.fal.fa-history,
.fal.fa-user,
.fal.fa-check,
.fal.fa-university,
.fal.fa-sort-numeric-up-alt,
.fal.fa-bullhorn,
.fal.fa-user-friends,
.fal.fa-times,
.fal.fa-sign-in,
.fal.fa-user-plus,
.fa.fa-users-medical,
.fa.fa-hands-usd,
.fa.fa-comments-alt,
.fa.fa-gamepad-alt,
.fa.fa-user-alt {
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free";
    font-weight: 900; /* Use solid version for better compatibility */
}

/* Pro duotone to solid mappings */
.fad.fa-coin,
.fad.fa-gift,
.fad.fa-chevron-right,
.fad.fa-chevron-left,
.fad.fa-check-circle,
.fad.fa-money-bill,
.fad.fa-coins,
.fad.fa-spinner-third {
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free";
    font-weight: 900;
}

/* Regular icons that should work in free */
.far.fa-handshake,
.far.fa-check {
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free";
    font-weight: 400;
}
