/* ExamConnect design tokens (variables only). Generated from phase-3c-hifi-design/design-tokens.css v1.0.
   Defines --ec-* custom properties only: loading this file changes nothing visible. */
:root {
  /* ---------- Brand: teal (logo #327B74) ---------- */
  --ec-teal-50:  #F4F8F8;
  --ec-teal-100: #E6EFEE;
  --ec-teal-200: #CEDFDD;
  --ec-teal-300: #A2C3C0;
  --ec-teal-500: #42A39A;
  --ec-teal-600: #327B74;   /* primary / links / buttons */
  --ec-teal-700: #28625C;   /* hover, secondary button text */
  --ec-teal-800: #1D4944;
  --ec-teal-900: #153330;   /* deep surfaces: app band, Store hero */
  --ec-footer:   #102A27;

  /* ---------- Accent: orange (logo #F19400) — urgency / highlight only ---------- */
  --ec-orange-50:  #FFF7EB;
  --ec-orange-100: #FFF1DB;
  --ec-orange-200: #FFD899;
  --ec-orange-500: #F19400;  /* fills, badges, icons on dark — never text on white */
  --ec-orange-600: #CC7D00;
  --ec-orange-700: #A36400;
  --ec-orange-800: #8A4B00;  /* orange text on light backgrounds */
  --ec-orange-900: #7A4B00;

  /* ---------- Ink / neutrals ---------- */
  --ec-ink-900: #0B101B;  /* headings, body */
  --ec-ink-800: #242A38;
  --ec-ink-700: #3B414F;
  --ec-ink-600: #575D6B;  /* meta text — minimum for small text */
  --ec-ink-500: #707785;  /* icons, placeholders (not small text) */
  --ec-ink-300: #C9CBCF;
  --ec-line:    #E6EAEA;
  --ec-line-soft: #EDF0F0;
  --ec-ink-100: #F1F3F3;
  --ec-bg:      #FAFBFB;
  --ec-surface: #FFFFFF;

  /* ---------- Status (text / background) ---------- */
  --ec-success: #1E7A3E;  --ec-success-bg: #EAF6EE;
  --ec-danger:  #B42318;  --ec-danger-bg:  #FDECEA;
  --ec-warning: #8A4B00;  --ec-warning-bg: #FFF5E0;
  --ec-info:    #2F5FA8;  --ec-info-bg:    #EEF4FC;

  /* ---------- Update-type colours (badges, featured-image type band) ---------- */
  --ec-type-job: #327B74;          --ec-type-job-bg: #E6EFEE;
  --ec-type-result: #1E7A3E;       --ec-type-result-bg: #EAF6EE;
  --ec-type-answerkey: #7A3EB1;    --ec-type-answerkey-bg: #F3ECFA;
  --ec-type-callletter: #2F5FA8;   --ec-type-callletter-bg: #EEF4FC;
  --ec-type-examdate: #8A4B00;     --ec-type-examdate-bg: #FFF1DB;
  /* job status pills */
  --ec-job-open: #1E7A3E;   --ec-job-open-bg: #EAF6EE;
  --ec-job-soon: #8A4B00;   --ec-job-soon-bg: #FFF1DB;
  --ec-job-closed: #B42318; --ec-job-closed-bg: #FDECEA;

  /* ---------- Semantic aliases ---------- */
  --ec-text: var(--ec-ink-900);
  --ec-text-muted: var(--ec-ink-600);
  --ec-link: var(--ec-teal-600);
  --ec-link-hover: var(--ec-teal-700);
  --ec-primary: var(--ec-teal-600);
  --ec-primary-hover: var(--ec-teal-700);
  --ec-on-primary: #FFFFFF;
  --ec-premium-bg: var(--ec-teal-900);
  --ec-premium-text: var(--ec-orange-200);
  --ec-store-nav-bg: #FFF5E0;      /* "Store" item in desktop header */
  --ec-store-nav-text: var(--ec-orange-800);
  --ec-focus: #2F5FA8;

  /* ---------- Type ---------- */
  --ec-font: "Inter", "Noto Sans Gujarati", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ec-font-gu: "Noto Sans Gujarati", "Inter", system-ui, sans-serif;

  /* scale: desktop / mobile (mobile applied in media query below) */
  --ec-fs-display: 40px;  --ec-lh-display: 1.2;   --ec-fw-display: 800; --ec-ls-display: -0.02em;
  --ec-fs-h1: 32px;       --ec-lh-h1: 1.25;       --ec-fw-h1: 800;      --ec-ls-h1: -0.015em;
  --ec-fs-h2: 24px;       --ec-lh-h2: 1.3;        --ec-fw-h2: 750;      --ec-ls-h2: -0.01em;
  --ec-fs-title: 17px;    --ec-lh-title: 1.4;     --ec-fw-title: 700;
  --ec-fs-body: 16px;     --ec-lh-body: 1.6;
  --ec-fs-meta: 14px;     --ec-lh-meta: 1.5;
  --ec-fs-small: 13px;    /* Latin-only labels; Gujarati UI text never below 14px */
  --ec-fs-badge: 12.5px;  /* badges with short Latin/Gujarati words, weight 650+ */

  /* ---------- Space (4px base) ---------- */
  --ec-sp-1: 4px;  --ec-sp-2: 8px;  --ec-sp-3: 12px; --ec-sp-4: 16px;
  --ec-sp-5: 20px; --ec-sp-6: 24px; --ec-sp-8: 32px; --ec-sp-10: 40px;
  --ec-sp-12: 48px; --ec-sp-16: 64px;

  /* ---------- Radius ---------- */
  --ec-r-xs: 8px;    /* thumbnails, small inputs */
  --ec-r-sm: 10px;   /* inputs, selects */
  --ec-r-md: 12px;   /* buttons, icon tiles */
  --ec-r-lg: 16px;   /* cards (mobile) */
  --ec-r-xl: 18px;   /* cards (desktop), product cards */
  --ec-r-2xl: 24px;  /* hero panels, sheets */
  --ec-r-pill: 999px;

  /* ---------- Elevation ---------- */
  --ec-shadow-card: 0 1px 2px rgba(11, 16, 27, .04);
  --ec-shadow-raised: 0 16px 40px rgba(11, 16, 27, .10);
  --ec-shadow-primary: 0 6px 16px rgba(50, 123, 116, .28);
  --ec-shadow-bar-top: 0 -6px 20px rgba(11, 16, 27, .06);

  /* ---------- Layout ---------- */
  --ec-container: 1200px;   /* content max 1152 + 2×24 padding */
  --ec-gutter: 24px;
  --ec-gutter-m: 16px;
  --ec-header-h: 72px;      /* desktop, one row */
  --ec-header-h-m: 60px;
  --ec-tabbar-h: 76px;
  --ec-tap: 44px;           /* minimum tap target */
  --ec-btn-h: 46px;  --ec-btn-h-m: 52px;  --ec-btn-h-sm: 42px;
  --ec-input-h: 42px;
  --ec-ad-m: 280px;         /* reserved mobile ad height */
  --ec-ad-rail: 600px;      /* reserved desktop rail */

  /* ---------- Motion ---------- */
  --ec-ease: cubic-bezier(.2, .7, .2, 1);
  --ec-dur: 160ms;

  /* ---------- Icons ---------- */
  --ec-icon-stroke: 1.75;   /* 2 at <= 16px */
}

@media (max-width: 767px) {
  :root {
    --ec-fs-display: 28px;
    --ec-fs-h1: 24px;  --ec-lh-h1: 1.35;
    --ec-fs-h2: 20px;
    --ec-fs-title: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  :root { --ec-dur: 0ms; }
}
