/* Hadir / حاضر — generated from tokens.json. Copy the fonts folder next to this file. */
@font-face { font-family: 'Tajawal'; font-weight: 400; font-display: swap; src: url('./fonts/Tajawal-Regular.ttf') format('truetype'); }
@font-face { font-family: 'Tajawal'; font-weight: 500; font-display: swap; src: url('./fonts/Tajawal-Medium.ttf') format('truetype'); }
@font-face { font-family: 'Tajawal'; font-weight: 700; font-display: swap; src: url('./fonts/Tajawal-Bold.ttf') format('truetype'); }
@font-face { font-family: 'Tajawal'; font-weight: 800; font-display: swap; src: url('./fonts/Tajawal-ExtraBold.ttf') format('truetype'); }
@font-face { font-family: 'Tajawal'; font-weight: 900; font-display: swap; src: url('./fonts/Tajawal-Black.ttf') format('truetype'); }

:root {
  --hd-teal-50: #EDF8F6;
  --hd-teal-100: #D2EFEA;
  --hd-teal-200: #A6DED4;
  --hd-teal-300: #6FC6B8;
  --hd-teal-400: #35A898;
  --hd-teal-500: #0E9488;
  --hd-teal-600: #0F766E;
  --hd-teal-700: #0B5F59;
  --hd-teal-800: #0A4743;
  --hd-teal-900: #062F2C;
  --hd-saffron-50: #FFF7E8;
  --hd-saffron-100: #FEEBC5;
  --hd-saffron-200: #FDD995;
  --hd-saffron-300: #FBC567;
  --hd-saffron-400: #F8B544;
  --hd-saffron-500: #F4A62A;
  --hd-saffron-600: #DB8A12;
  --hd-saffron-700: #B06C0C;
  --hd-saffron-800: #87530D;
  --hd-saffron-900: #5E3A0B;
  --hd-sand-0: #FFFDF8;
  --hd-sand-50: #FAF6EE;
  --hd-sand-100: #F3EDE1;
  --hd-sand-200: #E6DDCC;
  --hd-sand-300: #CFC4AF;
  --hd-sand-400: #AFA48E;
  --hd-sand-500: #8C8372;
  --hd-sand-600: #6B6457;
  --hd-sand-700: #4A463D;
  --hd-sand-800: #2E2C27;
  --hd-sand-900: #1B1A16;
  --hd-ink: #0B2422;
  --hd-present-fg: #15803D;
  --hd-present-bg: #E6F6EC;
  --hd-present-solid: #16A34A;
  --hd-late-fg: #B45309;
  --hd-late-bg: #FEF3E2;
  --hd-late-solid: #F59E0B;
  --hd-absent-fg: #B91C1C;
  --hd-absent-bg: #FDECEC;
  --hd-absent-solid: #DC2626;
  --hd-excused-fg: #1D4ED8;
  --hd-excused-bg: #EAF0FD;
  --hd-excused-solid: #2563EB;
  --hd-review-fg: #6D28D9;
  --hd-review-bg: #F1EBFE;
  --hd-review-solid: #7C3AED;
  --hd-bg: #FAF6EE;
  --hd-surface: #FFFDF8;
  --hd-surface2: #F3EDE1;
  --hd-border: #E6DDCC;
  --hd-text: #0B2422;
  --hd-muted: #6B6457;
  --hd-primary: #0F766E;
  --hd-primary-hover: #0B5F59;
  --hd-on-primary: #FFFFFF;
  --hd-accent: #F4A62A;
  --hd-on-accent: #3A2405;
  --hd-focus: #2DBFAE;
  --hd-sidebar: #062F2C;
  --hd-sidebar-text: #D2EFEA;
  --hd-radius-sm: 8px; --hd-radius-md: 12px; --hd-radius-lg: 16px; --hd-radius-xl: 24px;
  --hd-shadow-sm: 0 1px 2px rgba(6,47,44,.06), 0 1px 1px rgba(6,47,44,.04);
  --hd-shadow-md: 0 6px 18px -6px rgba(6,47,44,.16), 0 2px 4px rgba(6,47,44,.05);
  --hd-shadow-lg: 0 24px 48px -16px rgba(6,47,44,.28);
  --hd-font: 'Tajawal', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --hd-gradient-brand: linear-gradient(135deg, #0E9488 0%, #0B5F59 55%, #062F2C 100%);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --hd-bg: #071816;
    --hd-surface: #0D2220;
    --hd-surface2: #13302D;
    --hd-border: #1F3E3A;
    --hd-text: #E8F3F0;
    --hd-muted: #9DB8B3;
    --hd-primary: #2DBFAE;
    --hd-primary-hover: #6FC6B8;
    --hd-on-primary: #04211E;
    --hd-accent: #F8B544;
    --hd-on-accent: #2A1903;
    --hd-focus: #6FC6B8;
    --hd-sidebar: #04110F;
    --hd-sidebar-text: #A6DED4;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --hd-bg: #071816;
  --hd-surface: #0D2220;
  --hd-surface2: #13302D;
  --hd-border: #1F3E3A;
  --hd-text: #E8F3F0;
  --hd-muted: #9DB8B3;
  --hd-primary: #2DBFAE;
  --hd-primary-hover: #6FC6B8;
  --hd-on-primary: #04211E;
  --hd-accent: #F8B544;
  --hd-on-accent: #2A1903;
  --hd-focus: #6FC6B8;
  --hd-sidebar: #04110F;
  --hd-sidebar-text: #A6DED4;
  color-scheme: dark;
}
