/* ==========================================================================
   AMIN & SONS FACTORY OS - 100% OFFLINE EMBEDDED LOCAL FONTS ENGINE
   ==========================================================================
   Guarantees zero layout shifts, zero remote CDN dependencies, and 100%
   identical font metrics, sizes, and weights whether online or offline.
   ========================================================================== */

/* --- INTER --- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/Inter-400.ttf') format('truetype'),
       url('./fonts/Inter-400.ttf') format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/Inter-500.ttf') format('truetype'),
       url('./fonts/Inter-500.ttf') format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/Inter-600.ttf') format('truetype'),
       url('./fonts/Inter-600.ttf') format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/Inter-700.ttf') format('truetype'),
       url('./fonts/Inter-700.ttf') format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/fonts/Inter-700.ttf') format('truetype'),
       url('./fonts/Inter-700.ttf') format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('/fonts/Inter-700.ttf') format('truetype'),
       url('./fonts/Inter-700.ttf') format('truetype');
}

/* --- JETBRAINS MONO --- */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/JetBrainsMono-400.ttf') format('truetype'),
       url('./fonts/JetBrainsMono-400.ttf') format('truetype');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/JetBrainsMono-600.ttf') format('truetype'),
       url('./fonts/JetBrainsMono-600.ttf') format('truetype');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/JetBrainsMono-700.ttf') format('truetype'),
       url('./fonts/JetBrainsMono-700.ttf') format('truetype');
}

/* --- PLUS JAKARTA SANS --- */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/PlusJakartaSans-400.ttf') format('truetype'),
       url('./fonts/PlusJakartaSans-400.ttf') format('truetype');
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/PlusJakartaSans-500.ttf') format('truetype'),
       url('./fonts/PlusJakartaSans-500.ttf') format('truetype');
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/PlusJakartaSans-600.ttf') format('truetype'),
       url('./fonts/PlusJakartaSans-600.ttf') format('truetype');
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/PlusJakartaSans-700.ttf') format('truetype'),
       url('./fonts/PlusJakartaSans-700.ttf') format('truetype');
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/fonts/PlusJakartaSans-800.ttf') format('truetype'),
       url('./fonts/PlusJakartaSans-800.ttf') format('truetype');
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('/fonts/PlusJakartaSans-800.ttf') format('truetype'),
       url('./fonts/PlusJakartaSans-800.ttf') format('truetype');
}

/* --- NOTO SANS ARABIC --- */
@font-face {
  font-family: 'Noto Sans Arabic';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/NotoSansArabic-600.ttf') format('truetype'),
       url('./fonts/NotoSansArabic-600.ttf') format('truetype');
}
@font-face {
  font-family: 'Noto Sans Arabic';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/NotoSansArabic-700.ttf') format('truetype'),
       url('./fonts/NotoSansArabic-700.ttf') format('truetype');
}
@font-face {
  font-family: 'Noto Sans Arabic';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/fonts/NotoSansArabic-800.ttf') format('truetype'),
       url('./fonts/NotoSansArabic-800.ttf') format('truetype');
}

/* --- NOTO NASTALIQ URDU --- */
@font-face {
  font-family: 'Noto Nastaliq Urdu';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/NotoNastaliqUrdu-Regular.ttf') format('truetype'),
       url('./fonts/NotoNastaliqUrdu-Regular.ttf') format('truetype');
}
@font-face {
  font-family: 'Noto Nastaliq Urdu';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/NotoNastaliqUrdu-Regular.ttf') format('truetype'),
       url('./fonts/NotoNastaliqUrdu-Regular.ttf') format('truetype');
}
@font-face {
  font-family: 'Noto Nastaliq Urdu';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/NotoNastaliqUrdu-Regular.ttf') format('truetype'),
       url('./fonts/NotoNastaliqUrdu-Regular.ttf') format('truetype');
}
@font-face {
  font-family: 'Noto Nastaliq Urdu';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/NotoNastaliqUrdu-Regular.ttf') format('truetype'),
       url('./fonts/NotoNastaliqUrdu-Regular.ttf') format('truetype');
}

/* --- GULZAR --- */
@font-face {
  font-family: 'Gulzar';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/Gulzar-Regular.ttf') format('truetype'),
       url('./fonts/Gulzar-Regular.ttf') format('truetype');
}

/* --- JAMEEL NOORI NASTALEEQ (Authentic Urdu Typography) --- */
@font-face {
  font-family: 'Jameel Noori Nastaleeq';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: local('Jameel Noori Nastaleeq'),
       local('Jameel Noori'),
       local('JameelNooriNastaleeq'),
       local('JameelNooriNastaliq'),
       local('Jameel Noori Nastaleeq Regular'),
       url('/fonts/JameelNooriNastaleeq.woff2') format('woff2'),
       url('./fonts/JameelNooriNastaleeq.woff2') format('woff2'),
       url('../fonts/JameelNooriNastaleeq.woff2') format('woff2'),
       url('/production-app/fonts/JameelNooriNastaleeq.woff2') format('woff2'),
       url('/salary-app/fonts/JameelNooriNastaleeq.woff2') format('woff2'),
       url('/fonts/NotoNastaliqUrdu-Regular.ttf') format('truetype');
}
@font-face {
  font-family: 'Jameel Noori';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: local('Jameel Noori Nastaleeq'),
       local('Jameel Noori'),
       local('JameelNooriNastaleeq'),
       local('JameelNooriNastaliq'),
       url('/fonts/JameelNooriNastaleeq.woff2') format('woff2'),
       url('./fonts/JameelNooriNastaleeq.woff2') format('woff2'),
       url('../fonts/JameelNooriNastaleeq.woff2') format('woff2');
}
@font-face {
  font-family: 'JameelNooriNastaleeq';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: local('Jameel Noori Nastaleeq'),
       local('Jameel Noori'),
       local('JameelNooriNastaleeq'),
       local('JameelNooriNastaliq'),
       url('/fonts/JameelNooriNastaleeq.woff2') format('woff2'),
       url('./fonts/JameelNooriNastaleeq.woff2') format('woff2'),
       url('../fonts/JameelNooriNastaleeq.woff2') format('woff2');
}
@font-face {
  font-family: 'JameelNooriNastaliq';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: local('Jameel Noori Nastaleeq'),
       local('Jameel Noori'),
       local('JameelNooriNastaleeq'),
       local('JameelNooriNastaliq'),
       url('/fonts/JameelNooriNastaleeq.woff2') format('woff2'),
       url('./fonts/JameelNooriNastaleeq.woff2') format('woff2'),
       url('../fonts/JameelNooriNastaleeq.woff2') format('woff2');
}
@font-face {
  font-family: 'Jameel Noori Nastaleeq Kasheeda';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: local('Jameel Noori Nastaleeq Kasheeda'),
       local('Jameel Noori Kasheeda'),
       local('JameelNooriNastaleeqKasheeda'),
       url('/fonts/JameelNooriNastaleeq.woff2') format('woff2'),
       url('./fonts/JameelNooriNastaleeq.woff2') format('woff2');
}

/* --- OPTIONAL CSS VARIABLES FOR OFFLINE FALLBACKS (NO !important TO PREVENT OVERRIDING APP FONTS) --- */
:root {
  --font-urdu-fallback: 'Noto Nastaliq Urdu', 'Noto Sans Arabic', 'Jameel Noori Nastaleeq', serif;
}
