/* ===================================================================
   BERKASIH SMART DESIGN SYSTEM TOKENS
   Bank Sampah BERKASIH (Bersama Karyamulya Bersih)
   Kelurahan Karyamulya, Cirebon, Indonesia
   =================================================================== */

:root {
  /* Brand Primary & Secondary Colors */
  --color-primary-900: #0a2614;
  --color-primary-800: #103b20;
  --color-primary: #14532D;      /* Deep Forest Green (Main Brand) */
  --color-primary-600: #15803d;
  --color-primary-500: #16a34a;
  
  --color-secondary-600: #16a34a;
  --color-secondary: #22C55E;    /* Fresh Green (Brand Accent) */
  --color-secondary-400: #4ade80;
  --color-secondary-100: #dcfce7;
  --color-secondary-50: #f0fdf4;

  /* Surfaces & Backgrounds */
  --color-bg: #F8FAF8;           /* Calm natural tint */
  --color-surface: #FFFFFF;      /* Clean crisp card surface */
  --color-surface-hover: #F9FAFB;
  --color-surface-active: #F3F4F6;
  --color-surface-subtle: #F1F5F2;

  /* Typography Colors */
  --color-text-primary: #17201A; /* Primary high-contrast text */
  --color-text-secondary: #4B5563;
  --color-text-muted: #6B7280;   /* Muted descriptive text */
  --color-text-inverse: #FFFFFF;

  /* Borders & Dividers */
  --color-border: #E5E7EB;
  --color-border-subtle: #F3F4F6;
  --color-border-focus: #22C55E;

  /* Status Colors */
  --color-success: #16A34A;
  --color-success-bg: #F0FDF4;
  --color-success-border: #BBF7D0;
  
  --color-warning: #D97706;
  --color-warning-bg: #FFFBEB;
  --color-warning-border: #FDE68A;

  --color-danger: #DC2626;
  --color-danger-bg: #FEF2F2;
  --color-danger-border: #FECACA;

  --color-info: #0284C7;
  --color-info-bg: #F0F9FF;
  --color-info-border: #BAE6FD;

  /* Earth-inspired Accent Colors (Used sparingly) */
  --color-earth-amber: #D97706;
  --color-earth-copper: #C2410C;
  --color-earth-slate: #475569;
  --color-earth-teal: #0D9488;
  --color-earth-indigo: #4F46E5;

  /* Typography Tokens */
  --font-family-base: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-family-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;

  --font-size-xs: 0.75rem;    /* 12px */
  --font-size-sm: 0.84375rem; /* 13.5px */
  --font-size-base: 0.9375rem;/* 15px */
  --font-size-md: 1.0625rem;  /* 17px */
  --font-size-lg: 1.1875rem;  /* 19px */
  --font-size-xl: 1.375rem;   /* 22px */
  --font-size-2xl: 1.625rem;  /* 26px */
  --font-size-3xl: 2rem;      /* 32px */

  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  /* Spacing Tokens */
  --space-1: 0.25rem;  /* 4px */
  --space-2: 0.5rem;   /* 8px */
  --space-3: 0.75rem;  /* 12px */
  --space-4: 1rem;     /* 16px */
  --space-5: 1.25rem;  /* 20px */
  --space-6: 1.5rem;   /* 24px */
  --space-8: 2rem;     /* 32px */
  --space-10: 2.5rem;  /* 40px */
  --space-12: 3rem;    /* 48px */

  /* Radius Tokens */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  /* Shadows (Subtle, sleek SaaS finish) */
  --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.08), 0 1px 2px 0 rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

  /* Layout Dimensions */
  --sidebar-width: 270px;
  --sidebar-collapsed-width: 72px;
  --header-height: 68px;
  --content-max-width: 1440px;

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
}
