/* =========================================================================
   GasNebeng.com — Design System
   Orange energik + navy dalam, latar warm white, kartu rounded, tipografi Inter
   ========================================================================= */

:root {
  --orange: #f97316;
  --orange-600: #ea580c;
  --orange-700: #c2410c;
  --orange-50: #fff4ec;
  --orange-100: #ffe6d5;
  --navy: #101e33;
  --navy-800: #17293f;
  --navy-700: #22374f;
  --navy-50: #eef2f8;
  --ink: #16233a;
  --muted: #64708a;
  --muted-2: #8b95a8;
  --line: #e9e2d9;
  --line-2: #eef1f6;
  --bg: #fff9f4;
  --surface: #ffffff;
  --green: #128a4b;
  --green-50: #e7f6ee;
  --red: #c2352b;
  --red-50: #fdecea;
  --amber: #a8620a;
  --amber-50: #fef3e2;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(16, 30, 51, .05);
  --shadow: 0 10px 28px rgba(16, 30, 51, .07);
  --shadow-lg: 0 22px 60px rgba(16, 30, 51, .13);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --maxw: 1140px;
  --bnav-h: 68px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 12% -8%, #ffe9d6 0%, rgba(255, 233, 214, 0) 62%),
    radial-gradient(760px 420px at 92% 4%, #e8eefb 0%, rgba(232, 238, 251, 0) 58%),
    var(--bg);
  font-size: 15.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--orange-600); }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.22; letter-spacing: -.02em; color: var(--navy); }
h1 { font-size: clamp(1.75rem, 1.2rem + 2.1vw, 2.6rem); font-weight: 800; }
h2 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.85rem); font-weight: 750; }
h3 { font-size: 1.12rem; font-weight: 700; }
h4 { font-size: .95rem; font-weight: 700; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding-left: 1.15rem; }
small, .sm { font-size: .88rem; }
.xs { font-size: .78rem; }
.muted { color: var(--muted); }
.center { text-align: center; }
strong { font-weight: 700; }
hr { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }
:focus-visible { outline: 3px solid rgba(249, 115, 22, .45); outline-offset: 2px; border-radius: 6px; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 760px; }
.section { padding: 44px 0; }
.section-sm { padding: 26px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head p { margin: 6px 0 0; color: var(--muted); max-width: 60ch; }
.eyebrow { display: inline-flex; align-items: center; gap: 7px; font-size: .76rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--orange-700); background: var(--orange-50); border: 1px solid var(--orange-100); padding: 5px 11px; border-radius: 999px; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.stack-lg { display: flex; flex-direction: column; gap: 24px; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.row-between { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.grid-2 { display: grid; gap: 20px; grid-template-columns: 1fr; }
.grid-3 { display: grid; gap: 18px; grid-template-columns: 1fr; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 34px; }
.mb-0 { margin-bottom: 0; } .mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
.w-full { width: 100%; }

/* ------------------------------------------------------------------ ikon */
.ic { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.18em; }
.ic-lg { width: 1.6em; height: 1.6em; }

/* --------------------------------------------------------------- tombol */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 11px 18px; border-radius: 12px; border: 1.5px solid transparent;
  font-family: inherit; font-size: .94rem; font-weight: 650; line-height: 1.2;
  cursor: pointer; transition: transform .12s ease, background .15s ease, box-shadow .15s ease, border-color .15s ease;
  text-align: center; white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: linear-gradient(180deg, #fb8a34, var(--orange)); color: #fff; box-shadow: 0 8px 20px rgba(249, 115, 22, .26); }
.btn-primary:hover { background: linear-gradient(180deg, #f97316, var(--orange-600)); color: #fff; box-shadow: 0 10px 24px rgba(249, 115, 22, .32); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-800); color: #fff; }
.btn-outline { background: #fff; border-color: #e3d9cd; color: var(--navy); }
.btn-outline:hover { border-color: var(--orange); color: var(--orange-700); background: #fffaf5; }
.btn-ghost { background: transparent; color: var(--navy); }
.btn-ghost:hover { background: var(--navy-50); color: var(--navy); }
.btn-soft { background: var(--navy-50); color: var(--navy); }
.btn-soft:hover { background: #e3eaf4; color: var(--navy); }
.btn-danger { background: #fff; border-color: #f2c9c4; color: var(--red); }
.btn-danger:hover { background: var(--red-50); border-color: var(--red); color: var(--red); }
.btn-danger-solid { background: var(--red); color: #fff; }
.btn-success { background: var(--green); color: #fff; }
.btn-success:hover { background: #0f7440; color: #fff; }
.btn-sm { min-height: 36px; padding: 8px 13px; font-size: .85rem; border-radius: 10px; }
.btn-lg { min-height: 52px; padding: 14px 26px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: .55; cursor: not-allowed; box-shadow: none; pointer-events: none; }
.btn-icon { padding: 9px; min-height: 38px; min-width: 38px; }

/* --------------------------------------------------------------- form */
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-label { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 650; color: var(--navy-700); }
.field-label .ic { color: var(--orange-600); }
.field-hint { font-size: .76rem; color: var(--muted); }
.input, .select, .textarea {
  width: 100%; font-family: inherit; font-size: .94rem; color: var(--ink);
  background: #fff; border: 1.5px solid #e6dfd5; border-radius: 12px;
  padding: 11px 13px; min-height: 46px; transition: border-color .15s ease, box-shadow .15s ease;
}
.textarea { min-height: 96px; resize: vertical; line-height: 1.55; }
.input::placeholder, .textarea::placeholder { color: #a6adbd; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(249, 115, 22, .13); }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364708a' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 17px; padding-right: 36px; }
.form-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
.form-grid.two { grid-template-columns: 1fr; }
.span-2 { grid-column: 1 / -1; }
.form-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 22px; }
fieldset { border: 0; padding: 0; margin: 0 0 22px; }
legend { font-size: 1rem; font-weight: 750; color: var(--navy); padding: 0; margin-bottom: 12px; }
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; }
.checkbox input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--orange); }
.radio-row { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-pill { position: relative; }
.radio-pill input { position: absolute; opacity: 0; inset: 0; }
.radio-pill span { display: inline-flex; gap: 7px; align-items: center; padding: 9px 14px; border: 1.5px solid #e6dfd5; border-radius: 999px; font-size: .88rem; font-weight: 600; cursor: pointer; background: #fff; }
.radio-pill input:checked + span { border-color: var(--orange); background: var(--orange-50); color: var(--orange-700); }
.radio-pill input:focus-visible + span { outline: 3px solid rgba(249, 115, 22, .4); }
.inline-form { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; }

/* --------------------------------------------------------------- kartu */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); }
.card-lg { border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow); }
.card-flat { box-shadow: none; }
.card-warm { background: linear-gradient(180deg, #fffaf5, #fff); }
.pad-xl { padding: 34px; }
.card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; margin-bottom: 14px; flex-wrap: wrap; }
.card-head h3 { margin: 0; }

/* --------------------------------------------------------------- badge */
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; font-size: .74rem; font-weight: 700; letter-spacing: .01em; border: 1px solid transparent; white-space: nowrap; }
.badge-green { background: var(--green-50); color: #0c6c3b; border-color: #bfe6cf; }
.badge-amber { background: var(--amber-50); color: var(--amber); border-color: #f3d7a8; }
.badge-red { background: var(--red-50); color: var(--red); border-color: #f4c8c3; }
.badge-navy { background: var(--navy-50); color: var(--navy-700); border-color: #d5dfec; }
.badge-gray { background: #f4f2ef; color: #6b6558; border-color: #e5e0d8; }
.badge-orange { background: var(--orange-50); color: var(--orange-700); border-color: var(--orange-100); }
.pill { display: inline-flex; align-items: center; gap: 5px; font-size: .74rem; font-weight: 650; color: var(--muted); }
.pill-verified { color: var(--green); background: var(--green-50); padding: 2px 8px; border-radius: 999px; }
.pill-muted { color: var(--muted); background: #f4f2ef; padding: 4px 10px; border-radius: 999px; font-size: .78rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: #faf7f3; border: 1px solid #efe8de; font-size: .78rem; font-weight: 600; color: #4c5568; }
.chip .ic { color: var(--orange-600); }
.chip-neutral { background: var(--navy-50); border-color: #dde5f0; color: var(--navy-700); }

/* ------------------------------------------------------- avatar & rating */
.avatar { display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: linear-gradient(140deg, var(--orange), #fb923c); color: #fff; font-weight: 750; overflow: hidden; flex: none; letter-spacing: .02em; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar-xs { width: 28px; height: 28px; font-size: .68rem; }
.avatar-sm { width: 38px; height: 38px; font-size: .8rem; }
.avatar-md { width: 52px; height: 52px; font-size: .98rem; }
.avatar-lg { width: 84px; height: 84px; font-size: 1.5rem; }
.avatar-xl { width: 112px; height: 112px; font-size: 2rem; }
.stars { display: inline-flex; align-items: center; gap: 4px; font-size: .84rem; color: #4c5568; }
.stars .ic { color: #f59e0b; fill: #f59e0b; stroke: #f59e0b; }
.price { display: inline-flex; align-items: baseline; gap: 4px; }
.price-amount { font-size: 1.3rem; font-weight: 800; color: var(--navy); letter-spacing: -.02em; }
.price-suffix { font-size: .78rem; color: var(--muted); }

/* --------------------------------------------------------------- topbar */
/* z-index 60: panel menu akun harus di ATAS .wa-float (46) dan .bottomnav (45).
   Dulu 40, sehingga tombol WhatsApp "Butuh bantuan?" menutupi item terbawah menu akun
   dan klik "Dashboard Superadmin" malah tertangkap tombol WA. */
.topbar { position: sticky; top: 0; z-index: 60; background: rgba(255, 253, 250, .88); backdrop-filter: blur(14px) saturate(180%); border-bottom: 1px solid rgba(233, 226, 217, .9); }
.topbar-inner { display: flex; align-items: center; gap: 18px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: 1.13rem; font-weight: 700; color: var(--navy); letter-spacing: -.02em; flex: none; }
.brand:hover { color: var(--navy); }
.brand-mark { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: linear-gradient(150deg, #fb923c, var(--orange-600)); color: #fff; box-shadow: 0 6px 14px rgba(249, 115, 22, .32); }
.brand-mark .ic { width: 21px; height: 21px; }
.brand-text strong { font-weight: 800; }
.brand-dot { color: var(--orange); font-weight: 800; }
.nav-links { display: none; align-items: center; gap: 4px; margin-left: 10px; flex: 1; }
.nav-link { padding: 8px 12px; border-radius: 10px; font-size: .89rem; font-weight: 600; color: #414c60; white-space: nowrap; }
.nav-link:hover { background: #f6f1ea; color: var(--navy); }
.nav-link.is-active { color: var(--orange-700); background: var(--orange-50); }
.nav-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav-cta { display: none; }
.nav-login { padding: 8px 10px; }
.icon-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 11px; color: var(--navy-700); background: #fff; border: 1px solid var(--line); }
.icon-btn:hover { background: var(--orange-50); border-color: var(--orange-100); color: var(--orange-700); }
.icon-btn .ic { width: 20px; height: 20px; }
.badge-dot { position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 999px; background: var(--red); color: #fff; font-size: .66rem; font-weight: 750; display: grid; place-items: center; border: 2px solid #fff; }

/* menu akun */
.menu { position: relative; }
.menu-trigger { display: inline-flex; align-items: center; gap: 7px; padding: 4px 8px 4px 4px; border-radius: 999px; cursor: pointer; list-style: none; border: 1px solid var(--line); background: #fff; }
.menu-trigger::-webkit-details-marker { display: none; }
.menu-name { font-size: .86rem; font-weight: 650; color: var(--navy); display: none; }
.menu-caret { width: 15px; height: 15px; color: var(--muted); }
.menu[open] .menu-trigger { border-color: var(--orange); }
/* max-height: panel akun tidak boleh lebih tinggi dari layar — dulu di layar pendek
   (HP landscape / zoom) item terbawah ("Dashboard Superadmin") jatuh di luar viewport
   dan tidak bisa di-scroll karena panel absolute di dalam header sticky. */
.menu-panel { position: absolute; right: 0; top: calc(100% + 10px); width: 258px; max-width: calc(100vw - 24px);
  max-height: calc(100vh - 84px); max-height: calc(100dvh - 84px); overflow-y: auto; overscroll-behavior: contain; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 8px; z-index: 50; }
.menu-head { padding: 10px 12px 12px; border-bottom: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 3px; margin-bottom: 6px; }
.menu-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; font-size: .89rem; font-weight: 600; color: var(--navy-700); width: 100%; text-align: left; background: none; border: 0; font-family: inherit; cursor: pointer; }
.menu-item .ic { color: var(--muted); }
.menu-item:hover { background: #f8f4ee; color: var(--navy); }
.menu-item-admin { color: var(--orange-700); }
.menu-item-admin .ic { color: var(--orange-600); }
.menu-item-danger { color: var(--red); }
.menu-item-danger .ic { color: var(--red); }
.menu-form { margin: 0; border-top: 1px solid var(--line-2); padding-top: 6px; margin-top: 4px; }

/* --------------------------------------------------------- bottom nav */
.bottomnav { position: fixed; bottom: 0; left: 0; right: 0; z-index: 45; display: grid; grid-template-columns: repeat(5, 1fr); background: rgba(255, 255, 255, .96); backdrop-filter: blur(14px); border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
.bn-item { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 2px; border-radius: 12px; font-size: .68rem; font-weight: 650; color: #59637a; }
.bn-item .ic { width: 21px; height: 21px; }
.bn-item.is-active { color: var(--orange-600); background: var(--orange-50); }
body:not(.admin-body) { padding-bottom: var(--bnav-h); }

/* ------------------------------------------------------------- hero */
.hero { position: relative; padding: 26px 0 12px; overflow: hidden; }
.hero-grid { display: grid; gap: 28px; align-items: center; }
.hero h1 { margin: 16px 0 12px; }
.hero h1 .accent { color: var(--orange); }
.hero-sub { font-size: 1.02rem; color: var(--muted); max-width: 52ch; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.hero-visual { position: relative; }
.hero-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px; box-shadow: var(--shadow-lg); }
.hero-road { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: linear-gradient(120deg, var(--navy), #223c5c); color: #fff; border-radius: 14px; }
.hero-road .ic { color: #ffb27a; }
.hero-road strong { color: #fff; font-size: .92rem; }
.hero-road .muted { color: #b9c6d8; }

/* ------------------------------------------------------ search widget */
.search-widget {
  position: relative;
  display: flex; flex-direction: column; gap: 16px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 16px; box-shadow: var(--shadow-lg);
}
.search-widget.is-compact { box-shadow: var(--shadow); padding: 14px; }
.search-widget .input, .search-widget .select { min-width: 0; font-size: .9rem; padding-left: 11px; }
.search-widget .select { padding-right: 32px; background-position: right 10px center; }
.search-widget .field { gap: 5px; }
.search-widget .field-label { font-size: .79rem; }
.search-route { display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); align-items: end; }
.search-route .swap-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  justify-self: center; min-height: 34px; padding: 0 14px;
  border-radius: 999px; border: 1px solid var(--line); background: #fff;
  color: var(--orange-700); font-family: inherit; font-size: .78rem; font-weight: 650;
  cursor: pointer; transition: background .15s ease, border-color .15s ease;
}
/* kompatibilitas: tombol tukar tidak boleh pernah positioned absolut (dulu menimpa header kartu) */
.search-widget .swap-btn { position: static; inset: auto; }
.search-route .swap-btn:hover { background: var(--orange-50); border-color: var(--orange-100); }
.search-route .swap-btn .ic { width: 15px; height: 15px; transform: rotate(90deg); }
/* Tanggal + penumpang: satu kolom penuh di HP sempit, dua kolom baru saat benar-benar lega.
   (auto-fit minmax(148px) dulu memaksa dua kolom ~135px di HP 400–480px sehingga teks tanggal
   berdesakan/menabrak field penumpang.) */
.search-when { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
/* input tanggal: paksa selebar kolomnya. Di Safari/iOS input[type=date] punya lebar intrinsik
   bawaan yang bisa melebihi kotaknya bila appearance tidak direset, dan ikon kalender ikut
   menambah lebar — keduanya membuat field tanggal "kelebaran" dibanding field lain. */
.search-when > .field, .search-widget .input, .search-widget .select { min-width: 0; max-width: 100%; }
.search-when input[type="date"] {
  display: block; width: 100%; min-width: 0; max-width: 100%;
  box-sizing: border-box; padding-right: 8px;
}
.search-when input[type="date"]::-webkit-date-and-time-value { text-align: left; min-height: 1.4em; margin: 0; }
.search-when input[type="date"]::-webkit-datetime-edit { padding: 0; overflow: hidden; }
/* iOS Safari memberi input[type=date] lebar intrinsik bawaan yang tidak selalu mengikuti
   width:100%, sehingga field tanggal tampak lebih lebar dari kotaknya. Reset appearance hanya
   di mesin iOS agar ikon pemilih tanggal di Chrome/Android tetap tampil. */
@supports (-webkit-touch-callout: none) {
  .search-when input[type="date"] { -webkit-appearance: none; appearance: none; }
}
@media (min-width: 560px) {
  .search-when { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
}
.search-filters {
  display: grid; gap: 12px; align-items: end;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  padding-top: 14px; border-top: 1px dashed #ece4d9;
}
.search-filters .field-label { font-size: .78rem; color: var(--muted); }
.search-actions { display: flex; flex-direction: column; gap: 8px; }
.btn-search { width: 100%; min-height: 48px; }
.search-note { font-size: .74rem; color: var(--muted); text-align: center; margin: 0; }

@media (max-width: 719px) {
  /* HP: kurangi padding bersarang agar widget pencarian dapat lebar maksimal,
     dan buang kartu kedua di dalam hero-card (sebelumnya dobel border + shadow). */
  .hero-card { padding: 12px; }
  .hero-card > .search-widget { padding: 0; border: 0; background: transparent; box-shadow: none; border-radius: 0; }
}
@media (min-width: 720px) {
  .search-widget { padding: 20px; gap: 18px; }
  .search-route { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 12px; }
  .search-route .swap-btn { width: 42px; height: 42px; min-height: 42px; padding: 0; align-self: end; margin-bottom: 2px; }
  .search-route .swap-btn .ic { transform: rotate(0deg); }
  .swap-label { display: none; }
  .search-widget:not(.is-compact) { margin-top: 26px; }
}
@media (min-width: 1080px) {
  .hero-grid { grid-template-columns: 1.02fr .98fr; gap: 44px; align-items: start; }
}

/* --------------------------------------------------------- ride card */
.ride-grid { display: grid; gap: 20px; }
.ride-grid > * { min-width: 0; }
.ride-card { position: relative; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease; }
.ride-card:hover { box-shadow: var(--shadow); border-color: #e2d6c6; transform: translateY(-2px); }
.ride-card.is-featured { border: 2px solid var(--orange); background: linear-gradient(180deg, #fff8f1 0%, #fff 42%); box-shadow: 0 14px 34px rgba(249, 115, 22, .14); }
.featured-flag { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; background: linear-gradient(120deg, var(--orange), #fb923c); color: #fff; font-size: .71rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; }
.featured-flag .ic { width: 13px; height: 13px; }
.ride-route { display: flex; flex-direction: column; gap: 2px; }
.route-stop { display: flex; gap: 12px; align-items: flex-start; }
.route-text { display: flex; flex-direction: column; min-width: 0; }
.route-text strong { font-size: .98rem; color: var(--navy); line-height: 1.3; }
.route-text .muted { line-height: 1.4; margin-top: 1px; }
.dot { width: 11px; height: 11px; border-radius: 50%; margin-top: 5px; flex: none; }
.dot-origin { background: var(--orange); box-shadow: 0 0 0 4px rgba(249, 115, 22, .16); }
.dot-dest { background: var(--navy); box-shadow: 0 0 0 4px rgba(16, 30, 51, .12); }
.route-rail { display: flex; align-items: center; gap: 10px; margin: 2px 0 2px 4px; padding-left: 1px; }
.route-dash { width: 2px; height: 22px; background: repeating-linear-gradient(to bottom, #d9d1c4 0 4px, transparent 4px 8px); margin-left: 3px; }
.route-km { display: inline-flex; align-items: center; gap: 5px; font-size: .74rem; color: var(--muted); font-weight: 600; }
.ride-meta { display: flex; flex-direction: column; gap: 6px; min-width: 0; margin-top: 14px; padding-top: 12px; border-top: 1px dashed #ece4d9; }
.meta-item { display: flex; gap: 7px; align-items: flex-start; font-size: .83rem; color: #4c5568; min-width: 0; overflow-wrap: anywhere; }
.meta-item .ic { color: var(--muted-2); margin-top: 3px; }
.driver-row { display: flex; align-items: center; gap: 10px; margin-top: 6px; padding-top: 12px; border-top: 1px dashed #ece4d9; }
.driver-info { display: flex; flex-direction: column; min-width: 0; }
.driver-name { font-size: .88rem; font-weight: 700; color: var(--navy); display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.driver-sub { font-size: .78rem; }
.driver-seats { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; font-size: .8rem; font-weight: 700; color: var(--navy-700); background: #f8f5f0; padding: 4px 9px; border-radius: 999px; white-space: nowrap; }
.ride-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.ride-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.clamp-1 { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }

/* ------------------------------------------------------ seksi pemasaran */
.steps { display: grid; gap: 18px; counter-reset: step; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: relative; box-shadow: var(--shadow-sm); }
.step-num { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: var(--orange-50); color: var(--orange-700); font-weight: 800; margin-bottom: 12px; border: 1px solid var(--orange-100); }
.step h3 { margin-bottom: 6px; font-size: 1rem; }
.step p { color: var(--muted); font-size: .9rem; margin: 0; }
.benefit { display: flex; gap: 13px; align-items: flex-start; }
.benefit-icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--navy-50); color: var(--navy-700); flex: none; }
.benefit-icon.orange { background: var(--orange-50); color: var(--orange-700); }
.benefit h3 { font-size: .98rem; margin-bottom: 4px; }
.benefit p { font-size: .88rem; color: var(--muted); margin: 0; }
.safety-list { display: grid; gap: 12px; }
.safety-item { display: flex; gap: 11px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 15px; }
.safety-item .ic { color: var(--green); margin-top: 2px; }
.safety-item strong { display: block; font-size: .92rem; }
.safety-item span { font-size: .85rem; color: var(--muted); }
.cta-band { background: linear-gradient(125deg, var(--navy) 0%, #1e3a5c 62%, #2b4a6f 100%); border-radius: var(--radius-lg); padding: 32px; color: #fff; display: grid; gap: 22px; align-items: center; box-shadow: var(--shadow); }
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: #c3d0e0; margin: 0; max-width: 52ch; }
.cta-band .btn-outline { background: transparent; border-color: rgba(255, 255, 255, .4); color: #fff; }
.cta-band .btn-outline:hover { background: rgba(255, 255, 255, .12); color: #fff; border-color: #fff; }
.cta-band-actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (min-width: 860px) { .cta-band { grid-template-columns: 1fr auto; padding: 40px; } .steps { grid-template-columns: repeat(4, 1fr); } .grid-2 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.faq-list { display: grid; gap: 10px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 4px 16px; box-shadow: var(--shadow-sm); }
.faq-item summary { cursor: pointer; padding: 14px 0; font-weight: 650; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.3rem; color: var(--orange); line-height: 1; }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { color: var(--muted); font-size: .92rem; padding-bottom: 14px; margin: 0; }

/* ------------------------------------------------------------- footer */
.footer { background: #fff; border-top: 1px solid var(--line); margin-top: 40px; padding: 40px 0 20px; }
.footer-grid { display: grid; gap: 28px; grid-template-columns: 1fr; }
.footer h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 12px; }
.footer-links { list-style: none; padding: 0; display: grid; gap: 8px; }
.footer-links a { font-size: .89rem; color: #45506a; font-weight: 550; }
.footer-links a:hover { color: var(--orange-600); }
.footer-brand p { max-width: 44ch; margin-top: 12px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line-2); font-size: .8rem; color: var(--muted); }
@media (min-width: 780px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }

/* ------------------------------- tombol bantuan WhatsApp (khusus beranda) */
.wa-float {
  position: fixed; right: 14px; bottom: calc(var(--bnav-h) + 12px); z-index: 46;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 15px; border-radius: 999px;
  background: #25d366; color: #fff; font-size: .86rem; font-weight: 700; line-height: 1;
  box-shadow: 0 12px 26px rgba(37, 211, 102, .32), 0 2px 6px rgba(16, 30, 51, .14);
  transition: background .15s ease, transform .12s ease;
}
.wa-float .ic { width: 20px; height: 20px; }
.wa-float:hover, .wa-float:focus-visible { background: #1eb959; color: #fff; }
.wa-float:active { transform: translateY(1px); }
@media (min-width: 960px) { .wa-float { right: 24px; bottom: 24px; } }
/* ruang bawah agar tombol mengambang tidak menutupi isi terakhir halaman */
body.has-wa-float { padding-bottom: calc(var(--bnav-h) + 10px); }
@media (min-width: 960px) { body.has-wa-float { padding-bottom: 86px; } }

/* -------------------------------------------------------------- toast */
.toast-wrap { position: fixed; top: 82px; right: 16px; left: 16px; z-index: 90; display: flex; flex-direction: column; gap: 10px; align-items: center; pointer-events: none; }
.toast { pointer-events: auto; display: flex; gap: 10px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--navy); border-radius: 12px; padding: 12px 14px; box-shadow: var(--shadow-lg); font-size: .89rem; max-width: 460px; width: 100%; animation: toastIn .22s ease; }
.toast .ic { margin-top: 2px; flex: none; }
.toast-success { border-left-color: var(--green); } .toast-success .ic { color: var(--green); }
.toast-error { border-left-color: var(--red); } .toast-error .ic { color: var(--red); }
.toast-warning { border-left-color: var(--amber); } .toast-warning .ic { color: var(--amber); }
.toast-info { border-left-color: var(--navy); } .toast-info .ic { color: var(--navy); }
.toast-close { margin-left: auto; background: none; border: 0; cursor: pointer; color: var(--muted); padding: 0; display: flex; }
.toast span { flex: 1; }
.toast.is-leaving { opacity: 0; transform: translateY(-6px); transition: all .2s ease; }
@keyframes toastIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@media (min-width: 720px) { .toast-wrap { right: 24px; left: auto; align-items: flex-end; } }

/* -------------------------------------------------------------- alert */
.alert { display: flex; gap: 10px; align-items: flex-start; padding: 13px 15px; border-radius: 12px; font-size: .89rem; border: 1px solid transparent; }
.alert .ic { margin-top: 2px; flex: none; }
.alert-success { background: var(--green-50); border-color: #bfe6cf; color: #0c6b3b; }
.alert-error { background: var(--red-50); border-color: #f4c8c3; color: #9c2a22; }
.alert-warning { background: var(--amber-50); border-color: #f3d7a8; color: #8a520b; }
.alert-info { background: var(--navy-50); border-color: #d7e1ef; color: var(--navy-700); }

/* --------------------------------------------------------------- tabs */
.tabs { display: flex; gap: 6px; overflow-x: auto; padding: 5px; background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 20px; -webkit-overflow-scrolling: touch; }
.tab { display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 10px; font-size: .86rem; font-weight: 650; color: #4c5568; white-space: nowrap; }
.tab:hover { background: #f8f4ee; color: var(--navy); }
.tab.is-active { background: var(--navy); color: #fff; }
.tab-count { font-size: .72rem; background: rgba(255, 255, 255, .22); padding: 1px 6px; border-radius: 999px; }
.tab:not(.is-active) .tab-count { background: #f1ece4; color: var(--muted); }

/* ------------------------------------------------------- empty state */
.empty-state { text-align: center; padding: 40px 22px; background: #fff; border: 1px dashed #e4dacd; border-radius: var(--radius-lg); }
.empty-emoji { font-size: 2.4rem; line-height: 1; margin-bottom: 12px; }
.empty-state h3 { margin-bottom: 6px; }
.empty-state p { max-width: 46ch; margin: 0 auto 16px; font-size: .92rem; }

/* --------------------------------------------------------- halaman detail */
.page-head { background: linear-gradient(180deg, #fff8f1, rgba(255, 249, 244, 0)); border-bottom: 1px solid rgba(233, 226, 217, .6); padding: 22px 0 26px; }
.breadcrumb { display: flex; gap: 7px; align-items: center; font-size: .8rem; color: var(--muted); margin-bottom: 10px; flex-wrap: wrap; }
.breadcrumb a { color: var(--muted); }
.breadcrumb .ic { width: 13px; height: 13px; }
.detail-layout { display: grid; gap: 22px; align-items: start; grid-template-columns: 1fr; }
.sticky-side { position: static; }
.detail-route { display: grid; gap: 4px; }
.detail-stop { display: flex; gap: 14px; padding: 6px 0; }
.detail-stop .dot { margin-top: 7px; width: 13px; height: 13px; }
.detail-stop strong { display: block; font-size: 1rem; }
.detail-rail { margin-left: 6px; border-left: 2px dashed #ddd3c4; height: 26px; }
.info-list { display: grid; gap: 0; }
.info-row { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line-2); font-size: .9rem; }
.info-row:last-child { border-bottom: 0; }
.info-row dt { color: var(--muted); font-weight: 550; }
.info-row dd { margin: 0; text-align: right; font-weight: 650; color: var(--navy); }
dl.info-list { margin: 0; }
.map-link { display: inline-flex; align-items: center; gap: 5px; font-size: .78rem; font-weight: 650; color: var(--orange-700); }
.map-link:hover { text-decoration: underline; }
.booking-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow); }
.booking-card h3 { margin-bottom: 4px; }
.booking-total { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 14px 0; border-top: 1px dashed #e8dfd2; border-bottom: 1px dashed #e8dfd2; margin: 14px 0; }
.booking-total strong { font-size: 1.35rem; color: var(--navy); }
.timeline { display: grid; gap: 0; }
.tl-item { display: grid; grid-template-columns: 22px 1fr; gap: 12px; padding-bottom: 16px; position: relative; }
.tl-item:not(:last-child)::before { content: ''; position: absolute; left: 10px; top: 18px; bottom: 0; width: 2px; background: var(--line-2); }
.tl-dot { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid var(--line); display: grid; place-items: center; z-index: 1; }
.tl-dot .ic { width: 11px; height: 11px; }
.tl-item.is-done .tl-dot { border-color: var(--green); background: var(--green-50); color: var(--green); }
.tl-item.is-current .tl-dot { border-color: var(--orange); background: var(--orange-50); color: var(--orange-600); }
.tl-item.is-bad .tl-dot { border-color: var(--red); background: var(--red-50); color: var(--red); }
.tl-body strong { font-size: .9rem; display: block; }
.tl-body span { font-size: .78rem; color: var(--muted); }
.tl-body p { font-size: .84rem; margin: 2px 0 0; color: #4c5568; }
.profile-head { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.profile-head-info { min-width: 0; }
.profile-head h1 { font-size: 1.6rem; margin-bottom: 4px; }
.rating-pair { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.rating-box { background: #faf7f3; border: 1px solid #efe8de; border-radius: 14px; padding: 14px; }
.rating-box strong { display: block; font-size: 1.3rem; color: var(--navy); }
.rating-box span { font-size: .78rem; color: var(--muted); }
.dist-row { display: grid; grid-template-columns: 34px 1fr 34px; gap: 10px; align-items: center; font-size: .8rem; color: var(--muted); }
.dist-bar { height: 8px; border-radius: 999px; background: #f1ece4; overflow: hidden; }
.dist-bar span { display: block; height: 100%; background: linear-gradient(90deg, #fbbf24, var(--orange)); }
.review { padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.review:last-child { border-bottom: 0; }
.review-head { display: flex; gap: 10px; align-items: center; margin-bottom: 6px; }
.review-head strong { font-size: .9rem; }
.review-body { font-size: .9rem; color: #3d4759; }
.review-meta { font-size: .76rem; color: var(--muted); }
.forum-post { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line-2); }
.forum-post:last-child { border-bottom: 0; }
.forum-post.is-reply { margin-left: 34px; }
.forum-body { flex: 1; min-width: 0; }
.forum-head { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: .8rem; margin-bottom: 3px; }
.forum-head strong { font-size: .87rem; color: var(--navy); }
.forum-body p { font-size: .9rem; margin: 0; white-space: pre-wrap; word-break: break-word; }
.forum-actions { display: flex; gap: 12px; align-items: center; margin-top: 6px; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; font-size: .78rem; font-weight: 650; color: var(--muted); cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.link-btn:hover { color: var(--orange-700); }
.action-panel { border-top: 1px dashed var(--line); margin-top: 14px; padding-top: 12px; }
.action-panel summary { cursor: pointer; list-style: none; font-size: .85rem; font-weight: 700; color: var(--navy); display: inline-flex; align-items: center; gap: 6px; }
.action-panel summary::-webkit-details-marker { display: none; }
.action-panel summary::after { content: '▾'; color: var(--muted); }
.action-panel[open] summary::after { content: '▴'; }
.action-panel .panel-body { margin-top: 12px; display: grid; gap: 12px; }
.request-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-sm); }
.request-card.is-pending { border-left: 4px solid var(--orange); }
.request-card .row-between { margin-bottom: 8px; }
.request-note { background: #faf7f3; border-radius: 10px; padding: 10px 12px; font-size: .86rem; color: #4c5568; margin: 10px 0; border: 1px solid #f0e9df; }
.stat-grid { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 15px; box-shadow: var(--shadow-sm); }
.stat span { font-size: .76rem; color: var(--muted); display: block; }
.stat strong { font-size: 1.45rem; letter-spacing: -.02em; color: var(--navy); }
.stat.accent { background: linear-gradient(160deg, #fff6ee, #fff); border-color: var(--orange-100); }
@media (min-width: 640px) { .stat-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 900px) { .detail-layout { grid-template-columns: minmax(0, 1.62fr) minmax(300px, .95fr); } .sticky-side { position: sticky; top: 88px; } }
@media (min-width: 720px) { .ride-grid.two { grid-template-columns: 1fr 1fr; } .form-grid.two { grid-template-columns: 1fr 1fr; } }

/* --------------------------------------------------------------- tabel */
.table-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
table.table { width: 100%; border-collapse: collapse; font-size: .87rem; }
.table th { text-align: left; padding: 11px 14px; background: #faf8f5; font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 12px 14px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: #fdfbf8; }
.table .t-right { text-align: right; }
.table .t-nowrap { white-space: nowrap; }
.table-empty { padding: 26px; text-align: center; color: var(--muted); font-size: .9rem; }
@media (max-width: 760px) {
  .table-wrap { border: 0; background: transparent; box-shadow: none; }
  .table thead { display: none; }
  .table, .table tbody, .table tr, .table td { display: block; width: 100%; }
  .table tr { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; padding: 8px 4px; box-shadow: var(--shadow-sm); }
  .table td { border: 0; padding: 7px 14px; display: flex; gap: 12px; justify-content: space-between; text-align: right; }
  .table td::before { content: attr(data-label); font-size: .74rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 700; text-align: left; flex: none; }
  .table td:empty { display: none; }
}

/* --------------------------------------------------------------- admin */
.admin-body { background: #f5f7fb; padding-bottom: 0; }
.admin-topbar { background: var(--navy); color: #fff; position: sticky; top: 0; z-index: 40; }
.admin-topbar .brand { color: #fff; }
.admin-topbar .brand:hover { color: #fff; }
.admin-topbar .brand-dot { color: #fdba74; }
.admin-topbar-inner { display: flex; align-items: center; gap: 14px; height: 64px; flex-wrap: nowrap; }
.admin-chip { display: none; align-items: center; gap: 6px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); color: #dbe6f3; font-size: .76rem; font-weight: 650; padding: 4px 10px; border-radius: 999px; }
.admin-topbar-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.admin-topbar-actions form { margin: 0; }
.admin-topbar .btn-ghost { color: #dbe6f3; }
.admin-topbar .btn-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.admin-topbar .btn-outline { background: transparent; border-color: rgba(255, 255, 255, .28); color: #fff; }
.admin-topbar .btn-outline:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.admin-topbar .icon-btn { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .16); color: #fff; }
.admin-user { display: none; align-items: center; gap: 8px; font-size: .84rem; color: #dbe6f3; }
.admin-shell { display: grid; gap: 22px; grid-template-columns: 1fr; padding: 22px 20px 60px; align-items: start; }
.admin-sidebar { display: flex; gap: 6px; overflow-x: auto; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 14px; position: static; }
.admin-nav { display: inline-flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 10px; font-size: .85rem; font-weight: 650; color: #45506a; white-space: nowrap; }
.admin-nav:hover { background: #f6f2ec; color: var(--navy); }
.admin-nav.is-active { background: var(--navy); color: #fff; }
.admin-nav .ic { width: 17px; height: 17px; flex: none; }
/* Di layar <960px sidebar admin jadi grid 2 kolom: sebelumnya berupa strip yang
   di-scroll horizontal (lebar ~1369px di kotak 328px) sehingga menu seperti
   "Tumpangan", "Booking", dst. terpotong dan tampak tidak ada. */
@media (max-width: 959px) {
  .admin-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; overflow: visible; }
  .admin-nav { width: 100%; white-space: normal; line-height: 1.2; padding: 9px 10px; font-size: .8rem; }
}
.admin-count { margin-left: auto; flex: none; background: var(--orange); color: #fff; font-size: .7rem; padding: 1px 6px; border-radius: 999px; }
.admin-main { min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.admin-title { display: flex; justify-content: space-between; gap: 14px; align-items: flex-end; flex-wrap: wrap; }
.admin-title h1 { font-size: 1.5rem; margin: 0; }
.admin-title p { margin: 4px 0 0; color: var(--muted); font-size: .88rem; }
.admin-kpis { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; box-shadow: var(--shadow-sm); }
.kpi span { font-size: .76rem; color: var(--muted); display: block; margin-bottom: 4px; }
.kpi strong { font-size: 1.6rem; color: var(--navy); letter-spacing: -.02em; }
.kpi.warn { border-color: var(--orange-100); background: linear-gradient(160deg, #fff6ee, #fff); }
.kpi a { font-size: .76rem; font-weight: 650; color: var(--orange-700); }
.filter-bar { display: grid; gap: 10px; grid-template-columns: 1fr; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.filter-bar .btn { align-self: end; }
.bar-chart { display: flex; align-items: flex-end; gap: 8px; height: 130px; padding-top: 10px; }
.bar-chart .bar { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: flex-end; }
.bar-chart .bar i { display: block; width: 100%; background: linear-gradient(180deg, #fb923c, var(--orange)); border-radius: 6px 6px 2px 2px; min-height: 4px; }
.bar-chart .bar b { font-size: .74rem; color: var(--navy); }
.bar-chart .bar small { font-size: .66rem; color: var(--muted); }
.evidence-thumb { width: 92px; height: 92px; border-radius: 10px; border: 1px solid var(--line); background: #f6f3ee url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%238b95a8" stroke-width="1.5"><rect x="3" y="5" width="18" height="14" rx="2"/><path d="m4 17 5-5 4 4 3-3 4 4"/><circle cx="8.5" cy="9.5" r="1.5"/></svg>') center/44px no-repeat; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; font-size: .62rem; color: var(--muted); padding-bottom: 4px; text-align: center; }
@media (min-width: 700px) { .filter-bar { grid-template-columns: repeat(4, 1fr) auto; align-items: end; } .admin-kpis { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) {
  .admin-shell { grid-template-columns: 238px minmax(0, 1fr); }
  .admin-sidebar { flex-direction: column; overflow: visible; position: sticky; top: 86px; }
  .admin-nav { width: 100%; }
  .admin-chip, .admin-user { display: inline-flex; }
  .admin-kpis { grid-template-columns: repeat(4, 1fr); }
}

/* --------------------------------------------------------------- auth */
.auth-wrap { display: grid; gap: 28px; grid-template-columns: 1fr; align-items: start; padding: 34px 0 50px; }
.auth-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); max-width: 520px; }
.auth-side { background: linear-gradient(150deg, var(--navy), #24405f); color: #fff; border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); }
.auth-side h2 { color: #fff; }
.auth-side p { color: #c3d0e0; font-size: .92rem; }
.auth-side ul { list-style: none; padding: 0; display: grid; gap: 12px; margin-top: 18px; }
.auth-side li { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: #dbe6f3; }
.auth-side li .ic { color: #fdba74; margin-top: 3px; }
.demo-logins { display: grid; gap: 8px; margin-top: 12px; }
.demo-login { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border: 1px dashed #d8cfc2; border-radius: 12px; background: #fffdfa; cursor: pointer; font-family: inherit; font-size: .85rem; text-align: left; }
.demo-login:hover { border-color: var(--orange); background: var(--orange-50); }
.demo-login .avatar { flex: none; }
.demo-login b { display: block; color: var(--navy); }
.demo-login span { color: var(--muted); font-size: .76rem; }
@media (min-width: 900px) { .auth-wrap { grid-template-columns: 1fr 1fr; gap: 40px; } .auth-card { max-width: none; } }

/* ------------------------------------------------------------ misc */
.notif-item { display: flex; gap: 12px; padding: 15px 16px; border-bottom: 1px solid var(--line-2); align-items: flex-start; }
.notif-item:last-child { border-bottom: 0; }
.notif-item.is-unread { background: #fffaf4; }
.notif-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--orange); margin-top: 7px; flex: none; }
.notif-item.is-read .notif-dot { background: #dfd7ca; }
.notif-body { flex: 1; min-width: 0; }
.notif-body strong { display: block; font-size: .9rem; }
.notif-body p { font-size: .85rem; color: #4c5568; margin: 2px 0 0; }
.notif-body time { font-size: .74rem; color: var(--muted); }
.pager { display: flex; gap: 8px; justify-content: center; align-items: center; margin-top: 26px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; border: 1px solid var(--line); background: #fff; font-size: .86rem; font-weight: 650; }
.pager .is-current { background: var(--navy); color: #fff; border-color: var(--navy); }
.split-list { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 880px) { .split-list { grid-template-columns: 1.6fr 1fr; align-items: start; } }
.detail-card-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .detail-card-grid { grid-template-columns: 1fr 1fr; } }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .84rem; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.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; }

/* --------------------------------------------------------- responsive nav */
@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-link { padding: 8px 9px; font-size: .86rem; }
  .nav-cta { display: none; }
  .menu-name { display: inline; }
  .bottomnav { display: none; }
  body:not(.admin-body) { padding-bottom: 0; }
  .section { padding: 58px 0; }
}
@media (min-width: 1140px) {
  .nav-links { margin-left: 14px; }
  .nav-link { padding: 8px 12px; font-size: .89rem; }
  .nav-cta { display: inline-flex; }
}
@media (max-width: 959px) {
  /* "Masuk" harus tetap ada di header mobile — sebelumnya disembunyikan sehingga
     pengguna hanya melihat tombol "Daftar" dan tidak punya jalan untuk login. */
  .nav-login { display: inline-flex; padding: 8px 8px; font-size: .85rem; }
}
@media (max-width: 420px) {
  /* layar sempit: rapatkan topbar & sembunyikan ".com" agar Masuk + Daftar tetap muat */
  .topbar-inner { gap: 10px; }
  .brand-dot { display: none; }
  .nav-login { padding: 8px 4px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* ------------------------------------------------------------- modal */
dialog.modal { border: 0; padding: 0; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: min(520px, calc(100vw - 32px)); background: #fff; color: var(--ink); }
dialog.modal::backdrop { background: rgba(16, 30, 51, .45); backdrop-filter: blur(2px); }
.modal-inner { padding: 24px; }
.modal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; margin-bottom: 12px; }
.modal-head h3 { margin: 0; }
.modal-close { background: none; border: 0; cursor: pointer; color: var(--muted); padding: 4px; border-radius: 8px; display: flex; }
.modal-close:hover { background: #f5f1ea; color: var(--navy); }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 20px; flex-wrap: wrap; }
.summary-list { display: grid; gap: 8px; background: #faf7f3; border: 1px solid #efe8de; border-radius: 12px; padding: 14px; font-size: .88rem; }
.summary-list div { display: flex; justify-content: space-between; gap: 12px; }
.summary-list div span:first-child { color: var(--muted); }
.summary-list div strong { text-align: right; }
.upload-status { font-size: .8rem; color: var(--muted); }
.upload-status.is-ok { color: var(--green); font-weight: 650; }
.upload-status.is-error { color: var(--red); font-weight: 650; }

/* admin: topbar ramah layar kecil */
@media (max-width: 700px) {
  .admin-topbar-inner { height: auto; padding: 10px 0; flex-wrap: wrap; row-gap: 8px; }
  .admin-topbar-actions { width: 100%; justify-content: flex-end; flex-wrap: wrap; margin-left: 0; }
  .admin-site-link { display: none; }
  .admin-topbar .brand { font-size: 1rem; }
  .admin-shell { padding: 16px 16px 60px; }
}

/* ================================================= tumpangan unggulan (FE) */
.feat-hero { position: relative; padding: 30px 0 10px; overflow: hidden; }
.feat-hero::before {
  content: ''; position: absolute; inset: -40% -10% auto -10%; height: 460px; pointer-events: none;
  background:
    radial-gradient(520px 260px at 18% 10%, rgba(249, 115, 22, .16), transparent 70%),
    radial-gradient(560px 300px at 86% 0%, rgba(34, 55, 79, .12), transparent 72%);
}
.feat-hero-inner { position: relative; display: grid; gap: 26px; grid-template-columns: 1fr; align-items: center; }
.feat-hero h1 { margin: 14px 0 12px; }
.feat-hero h1 .accent { color: var(--orange); }
.feat-hero-sub { font-size: 1rem; color: var(--muted); max-width: 54ch; margin: 0; }
.feat-hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.feat-hero-points { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 20px 0 0; }
.feat-hero-points li { display: inline-flex; align-items: center; gap: 7px; font-size: .84rem; font-weight: 650; color: #45506a; }
.feat-hero-points .ic { color: var(--green); }

.feat-preview { position: relative; background: #fff; border: 2px solid var(--orange); border-radius: var(--radius-lg); padding: 20px; box-shadow: 0 18px 44px rgba(249, 115, 22, .16); }
.feat-preview .featured-flag { margin-bottom: 14px; }
.feat-preview-route { display: flex; flex-direction: column; gap: 0; }
.feat-preview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.feat-preview-cell { background: #faf7f3; border: 1px solid #efe8de; border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; }
.feat-preview-cell strong { font-size: .88rem; color: var(--navy); }
.feat-preview-note { display: flex; align-items: center; gap: 6px; margin: 14px 0 0; }

.feat-benefits { display: grid; gap: 18px; grid-template-columns: 1fr; }
.feat-benefit { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 10px; }
.feat-benefit h3 { margin: 0; font-size: 1rem; }
.feat-benefit p { margin: 0; font-size: .89rem; color: var(--muted); }
.feat-benefit-icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(140deg, #fff1e4, #ffe1c9); color: var(--orange-700); border: 1px solid var(--orange-100); }
.feat-benefit-icon .ic { width: 22px; height: 22px; }

.feat-form-card { display: flex; flex-direction: column; }
.feat-field-block { display: flex; flex-direction: column; gap: 10px; }
.feat-step-label { display: inline-flex; align-items: center; gap: 9px; font-size: .75rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.feat-step-num { width: 22px; height: 22px; border-radius: 999px; background: var(--navy); color: #fff; display: grid; place-items: center; font-size: .72rem; font-weight: 800; letter-spacing: 0; }

.package-grid { display: grid; gap: 14px; grid-template-columns: 1fr; margin-top: 4px; }
.package-card {
  position: relative; display: flex; flex-direction: column; gap: 5px; cursor: pointer;
  border: 2px solid var(--line); border-radius: var(--radius); padding: 20px 16px 16px; background: #fff;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease, transform .15s ease;
}
.package-card:hover { border-color: var(--orange-100); background: #fffaf5; transform: translateY(-1px); }
.package-card.is-selected { border-color: var(--orange); background: linear-gradient(180deg, #fff7ef, #fff); box-shadow: 0 12px 26px rgba(249, 115, 22, .15); }
.package-card .pkg-name { font-size: .92rem; font-weight: 700; color: var(--navy); }
.package-card .price-amount { font-size: 1.45rem; }
.package-card .pkg-badge {
  position: absolute; top: -11px; left: 14px; background: linear-gradient(120deg, var(--orange), #fb923c);
  color: #fff; font-size: .64rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 999px; box-shadow: 0 6px 14px rgba(249, 115, 22, .28);
}

.feat-summary { display: grid; gap: 12px; grid-template-columns: 1fr; background: #faf7f3; border: 1px dashed #e7dbca; border-radius: 14px; padding: 16px; }
.feat-summary-item { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.feat-summary-item span { font-size: .72rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.feat-summary-item strong { font-size: .93rem; color: var(--navy); overflow-wrap: anywhere; }
.feat-summary-total { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px dashed #e7dbca; padding-top: 12px; }
.feat-summary-total > span:first-child { font-size: .8rem; font-weight: 700; color: var(--muted); }
.feat-summary-total .price-amount { font-size: 1.55rem; }

.bank-list { display: grid; gap: 14px; }
.bank-card { display: grid; gap: 7px; border: 1px solid var(--line); border-radius: 14px; padding: 14px; background: linear-gradient(160deg, #fffdfa, #fff); box-shadow: var(--shadow-sm); }
.bank-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.bank-name { display: inline-flex; align-items: center; gap: 8px; font-size: .84rem; font-weight: 750; color: var(--navy-700); }
.bank-name .ic { color: var(--muted-2); }
.bank-badge { background: var(--navy); color: #fff; border-radius: 8px; padding: 3px 9px; font-size: .72rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.bank-number { font-size: 1.08rem; font-weight: 750; letter-spacing: .06em; color: var(--navy); overflow-wrap: anywhere; }
.bank-holder { font-size: .8rem; color: var(--muted); overflow-wrap: anywhere; }
.copy-btn {
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer; font-family: inherit;
  border: 1px solid #e3d9cd; background: #fff; color: var(--navy-700);
  border-radius: 9px; padding: 5px 10px; font-size: .74rem; font-weight: 700; transition: all .15s ease;
}
.copy-btn:hover { border-color: var(--orange); color: var(--orange-700); background: var(--orange-50); }
.copy-btn.is-copied { border-color: var(--green); color: var(--green); background: var(--green-50); }
.copy-btn-light { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .35); color: #fff; }
.copy-btn-light:hover { background: rgba(255, 255, 255, .24); border-color: #fff; color: #fff; }

.feat-flow { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; counter-reset: featflow; }
.feat-flow li { position: relative; display: grid; gap: 2px; padding-left: 34px; counter-increment: featflow; }
.feat-flow li::before {
  content: counter(featflow); position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 999px;
  background: var(--orange-50); border: 1px solid var(--orange-100); color: var(--orange-700);
  display: grid; place-items: center; font-size: .74rem; font-weight: 800;
}
.feat-flow strong { font-size: .9rem; color: var(--navy); }
.feat-flow span { font-size: .82rem; color: var(--muted); }

.feat-progress { list-style: none; display: flex; gap: 8px; padding: 0; margin: 10px 0 0; flex-wrap: wrap; }
.feat-progress li { flex: 1 1 96px; display: flex; flex-direction: column; gap: 6px; font-size: .71rem; font-weight: 750; letter-spacing: .02em; color: var(--muted-2); }
.feat-progress li::before { content: ''; display: block; height: 4px; border-radius: 999px; background: #ece6dd; }
.feat-progress li.is-done { color: var(--green); }
.feat-progress li.is-done::before { background: var(--green); }
.feat-progress li.is-current { color: var(--orange-700); }
.feat-progress li.is-current::before { background: linear-gradient(90deg, #fbbf24, var(--orange)); }
.feat-progress li.is-bad { color: var(--red); }
.feat-progress li.is-bad::before { background: var(--red); }

.feat-request-route { display: inline-flex; align-items: center; gap: 6px; font-size: 1rem; color: var(--navy); }
.feat-request-route .ic { color: var(--orange-600); }

.feat-pay-head { display: grid; gap: 18px; grid-template-columns: 1fr; align-items: stretch; }
.feat-pay-head-main { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm); }
.feat-pay-head-main h1 { font-size: clamp(1.3rem, 1.05rem + .9vw, 1.7rem); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.feat-pay-head-main h1 .ic { color: var(--orange-600); }
.feat-pay-amount { background: linear-gradient(140deg, var(--navy), #24405f); color: #fff; border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.feat-pay-amount-label { font-size: .74rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: #b9c6d8; }
.feat-pay-amount-value { font-size: 2rem; font-weight: 800; letter-spacing: -.02em; color: #fff; line-height: 1.1; }
.feat-pay-amount-note { font-size: .82rem; color: #c3d0e0; }
.feat-pay-amount-note b { color: #fff; }
.feat-note { background: #faf7f3; border: 1px solid #efe8de; border-left: 4px solid var(--orange); border-radius: 12px; padding: 14px 16px; font-size: .88rem; color: #4c5568; white-space: pre-wrap; line-height: 1.6; }

@media (min-width: 620px) {
  .package-grid { grid-template-columns: repeat(3, 1fr); }
  .feat-summary { grid-template-columns: 1fr 1fr; }
  .feat-summary-total { grid-column: 1 / -1; }
}
@media (min-width: 820px) { .feat-benefits { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .feat-pay-head { grid-template-columns: minmax(0, 1.55fr) minmax(260px, .85fr); } }
@media (min-width: 960px) { .feat-hero-inner { grid-template-columns: 1.05fr .95fr; gap: 44px; } .feat-hero { padding: 44px 0 18px; } }

/* admin: kartu rekening pembayaran (Superapp) */
.acc-row .form-grid.two { margin-top: 4px; }
.acc-row .checkbox { font-size: .85rem; padding-bottom: 4px; }
.acc-row .form-actions { margin-top: 14px; }
