/* ════════════════════════════════════════════
   DESIGN TOKENS — BAT OMS
════════════════════════════════════════════ */

:root {
  /* ── Colours ── */
  --primary:    #dc2626;

  --red:        #dc2626;
  --red-2:      #ef4444;
  --red-soft:   #fef2f2;
  --red-mid:    rgba(220,38,38,.25);

  --blue:       #2563eb;
  --blue-2:     #3b82f6;
  --blue-soft:  #eff6ff;
  --blue-mid:   rgba(37,99,235,.2);

  --green:      #16a34a;
  --green-soft: #f0fdf4;
  --green-mid:  rgba(22,163,74,.2);

  --amber:      #d97706;
  --amber-soft: #fffbeb;

  --purple:     #7c3aed;

  /* ── Neutrals ── */
  --bg:         #f4f6fa;
  --bg-2:       #f3f4f6;
  --surface:    #ffffff;
  --border:     #e5e7eb;
  --border-2:   #f3f4f6;

  --text:       #111827;
  --text-2:     #4b5563;
  --text-3:     #9ca3af;

  /* ── Layout ── */
  --sidebar-w:   240px;
  --topbar-h:    58px;
  --radius:      14px;
  --radius-sm:   10px;

  /* ── Shadows ── */
  --shadow-sm:  0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:  0 4px 16px rgba(0,0,0,.08);
  --shadow-lg:  0 8px 32px rgba(0,0,0,.12);

  /* ── Transitions ── */
  --trans:      0.2s ease;
}

/* ── Base reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'IBM Plex Sans Thai', sans-serif;
  font-size: 0.875rem;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }
