/* ============================================================================
   KERJACERDAS — DESIGN TOKENS DLKL V2.1
   PT Anugerah Karunia Melimpah (DLKL Coffee & Blanco Court Beef Noodle)
   ========================================================================== */

:root {
  /* --- Brand Core --- */
  --dlkl-green-900: #0A1F1A;
  --dlkl-green-800: #0F2B24;   /* Primary — Deep Forest Green */
  --dlkl-green-700: #1E3D30;   /* Secondary */
  --dlkl-green-600: #2C5344;
  --dlkl-green-400: #4E7B68;

  /* --- Canvas & Surface --- */
  --canvas:        #F7F3EC;    /* Warm Ivory */
  --canvas-sunken: #EFE9DF;
  --surface:       #FFFDF8;    /* Card */
  --surface-alt:   #FAF6EF;

  /* --- Accent --- */
  --biscuit:       #C7A77B;    /* Royal Caramel Gold */
  --biscuit-soft:  #E8DAC1;
  --biscuit-tint:  #F5EEE1;

  /* --- Action / Semantic --- */
  --alert:         #E04E39;    /* DLKL Orange — PAYMENT_HOLD & reject */
  --alert-soft:    #FBE4DF;
  --warn:          #C98A16;
  --warn-soft:     #FBF0D8;
  --ok:            #2E7D5B;
  --ok-soft:       #DCEFE5;
  --info:          #2F6D9E;
  --info-soft:     #DEEBF5;
  --neutral:       #6B6257;
  --neutral-soft:  #EAE4DA;

  /* --- Text --- */
  --ink:           #17211D;
  --ink-muted:     #5C6660;
  --ink-faint:     #8A928C;
  --ink-invert:    #F7F3EC;

  /* --- Lines --- */
  --line:          #E2DACD;
  --line-strong:   #D0C4B0;

  /* --- Typography --- */
  --font-display: 'Playfair Display', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-mono:    'JetBrains Mono', 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;

  /* --- Geometry --- */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 20px;

  --sidebar-w:      250px;
  --sidebar-compact: 68px;
  --topbar-h:       64px;

  /* --- Elevation --- */
  --sh-1: 0 1px 2px rgba(15, 43, 36, 0.06), 0 1px 3px rgba(15, 43, 36, 0.04);
  --sh-2: 0 2px 6px rgba(15, 43, 36, 0.07), 0 6px 18px rgba(15, 43, 36, 0.06);
  --sh-3: 0 10px 30px rgba(15, 43, 36, 0.14), 0 2px 8px rgba(15, 43, 36, 0.08);

  --t-fast: 120ms cubic-bezier(.4, 0, .2, 1);
  --t-med:  220ms cubic-bezier(.4, 0, .2, 1);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
table { border-collapse: collapse; width: 100%; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 2px solid var(--biscuit);
  outline-offset: 2px;
  border-radius: 4px;
}

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 99px; border: 3px solid var(--canvas); }
::-webkit-scrollbar-thumb:hover { background: var(--neutral); }

/* --- Utility --- */
.mono { font-family: var(--font-mono); font-size: 0.86em; letter-spacing: -0.02em; }
.serif { font-family: var(--font-display); }
.muted { color: var(--ink-muted); }
.faint { color: var(--ink-faint); }
.num { font-variant-numeric: tabular-nums; }
.right { text-align: right; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.hidden { display: none !important; }
