/* ============================================================
   Managio — Spacing, radii, shadows
   The brand motif is the *capsule / stadium* shape — pill
   buttons (radius-full) and softly rounded cards. Shadows are
   light and diffuse (Mantine "sm"/"md" feel), never heavy.
   ============================================================ */

:root {
  /* ---- Spacing scale (Mantine-aligned: xs..xl) ---- */
  --space-0:   0;
  --space-1:   0.25rem;  /* 4 */
  --space-2:   0.5rem;   /* 8 */
  --space-3:   0.75rem;  /* 12 */
  --space-4:   1rem;     /* 16 */
  --space-5:   1.25rem;  /* 20 */
  --space-6:   1.5rem;   /* 24 */
  --space-8:   2rem;     /* 32 */
  --space-10:  2.5rem;   /* 40 */
  --space-12:  3rem;     /* 48 */
  --space-16:  4rem;     /* 64 */
  --space-20:  5rem;     /* 80 */

  /* Mantine-name aliases (used across the product code) */
  --space-xs: var(--space-2);
  --space-sm: var(--space-3);
  --space-md: var(--space-4);
  --space-lg: var(--space-5);
  --space-xl: var(--space-8);

  /* ---- Radii ---- */
  --radius-xs:   4px;
  --radius-sm:   8px;
  --radius-md:   12px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-full: 9999px;  /* ← the brand pill/capsule */

  /* ---- Shadows (soft, low-contrast) ---- */
  --shadow-xs: 0 1px 2px rgba(20, 26, 62, 0.06);
  --shadow-sm: 0 1px 3px rgba(20, 26, 62, 0.08), 0 1px 2px rgba(20, 26, 62, 0.06);
  --shadow-md: 0 4px 12px rgba(20, 26, 62, 0.10), 0 2px 4px rgba(20, 26, 62, 0.06);
  --shadow-lg: 0 12px 28px rgba(20, 26, 62, 0.12), 0 4px 10px rgba(20, 26, 62, 0.07);
  --shadow-brand: 0 8px 20px rgba(87, 101, 177, 0.30);

  /* ---- Layout ---- */
  --container-sm:  640px;
  --container-md:  960px;
  --container-lg:  1200px;
  --container-xl:  1320px;
  --navbar-height: 80px;
  --sidebar-width: 260px;

  /* ---- Motion ---- */
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1); /* @kind other */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1); /* @kind other */
  --dur-fast: 120ms; /* @kind other */
  --dur-base: 200ms; /* @kind other */
  --dur-slow: 400ms; /* @kind other */
}
