/*
 * QRMenu Go public icon compatibility layer.
 *
 * The public theme still contains a few legacy FontAwesome / Font Awesome 6
 * family references while the project ships the self-hosted Font Awesome 5
 * solid font with the panel assets. This file connects those references
 * without loading the whole panel icon stylesheet into public pages.
 */

@font-face {
    font-family: "QRMenuGo Icons";
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url("../vendor/panel/fonts/fa-solid-900.woff2") format("woff2"),
         url("../vendor/panel/fonts/fa-solid-900.woff") format("woff");
}

/* Legacy public-theme family alias. */
@font-face {
    font-family: "FontAwesome";
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url("../vendor/panel/fonts/fa-solid-900.woff2") format("woff2"),
         url("../vendor/panel/fonts/fa-solid-900.woff") format("woff");
}

/* The retained theme also references the Font Awesome 6 family name. */
@font-face {
    font-family: "Font Awesome 6 Free";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../vendor/panel/fonts/fa-solid-900.woff2") format("woff2"),
         url("../vendor/panel/fonts/fa-solid-900.woff") format("woff");
}

@font-face {
    font-family: "Font Awesome 6 Free";
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url("../vendor/panel/fonts/fa-solid-900.woff2") format("woff2"),
         url("../vendor/panel/fonts/fa-solid-900.woff") format("woff");
}

/* Public Blade compatibility for the FA6-style `fa-solid` syntax. */
.fa-solid {
    display: inline-block;
    font-family: "QRMenuGo Icons" !important;
    font-style: normal;
    font-variant: normal;
    font-weight: 900 !important;
    line-height: 1;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Only the icons currently used by public QRMenu Go views are declared. */
.fa-compass::before { content: "\f14e"; }
.fa-file-contract::before { content: "\f56c"; }
.fa-shield-halved::before { content: "\f3ed"; }
.fa-user-shield::before { content: "\f505"; }
.fa-scale-balanced::before { content: "\f24e"; }
.fa-chevron-right::before { content: "\f054"; }
.fa-circle-question::before { content: "\f059"; }
.fa-circle-info::before { content: "\f05a"; }
