// AI Enhancement Tokens
// Generated from base-tokens.json

// AI State Classes
$base-ai-states-cognitive-thinking: 'ai-thinking';
$base-ai-states-cognitive-analyzing: 'ai-analyzing';
$base-ai-states-cognitive-processing: 'ai-processing';
$base-ai-states-cognitive-deciding: 'ai-deciding';
$base-ai-states-cognitive-learning: 'ai-learning';
$base-ai-states-cognitive-validating: 'ai-validating';

$base-ai-states-activity-loading: 'ai-loading';
$base-ai-states-activity-working: 'ai-working';
$base-ai-states-activity-busy: 'ai-busy';
$base-ai-states-activity-idle: 'ai-idle';

$base-ai-states-communication-listening: 'ai-listening';
$base-ai-states-communication-speaking: 'ai-speaking';
$base-ai-states-communication-waiting: 'ai-waiting';
$base-ai-states-communication-responding: 'ai-responding';

$base-ai-states-status-complete: 'ai-complete';
$base-ai-states-status-success: 'ai-success';
$base-ai-states-status-error: 'ai-has-error';
$base-ai-states-status-warning: 'ai-has-warning';
$base-ai-states-status-paused: 'ai-is-paused';
$base-ai-states-status-cancelled: 'ai-is-cancelled';

// AI Control Mode Classes
$base-ai-control-modes-cooperative: 'mode-cooperative';
$base-ai-control-modes-ai-priority: 'mode-ai-priority';
$base-ai-control-modes-ai-exclusive: 'mode-ai-exclusive';
$base-ai-control-modes-human-override: 'mode-human-override';

$base-ai-control-locks-soft: 'ai-lock-soft';
$base-ai-control-locks-hard: 'ai-lock-hard';
$base-ai-control-locks-visual-only: 'ai-lock-visual-only';

// AI Enhancement Colors
$base-ai-glow-subtle-color: #8b5cf6;
$base-ai-glow-subtle-blur: 8px;
$base-ai-glow-subtle-spread: 2px;
$base-ai-glow-subtle-opacity: 0.2;

$base-ai-glow-standard-color: #8b5cf6;
$base-ai-glow-standard-blur: 16px;
$base-ai-glow-standard-spread: 4px;
$base-ai-glow-standard-opacity: 0.3;

$base-ai-glow-strong-color: #8b5cf6;
$base-ai-glow-strong-blur: 24px;
$base-ai-glow-strong-spread: 6px;
$base-ai-glow-strong-opacity: 0.4;

// AI Gradient Colors
$base-ai-gradient-colors: (#8b5cf6, #06b6d4, #f59e0b);
$base-ai-gradient-blur: 20px;
$base-ai-gradient-spread: 4px;
$base-ai-gradient-opacity: 0.35;

// AI Status Colors
$base-ai-status-thinking-color: #8b5cf6;
$base-ai-status-thinking-background: var(--color-gray-100);
$base-ai-status-thinking-indicator: #8b5cf6;
$base-ai-status-thinking-animation: pulse 2s ease-in-out infinite;

$base-ai-status-ready-color: var(--color-success);
$base-ai-status-ready-background: #f0fdf4;
$base-ai-status-ready-indicator: var(--color-success);
$base-ai-status-ready-animation: none;

$base-ai-status-processing-color: #06b6d4;
$base-ai-status-processing-background: #f0f9ff;
$base-ai-status-processing-indicator: #06b6d4;
$base-ai-status-processing-animation: spin 1s linear infinite;

$base-ai-status-error-color: var(--color-danger);
$base-ai-status-error-background: #fef2f2;
$base-ai-status-error-indicator: var(--color-danger);
$base-ai-status-error-animation: none;

$base-ai-status-offline-color: var(--color-gray-500);
$base-ai-status-offline-background: var(--color-gray-50);
$base-ai-status-offline-indicator: var(--color-gray-500);
$base-ai-status-offline-animation: none;

// AI Confidence Levels
$base-ai-confidence-low-color: #f59e0b;
$base-ai-confidence-low-background: #fef3c7;
$base-ai-confidence-low-border: #f59e0b;
$base-ai-confidence-low-glow: 0 0 8px rgba(245, 158, 11, 0.2);

$base-ai-confidence-medium-color: #06b6d4;
$base-ai-confidence-medium-background: #cffafe;
$base-ai-confidence-medium-border: #06b6d4;
$base-ai-confidence-medium-glow: 0 0 12px rgba(6, 182, 212, 0.3);

$base-ai-confidence-high-color: var(--color-success);
$base-ai-confidence-high-background: #d1fae5;
$base-ai-confidence-high-border: var(--color-success);
$base-ai-confidence-high-glow: 0 0 16px rgba(16, 185, 129, 0.4);

// AI Pulse Animations
$base-ai-pulse-thinking-duration: 2s;
$base-ai-pulse-thinking-easing: ease-in-out;
$base-ai-pulse-thinking-scale-from: 1;
$base-ai-pulse-thinking-scale-to: 1.02;
$base-ai-pulse-thinking-opacity-from: 0.8;
$base-ai-pulse-thinking-opacity-to: 1;
$base-ai-pulse-thinking-iteration: infinite;

$base-ai-pulse-processing-duration: 1.5s;
$base-ai-pulse-processing-easing: ease-in-out;
$base-ai-pulse-processing-scale-from: 1;
$base-ai-pulse-processing-scale-to: 1.05;
$base-ai-pulse-processing-opacity-from: 0.7;
$base-ai-pulse-processing-opacity-to: 1;
$base-ai-pulse-processing-iteration: infinite;

$base-ai-pulse-heartbeat-duration: 1s;
$base-ai-pulse-heartbeat-easing: ease-in-out;
$base-ai-pulse-heartbeat-scale-from: 1;
$base-ai-pulse-heartbeat-scale-to: 1.1;
$base-ai-pulse-heartbeat-opacity-from: 0.9;
$base-ai-pulse-heartbeat-opacity-to: 1;
$base-ai-pulse-heartbeat-iteration: infinite;

// AI Feedback Colors
$base-ai-feedback-success-color: var(--color-success);
$base-ai-feedback-success-background: #d1fae5;
$base-ai-feedback-success-border: var(--color-success);
$base-ai-feedback-success-duration: 300ms;
$base-ai-feedback-success-easing: ease-out;

$base-ai-feedback-warning-color: #f59e0b;
$base-ai-feedback-warning-background: #fef3c7;
$base-ai-feedback-warning-border: #f59e0b;
$base-ai-feedback-warning-duration: 300ms;
$base-ai-feedback-warning-easing: ease-out;

$base-ai-feedback-error-color: var(--color-danger);
$base-ai-feedback-error-background: #fee2e2;
$base-ai-feedback-error-border: var(--color-danger);
$base-ai-feedback-error-duration: 300ms;
$base-ai-feedback-error-easing: ease-out;

$base-ai-feedback-info-color: var(--color-primary);
$base-ai-feedback-info-background: #dbeafe;
$base-ai-feedback-info-border: var(--color-primary);
$base-ai-feedback-info-duration: 300ms;
$base-ai-feedback-info-easing: ease-out;

// AI Gradients
$base-ai-gradient-primary: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
$base-ai-gradient-secondary: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
$base-ai-gradient-tertiary: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
$base-ai-gradient-thinking: linear-gradient(135deg, #8b5cf6 0%, #a855f7 50%, #8b5cf6 100%);
$base-ai-gradient-processing: linear-gradient(135deg, #06b6d4 0%, #0ea5e9 50%, #06b6d4 100%);
$base-ai-gradient-success: linear-gradient(135deg, var(--color-success) 0%, #059669 100%);
$base-ai-gradient-warning: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
$base-ai-gradient-error: linear-gradient(135deg, var(--color-danger) 0%, #dc2626 100%);

// AI Border Animations
$base-ai-border-flowing-width: 2px;
$base-ai-border-flowing-style: solid;
$base-ai-border-flowing-colors: (#8b5cf6, #06b6d4, #f59e0b);
$base-ai-border-flowing-animation-duration: 3s;
$base-ai-border-flowing-animation-timing: linear;

$base-ai-border-static-width: 1px;
$base-ai-border-static-style: solid;
$base-ai-border-static-color: #8b5cf6;

$base-ai-border-processing-width: 2px;
$base-ai-border-processing-style: dashed;
$base-ai-border-processing-colors: (#06b6d4, #0ea5e9);
$base-ai-border-processing-animation-duration: 1.5s;
$base-ai-border-processing-animation-timing: ease-in-out;

// AI Animation Properties
$base-ai-animation-glow-duration: 2s;
$base-ai-animation-glow-easing: ease-in-out;
$base-ai-animation-glow-iterations: infinite;

$base-ai-animation-pulse-duration: 1.5s;
$base-ai-animation-pulse-easing: ease-in-out;
$base-ai-animation-pulse-iterations: infinite;

// AI Timing Values
$base-ai-timing-selection: 150ms;
$base-ai-timing-press: 100ms;
$base-ai-timing-interaction: 200ms;

// AI State Maps
$base-ai-states: (
  thinking: $base-ai-states-cognitive-thinking,
  analyzing: $base-ai-states-cognitive-analyzing,
  processing: $base-ai-states-cognitive-processing,
  deciding: $base-ai-states-cognitive-deciding,
  learning: $base-ai-states-cognitive-learning,
  validating: $base-ai-states-cognitive-validating,
  loading: $base-ai-states-activity-loading,
  working: $base-ai-states-activity-working,
  busy: $base-ai-states-activity-busy,
  idle: $base-ai-states-activity-idle,
  listening: $base-ai-states-communication-listening,
  speaking: $base-ai-states-communication-speaking,
  waiting: $base-ai-states-communication-waiting,
  responding: $base-ai-states-communication-responding,
  complete: $base-ai-states-status-complete,
  success: $base-ai-states-status-success,
  error: $base-ai-states-status-error,
  warning: $base-ai-states-status-warning,
  paused: $base-ai-states-status-paused,
  cancelled: $base-ai-states-status-cancelled,
);

// AI Glow Levels Map
$base-ai-glow-levels: (
  subtle: (
    color: $base-ai-glow-subtle-color,
    blur: $base-ai-glow-subtle-blur,
    spread: $base-ai-glow-subtle-spread,
    opacity: $base-ai-glow-subtle-opacity,
  ),
  standard: (
    color: $base-ai-glow-standard-color,
    blur: $base-ai-glow-standard-blur,
    spread: $base-ai-glow-standard-spread,
    opacity: $base-ai-glow-standard-opacity,
  ),
  strong: (
    color: $base-ai-glow-strong-color,
    blur: $base-ai-glow-strong-blur,
    spread: $base-ai-glow-strong-spread,
    opacity: $base-ai-glow-strong-opacity,
  ),
);

// AI Status Map
$base-ai-status-map: (
  thinking: (
    color: $base-ai-status-thinking-color,
    background: $base-ai-status-thinking-background,
    indicator: $base-ai-status-thinking-indicator,
    animation: $base-ai-status-thinking-animation,
  ),
  ready: (
    color: $base-ai-status-ready-color,
    background: $base-ai-status-ready-background,
    indicator: $base-ai-status-ready-indicator,
    animation: $base-ai-status-ready-animation,
  ),
  processing: (
    color: $base-ai-status-processing-color,
    background: $base-ai-status-processing-background,
    indicator: $base-ai-status-processing-indicator,
    animation: $base-ai-status-processing-animation,
  ),
  error: (
    color: $base-ai-status-error-color,
    background: $base-ai-status-error-background,
    indicator: $base-ai-status-error-indicator,
    animation: $base-ai-status-error-animation,
  ),
  offline: (
    color: $base-ai-status-offline-color,
    background: $base-ai-status-offline-background,
    indicator: $base-ai-status-offline-indicator,
    animation: $base-ai-status-offline-animation,
  ),
);