/* 
 * Дизайн-система ПЕРЧИК
 * Основана на фирменных цветах TranExpress с индивидуальными акцентами
 * Senior Frontend Designer - 2025
 */

:root {
  /* ===== ОСНОВНЫЕ ЦВЕТА TRANEXPRESS ===== */
  --te-primary: #0088CC;           /* Основной синий TranExpress */
  --te-primary-dark: #006699;      /* Темный синий */
  --te-primary-light: #4da6d9;     /* Светлый синий */
  --te-secondary: #6c757d;         /* Серый */
  --te-white: #ffffff;             /* Белый */
  --te-light: #f8f9fa;             /* Светло-серый фон */
  --te-dark: #212529;              /* Темный текст */
  
  /* ===== ИНДИВИДУАЛЬНЫЕ АКЦЕНТЫ ПЕРЧИК ===== */
  --pepper-red: #dc2626;           /* Красный перчик */
  --pepper-orange: #f59e0b;        /* Оранжевый перчик */
  --pepper-yellow: #fbbf24;        /* Желтый (семена) */
  --pepper-green: #16a34a;         /* Зеленый (листик) */
  
  /* ===== ГРАДИЕНТЫ ===== */
  --gradient-primary: linear-gradient(135deg, var(--te-primary), var(--pepper-red), var(--pepper-orange));
  --gradient-pepper: linear-gradient(135deg, var(--pepper-red), var(--pepper-orange));
  --gradient-te: linear-gradient(135deg, var(--te-primary), var(--te-primary-dark));
  --gradient-light: linear-gradient(135deg, var(--te-light), #e9ecef);
  
  /* ===== СЕМАНТИЧЕСКИЕ ЦВЕТА ===== */
  --success: #16a34a;              /* Успех */
  --warning: #f59e0b;              /* Предупреждение */
  --danger: #dc2626;               /* Опасность */
  --info: #0ea5e9;                 /* Информация */
  
  /* ===== НЕЙТРАЛЬНЫЕ ЦВЕТА ===== */
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  
  /* ===== ТИПОГРАФИКА ===== */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-secondary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, monospace;
  
  /* Размеры шрифтов */
  --text-xs: 0.75rem;      /* 12px */
  --text-sm: 0.875rem;     /* 14px */
  --text-base: 1rem;       /* 16px */
  --text-lg: 1.125rem;     /* 18px */
  --text-xl: 1.25rem;      /* 20px */
  --text-2xl: 1.5rem;      /* 24px */
  --text-3xl: 1.875rem;    /* 30px */
  --text-4xl: 2.25rem;     /* 36px */
  --text-5xl: 3rem;        /* 48px */
  
  /* Веса шрифтов */
  --font-light: 300;
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  --font-extrabold: 800;
  
  /* Высота строк */
  --leading-tight: 1.25;
  --leading-snug: 1.375;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;
  --leading-loose: 2;
  
  /* ===== ОТСТУПЫ И РАЗМЕРЫ ===== */
  --space-1: 0.25rem;      /* 4px */
  --space-2: 0.5rem;       /* 8px */
  --space-3: 0.75rem;      /* 12px */
  --space-4: 1rem;         /* 16px */
  --space-5: 1.25rem;      /* 20px */
  --space-6: 1.5rem;       /* 24px */
  --space-8: 2rem;         /* 32px */
  --space-10: 2.5rem;      /* 40px */
  --space-12: 3rem;        /* 48px */
  --space-16: 4rem;        /* 64px */
  --space-20: 5rem;        /* 80px */
  --space-24: 6rem;        /* 96px */
  
  /* ===== РАДИУСЫ СКРУГЛЕНИЯ ===== */
  --radius-none: 0;
  --radius-sm: 0.125rem;   /* 2px */
  --radius-base: 0.25rem;  /* 4px */
  --radius-md: 0.375rem;   /* 6px */
  --radius-lg: 0.5rem;     /* 8px */
  --radius-xl: 0.75rem;    /* 12px */
  --radius-2xl: 1rem;      /* 16px */
  --radius-3xl: 1.5rem;    /* 24px */
  --radius-full: 9999px;
  
  /* ===== ТЕНИ ===== */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-base: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
  
  /* ===== ПЕРЕХОДЫ ===== */
  --transition-fast: 150ms ease-in-out;
  --transition-base: 250ms ease-in-out;
  --transition-slow: 350ms ease-in-out;
  
  /* ===== Z-INDEX ===== */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;
  --z-toast: 1080;
  
  /* ===== BREAKPOINTS (для медиа-запросов) ===== */
  --breakpoint-sm: 576px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 992px;
  --breakpoint-xl: 1200px;
  --breakpoint-2xl: 1400px;
}

/* ===== УТИЛИТАРНЫЕ КЛАССЫ ===== */
.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-pepper {
  background: var(--gradient-pepper);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-gradient-primary {
  background: var(--gradient-primary);
}

.bg-gradient-pepper {
  background: var(--gradient-pepper);
}

.bg-gradient-te {
  background: var(--gradient-te);
}

.bg-gradient-light {
  background: var(--gradient-light);
}
