/* frontend/css/variables.css */
:root {
  /* ── Цвета бренда ─────────────────────────────────────── */
  --color-primary:        #1A73E8;
  --color-primary-dark:   #1557B0;
  --color-primary-light:  #E8F0FE;
  --color-brand:          var(--color-primary); /* White Label переопределяет */

  --color-success:        #1E8A3E;
  --color-success-light:  #E6F4EA;
  --color-warning:        #B06000;
  --color-warning-light:  #FEF3E2;
  --color-danger:         #C5221F;
  --color-danger-light:   #FCE8E6;
  --color-neutral:        #5F6368;
  --color-neutral-light:  #F1F3F4;

  --color-bg:             #F8F9FA;
  --color-surface:        #FFFFFF;
  --color-border:         #DADCE0;
  --color-text:           #202124;
  --color-text-secondary: #5F6368;
  --color-emergency:      #D93025;
  --color-frozen:         #1967D2;
  --color-staging:        #D97706;

  /* ── Типографика ─────────────────────────────────────── */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono:    'Roboto Mono', 'Courier New', monospace;

  --text-sm:      13px;
  --text-base:    15px;
  --text-lg:      18px;
  --text-2xl:     24px;
  --text-3xl:     32px;
  --text-display: 48px;

  /* ── Отступы ─────────────────────────────────────────── */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-6:  24px;
  --space-8:  32px;
  --space-12: 48px;

  /* ── Радиусы ─────────────────────────────────────────── */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  /* ── Тени ────────────────────────────────────────────── */
  --shadow-sm: 0 1px 2px rgba(0,0,0,.06), 0 1px 3px rgba(0,0,0,.10);
  --shadow-md: 0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.06);
  --shadow-lg: 0 10px 15px rgba(0,0,0,.10), 0 4px 6px rgba(0,0,0,.05);

  /* ── Анимации ────────────────────────────────────────── */
  --transition-fast:   150ms ease;
  --transition-normal: 250ms ease;

  /* ── Кнопки ──────────────────────────────────────────── */
  --btn-height-sm:    36px;
  --btn-height-md:    44px;
  --btn-height-guard: 72px;

  /* ── Z-index ─────────────────────────────────────────── */
  --z-dropdown:  100;
  --z-modal:     200;
  --z-toast:     300;
  --z-freeze:    400;
}