@font-face {
    font-family: "saudi_riyal";
    src: url("../fonts/saudi_riyal/regular/saudi_riyal.woff2") format("woff2"),
         url("../fonts/saudi_riyal/regular/saudi_riyal.woff") format("woff"),
         url("../fonts/saudi_riyal/regular/saudi_riyal.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: "saudi_riyal_bold";
    src: url("../fonts/saudi_riyal/bold/saudi_riyal.woff2") format("woff2"),
         url("../fonts/saudi_riyal/bold/saudi_riyal.woff") format("woff"),
         url("../fonts/saudi_riyal/bold/saudi_riyal.ttf") format("truetype");
    font-weight: bold;
    font-style: normal;
    font-display: block;
}

/*
 * Registers the new official Saudi Riyal glyph (U+20C1) as a fallback face
 * under the SAME family names used across the app's stylesheets
 * ("Conv_GESSTwoLight" for the legacy AdminLTE RTL layout, "Inter" for the
 * Tailwind layout). Because unicode-range is scoped to that single code
 * point, the browser only pulls this face in to render "⃁" and keeps using
 * the page's normal font for everything else - so plain text (e.g. from
 * .text()/.val(), not just .html()) containing that character renders the
 * Riyal icon with no HTML/JS changes needed.
 */
@font-face {
    font-family: "Conv_GESSTwoLight";
    src: url("../fonts/saudi_riyal/regular/saudi_riyal.woff2") format("woff2"),
         url("../fonts/saudi_riyal/regular/saudi_riyal.woff") format("woff"),
         url("../fonts/saudi_riyal/regular/saudi_riyal.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: block;
    unicode-range: U+20C1;
    size-adjust: 145%;
}

@font-face {
    font-family: "Inter";
    src: url("../fonts/saudi_riyal/regular/saudi_riyal.woff2") format("woff2"),
         url("../fonts/saudi_riyal/regular/saudi_riyal.woff") format("woff"),
         url("../fonts/saudi_riyal/regular/saudi_riyal.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: block;
    unicode-range: U+20C1;
    size-adjust: 145%;
}

/* Legacy private-use code point (U+E900) */
.icon-saudi_riyal::before {
    content: "\e900";
    font-family: "saudi_riyal" !important;
    font-size: inherit;
    color: inherit;
}

.icon-saudi_riyal_bold::before {
    content: "\e900";
    font-family: "saudi_riyal_bold" !important;
    font-size: inherit;
    color: inherit;
}
