/* ==========================================================================
   Design Tokens — 연한 초록색(Sage/Mint) 기반 깔끔한 대시보드 팔레트
   * 나중에 피그마 디자인으로 교체할 때 이 파일의 변수 값만 바꿔도
     전체 색상·폰트·여백·모서리 둥글기가 일괄 반영됩니다.
   ========================================================================== */

:root {
  /* Brand & Green Palette */
  --color-primary: #2e8b57;
  --color-primary-hover: #257347;
  --color-primary-strong: #1f633d;
  --color-primary-soft: #e9f6ee;
  --color-primary-softer: #f2faf5;
  --color-primary-border: #c6e5d2;
  --color-primary-ring: rgba(46, 139, 87, 0.22);

  /* Surface & Background */
  --bg-page: #f4f8f5;
  --bg-card: #ffffff;
  --bg-subtle: #f7fbf8;
  --bg-hover: #eef7f1;
  --bg-overlay: rgba(20, 38, 28, 0.36);

  /* Borders */
  --border-light: #e2ede6;
  --border-default: #d2e3d8;
  --border-strong: #b8d4c3;

  /* Text */
  --text-primary: #172a1f;
  --text-secondary: #4e6959;
  --text-muted: #7c9687;
  --text-on-primary: #ffffff;

  /* Semantic Status */
  --color-danger: #d94848;
  --color-danger-soft: #fef2f2;
  --color-danger-border: #fecaca;
  --color-warning: #b7791f;
  --color-warning-soft: #fef9e7;
  --color-warning-border: #f6e09e;
  --color-info: #2b7a78;
  --color-info-soft: #e6f6f5;
  --color-weekend-sat: #2f6fd6;
  --color-weekend-sun: #d94848;

  /* Typography */
  --font-sans: 'Pretendard Variable', 'Pretendard', -apple-system, BlinkMacSystemFont,
    'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --text-xs: 0.75rem;    /* 12px */
  --text-sm: 0.875rem;   /* 14px */
  --text-base: 0.9375rem;/* 15px */
  --text-md: 1.0625rem;  /* 17px */
  --text-lg: 1.25rem;    /* 20px */
  --text-xl: 1.5rem;     /* 24px */

  /* Spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 22px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(23, 42, 31, 0.04);
  --shadow-sm: 0 4px 14px rgba(23, 42, 31, 0.05);
  --shadow-md: 0 10px 30px rgba(23, 42, 31, 0.08);
  --shadow-lg: 0 20px 50px rgba(23, 42, 31, 0.14);

  /* Layout */
  --container-max: 1240px;
  --header-height: 72px;

  /* Transition */
  --ease-fast: 150ms cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-base: 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
