/* ============================================================
   THEME.CSS — Design Tokens & Typography
   Hydrogel Film Business POS
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  /* ─── Brand Colors (F2A Electric Cyan / Neon Blue) ─── */
  --primary-50:  #f0f9ff;
  --primary-100: #e0f2fe;
  --primary-200: #bae6fd;
  --primary-300: #7dd3fc;
  --primary-400: #38bdf8;
  --primary-500: #00d2ff;
  --primary-600: #0284c7;
  --primary-700: #0088ff;
  --primary-800: #075985;
  --primary-900: #0c4a6e;

  --primary:       #0088ff;
  --primary-light: rgba(0, 180, 255, 0.12);
  --primary-dark:  #0066cc;
  --primary-hover: #0077e6;

  /* ─── App Surfaces (Dark Obsidian & Metallic Glass) ───── */
  --bg-app:        #090D16;
  --bg-surface:    #111827;
  --bg-elevated:   #1E293B;
  --bg-overlay:    rgba(0, 0, 0, 0.85);
  --bg-glass:      rgba(17, 24, 39, 0.88);

  /* ─── Neutrals for Dark Mode ──────────────────────────── */
  --white:   #ffffff;
  --gray-50: #0D1322;
  --gray-100:#111827;
  --gray-200:#1E293B;
  --gray-300:#334155;
  --gray-400:#475569;
  --gray-500:#64748B;
  --gray-600:#94A3B8;
  --gray-700:#CBD5E1;
  --gray-800:#E2E8F0;
  --gray-900:#F8FAFC;

  /* ─── Semantic Colors ───────────────────────────────────── */
  --success:       #10b981;
  --success-light: rgba(16, 185, 129, 0.15);
  --success-dark:  #065f46;

  --warning:       #f59e0b;
  --warning-light: rgba(245, 158, 11, 0.15);
  --warning-dark:  #78350f;

  --danger:        #ef4444;
  --danger-light:  rgba(239, 68, 68, 0.15);
  --danger-dark:   #7f1d1d;

  --info:          #38bdf8;
  --info-light:    rgba(56, 189, 248, 0.15);
  --info-dark:     #0369a1;

  /* ─── Text for Dark Mode ───────────────────────────────── */
  --text-primary:  #F8FAFC;
  --text-secondary:#E2E8F0;
  --text-muted:    #94A3B8;
  --text-disabled: #64748B;
  --text-inverse:  #0F172A;
  --text-purple:   #38BDF8;

  /* ─── Borders for Dark Mode ────────────────────────────── */
  --border:        #1E293B;
  --border-focus:  #00D2FF;
  --border-error:  var(--danger);

  /* ─── Shadows ───────────────────────────────────────────── */
  --shadow-xs:  0 1px 2px rgba(0,0,0,0.05);
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:  0 4px 6px rgba(0,0,0,0.06), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg:  0 10px 15px rgba(0,0,0,0.08), 0 4px 6px rgba(0,0,0,0.04);
  --shadow-xl:  0 20px 25px rgba(0,0,0,0.1), 0 10px 10px rgba(0,0,0,0.04);
  --shadow-purple: 0 4px 14px rgba(124, 58, 237, 0.25);
  --shadow-purple-lg: 0 8px 25px rgba(124, 58, 237, 0.35);

  /* ─── Border Radius ─────────────────────────────────────── */
  --radius-xs:  4px;
  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  16px;
  --radius-xl:  20px;
  --radius-2xl: 24px;
  --radius-3xl: 32px;
  --radius-full:9999px;

  /* ─── Spacing ────────────────────────────────────────────── */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  20px;
  --space-6:  24px;
  --space-8:  32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;

  /* ─── Typography ─────────────────────────────────────────── */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:   'SF Mono', 'Fira Code', monospace;

  --text-xs:   11px;
  --text-sm:   13px;
  --text-base: 15px;
  --text-md:   16px;
  --text-lg:   18px;
  --text-xl:   20px;
  --text-2xl:  24px;
  --text-3xl:  30px;
  --text-4xl:  36px;

  --leading-tight:  1.2;
  --leading-normal: 1.5;
  --leading-relaxed:1.7;

  --weight-light:   300;
  --weight-regular: 400;
  --weight-medium:  500;
  --weight-semibold:600;
  --weight-bold:    700;
  --weight-extrabold:800;
  --weight-black:   900;

  /* ─── Layout ──────────────────────────────────────────────── */
  --nav-bottom-height: 70px;
  --header-height:     60px;
  --sidebar-width:     260px;
  --content-max:       1200px;

  /* ─── Transitions ─────────────────────────────────────────── */
  --transition-fast:   150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base:   250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow:   400ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 300ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* ─── Z-Index ─────────────────────────────────────────────── */
  --z-base:    1;
  --z-nav:     100;
  --z-header:  200;
  --z-modal:   300;
  --z-toast:   400;
  --z-overlay: 500;
  --z-top:     999;
}

/* ─── Dark Mode (optional, future) ─────────────────────────── */
@media (prefers-color-scheme: dark) {
  /* Reserved for future dark mode support */
}
