/* tml design tokens. See .claude/DESIGN.md. Customers: edit values here or use Config.Theme.vars. */

@font-face {
  font-family: "Inter";
  src: url("fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("fonts/jetbrains-mono.woff2") format("woff2");
  font-weight: 100 800;
  font-display: swap;
}

:root {
  /* surfaces (opaque: backdrop-filter renders as a black box in some FiveM NUI builds) */
  --bg-base: #050508;
  --bg-surface: rgba(12, 12, 20, 0.96);
  --bg-raised: rgba(255, 255, 255, 0.04);
  --bg-hover: rgba(168, 85, 247, 0.10);
  --bg-overlay: rgba(5, 5, 8, 0.65);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  /* text */
  --text-primary: #F0F0F0;
  --text-secondary: #A0A0B0;
  --text-muted: #7C7C90;

  /* accent */
  --accent: #A855F7;
  --accent-hover: #C084FC;
  --accent-strong: #9333EA;
  --accent-dark: #7E22CE;
  --accent-2: #6366F1;
  --accent-soft: rgba(168, 85, 247, 0.12);
  --accent-line: rgba(168, 85, 247, 0.2);
  --glow: 0 0 30px rgba(168, 85, 247, 0.3);
  --on-accent: #FFFFFF;

  /* status */
  --success: #22C55E;  --success-soft: rgba(34, 197, 94, 0.14);
  --warning: #FBBF24;  --warning-soft: rgba(251, 191, 36, 0.14);
  --danger:  #F87171;  --danger-soft:  rgba(248, 113, 113, 0.14);
  --info:    #818CF8;  --info-soft:    rgba(129, 140, 248, 0.14);

  /* shape */
  --r-sm: 6px; --r-md: 10px; --r-lg: 14px;
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);

  /* type */
  --font-ui: "Inter", system-ui, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;

  /* motion */
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --dur-fast: 120ms; --dur-med: 200ms; --dur-slow: 300ms;
}
