/**
 * RubiManage Design Tokens
 * Material 3 inspired · merah rubi, putih, abu-abu muda.
 *
 * Ubah nilai token di file ini untuk menyesuaikan tampilan tanpa menyentuh
 * logika PHP, query SQL, maupun JavaScript.
 */

:root {
  /* Brand */
  --ruby: #B5122B;
  --ruby-dark: #8F0E22;
  --ruby-deep: #6E0918;
  --ruby-tint: #FFF0F2;
  --ruby-tint-strong: #FFDCE1;
  --ruby-contrast: #FFFFFF;

  /* Surface */
  --bg: #F6F6F7;
  --surface: #FFFFFF;
  --surface-2: #FBFAFB;
  --surface-3: #F0EEEF;
  --surface-inverse: #2C272B;
  --text: #242124;
  --text-inverse: #FFFFFF;
  --muted: #6F6870;
  --muted-2: #908A90;
  --border: #E5E1E3;
  --border-strong: #D3CCD0;

  /* Semantic */
  --success: #1D7A4C;
  --success-tint: #E9F6EF;
  --warning: #8A5A00;
  --warning-tint: #FFF6DE;
  --danger: #B3261E;
  --danger-tint: #FDECEA;
  --info: #1D5FA7;
  --info-tint: #EAF2FD;
  --neutral: #5F5960;
  --neutral-tint: #F0EEF0;

  /* Typography */
  --font-sans: "Roboto", "Segoe UI", Arial, sans-serif;
  --font-mono: "Roboto Mono", Consolas, monospace;
  --fs-display: 30px;
  --fs-headline: 24px;
  --fs-title-lg: 20px;
  --fs-title: 16px;
  --fs-body: 14px;
  --fs-label: 13px;
  --fs-caption: 12px;
  --fs-micro: 11px;
  --lh-tight: 1.2;
  --lh-normal: 1.5;

  /* Spacing (4px scale) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;

  /* Radius */
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 999px;

  /* Elevation */
  --shadow-1: 0 1px 2px rgba(36, 33, 36, 0.06);
  --shadow-2: 0 6px 20px rgba(36, 33, 36, 0.08);
  --shadow-3: 0 16px 40px rgba(36, 33, 36, 0.16);
  --shadow-ruby: 0 8px 22px rgba(181, 18, 43, 0.22);

  /* Layout */
  --sidebar-width: 268px;
  --topbar-height: 64px;
  --bottom-nav-height: 68px;
  --content-max: 1280px;

  /* Motion */
  --ease: cubic-bezier(0.2, 0, 0, 1);
  --duration: 180ms;

  /* Focus */
  --focus-ring: 0 0 0 3px rgba(181, 18, 43, 0.18);
}
