/**
 * سازگاری با کلاس‌های FA5/Pro (fal, fas, far, fab) روی نسخه رایگان FA6 لوکال.
 * fal (Light) با Solid جایگزین می‌شود چون فونت Pro در پروژه نیست.
 */
:root {
    --icon-font-family: "Font Awesome 6 Free";
    --fa-style-family: "Font Awesome 6 Free";
}

.fa,
i.fa,
span.fa {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}

.fal,
.fa-light,
i.fal,
span.fal {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}

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

.far,
.fa-regular,
i.far,
span.far {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 400 !important;
}

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

i.fal,
i.fas,
i.far,
i.fab,
i.fa,
i.fa-solid,
i.fa-regular,
i.fa-brands,
i.fa-light,
span.fal,
span.fas,
span.far,
span.fab,
span.fa,
.share-save-widget .icon i {
    font-style: normal;
    font-variant: normal;
    line-height: 1;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: inline-block;
}

.fa::before,
.fas::before,
.far::before,
.fal::before,
.fab::before,
i[class*="fa-"]::before,
span[class*="fa-"]::before {
    font-family: "Font Awesome 6 Free" !important;
}

.far::before,
.fa-regular::before {
    font-weight: 400 !important;
}

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

/**
 * آیکن‌های UI که اشتباه با fab (برند) یا far/light آمده‌اند؛ در FA6 Free اغلب فقط Solid دارند.
 */
i.fab.fa-eye,
.fab.fa-eye,
i.far.fa-xmark,
.far.fa-xmark,
i.far.fa-magnifying-glass,
i.far.fa-times,
i.fal.fa-arrow-right-long,
i.fal.fa-external-link,
i.fal.fa-xmark,
i.fal.fa-play {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}

.app-job-preview i[class*="fa-"],
.job-preview i[class*="fa-"] {
    font-family: "Font Awesome 6 Free", var(--icon-font-family) !important;
    font-style: normal !important;
    line-height: 1 !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.app-job-preview i.fab.fa-eye,
.app-job-preview i.far.fa-eye {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}
