/* ===================================
   III PM_Ranger - Design System Variables
   Theme: Orange + White
   =================================== */

:root {
  /* ── Primary Colors ── */
  --orange-50: #FFF7ED;
  --orange-100: #FFEDD5;
  --orange-200: #FED7AA;
  --orange-300: #FDBA74;
  --orange-400: #FB923C;
  --orange-500: #F97316;
  --orange-600: #EA580C;
  --orange-700: #C2410C;
  --orange-800: #9A3412;
  --orange-900: #7C2D12;

  --primary: #F97316;
  --primary-light: #FB923C;
  --primary-dark: #EA580C;
  --primary-glow: rgba(249, 115, 22, 0.3);
  --primary-gradient: linear-gradient(135deg, #F97316, #EA580C);
  --primary-gradient-hover: linear-gradient(135deg, #FB923C, #F97316);

  /* ── Neutral / White tones ── */
  --white: #FFFFFF;
  --gray-50: #FAFAFA;
  --gray-100: #F5F5F5;
  --gray-200: #E5E5E5;
  --gray-300: #D4D4D4;
  --gray-400: #A3A3A3;
  --gray-500: #737373;
  --gray-600: #525252;
  --gray-700: #404040;
  --gray-800: #262626;
  --gray-900: #171717;
  --black: #0A0A0A;

  /* ── Semantic Colors ── */
  --success: #22C55E;
  --success-light: #DCFCE7;
  --warning: #EAB308;
  --warning-light: #FEF9C3;
  --danger: #EF4444;
  --danger-light: #FEE2E2;
  --info: #3B82F6;
  --info-light: #DBEAFE;

  /* ── Background ── */
  --bg-page: #0F0F0F;
  --bg-card: #1A1A1A;
  --bg-card-hover: #222222;
  --bg-elevated: #252525;
  --bg-input: #1E1E1E;
  --bg-overlay: rgba(0, 0, 0, 0.7);
  --bg-glass: rgba(26, 26, 26, 0.85);

  /* ── Text ── */
  --text-primary: #FFFFFF;
  --text-secondary: #A3A3A3;
  --text-muted: #737373;
  --text-inverse: #0A0A0A;
  --text-accent: #F97316;

  /* ── Border ── */
  --border-default: #2A2A2A;
  --border-hover: #3A3A3A;
  --border-active: #F97316;

  /* ── Typography ── */
  --font-family: 'Kanit', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;
  --font-weight-light: 300;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --line-height-tight: 1.2;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.75;

  /* ── Spacing ── */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* ── Border Radius ── */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;

  /* ── Shadows ── */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 20px var(--primary-glow);
  --shadow-glow-lg: 0 0 40px var(--primary-glow);

  /* ── Transitions ── */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
  --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* ── Z-index ── */
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-overlay: 300;
  --z-modal: 400;
  --z-toast: 500;

  /* ── Container ── */
  --container-max: 1280px;
  --container-padding: var(--space-4);
  --header-height: 64px;
  --sidebar-width: 300px;

  @media (max-width: 480px) {
    --container-padding: var(--space-3);
    --header-height: 56px;
  }
}