/* =========================================================
   TABISABA — Design tokens
   Ubah nilai di sini untuk mengubah tampilan seluruh aplikasi.
   ========================================================= */
:root {
  /* Warna merek — Master Prompt Final, Bagian 2.3 */
  --color-primary: #075b4b;        /* Hijau utama */
  --color-primary-dark: #064437;   /* Hijau gelap */
  --color-button: #087a61;         /* Hijau tombol */
  --color-primary-soft: #e5f1ec;   /* Hijau lembut (latar ikon, chip) */
  --color-gold: #d9a441;           /* Aksen emas (label premium) */
  --color-cream: #f8f3e8;          /* Krem latar */
  --color-surface: #ffffff;        /* Putih kartu */
  --color-text: #17332d;           /* Teks utama */
  --color-text-muted: #68756f;     /* Teks sekunder */
  --color-border: #e4e7df;         /* Garis batas */

  /* Turunan (status dan aksen) */
  --color-primary-hover: #06705a;
  --color-gold-soft: #fbf1dc;
  --color-gold-strong: #9a6b1c;
  --color-rose-soft: #fdece7;
  --color-rose: #d9534f;
  --color-danger: #b42318;
  --color-danger-soft: #fef0ef;
  --color-warning: #8a5a00;
  --color-warning-soft: #fff6e0;
  --color-success: #087a61;
  --color-success-soft: #e5f1ec;
  --color-overlay: rgba(6, 30, 24, 0.45);

  --gradient-primary: linear-gradient(135deg, #0a8a6d 0%, #087a61 50%, #075b4b 100%);
  --gradient-header: linear-gradient(160deg, #075b4b 0%, #064437 100%);

  /* Halaman autentikasi (Splash, Masuk, Daftar) */
  --auth-veil: rgba(248, 243, 232, 0.86);
  --auth-field: rgba(255, 251, 243, 0.86);
  --auth-field-border: rgba(232, 218, 190, 0.9);

  /* Tipografi */
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --text-xs: 0.75rem;    /* 12px */
  --text-sm: 0.875rem;   /* 14px */
  --text-base: 1rem;     /* 16px */
  --text-lg: 1.125rem;   /* 18px */
  --text-xl: 1.25rem;    /* 20px */
  --text-2xl: 1.5rem;    /* 24px */
  --text-3xl: 1.75rem;   /* 28px */
  --text-4xl: 2rem;      /* 32px */
  --leading-tight: 1.25;
  --leading-normal: 1.5;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --weight-extrabold: 800;

  /* Jarak (kelipatan 4px) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;

  /* Sudut */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 999px;

  /* Bayangan */
  --shadow-sm: 0 1px 2px rgba(6, 68, 55, 0.06);
  --shadow-md: 0 4px 16px rgba(6, 68, 55, 0.08);
  --shadow-lg: 0 12px 32px rgba(6, 68, 55, 0.14);
  --shadow-button: 0 8px 20px rgba(7, 91, 75, 0.30);

  /* Ukuran komponen */
  --touch-min: 44px;
  --control-height: 52px;
  --header-height: 56px;
  --bottom-nav-height: 64px;
  --content-max: 960px;
  --form-max: 440px;

  /* Gerak */
  --duration-fast: 150ms;
  --duration-normal: 250ms;
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);

  /* Area aman (notch HP) */
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);

  color-scheme: light;
}
