/* ===================================================================
   Offline icons — قەڵای عنتاب
   -------------------------------------------------------------------
   The pages were written against the Lucide icon font, which was loaded
   from unpkg.com. On the shop PC that means: no internet -> no icons.

   Font Awesome Free 6.5.2 now ships inside the project (assets/
   fontawesome/), and this file maps the existing `lucide lucide-NAME`
   class names onto the matching Font Awesome glyph.

   That keeps every page's markup untouched — no HTML had to change —
   while the icons render with no network connection at all.

   To add an icon: pick a name from Font Awesome, find its codepoint in
   assets/fontawesome/css/all.min.css, and add a rule below.
=================================================================== */

/* Any element carrying the .lucide class draws from the FA solid font. */
.lucide {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900;                 /* 900 = the Solid face */
  font-style: normal;
  font-variant: normal;
  line-height: 1;
  display: inline-block;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---- Navigation / pages (see $PAGES in inc/auth.php) ---- */
.lucide-shopping-cart:before    { content: "\f07a"; }  /* کاشێر    */
.lucide-bar-chart-3:before      { content: "\e0e3"; }  /* ئامار    */
.lucide-package:before          { content: "\f466"; }  /* مادەکان  */
.lucide-shopping-bag:before     { content: "\f290"; }  /* فرۆشراوەکان */
.lucide-bell:before             { content: "\f0f3"; }  /* ئاگاداری */
.lucide-users:before            { content: "\f0c0"; }  /* بەکارهێنەران */
.lucide-download:before         { content: "\f019"; }  /* هەناردەکردن */
.lucide-layout-dashboard:before { content: "\f625"; }  /* پەڕەی سەرەکی */

/* ---- Session ---- */
.lucide-log-in:before           { content: "\f2f6"; }
.lucide-log-out:before          { content: "\f2f5"; }

/* ---- Users page ---- */
.lucide-user:before             { content: "\f007"; }
.lucide-user-plus:before        { content: "\f234"; }
.lucide-key-round:before        { content: "\f084"; }
.lucide-trash-2:before          { content: "\f2ed"; }
.lucide-save:before             { content: "\f0c7"; }

/* ---- Export page ---- */
.lucide-file-spreadsheet:before { content: "\f1c3"; }
.lucide-file-text:before        { content: "\f15c"; }

/* ---- System switcher (shop floor / online) ---- */
.lucide-store:before            { content: "\f54e"; }
.lucide-globe:before            { content: "\f0ac"; }

.lucide-printer:before          { content: "\f02f"; }

/* ---- Misc ---- */
.lucide-arrow-left:before       { content: "\f060"; }

/* In an RTL page a "back" arrow should point the way the eye travels. */
.lucide-arrow-left { transform: scaleX(-1); }

/* ---- Mobile drawer ---- */
/* The hamburger had no glyph: navbar_admin.php asks for .lucide-menu but
   icons.css never mapped it, so the button rendered empty. "bars". */
.lucide-menu:before             { content: "\f0c9"; }
.lucide-x:before                { content: "\f00d"; }
