/* Customer website: dark surfaces, clear status colors, original product artwork. */
:root {
  color-scheme: dark;
  --ink: #edf0f8;
  --muted: #a5aec0;
  --purple: #b3a1ff;
  --lilac: #28223d;
  --line: #2b3548;
  --bg: #0b1019;
  --green: #7bdca4;
  --surface: #131b29;
  --raised: #1b2536;
  --accent: #7252df;
  background: var(--bg);
}
body { background: var(--bg); }
::selection { background: #51417b; color: #fff; }
:focus-visible { outline: 2px solid #bdadff; }
.btn { background: var(--accent); color: #fff; }
.btn:hover { background: #6242cf; }
.btn.secondary, .quantity-control button {
  background: var(--raised); color: var(--ink); border-color: var(--line);
}
.btn.secondary:hover { background: #263147; border-color: #8d79cb; }
.btn.light { background: #30254d; color: #d0c4ff; }
.btn.light:hover { background: #413363; }
.nav-links, .service-strip, .side-nav a, .logout, .breadcrumb,
.dashboard-foot, .nav-label { color: var(--muted); }
.breadcrumb b { color: var(--ink); }
.service-strip svg, .search-wrap svg, .eye { color: #a8b0c5; }
.hero-art { background: radial-gradient(ellipse at center, #322447 0, #171527 50%, transparent 72%); }
.orbit { border-color: #4a3c66; }
.art-center, .art-card, .service, .sidebar, .product-card,
.order-list, .order-row, .contact-card, dialog, dialog .dialog-head {
  background: var(--surface); border-color: var(--line);
}
.art-center { box-shadow: 0 20px 65px #0005; }
.art-card { box-shadow: 0 14px 35px #0003; }
.art-card.two .icon-box, .success-circle { background: #193b30; color: #8ae6b5; }
.art-card.three .icon-box { background: #3e3020; color: #f1c782; }
.mini-label { background: #c7efa1; color: #253719; }
.service.featured, .auth-aside { background: #1d192e; border-color: #3c3155; }
.service.featured .big-icon { background: var(--accent); color: #fff; }
.step-number, .product-bottom, .product-subnav { border-color: var(--line); }
.cta { background: #221c33; border: 1px solid #3d3155; }
.cta .btn:hover { background: #c7efa1; }
.field input, .search, .quantity-control input {
  background: #0d1420; color: var(--ink); border: 1px solid #3b465b;
}
.field input::placeholder, .search::placeholder { color: #929db2; opacity: 1; }
.field input:focus, .search:focus, .quantity-control input:focus {
  border-color: #b3a1ff; box-shadow: 0 0 0 3px #b3a1ff20;
}
input:-webkit-autofill {
  -webkit-text-fill-color: var(--ink);
  -webkit-box-shadow: 0 0 0 1000px #0d1420 inset;
  caret-color: var(--ink);
}
.error { background: #3b202b; color: #ffb1bb; }
.help-card { background: #1c1a2e; border-color: #35304b; }
.topbar { background: #101724f5; }
.side-nav a:hover { background: #1c2536; color: var(--ink); }
.side-nav a.active { background: #30264b; color: #d0c3ff; }
.avatar { background: #30264b; color: #d0c3ff; }
.welcome-banner { background: linear-gradient(115deg, #26203d, #1c2135); border-color: #3e345b; }
.banner-art span { background: #342b4b; border-color: #51436f; box-shadow: 0 10px 20px #0002; }
.banner-art span + span { background: var(--accent); color: #fff; }
.toolbar h2 small { background: #2a283e; color: #ccc4e2; }
.product-card:hover { box-shadow: 0 10px 30px #0003; }
.product-cover { background: linear-gradient(135deg, #272038, #1b2333); }
.product-card:nth-child(3n+2) .product-cover { background: linear-gradient(135deg, #18302f, #16222d); }
.product-card:nth-child(3n+3) .product-cover { background: linear-gradient(135deg, #342a24, #212332); }
.product-symbol { background: #1e2739; border-color: #3a3b54; box-shadow: 0 8px 20px #0002; }
.stock-badge { background: #173b30; color: #9ae9bb; border: 1px solid #305b47; }
.stock-badge.empty { background: #352a32; color: #dfb6c0; border-color: #55404b; }
.empty-state { background: #131b2980; border-color: #3d455a; }
.empty-state > svg { color: #b5a2d5; }
.order-row:hover { background: var(--raised); }
.status { background: #2c2b40; color: #c9c2dc; }
.status.pending, .status.creating, .countdown { background: #3b3020; color: #f1ca85; }
.status.delivered { background: #1b3b2f; color: #96e5b6; }
.status.paid, .status.processing { background: #30264b; color: #d0c3ff; }
.status.failed { background: #3b222c; color: #ffb1bb; }
.contact-note { color: #c8bcdf; }
dialog { box-shadow: 0 25px 100px #0009; }
dialog::backdrop { background: #030711b3; }
/* QRIS keeps a white quiet zone so the payment code remains easy to scan. */
.qr-area img { background: #fff; border-color: #fff; color-scheme: light; }
#toast { background: #2b2540; border: 1px solid #584771; box-shadow: 0 8px 30px #0005; }
.spinner { border-color: #3c3452; border-top-color: var(--purple); }
.skip { background: var(--raised); color: var(--ink); }
@media (max-width: 760px) {
  .side-nav .product-subnav { border-top-color: var(--line); }
}
