/* aniLang design tokens for the kurdalapps.com/anilang shop (mirror of the mobile app).
 * Source: aniLang_app branch claude/6.50 (c10eb80), read only. Every value names its Dart file and line.
 *   main.dart        = lib/main.dart                       (app ThemeData)
 *   coach.dart       = lib/screens/pro_mentor_chat_screen.dart (AI coach screen)
 *   skeleton.dart    = lib/utils/skeleton_widgets.dart
 *   correction.dart  = lib/widgets/correction_card.dart
 *   summary.dart     = lib/widgets/session_summary_sheet.dart
 * The app is dark only (ThemeData.dark(), no light theme, no themeMode: main.dart:288), so the web
 * mirror is dark too, whatever the visitor's system setting is. Flutter Material colours are written as
 * their hex values (Colors.amber.shade600 = #FFB300 and so on).
 * Fonts: the app ships no font (pubspec.yaml:141-148 commented out), so Flutter uses the platform
 * font: Roboto on Android, SF Pro on iOS. The web uses the same system fonts; no Google Fonts needed.
 */
:root {
  color-scheme: dark;

  /* ---- Colours: app theme ---- */
  --al-color-primary: #5B7FE8;            /* main.dart:289, :298 primary */
  --al-color-on-primary: #FFFFFF;         /* main.dart:301 */
  --al-color-secondary: #8B9DC3;          /* main.dart:299 */
  --al-color-on-secondary: #FFFFFF;       /* main.dart:302 */
  --al-color-background: #1C2432;         /* main.dart:296 scaffoldBackgroundColor */
  --al-color-surface: #2B3544;            /* main.dart:300 surface (cards, AI bubble, input area) */
  --al-color-on-surface: #E8EAF6;         /* main.dart:303 text */
  --al-color-on-surface-muted: rgba(232, 234, 246, .65); /* correction.dart:34, summary.dart:47 onSurface 65 % */
  --al-color-hint: rgba(232, 234, 246, .40);             /* coach.dart:2075 input hint onSurface 40 % */
  --al-color-outline: #3A4556;            /* main.dart:324 enabled border, :352 chip border */
  --al-color-disabled: #3A4556;           /* main.dart:331 disabled button */
  --al-color-error: #EF5350;              /* main.dart:304 */
  --al-color-success: #66BB6A;            /* correction.dart:71 Colors.green.shade400 (corrected text) */
  --al-color-wrong: #E57373;              /* correction.dart:69 Colors.red.shade300 (what you said) */
  --al-color-chip-label: #B0BEC5;         /* main.dart:345 */
  --al-color-input-label: #8B9DC3;        /* main.dart:311 */
  --al-color-input-hint: #6B7C93;         /* main.dart:310 */
  --al-color-appbar-default: #2B3544;     /* main.dart:291 (other screens) */

  /* ---- Colours: AI coach screen ---- */
  --al-color-coach-bar: #6A1B9A;          /* coach.dart:1414 coach AppBar */
  --al-color-badge: #FFB300;              /* coach.dart:1424 Colors.amber.shade600 (PREMIUM / FREE badge) */
  --al-gradient-user-bubble: linear-gradient(90deg, #5E35B1, #7E57C2); /* coach.dart:1778-1779 */
  --al-color-ai-bubble-border: rgba(91, 127, 232, .20);  /* coach.dart:1785 primary 20 % */
  --al-gradient-tutor-avatar: linear-gradient(135deg, #FFB300, #FB8C00); /* coach.dart:1760 amber.shade600 -> orange.shade600 */
  --al-gradient-user-avatar: linear-gradient(135deg, #5E35B1, #7E57C2);  /* coach.dart:1959 */
  --al-gradient-send: linear-gradient(135deg, #FFB300, #FB8C00);         /* coach.dart:2111 */
  --al-color-input-border: rgba(91, 127, 232, .30);      /* coach.dart:2081 primary 30 % */
  --al-color-input-area-border: rgba(91, 127, 232, .20); /* coach.dart:2040 */
  --al-color-listening-banner: rgba(183, 28, 28, .18);   /* coach.dart:2681 #B71C1C 18 % */
  --al-color-rec-dot: #FF5252;                           /* coach.dart:2684 Colors.redAccent */

  /* ---- Colours: mic button (coach.dart MentorMicButton) ---- */
  --al-color-mic-active: #7C3AED;         /* coach.dart:2482 listening */
  --al-color-mic-idle-glow: #9F67FA;      /* coach.dart:2483 */
  --al-color-mic-processing: #5B2D8E;     /* coach.dart:2484 */
  --al-gradient-mic-idle: linear-gradient(135deg, #8B6BB1, #6A4C93);      /* coach.dart:2619-2622 (glow 0) */
  --al-gradient-mic-idle-glow: linear-gradient(135deg, #9F67FA, #7C3AED); /* coach.dart:2619-2622 (glow 1) */
  --al-gradient-mic-listening: linear-gradient(135deg, #7C3AED, #9F67FA); /* coach.dart:2606 */
  --al-gradient-mic-processing: linear-gradient(135deg, #3D1A6E, #5B2D8E);/* coach.dart:2612 */

  /* ---- Colours: loading ("Tutor is typing") ---- */
  --al-color-typing-bg: rgba(26, 18, 48, .92);           /* skeleton.dart:185 #1A1230 92 % */
  --al-color-typing-border: rgba(91, 45, 142, .45);      /* skeleton.dart:188 #5B2D8E 45 % */
  --al-color-typing-label: #B8A4E8;                      /* skeleton.dart:191 */
  --al-gradient-typing-dot: linear-gradient(135deg, #7C5CBF, #4A90D9); /* skeleton.dart:281 */

  /* ---- Colours: result card ---- */
  --al-color-result-bg: rgba(76, 175, 80, .08);          /* correction.dart:60 Colors.green 8 % */
  --al-color-result-border: rgba(76, 175, 80, .35);      /* correction.dart:62 Colors.green 35 % */

  /* ---- Fonts ---- */
  --al-font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", Roboto, "Segoe UI", "Helvetica Neue", Arial, sans-serif; /* platform font, see header */
  --al-font-weight-regular: 400;
  --al-font-weight-semibold: 600;         /* main.dart:334 button, :347 selected chip */
  --al-font-weight-bold: 700;             /* coach.dart:1443 title, correction.dart:42 labels */
  --al-font-weight-extrabold: 800;        /* summary.dart:66 summary title */
  --al-font-weight-black: 900;            /* coach.dart:1431 badge */
  --al-font-size-badge: 10px;             /* coach.dart:1430 */
  --al-font-size-label: 11px;             /* correction.dart:42 card labels */
  --al-font-size-typing: 13px;            /* skeleton.dart:219 */
  --al-font-size-body: 14px;              /* Flutter M3 bodyMedium default; correction.dart:47, coach.dart:2076 */
  --al-font-size-bubble: 15px;            /* coach.dart:1804 chat bubble text */
  --al-font-size-title: 16px;             /* coach.dart:1442 AppBar title */
  --al-font-size-button: 18px;            /* main.dart:334 */
  --al-font-size-headline: 22px;          /* summary.dart:66 */
  --al-line-height-bubble: 1.55;          /* coach.dart:1805 */
  --al-line-height-card: 1.35;            /* correction.dart:47 */
  --al-letter-spacing-badge: .5px;        /* coach.dart:1433 */
  --al-letter-spacing-label: .3px;        /* correction.dart:42 */

  /* ---- Radii ---- */
  --al-radius-sm: 10px;                   /* coach.dart:1425 badge */
  --al-radius-md: 12px;                   /* main.dart:314, :336 inputs and buttons */
  --al-radius-card: 14px;                 /* correction.dart:61 */
  --al-radius-bubble: 20px;               /* coach.dart:1784 */
  --al-radius-chip: 24px;                 /* main.dart:351 */
  --al-radius-input-pill: 25px;           /* coach.dart:2079 coach text field */
  --al-radius-typing: 4px 16px 16px 16px; /* skeleton.dart:203-207 (top-left is sharp) */
  --al-radius-full: 999px;

  /* ---- Shadows ---- */
  --al-shadow-bubble: 0 2px 8px rgba(0, 0, 0, .05);      /* coach.dart:1789-1791 */
  --al-shadow-input-area: 0 -2px 10px rgba(0, 0, 0, .05);/* coach.dart:2045-2047 */
  --al-shadow-send: 0 2px 8px rgba(255, 193, 7, .30);    /* coach.dart:2116-2118 Colors.amber 30 % */
  --al-shadow-button: 0 1px 3px rgba(0, 0, 0, .30), 0 1px 2px rgba(0, 0, 0, .20); /* main.dart:338 elevation 2 (approx.) */
  --al-shadow-mic-active: 0 0 14px 1px rgba(124, 58, 237, .40);  /* coach.dart:2630-2632 */
  --al-shadow-mic-idle: 0 0 10px 0 rgba(159, 103, 250, .15);     /* coach.dart:2638-2641 (glow 0) */
  --al-shadow-mic-idle-glow: 0 0 18px 2px rgba(159, 103, 250, .40); /* coach.dart:2638-2641 (glow 1) */

  /* ---- Spacing (values used by the app) ---- */
  --al-space-2: 2px;                      /* skeleton.dart:249 dot gap */
  --al-space-4: 4px;
  --al-space-6: 6px;                      /* coach.dart:1773 bubble margin, correction.dart:38 */
  --al-space-8: 8px;                      /* coach.dart:2063 mic to field */
  --al-space-10: 10px;                    /* main.dart:349 chip vertical */
  --al-space-12: 12px;                    /* coach.dart:2036 input area */
  --al-space-14: 14px;                    /* coach.dart:1772 bubble vertical, main.dart:349 chip horizontal */
  --al-space-16: 16px;                    /* main.dart:332 button vertical, skeleton.dart:197 */
  --al-space-18: 18px;                    /* coach.dart:1772 bubble horizontal, :2092 field */
  --al-space-20: 20px;                    /* summary.dart:61 sheet */

  /* ---- Sizes ---- */
  --al-size-mic: 46px;                    /* coach.dart:2485 btnSize */
  --al-size-mic-box: 94px;                /* coach.dart:2516 btnSize + 48 */
  --al-size-mic-spinner: 62px;            /* coach.dart:2525 btnSize + 16 */
  --al-size-mic-icon: 22px;               /* coach.dart:2652 */
  --al-size-avatar: 36px;                 /* coach.dart:1755 */
  --al-size-send: 48px;                   /* coach.dart:2123 IconButton (Material default 48) */
  --al-size-typing-dot: 6px;              /* skeleton.dart:273-274 */
  --al-bubble-max: 78%;                   /* coach.dart:1770 */
  --al-typing-max: 65%;                   /* skeleton.dart:199 */

  /* ---- Motion ---- */
  --al-motion-mic-pulse: 800ms;           /* coach.dart:298 (Curves.easeOut :301), 4 rings, :2539-2547 */
  --al-motion-mic-idle: 1800ms;           /* coach.dart:2459 breathing glow (easeInOut, reverse) */
  --al-motion-typing: 1200ms;             /* skeleton.dart:172 three dots */
}
