/* ─────────────────────────────────────────────────────────────────
   DESIGN TOKENS — single source of truth
   Unifies the login/register/forgot-password pages (previously an
   embedded <style> block, navy + Public Sans) with the admin/faculty
   dashboard (previously assets/css/style.css's own :root, blue +
   Plus Jakarta Sans). This file is the ONLY place these values are
   defined now — both auth pages and the dashboard include it.

   Naming: the "canonical" names (--navy, --blue, --text, --off-white,
   etc.) come from the login system, since that's the system being
   kept. The "--gray-light / --text-dark / --accent / ..." names below
   are kept as ALIASES purely so the existing dashboard CSS in
   style.css didn't need every var(--x) reference rewritten by hand —
   new dashboard work should prefer the canonical names on the left.
   ───────────────────────────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,500;0,6..72,600;0,6..72,700;1,6..72,400;1,6..72,500&family=Public+Sans:wght@300;400;500;600;700&display=swap');

:root {
  /* ── canonical navy/blue palette (from the login system) ── */
  --navy:        #0a2342;
  --navy-mid:    #0d2f5c;
  --navy-light:  #1a4080;
  --navy-dark:   #071830;
  --blue:        #1d6fc4;
  --blue-light:  #2d84e8;
  --white:       #ffffff;
  --off-white:   #f7f9fc;
  --gray-100:    #edf1f7;
  --gray-200:    #d4dcea;
  --gray-300:    #b0c0d8;
  --gray-400:    #8899b4;
  --gray-600:    #4a5f7d;
  --text:        #0e1c2f;
  --danger:      #e03434;
  --danger-bg:   #fff0f0;
  --success:     #0d8a5a;
  --success-bg:  #e8faf3;
  --warning:     #f0a030;
  --warning-bg:  #fff8e6;
  --info:        #1d6fc4;
  --info-bg:     #e3f2fd;

  --radius:      14px;
  --radius-sm:   8px;
  --radius-lg:   14px;
  --shadow-sm:   0 1px 3px rgba(10,35,66,0.06);
  --shadow-md:   0 4px 16px rgba(10,35,66,0.10);
  --shadow-lg:   0 12px 40px rgba(10,35,66,0.14);

  --sidebar-width: 260px;
  --topbar-h:      64px;

  /* ── dashboard-code aliases (kept so existing style.css rules
     using these names still resolve to the new palette unchanged) ── */
  --accent:      var(--blue);
  --accent-light:var(--info-bg);
  --gray-light:  var(--off-white);
  --gray-mid:    var(--gray-200);
  --gray-dark:   var(--gray-300);
  --text-dark:   var(--text);
  --text-muted:  var(--gray-600);
  --navy-hover:  var(--navy-light);

  /* ── consolidated 2026-09-13: these were previously re-declared in
     local :root{} blocks inside faculty/dashboard.php, faculty/profile.php,
     and faculty/lab-results.php (each labeled "local-only"), which let
     --purple/--teal drift to two different shades between dashboard.php
     (#7c3aed/#0f766e) and lab-results.php (#8b5cf6/#14b8a6) even though
     both pages use them for the same lab-stat colors. Canonical values
     below match the purple already used on the admin side (.btn-pdf,
     .badge-cat-activity, .pill-folder use #7c3aed/#ede9fe) and the
     -text colors match the hex admin already hard-codes for badges
     (.badge-good/-critical/-mild, .badge-cat-update). Teal had no
     existing system reference, so dashboard.php's original value was
     kept as canonical. ── */
  --success-text: #065f46;
  --warning-text: #92400e;
  --danger-text:  #991b1b;
  --info-text:    #1e40af;
  --text-hint:    #6b7280;
  --text-sub:     #9ca3af;
  --gray-soft:    #f4f6f9;
  --gray-bg:      var(--gray-light);
  --purple:       #7c3aed;
  --purple-bg:    #ede9fe;
  --purple-text:  #4c1d95;
  --teal:         #0f766e;
  --teal-bg:      #ccfbf1;
  --teal-text:    #134e4a;
  --settings-nav: 220px;
}

html, body {
  font-family: 'Public Sans', 'Segoe UI', sans-serif;
}
