/*!
 * PatientCare — Nioicon → Font Awesome 6 shim
 *
 * The original NioLand template uses its own icon font (Nioicon) which is not
 * shipped with this project. This shim re-routes every `.icon.ni.ni-*` class
 * used on the front-facing pages to the corresponding Font Awesome 6 Free
 * glyph, so existing markup keeps working without per-page edits.
 *
 * Requires Font Awesome 6 Free CSS to be loaded first (header.php loads it
 * from cdnjs).
 */

/*
 * Override NioLand's `.icon.ni { font-family: Nioicon }` rule. The Nioicon
 * font file is not shipped with this project, so we re-route to FA 6 Free.
 * !important is needed because the NioLand stylesheet has equal specificity
 * but loads first.
 */
.icon.ni,
em.icon.ni {
  display: inline-block !important;
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important; /* solid */
  font-style: normal !important;
  font-variant: normal !important;
  text-rendering: auto;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Hide decorative NioLand background masks that 404 in this build */
.nk-mask,
[class*="mask-line"],
[class*="bg-mask"] {
  background-image: none !important;
}

/* ── Arrows / navigation ───────────────────────────────────── */
.ni-arrow-right::before    { content: "\f061"; }
.ni-arrow-left::before     { content: "\f060"; }
.ni-arrow-up::before       { content: "\f062"; }
.ni-arrow-down::before     { content: "\f063"; }
.ni-chevron-right::before  { content: "\f054"; }
.ni-chevron-left::before   { content: "\f053"; }
.ni-chevrons-up::before    { content: "\f102"; }
.ni-reload-v::before       { content: "\f021"; }

/* ── Plus / minus / check / close ──────────────────────────── */
.ni-plus::before               { content: "\2b"; }
.ni-minus::before              { content: "\f068"; }
.ni-plus-medi-fill::before     { content: "\f067"; }
.ni-check::before              { content: "\f00c"; }
.ni-check-circle::before       { content: "\f058"; }
.ni-check-circle-fill::before  { content: "\f058"; }
.ni-cross::before              { content: "\f00d"; }
.ni-cross-circle::before       { content: "\f057"; }

/* ── Care / health ─────────────────────────────────────────── */
.ni-shield::before        { content: "\f3ed"; }
.ni-shield-check::before  { content: "\f3ed"; }
.ni-shield-alert::before  { content: "\f071"; }
.ni-shield-star::before   { content: "\f3ed"; }
.ni-alert-fill::before    { content: "\f071"; }
.ni-alert::before         { content: "\f071"; }

/* ── People / users ────────────────────────────────────────── */
.ni-users::before    { content: "\f0c0"; }
.ni-user::before     { content: "\f007"; }
.ni-user-fill::before { content: "\f007"; }

/* ── Files / documents ─────────────────────────────────────── */
.ni-file-docs::before    { content: "\f15c"; }
.ni-file-text::before    { content: "\f15c"; }
.ni-file-check::before   { content: "\f15c"; }
.ni-notes-alt::before    { content: "\f328"; }
.ni-clipboad-check::before { content: "\f46c"; } /* note: original typo retained */
.ni-clipboard-check::before { content: "\f46c"; }
.ni-pen::before          { content: "\f304"; }

/* ── Calendar / time ───────────────────────────────────────── */
.ni-calendar::before { content: "\f133"; }
.ni-clock::before    { content: "\f017"; }

/* ── Charts / business ─────────────────────────────────────── */
.ni-bar-chart::before      { content: "\f080"; }
.ni-bar-chart-fill::before { content: "\f080"; }
.ni-growth::before         { content: "\e098"; }
.ni-percent::before        { content: "\f295"; }
.ni-sign-gbp::before       { content: "\f154"; }

/* ── Layout / system ───────────────────────────────────────── */
.ni-layers::before          { content: "\f5fd"; }
.ni-layers-fill::before     { content: "\f5fd"; }
.ni-setting-alt-fill::before{ content: "\f013"; }
.ni-setting::before         { content: "\f013"; }
.ni-lock::before            { content: "\f023"; }
.ni-share-alt::before       { content: "\f1e0"; }
.ni-send::before            { content: "\f1d8"; }
.ni-msg-fill::before        { content: "\f075"; }
.ni-msg::before             { content: "\f075"; }

/* ── Place / vehicles / home ───────────────────────────────── */
.ni-location-fill::before { content: "\f3c5"; }
.ni-location::before      { content: "\f3c5"; }
.ni-home-fill::before     { content: "\f015"; }
.ni-home::before          { content: "\f015"; }
.ni-car-fill::before      { content: "\f1b9"; }
.ni-truck::before         { content: "\f0d1"; }

/* ── Misc ──────────────────────────────────────────────────── */
.ni-star::before      { content: "\f005"; }
.ni-star-fill::before { content: "\f005"; }
.ni-info::before      { content: "\f129"; }
.ni-question::before  { content: "\f128"; }
