/* ============================================
   SigoTrack Design Tokens
   Inspired by Tecnodatos GPS Platform
   ============================================ */

:root {
  /* --- Color Palette --- */
  --color-primary: #00BFA5;
  --color-primary-dark: #009688;
  --color-primary-light: #B2DFDB;
  --color-primary-alpha-10: rgba(0, 191, 165, 0.1);
  --color-primary-alpha-20: rgba(0, 191, 165, 0.2);

  --color-accent: #26C6DA;
  --color-accent-dark: #00ACC1;

  --color-danger: #EF5350;
  --color-danger-dark: #D32F2F;
  --color-danger-light: #FFCDD2;

  --color-warning: #FFA726;
  --color-warning-dark: #F57C00;

  --color-success: #66BB6A;
  --color-success-dark: #388E3C;

  --color-info: #42A5F5;

  /* --- Neutral Palette --- */
  --color-bg-primary: #1a1a2e;
  --color-bg-secondary: #16213e;
  --color-bg-surface: #0f3460;
  --color-bg-card: #1e2a4a;
  --color-bg-input: #0d1b3e;
  --color-bg-hover: rgba(255, 255, 255, 0.05);
  --color-bg-white: #ffffff;

  --color-text-primary: #e8e8e8;
  --color-text-secondary: #a0aec0;
  --color-text-muted: #6b7a90;
  --color-text-inverse: #1a1a2e;
  --color-text-on-primary: #ffffff;

  --color-border: rgba(255, 255, 255, 0.1);
  --color-border-light: rgba(255, 255, 255, 0.05);
  --color-divider: rgba(255, 255, 255, 0.08);

  /* --- Navbar (Light theme like Tecnodatos) --- */
  --navbar-bg: #ffffff;
  --navbar-text: #37474F;
  --navbar-text-active: #00BFA5;
  --navbar-border: #e0e0e0;
  --navbar-height: 48px;

  /* --- Sidebar --- */
  --sidebar-bg: #ffffff;
  --sidebar-text: #37474F;
  --sidebar-text-secondary: #78909C;
  --sidebar-border: #e0e0e0;
  --sidebar-width: 460px;
  --sidebar-collapsed-width: 0px;
  --sidebar-hover: #f5f5f5;
  --sidebar-selected: #E0F2F1;

  /* --- Footer --- */
  --footer-bg: #37474F;
  --footer-text: #B0BEC5;
  --footer-height: 28px;

  /* --- Spacing --- */
  --spacing-xxs: 2px;
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 12px;
  --spacing-lg: 16px;
  --spacing-xl: 24px;
  --spacing-xxl: 32px;
  --spacing-xxxl: 48px;

  /* --- Border Radius --- */
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-xl: 12px;
  --radius-round: 50%;
  --radius-pill: 9999px;

  /* --- Typography --- */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-size-xs: 0.6875rem;   /* 11px */
  --font-size-sm: 0.75rem;     /* 12px */
  --font-size-base: 0.8125rem; /* 13px */
  --font-size-md: 0.875rem;    /* 14px */
  --font-size-lg: 1rem;        /* 16px */
  --font-size-xl: 1.25rem;     /* 20px */
  --font-size-xxl: 1.5rem;     /* 24px */
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --line-height-tight: 1.2;
  --line-height-normal: 1.5;

  /* --- Shadows --- */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 8px 32px rgba(0, 0, 0, 0.2);
  --shadow-inset: inset 0 1px 2px rgba(0, 0, 0, 0.06);

  /* --- Transitions --- */
  --transition-fast: 150ms ease;
  --transition-normal: 250ms ease;
  --transition-slow: 400ms ease;

  /* --- Z-Index Stack --- */
  --z-sidebar: 100;
  --z-navbar: 200;
  --z-dropdown: 300;
  --z-modal-backdrop: 400;
  --z-modal: 500;
  --z-toast: 600;
  --z-tooltip: 700;
}
