/* gabus.css v4 — dashboard new-api v1.0.0-rc.5x (shadcn / Tailwind v4), gaya opencode.ai/console.
   MONOCHROME PERMANEN: semua token warna di-pin dark di :root + .dark + html:not(.dark),
   jadi toggle light/dark gak pernah bikin teks ilang atau sidebar rusak.
   Warna: bg #0c0c0c, panel #131313/#171717, teks #ededed/#a0a0a0, primary putih.
   Diinjek via nginx sub_filter setelah </title>. CSS-only, DOM React gak diubah. */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root,
html,
html:not(.dark),
html.dark,
.dark,
body,
body[class*="dark"],
body[class*="light"] {
  color-scheme: dark !important;

  --background: #0c0c0c !important;
  --foreground: #ededed !important;

  --card: #131313 !important;
  --card-foreground: #ededed !important;
  --popover: #171717 !important;
  --popover-foreground: #ededed !important;

  --primary: #f5f5f5 !important;
  --primary-foreground: #0c0c0c !important;
  --secondary: #171717 !important;
  --secondary-foreground: #ededed !important;
  --muted: #171717 !important;
  --muted-foreground: #a0a0a0 !important;
  --accent: #1d1d1d !important;
  --accent-foreground: #ededed !important;
  --destructive: #c65252 !important;

  --border: #262626 !important;
  --input: #262626 !important;
  --ring: #f5f5f5 !important;

  --chart-1: #a0a0a0 !important;
  --chart-2: #ededed !important;
  --chart-3: #6f6f6f !important;
  --chart-4: #4ade80 !important;
  --chart-5: #c65252 !important;

  --sidebar: #0a0a0a !important;
  --sidebar-foreground: #ededed !important;
  --sidebar-primary: #f5f5f5 !important;
  --sidebar-primary-foreground: #0c0c0c !important;
  --sidebar-accent: #1a1a1a !important;
  --sidebar-accent-foreground: #ffffff !important;
  --sidebar-border: #262626 !important;
  --sidebar-ring: #f5f5f5 !important;

  /* kartu wallet/runway di overview: accent dipaksa monochrome */
  --overview-accent-1: #f5f5f5 !important;
  --overview-accent-2: #8a8a8a !important;
  --accent-2: #8a8a8a !important;

  --success: #4ade80 !important;
  --warning: #b3963f !important;
}

html, body {
  background:#0c0c0c !important;
  color:#ededed !important;
  font-family:"Inter",system-ui,sans-serif !important;
}
::selection{background:#f5f5f5;color:#0c0c0c}
:focus-visible{outline:2px solid #f5f5f5;outline-offset:2px}

/* scrollbar */
::-webkit-scrollbar{width:10px;height:10px}
::-webkit-scrollbar-thumb{background:#2c2c2c;border-radius:6px;border:2px solid #0c0c0c}
::-webkit-scrollbar-thumb:hover{background:#6f6f6f}
::-webkit-scrollbar-track{background:#0c0c0c}

/* monospace untuk angka & kode */
code,pre,.font-mono{font-family:"JetBrains Mono",ui-monospace,monospace !important}

/* kartu bawaan yang pakai gradient oklch literal (credit/runway overview):
   flatten jadi panel monochrome biar nyatu sama tema */
[class*="bg-[linear-gradient"]{
  background-image:linear-gradient(135deg,#141414 0%,#181818 50%,#141414 100%) !important;
}

/* ===== SMOOTH + MICRO-INTERACTIONS app ===== */
html{scroll-behavior:smooth}
body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
/* press feedback semua tombol */
button:not(:disabled),[role="button"]:not(:disabled),a[class*="cursor-pointer"]{
  transition:transform .08s ease,background-color .14s ease,color .14s ease,border-color .14s ease,opacity .14s ease;
}
button:not(:disabled):active,[role="button"]:not(:disabled):active{
  transform:scale(.97);
}
/* lift halus kartu interaktif */
[class*="bg-card"],[class*="rounded-lg"][class*="border"]{
  transition:border-color .14s ease,transform .14s ease,box-shadow .14s ease;
}
[class*="bg-card"]:hover{
  border-color:#3a3a3a !important;
}
/* nav Top Up hasil injeksi gabus.js: transisi konsisten sama link app */
#gabus-topup-nav{transition:color .14s ease,background-color .14s ease,border-color .14s ease,transform .08s ease}
#gabus-topup-nav:active{transform:scale(.96)}
