/* 1) register your custom font at the PUA slot */
@font-face {
  font-family: "saudi_riyal";
  src: url("/assets/thconfigs/css/fonts/saudi_riyal.ttf") format("truetype");
  unicode-range: U+E900;
  font-weight: normal;
  font-style: normal;
}

/* 2) hide the old ﷼ character for all ERPNext currency outputs */
.currency,
.print-format .currency,
.currency-symbol {
  color: transparent !important;
  position: relative;
  display: inline-block;
  /* reserve space so your icon doesn’t shift text */
  width: 1ch;
  height: 1em;
}

/* 3) inject your new glyph (U+E900) via ::before */
.currency::before,
.print-format .currency::before,
.currency-symbol::before {
  content: "\e900";
  font-family: "saudi_riyal" !important;
  font-size: 1em;
  line-height: 1;
  position: absolute;
  left: 0;
  top: 0;
}
