/**
 * TLC Nav Design Tokens
 * Generated from Figma Design System
 */

:root {
  /* Colors from Figma */
  --tnav-color-primary: #1896d3;
  --tnav-color-primary-hover: #1578b1;
  --tnav-color-primary-active: #125a8f;
  
  /* Additional semantic colors - Updated to match Figma navy blue scheme */
  --tnav-color-text: #2D2D72;
  --tnav-color-text-secondary: #2D2D72;
  --tnav-color-text-muted: #999999;
  --tnav-color-text-inverse: #ffffff;
  --tnav-color-button-background: #EEF2F5;
  --tnav-color-background: #ffffff;
  --tnav-color-background-secondary: #f8f9fa;
  --tnav-color-background-tertiary: #e9ecef;
  --tnav-color-background-overlay: rgba(0, 0, 0, 0.6);
  
  --tnav-color-border: #dee2e6;
  --tnav-color-border-light: #f1f3f4;
  --tnav-color-border-focus: var(--tnav-color-primary);
  
  /* Typography */
  --tnav-font-family-primary: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --tnav-font-family-mono: 'SF Mono', Monaco, 'Inconsolata', 'Roboto Mono', 'Source Code Pro', monospace;
  
  --tnav-font-size-xs: 0.75rem;    /* 12px */
  --tnav-font-size-sm: 0.875rem;   /* 14px */
  --tnav-font-size-base: 1rem;     /* 16px */
  --tnav-font-size-lg: 1.125rem;   /* 18px */
  --tnav-font-size-xl: 1.25rem;    /* 20px */
  --tnav-font-size-2xl: 1.5rem;    /* 24px */
  
  --tnav-font-weight-normal: 400;
  --tnav-font-weight-medium: 500;
  --tnav-font-weight-semibold: 600;
  --tnav-font-weight-bold: 700;
  
  --tnav-line-height-tight: 1.25;
  --tnav-line-height-snug: 1.375;
  --tnav-line-height-normal: 1.5;
  --tnav-line-height-relaxed: 1.625;
  
  /* Spacing - 8px base grid */
  --tnav-space-1: 0.25rem;   /* 4px */
  --tnav-space-2: 0.5rem;    /* 8px */
  --tnav-space-3: 0.75rem;   /* 12px */
  --tnav-space-4: 1rem;      /* 16px */
  --tnav-space-5: 1.25rem;   /* 20px */
  --tnav-space-6: 1.5rem;    /* 24px */
  --tnav-space-8: 2rem;      /* 32px */
  --tnav-space-10: 2.5rem;   /* 40px */
  --tnav-space-12: 3rem;     /* 48px */
  --tnav-space-16: 4rem;     /* 64px */
  --tnav-space-20: 5rem;     /* 80px */
  --tnav-space-24: 6rem;     /* 96px */
  
  /* Border radius */
  --tnav-radius-none: 0;
  --tnav-radius-sm: 0.125rem;   /* 2px */
  --tnav-radius-base: 0.25rem;  /* 4px */
  --tnav-radius-md: 0.375rem;   /* 6px */
  --tnav-radius-lg: 0.5rem;     /* 8px */
  --tnav-radius-xl: 0.75rem;    /* 12px */
  --tnav-radius-2xl: 1rem;      /* 16px */
  --tnav-radius-full: 9999px;
  
  /* Shadows */
  --tnav-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --tnav-shadow-base: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --tnav-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --tnav-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --tnav-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
  /* Z-index scale */
  --tnav-z-index-dropdown: 1000;
  --tnav-z-index-sticky: 1020;
  --tnav-z-index-fixed: 1030;
  --tnav-z-index-overlay: 1040;
  --tnav-z-index-modal-backdrop: 1050;
  --tnav-z-index-modal: 1060;
  --tnav-z-index-popover: 1070;
  --tnav-z-index-tooltip: 1080;
  
  /* Layout breakpoints */
  --tnav-breakpoint-sm: 640px;
  --tnav-breakpoint-md: 768px;
  --tnav-breakpoint-lg: 1024px;
  --tnav-breakpoint-xl: 1280px;
  --tnav-breakpoint-2xl: 1536px;
  
  /* Component-specific tokens */
  --tnav-header-min-height: 0.5rem;        /* Minimum height for touch targets */
  --tnav-header-min-height-mobile: 3rem;   /* Minimum mobile height */
  --tnav-panel-max-width: 1800px;
  --tnav-panel-padding: var(--tnav-space-8);
  
  /* Animation tokens */
  --tnav-duration-fast: 150ms;
  --tnav-duration-base: 200ms;
  --tnav-duration-slow: 300ms;
  --tnav-duration-slower: 500ms;
  
  --tnav-ease-in: cubic-bezier(0.4, 0, 1, 1);
  --tnav-ease-out: cubic-bezier(0, 0, 0.2, 1);
  --tnav-ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --tnav-ease-smooth: cubic-bezier(0.5, 0, 0, 0.75);
  
  /* Focus ring */
  --tnav-focus-ring-width: 2px;
  --tnav-focus-ring-offset: 2px;
  --tnav-focus-ring-color: var(--tnav-color-primary);
}


/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  :root {
    --tnav-duration-fast: 0ms;
    --tnav-duration-base: 0ms;
    --tnav-duration-slow: 0ms;
    --tnav-duration-slower: 0ms;
  }
}