/* assets/css/antegrate-theme.css */
@import url("https://fonts.googleapis.com/css2?family=Heebo:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap");
/* Single source of truth for the entire system */

:root {
  /* Typography */
  --font-sans: "Plus Jakarta Sans", "Heebo", "Rubik", "Assistant", "Manrope", "Segoe UI", Arial, sans-serif;

  /* Core colors (LIGHT) */
  --bg: #f3f5fb;
  --surface: #ffffff;
  --surface-2: #f7f9fc;
  --text: #0f172a;
  --muted: #64748b;
  --border: #e6eaf2;

  /* Brand */
  --brand: #4f6ef7;          /* primary CTA/backgrounds */
  --brand-contrast: #ffffff; /* text on brand */
  --link: #4f6ef7;

  /* Status */
  --danger: #dc2626;
  --success: #16a34a;

  /* Effects */
  --radius-lg: 16px;
  --radius-xl: 22px;
  --shadow: 0 18px 40px rgba(15, 23, 42, .10);

  /* Layout */
  --sidebar-w: 280px;
  --sidebar-w-collapsed: 84px;
}

/* DARK theme (toggle via data-theme="dark") */
:root[data-theme="dark"] {
  --bg: #0b1220;
  --surface: #0f172a;
  --surface-2: #111c33;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --border: rgba(255,255,255,.10);

  --brand: #e5e7eb;
  --brand-contrast: #0b1220;
  --link: #e5e7eb;

  --shadow: 0 12px 36px rgba(0,0,0,.40);
}

/* RTL/LTR base behavior */
html[dir="rtl"] body {
  direction: rtl;
}
html[dir="ltr"] body {
  direction: ltr;
}

/* Global baseline */
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
}
a { color: var(--link); }
