/*
 * AgriSwap V2 - Design Tokens
 * Theme: Terre (Earth) - DEFAULT
 * This file will be updated with the winning theme after Phase 1 validation
 */

:root {
  /* ===== Colors ===== */
  --color-primary: #5C7C3A;
  --color-primary-dark: #3D5226;
  --color-secondary: #8B6914;
  --color-accent: #C75D2C;

  --color-bg-primary: #FAF6F0;
  --color-bg-card: #FFFFFF;
  --color-bg-subtle: #F0EBE3;

  --color-text-primary: #2D2418;
  --color-text-secondary: #6B5D4F;
  --color-text-on-primary: #FFFFFF;

  --color-border: #D9D0C4;

  --color-success: #3D7A3D;
  --color-warning: #C75D2C;
  --color-error: #B33030;

  --color-quality-1: #8B6914;
  --color-quality-2: #5C7C3A;
  --color-quality-3: #C75D2C;

  /* ===== Typography ===== */
  --font-family-heading: Georgia, 'Times New Roman', serif;
  --font-family-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --font-size-h1: 28px;
  --font-size-h2: 22px;
  --font-size-body: 16px;
  --font-size-card-title: 18px;
  --font-size-label: 14px;
  --font-size-caption: 12px;

  --font-weight-bold: 700;
  --font-weight-semibold: 600;
  --font-weight-medium: 500;
  --font-weight-regular: 400;

  --line-height-tight: 1.2;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.75;

  /* ===== Spacing ===== */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;

  /* ===== Border Radius ===== */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  /* ===== Shadows ===== */
  --shadow-sm: 0 1px 2px rgba(45, 36, 24, 0.05);
  --shadow-md: 0 2px 8px rgba(45, 36, 24, 0.08);
  --shadow-lg: 0 4px 16px rgba(45, 36, 24, 0.12);

  /* ===== Z-Index ===== */
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal-backdrop: 400;
  --z-modal: 500;
  --z-toast: 600;

  /* ===== Transitions ===== */
  --transition-fast: 150ms ease;
  --transition-normal: 300ms ease-in-out;
  --transition-slow: 500ms ease-in-out;

  /* ===== Component Sizes ===== */
  --touch-target-min: 44px;
  --button-height-sm: 36px;
  --button-height-md: 48px;
  --button-height-lg: 56px;
  --input-height: 48px;
  --nav-height: 56px;
  --fab-size: 56px;
  --badge-height: 24px;
  --avatar-size-sm: 32px;
  --avatar-size-md: 48px;
  --avatar-size-lg: 64px;
}
