/*
 * TRUST LAB theme on top of Bootstrap 5.3.8.
 * Mirrors the old Tailwind design: black / white / neutral greys with gold accents.
 * Font stack is the same as the old site (Inter if installed, otherwise the system UI font;
 * Thai falls back to the OS Thai font), so text renders the same as before.
 */
:root {
  --tl-black: #000;
  --tl-white: #fff;
  --tl-neutral-50: #fafafa;
  --tl-neutral-100: #f5f5f5;
  --tl-neutral-200: #e5e5e5;
  --tl-neutral-300: #d4d4d4;
  --tl-neutral-400: #a3a3a3;
  --tl-neutral-500: #737373;
  --tl-neutral-600: #525252;
  --tl-neutral-700: #404040;
  --tl-neutral-800: #262626;
  --tl-neutral-900: #171717;
  --tl-gold: #d4af37;
  --tl-gold-dark: #b8860b;
  --tl-green: #10b981;
  --tl-green-bg: #e6f7ed;
  --tl-line: #06c755;
  --tl-line-dark: #05b34c;

  --bs-font-sans-serif: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --bs-body-font-family: var(--bs-font-sans-serif);
  --bs-body-color: var(--tl-black);
  --bs-body-bg: var(--tl-white);
  --bs-border-color: var(--tl-neutral-200);
  --bs-primary: #000;
  --bs-primary-rgb: 0, 0, 0;
  --bs-link-color: #000;
  --bs-link-color-rgb: 0, 0, 0;
  --bs-link-hover-color: var(--tl-neutral-600);
  --bs-link-hover-color-rgb: 82, 82, 82;
  --bs-secondary-color: var(--tl-neutral-500);
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon { display: inline-block; vertical-align: -0.125em; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* Tailwind-compatible colour utilities used throughout the old markup. */
.text-neutral-300 { color: var(--tl-neutral-300) !important; }
.text-neutral-400 { color: var(--tl-neutral-400) !important; }
.text-neutral-500 { color: var(--tl-neutral-500) !important; }
.text-neutral-600 { color: var(--tl-neutral-600) !important; }
.text-neutral-700 { color: var(--tl-neutral-700) !important; }
.text-neutral-800 { color: var(--tl-neutral-800) !important; }
.text-neutral-900 { color: var(--tl-neutral-900) !important; }
.text-gold { color: var(--tl-gold) !important; }
.bg-neutral-50 { background-color: var(--tl-neutral-50) !important; }
.bg-neutral-100 { background-color: var(--tl-neutral-100) !important; }
.bg-neutral-900 { background-color: var(--tl-neutral-900) !important; }
.border-neutral-200 { border-color: var(--tl-neutral-200) !important; }
.border-neutral-300 { border-color: var(--tl-neutral-300) !important; }
.border-black { border-color: #000 !important; }

.tl-eyebrow { font-size: 10px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--tl-neutral-400); }

/* Toasts (django messages) */
.tl-toast { border-radius: 0; border: 1px solid #000; background: #000; color: #fff; font-size: 13px; }
.tl-toast-error { background: #dc2626; border-color: #dc2626; }
.tl-toast-warning { background: var(--tl-gold-dark); border-color: var(--tl-gold-dark); }
