/**
 * ============================================================================
 * LEANEXT ADMIN TEMPLATE - PROPRIETARY DESIGN SYSTEM
 * DESIGN TOKENS & CSS CUSTOM PROPERTIES
 * Copyright (c) 2026 Leanext Solutions. All Rights Reserved.
 * Safe for commercial resale, distribution, and white-label deployments.
 * ============================================================================
 */

:root {
  /* ================= Primary Brand Colors (Automotive Precision) ================= */
  --lx-primary: #0b2545;
  --lx-primary-hover: #07192f;
  --lx-primary-active: #040f1d;
  --lx-primary-light: #e0f2fe;
  --lx-primary-gradient: linear-gradient(135deg, #0b2545 0%, #0099e5 100%);

  /* ================= Accent & Semantic Status ================= */
  --lx-accent: #0099e5;
  --lx-accent-hover: #0084c7;
  --lx-accent-light: #e0f2fe;

  --lx-success: #059669;
  --lx-success-hover: #047857;
  --lx-success-light: #d1fae5;
  --lx-success-bg: #ecfdf5;

  --lx-warning: #d97706;
  --lx-warning-hover: #b45309;
  --lx-warning-light: #fef3c7;
  --lx-warning-bg: #fffbeb;

  --lx-danger: #dc2626;
  --lx-danger-hover: #b91c1c;
  --lx-danger-light: #fee2e2;
  --lx-danger-bg: #fef2f2;

  --lx-info: #0284c7;
  --lx-info-hover: #0369a1;
  --lx-info-light: #e0f2fe;

  /* ================= Neutral Palette & Surfaces ================= */
  --lx-bg-body: #f1f5f9;
  --lx-bg-surface: #ffffff;
  --lx-bg-muted: #f8fafc;
  --lx-bg-hover: #e2e8f0;

  --lx-text-main: #0f172a;
  --lx-text-secondary: #475569;
  --lx-text-muted: #64748b;
  --lx-text-light: #94a3b8;
  --lx-text-inverse: #ffffff;

  --lx-border-subtle: #f1f5f9;
  --lx-border-color: #cbd5e1;
  --lx-border-strong: #94a3b8;

  /* ================= Layout Metrics ================= */
  --lx-topbar-height: 64px;
  --lx-sidebar-width: 260px;
  --lx-sidebar-collapsed-width: 72px;
  --lx-footer-height: 48px;

  /* ================= Sidebar Palette (Comfort Slate Navy - Eye-Friendly Soft Contrast) ================= */
  --lx-sidebar-bg: #222938;
  --lx-sidebar-bg-gradient: linear-gradient(180deg, #263043 0%, #1c2331 100%);
  --lx-sidebar-border: rgba(255, 255, 255, 0.08);
  --lx-sidebar-text: #a8b3cf;
  --lx-sidebar-text-hover: #ffffff;
  --lx-sidebar-text-active: #ffffff;
  --lx-sidebar-item-hover: rgba(255, 255, 255, 0.07);
  --lx-sidebar-item-active: rgba(59, 130, 246, 0.22);
  --lx-sidebar-active-indicator: #3b82f6;
  --lx-sidebar-heading: #7e8da6;
  --lx-sidebar-submenu-bg: rgba(18, 24, 38, 0.65);

  /* ================= Elevation & Shadows ================= */
  --lx-shadow-xs: 0 1px 2px 0 rgba(15, 23, 42, 0.04);
  --lx-shadow-sm: 0 1px 3px 0 rgba(15, 23, 42, 0.06), 0 1px 2px -1px rgba(15, 23, 42, 0.06);
  --lx-shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.07), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --lx-shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
  --lx-shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.10), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --lx-shadow-dropdown: 0 12px 28px rgba(15, 23, 42, 0.14), 0 4px 10px rgba(15, 23, 42, 0.05);
  --lx-shadow-card: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);

  /* ================= Radii ================= */
  --lx-radius-xs: 4px;
  --lx-radius-sm: 6px;
  --lx-radius-md: 10px;
  --lx-radius-lg: 14px;
  --lx-radius-xl: 20px;
  --lx-radius-pill: 9999px;

  /* ================= Transitions ================= */
  --lx-transition-fast: 0.15s ease-in-out;
  --lx-transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --lx-transition-slow: 0.35s cubic-bezier(0.4, 0, 0.2, 1);

  /* ================= Standard ERP Typography Scale ================= */
  --lx-font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --lx-font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  --lx-font-size-2xs: 0.625rem;  /* 10px: Micro captions, counter pills */
  --lx-font-size-xs: 0.6875rem;  /* 11px: Breadcrumbs, badge text, kbd hints */
  --lx-font-size-sm: 0.75rem;    /* 12px: Secondary metadata, subtitles, compact buttons */
  --lx-font-size-base: 0.8125rem;/* 13px: Standard ERP body, table cells, form inputs */
  --lx-font-size-md: 0.875rem;   /* 14px: Card titles, major form labels */
  --lx-font-size-lg: 1.0rem;     /* 16px: Section headings */
  --lx-font-size-xl: 1.0625rem;  /* 17px: ERP Page Titles */
  --lx-font-size-2xl: 1.25rem;   /* 20px: Major Dashboard KPIs */
}
