/* ==========================================================================
   ORQEST — Commerce Operations OS
   Approved Typography: DIN Next LT Arabic (DINNextLTArabic)
   Strictly Enforced Across All Screens, Components & Print Templates
   ========================================================================== */

/* 1. Font-Face Declarations for all weights */
@font-face {
    font-family: 'DINNextLTArabic';
    src: local('DIN Next LT Arabic UltraLight'),
         local('DINNextLTArabic-UltraLight'),
         url('/assets/fonts/din-next-lt-arabic/DINNextLTArabic-UltraLight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DINNextLTArabic';
    src: local('DIN Next LT Arabic Light'),
         local('DINNextLTArabic-Light'),
         url('/assets/fonts/din-next-lt-arabic/DINNextLTArabic-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DINNextLTArabic';
    src: local('DIN Next LT Arabic'),
         local('DIN Next LT Arabic Regular'),
         local('DINNextLTArabic-Regular'),
         local('DINNextLTArabic'),
         url('/assets/fonts/din-next-lt-arabic/DINNextLTArabic-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DINNextLTArabic';
    src: local('DIN Next LT Arabic Medium'),
         local('DINNextLTArabic-Medium'),
         url('/assets/fonts/din-next-lt-arabic/DINNextLTArabic-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DINNextLTArabic';
    src: local('DIN Next LT Arabic Bold'),
         local('DINNextLTArabic-Bold'),
         url('/assets/fonts/din-next-lt-arabic/DINNextLTArabic-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DINNextLTArabic';
    src: local('DIN Next LT Arabic Heavy'),
         local('DINNextLTArabic-Heavy'),
         url('/assets/fonts/din-next-lt-arabic/DINNextLTArabic-Heavy.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DINNextLTArabic';
    src: local('DIN Next LT Arabic Black'),
         local('DINNextLTArabic-Black'),
         url('/assets/fonts/din-next-lt-arabic/DINNextLTArabic-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* 2. Global Typography Enforcement */
html, body {
    font-family: 'DINNextLTArabic', sans-serif !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    background-color: #F8F6F2;
    color: #26344D;
}

/* Enforce on all interactive and text elements */
h1, h2, h3, h4, h5, h6,
p, span, div, a, button, input, select, textarea, label,
table, th, td, ul, ol, li, blockquote, dt, dd {
    font-family: 'DINNextLTArabic', sans-serif !important;
}

/* 3. Strict Monospace Exemption for SKU / API Keys / Code / Tokens / Webhook payloads */
code, pre, kbd, samp,
.font-mono,
[data-font="mono"],
.font-code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !important;
}

/* 4. Scrollbar and System Polish */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #F8F6F2;
}
::-webkit-scrollbar-thumb {
    background: #AD8E70;
    border-radius: 4px;
}
