/* ============================================================
   ProLiftix — Spacing, radius, shadow & layout tokens
   Tailwind 4px base scale. Radius 0.5rem (shadcn --radius).
   Cards are flat-to-subtle: border + shadow-sm, often shadow-none.
   ============================================================ */

:root {
  /* Spacing — 4px base grid */
  --space-0: 0;
  --space-0-5: 0.125rem; /* 2 */
  --space-1: 0.25rem;    /* 4 */
  --space-1-5: 0.375rem; /* 6 */
  --space-2: 0.5rem;     /* 8 */
  --space-2-5: 0.625rem; /* 10 */
  --space-3: 0.75rem;    /* 12 */
  --space-4: 1rem;       /* 16 — default page padding (mobile) */
  --space-5: 1.25rem;    /* 20 */
  --space-6: 1.5rem;     /* 24 — card padding, page padding (desktop) */
  --space-8: 2rem;       /* 32 */
  --space-10: 2.5rem;    /* 40 */
  --space-12: 3rem;      /* 48 */
  --space-16: 4rem;      /* 64 */

  /* Radius — shadcn --radius = 0.5rem, with -2/-4px steps */
  --radius: 0.5rem;                          /* lg */
  --radius-md: calc(var(--radius) - 2px);    /* 6px */
  --radius-sm: calc(var(--radius) - 4px);    /* 4px */
  --radius-full: 9999px;                     /* pills, badges, avatars */

  /* Shadows — restrained. The app leans on borders, not elevation. */
  --shadow-none: none;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.08), 0 2px 4px -2px rgb(0 0 0 / 0.06);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.10), 0 4px 6px -4px rgb(0 0 0 / 0.05);
  --shadow-popover: 0 4px 12px -2px rgb(0 0 0 / 0.12), 0 2px 6px -2px rgb(0 0 0 / 0.08);

  /* Layout constants from the app shell */
  --sidebar-width: 15rem;   /* w-60 */
  --topbar-height: 3.5rem;  /* h-14 */
  --ring-offset: 2px; /* @kind spacing */

  /* Motion — Tailwind defaults; transitions are colour-only on controls */
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1); /* @kind other */
  --ease-out: cubic-bezier(0, 0, 0.2, 1);        /* @kind other */
  --duration-fast: 120ms;                        /* @kind other */
  --duration-base: 150ms;                        /* @kind other */
  --duration-slow: 200ms;                        /* @kind other */
}
