/* eNiaga — reka bentuk diselaraskan dengan sistem JPM (Bonda Digital): biru + emas, latar cerah, kad putih. Mudah alih dahulu. CSP: tiada gaya sebaris. */
:root {
  --brand: #0d3b8f; --brand-d: #092c6b; --brand-soft: #e8eefb; --gold: #f0b81c; --gold-d: #d39e0b; --night: #050b1a;
  --ink: #141b2b; --ink-2: #39435a; --muted: #687188; --line: #e1e6f0; --bg: #f5f7fb; --card: #fff;
  --ok: #16794a; --ok-soft: #e3f4ea; --warn: #9a6200; --warn-soft: #fdf1d8; --info: #1d5fa8; --info-soft: #e5effa;
  --danger: #b42318; --danger-soft: #fdecea; --radius: 14px; --shadow: 0 1px 2px rgba(10, 20, 45, .06), 0 6px 20px rgba(10, 20, 45, .06);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; color: var(--ink); background: var(--bg); }
img { max-width: 100%; height: auto; }
a { color: var(--brand); }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .5em; }
h1 { font-size: 1.6rem; } h2 { font-size: 1.15rem; } h3 { font-size: 1rem; margin-top: 1.2em; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 720px; margin-left: auto; margin-right: auto; }
.center { text-align: center; } .muted { color: var(--muted); } .small { font-size: .875rem; } .mt { margin-top: 24px; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .02em; }
.big { font-size: 1.25rem; } .break { overflow-wrap: anywhere; } .inline { display: inline; margin: 0; }
.skip { position: absolute; left: -9999px; } .skip:focus { left: 16px; top: 8px; z-index: 99; background: #fff; padding: 8px 12px; border-radius: 8px; }

/* butang */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border: 1px solid transparent; border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), #1f57c6); color: #fff; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; transition: background .15s, transform .1s, box-shadow .15s; white-space: nowrap; }
.btn:hover { background: linear-gradient(135deg, var(--brand-d), var(--brand)); } .btn:active { transform: translateY(1px); }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: .9rem; } .btn-xs { min-height: 30px; padding: 0 10px; font-size: .8rem; }
.btn-lg { min-height: 52px; padding: 0 26px; font-size: 1.05rem; } .btn-block { display: flex; width: 100%; }
.btn-ghost { background: transparent; color: var(--brand); border-color: var(--line); } .btn-ghost:hover { background: var(--brand-soft); border-color: var(--brand); }
.btn-danger { color: var(--danger); } .btn-danger:hover { background: var(--danger-soft); border-color: var(--danger); }
.btn-gold { background: var(--gold); border-color: var(--gold); color: #1c1503; } .btn-gold:hover { background: var(--gold-d); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); } .btn-ghost-light:hover { background: rgba(255, 255, 255, .12); }
.btn-wa { background: #1fa855; border-color: #1fa855; } .btn-wa:hover { background: #178a45; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; }
.linkish { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }
form.is-busy button[type=submit] { opacity: .65; pointer-events: none; }

/* lencana & makluman */
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; white-space: nowrap; vertical-align: middle; }
.badge-ok { background: var(--ok-soft); color: var(--ok); } .badge-warn { background: var(--warn-soft); color: var(--warn); }
.badge-info { background: var(--info-soft); color: var(--info); } .badge-brand { background: var(--brand-soft); color: var(--brand); }
.badge-muted { background: #eef1f6; color: var(--muted); }
.alert { padding: 12px 16px; border-radius: 12px; margin: 16px 0; font-weight: 600; }
.alert-ok { background: var(--ok-soft); color: var(--ok); } .alert-error { background: var(--danger-soft); color: var(--danger); }
.alert-info { background: var(--info-soft); color: var(--info); font-weight: 500; }

/* kad & grid */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); margin-bottom: 16px; }
.card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.grid-2, .grid-3 { display: grid; gap: 16px; } .grid-2 > .card, .grid-3 > .card { margin-bottom: 0; }
@media (min-width: 760px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.page-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; margin: 8px 0 16px; }
.page-head h1 { margin: 0 0 4px; } .page-head p { margin: 0; }
.back { text-decoration: none; font-weight: 600; font-size: .95rem; }

/* borang */
.form .field { display: grid; gap: 6px; margin-bottom: 14px; min-width: 0; align-content: start; }
.form label, .form .label { font-weight: 600; font-size: .92rem; }
.field-row { display: grid; gap: 0 14px; } @media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } .field-row.three { grid-template-columns: 1fr 1fr 1fr; } }
input, select, textarea { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #cfd6e4; border-radius: 10px; font: inherit; color: var(--ink); background: #fff; }
textarea { min-height: 80px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--brand); outline-offset: 0; border-color: var(--brand); }
input[type=file] { padding: 8px; min-height: 0; background: var(--bg); }
input[type=checkbox], input[type=radio] { width: 18px; height: 18px; min-height: 0; accent-color: var(--brand); flex: none; }
.upper { text-transform: uppercase; }
.hint { color: var(--muted); font-size: .84rem; font-weight: 400; }
.err { color: var(--danger); font-size: .85rem; font-weight: 600; display: block; }
.check, .radio { display: flex; align-items: flex-start; gap: 10px; font-weight: 500 !important; margin: 4px 0 10px; cursor: pointer; }
.auth { padding-top: 24px; padding-bottom: 32px; } .auth .card { padding: 26px; } .auth h1 { font-size: 1.45rem; }

/* pilihan perkhidmatan */
.svc-grid { display: grid; gap: 10px; } @media (min-width: 560px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
.svc { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 2px solid var(--line); border-radius: 12px; cursor: pointer; background: #fff; }
.svc:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.svc b { display: block; } .svc small { color: var(--muted); } .svc input { margin-top: 3px; }
.svc-tt { margin-top: 10px; border-style: dashed; }
.tt-fields { margin-top: 12px; padding: 14px; border-radius: 12px; background: var(--bg); }

/* kepala & kaki laman */
.site-head { position: sticky; top: 0; z-index: 20; background: rgba(5, 11, 26, .97); border-bottom: 1px solid rgba(240, 184, 28, .18); }
.head-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.site-head .brand { color: #fff; }
.site-head .nav-link { color: #cdd6ea; } .site-head .nav-link:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.site-head .btn { background: var(--gold); border-color: var(--gold); color: #1a1302; } .site-head .btn:hover { background: var(--gold-d); }
.brand-mark { flex: none; height: 44px; width: auto; border-radius: 6px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; min-width: 0; }
.brand-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; line-height: 1.2; }
.brand-name small { display: block; font-weight: 500; font-size: .75rem; opacity: .8; }
.brand-ini { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--brand); color: #fff; font-size: .9rem; letter-spacing: .02em; }
.brand-logo { flex: none; width: 40px; height: 40px; object-fit: contain; border-radius: 8px; }
.nav { display: flex; align-items: center; gap: 6px; flex: none; }
.nav-link { color: var(--ink-2); text-decoration: none; font-weight: 600; padding: 8px 10px; border-radius: 8px; font-size: .95rem; }
.nav-link:hover { background: var(--brand-soft); color: var(--brand); }
@media (max-width: 560px) { .brand-name { font-size: .92rem; max-width: 150px; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; } .nav-link { padding: 8px 6px; font-size: .88rem; } .nav .btn-sm { padding: 0 12px; } }
.site-main { min-height: 60vh; padding-bottom: 32px; }
.site-foot { background: var(--night); color: #cdd6ea; padding: 28px 0 18px; }
.site-foot a { color: #fff; } .site-foot .muted { color: #8f9bb8; }
.foot-in { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; } .foot-links { display: flex; flex-direction: column; gap: 6px; }
.foot-credit { margin-top: 18px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .82rem; color: #8f9bb8; }
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 30; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #1fa855; color: #fff; box-shadow: 0 8px 22px rgba(0, 0, 0, .25); }

/* laman utama */
.hero { background: radial-gradient(760px 420px at 85% 15%, rgba(240, 184, 28, .20), transparent 62%), radial-gradient(700px 460px at 0% 100%, rgba(13, 59, 143, .10), transparent 62%), linear-gradient(180deg, #ffffff, #eef3fc); color: var(--ink); padding: 36px 0 44px; border-bottom: 1px solid var(--line); }
.hero-in { display: grid; gap: 28px; align-items: center; } @media (min-width: 900px) { .hero-in { grid-template-columns: 1.15fr .85fr; padding-top: 18px; padding-bottom: 18px; } }
.kicker { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 700; color: #b07d04; margin-bottom: 10px; }
.hero h1 { font-size: clamp(1.8rem, 5vw, 2.7rem); margin-bottom: 14px; color: var(--brand-d); }
.lead { font-size: 1.08rem; color: var(--ink-2); max-width: 40em; }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; margin: 20px 0 18px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; color: var(--ink-2); font-size: .95rem; }
.hero-points li::before { content: "✓"; color: #b07d04; font-weight: 800; margin-right: 8px; }
.hero-card { background: rgba(255, 255, 255, .97); color: var(--ink); border-radius: 18px; padding: 10px; box-shadow: 0 24px 60px rgba(0, 0, 0, .3); }
.hc-row { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; } .hc-row + .hc-row { border-top: 1px solid var(--line); }
.hc-row > div { flex: 1; min-width: 0; } .hc-row small { display: block; color: var(--muted); font-size: .8rem; }
.hc-ic { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: var(--brand-soft); font-size: 1.2rem; flex: none; }
.hc-done { background: var(--ok-soft); }
.section { padding: 44px 0; } .section-alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-title { text-align: center; font-size: 1.5rem; margin-bottom: 22px; }
.feature .f-ic { font-size: 1.8rem; display: block; margin-bottom: 8px; } .feature p { color: var(--ink-2); margin: 0; }
.tag { font-size: .7rem; background: var(--warn-soft); color: var(--warn); padding: 2px 8px; border-radius: 999px; vertical-align: middle; }
.steps-list { list-style: none; counter-reset: s; padding: 0; margin: 0 0 24px; display: grid; gap: 12px; } @media (min-width: 760px) { .steps-list { grid-template-columns: repeat(4, 1fr); } }
.steps-list li { counter-increment: s; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.steps-list li::before { content: counter(s); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; margin-bottom: 8px; }
.steps-list b { display: block; } .steps-list span { color: var(--ink-2); font-size: .93rem; }
.faq { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 16px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 14px 0; } .faq p { color: var(--ink-2); }
.prose { padding-top: 16px; } .prose h2 { margin-top: 1.4em; } .prose ul { padding-left: 20px; }

/* akaun klien */
.app-list { display: grid; gap: 12px; } @media (min-width: 760px) { .app-list { grid-template-columns: 1fr 1fr; } }
.app-card { display: block; color: inherit; text-decoration: none; margin: 0; transition: border-color .15s, transform .1s; }
.app-card:hover { border-color: var(--brand); }
.app-card-top, .app-card-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.app-card-main { margin: 10px 0; } .app-card-main span { display: block; color: var(--ink-2); }
.ref { font-weight: 800; color: var(--muted); font-size: .85rem; letter-spacing: .04em; }
.plate { font-size: 1.25rem; letter-spacing: .04em; }
.pay-now { font-weight: 800; color: var(--warn); }
.empty-card { text-align: center; padding: 36px 20px; } .empty-card .big { font-size: 2.4rem; margin: 0; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0; }
.kv dt { color: var(--muted); font-size: .9rem; } .kv dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.progress { list-style: none; display: flex; padding: 0; margin: 0 0 8px; counter-reset: p; }
.progress li { flex: 1; text-align: center; font-size: .72rem; color: var(--muted); position: relative; counter-increment: p; padding-top: 34px; }
.progress li::before { content: counter(p); position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #e3e8f2; color: var(--muted); font-weight: 800; z-index: 1; }
.progress li::after { content: ""; position: absolute; top: 12px; left: -50%; width: 100%; height: 3px; background: #e3e8f2; } .progress li:first-child::after { display: none; }
.progress li.done::before { content: "✓"; background: var(--brand); color: #fff; } .progress li.done::after, .progress li.now::after { background: var(--brand); }
.progress li.now::before { background: var(--gold); color: #1c1503; } .progress li.now { color: var(--ink); font-weight: 700; }
.status-msg { font-weight: 600; color: var(--ink-2); }
.tbl { width: 100%; border-collapse: collapse; font-size: .94rem; }
.tbl th { text-align: left; font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: top; } .tbl .n { text-align: right; white-space: nowrap; }
.tbl.quote td { padding: 9px 4px; } .tbl tr.total td { font-weight: 800; font-size: 1.05rem; border-bottom: 0; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.pay .amount { font-size: 1.2rem; color: var(--brand); }
.pay-grid { display: grid; gap: 16px; align-items: start; margin-bottom: 12px; } @media (min-width: 600px) { .pay-grid { grid-template-columns: auto 1fr; } }
.qr { margin: 0; text-align: center; } .qr img { width: 210px; border: 1px solid var(--line); border-radius: 12px; padding: 8px; background: #fff; } .qr figcaption { font-size: .82rem; color: var(--muted); }
.bank { background: var(--bg); padding: 14px; border-radius: 12px; }
.upload-form { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); }
.file-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.file-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 10px 12px; background: var(--bg); border-radius: 10px; }
.file-list.big li { padding: 14px; } .doc-ic { font-size: 1.3rem; }
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.timeline li { padding-left: 14px; border-left: 3px solid var(--brand-soft); } .timeline .t-when { display: block; font-size: .78rem; color: var(--muted); }

/* panel admin */
.is-admin { background: #f2f4f8; }
.admin-head { background: var(--night); color: #fff; position: sticky; top: 0; z-index: 20; }
.admin-head .brand { color: #fff; } .admin-head .brand-ini { background: var(--gold); color: #1c1503; }
.admin-head-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; flex-wrap: wrap; }
.admin-nav { display: flex; gap: 2px; overflow-x: auto; max-width: 100%; }
.admin-nav a, .admin-nav button { color: #cdd6ea; text-decoration: none; padding: 8px 12px; border-radius: 8px; font-weight: 600; font-size: .92rem; white-space: nowrap; }
.admin-nav a:hover, .admin-nav button:hover { background: rgba(255, 255, 255, .1); color: #fff; } .admin-nav a.on { background: rgba(255, 255, 255, .16); color: #fff; }
.count { background: var(--gold); color: #1c1503; border-radius: 999px; padding: 1px 7px; font-size: .75rem; margin-left: 2px; }
.count-sm { color: var(--muted); font-size: .8rem; font-weight: 600; }
.admin-main { padding-top: 20px; padding-bottom: 40px; }
.stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 12px; margin-bottom: 18px; }
.stat { display: block; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: 12px; padding: 14px; color: inherit; text-decoration: none; box-shadow: var(--shadow); }
.stat span { display: block; font-size: .82rem; color: var(--muted); font-weight: 600; } .stat b { display: block; font-size: 1.6rem; margin: 2px 0; } .stat small { color: var(--muted); }
.stat.warn { border-left-color: var(--gold); } .stat.ok { border-left-color: var(--ok); } a.stat:hover { border-color: var(--brand); }
.checklist { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 4px; } .checklist li.ok { color: var(--muted); }
.tabs { display: flex; gap: 4px; overflow-x: auto; margin-bottom: 12px; padding-bottom: 2px; }
.tabs a { padding: 8px 14px; border-radius: 999px; text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: .9rem; white-space: nowrap; background: #fff; border: 1px solid var(--line); }
.tabs a.on { background: var(--brand); color: #fff; border-color: var(--brand); } .tabs a.on .count-sm { color: #d5ddf0; }
.search { display: flex; gap: 8px; width: 100%; max-width: 460px; } .search input { min-height: 38px; }
.tbl tr.row-link { cursor: pointer; } .tbl tr.row-link:hover td { background: #f6f8fd; } .tbl tr.is-off td { opacity: .6; }
.admin-grid { display: grid; gap: 16px; } @media (min-width: 980px) { .admin-grid { grid-template-columns: 1fr 340px; align-items: start; } }
.quote-rows { display: grid; gap: 8px; margin-bottom: 10px; }
.quote-row { display: grid; grid-template-columns: 1fr 120px auto; gap: 8px; align-items: center; }
.quote-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 1.05rem; }
.receipts li { display: block; } .receipt-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.reject { display: flex; gap: 6px; flex: 1; min-width: 240px; } .reject input { min-height: 36px; }
.stack { display: grid; gap: 8px; } .stack form { margin: 0; }
.note-box { background: var(--warn-soft); padding: 10px 12px; border-radius: 10px; font-size: .92rem; }
.thumb-row { display: flex; align-items: center; gap: 12px; } .thumb { width: 72px; height: 72px; object-fit: contain; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.howto { padding-left: 18px; color: var(--ink-2); }
.reset-box { border-color: var(--gold); background: #fffaf0; }
.actions { white-space: nowrap; } .actions form + form { margin-left: 4px; }
@media (max-width: 600px) { .card { padding: 16px; } .quote-row { grid-template-columns: 1fr 96px auto; } h1 { font-size: 1.35rem; } }

/* logo JPM */
.hero-logo img { display: block; width: 100%; height: auto; filter: drop-shadow(0 18px 30px rgba(13, 59, 143, .18)); }
.site-foot b { color: #fff; }
@media (max-width: 560px) { .site-head .brand-name { display: none; } .brand-mark { height: 40px; } }

/* ===================== Reka bentuk v2 (17/10/2026): laman utama lebih kaya + dashboard admin ===================== */
.ic { flex: none; vertical-align: middle; }
.ic-blue { background: #e7efff; color: #1d4fc4; } .ic-navy { background: #e6ebf7; color: var(--brand); } .ic-gold { background: #fff4d6; color: #a87400; }
.ic-green { background: var(--ok-soft); color: var(--ok); } .ic-amber { background: #fff1e0; color: #b45309; }

/* kepala laman */
.nav-wide { display: none; } @media (min-width: 980px) { .nav-wide { display: inline-block; } }

/* hero */
.hero { position: relative; overflow: hidden; padding: 48px 0 64px; }
.hero::before { content: ""; position: absolute; inset: auto -10% -40% 40%; height: 120%; background: radial-gradient(closest-side, rgba(13, 59, 143, .09), transparent); pointer-events: none; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; pointer-events: none; background: url("/assets/img/gelombang.svg") center bottom / 100% 100% no-repeat; }
.hero-in { position: relative; z-index: 1; }
.kicker { display: inline-flex; align-items: center; gap: 6px; background: #fff7df; border: 1px solid #f6dc8b; padding: 5px 12px; border-radius: 999px; }
.hl { background: linear-gradient(transparent 62%, rgba(240, 184, 28, .45) 62%); padding: 0 4px; }
.trust { list-style: none; padding: 0; margin: 4px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-width: 520px; }
.trust li { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font-weight: 600; font-size: .92rem; color: var(--brand-d); box-shadow: 0 1px 2px rgba(10, 20, 45, .04); }
.trust li .ic { color: #b07d04; }
.hero-visual { position: relative; padding-bottom: 172px; }
.hero-logo { display: block; width: 100%; max-width: 560px; height: auto; margin: 0 auto; filter: drop-shadow(0 18px 30px rgba(13, 59, 143, .18)); }
.float-card { position: absolute; left: 0; bottom: 0; width: 300px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; box-shadow: 0 20px 40px rgba(10, 20, 45, .14); }
.fc-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; } .fc-ref { font-size: .75rem; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.fc-plate { display: flex; align-items: center; gap: 12px; color: var(--brand-d); }
.fc-plate > div { min-width: 0; } .fc-plate b { display: block; font-size: 1.05rem; line-height: 1.2; } .fc-plate > div > span { display: block; color: var(--muted); font-size: .84rem; margin-top: 2px; }
.fc-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); flex: none; }
.fc-steps { list-style: none; display: flex; gap: 6px; padding: 0; margin: 12px 0 10px; } .fc-steps li { flex: 1; height: 6px; border-radius: 99px; background: #e3e8f2; } .fc-steps li.done { background: linear-gradient(90deg, var(--brand), #2a64d6); }
.fc-doc { display: flex; align-items: center; gap: 6px; font-size: .85rem; color: var(--ok); font-weight: 700; }
@media (max-width: 899px) { .hero-visual { padding-bottom: 0; } .float-card { position: relative; width: auto; max-width: 360px; margin: -10px auto 0; } .hero-logo { max-width: 420px; } }

/* tajuk seksyen */
.sec-head { text-align: center; max-width: 680px; margin: 0 auto 30px; } .sec-head.left { text-align: left; margin: 0 0 20px; }
.sec-head h2 { font-size: clamp(1.4rem, 3.2vw, 2rem); color: var(--brand-d); margin-bottom: 8px; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #b07d04; margin-bottom: 8px; }
.section { padding: 64px 0; } .section-alt { background: #fff; }

/* kad perkhidmatan */
.svc-cards { display: grid; gap: 18px; } @media (min-width: 860px) { .svc-cards { grid-template-columns: repeat(3, 1fr); } }
.svc-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px; box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; }
.svc-card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(10, 20, 45, .12); }
.svc-ic { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 16px; margin-bottom: 16px; }
.svc-card h3 { font-size: 1.2rem; color: var(--brand-d); margin: 0 0 8px; } .svc-card p { color: var(--ink-2); }
.ticks { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; } .ticks li { display: flex; align-items: center; gap: 8px; color: var(--ink-2); font-size: .94rem; } .ticks .ic { color: var(--ok); }
.svc-link { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 800; text-decoration: none; color: var(--brand); transition: gap .15s; }
.svc-link:hover { gap: 10px; }
.svc-feature { border: 2px solid var(--gold); background: linear-gradient(180deg, #fffdf6, #fff); }
.ribbon { position: absolute; top: 18px; right: 18px; background: var(--gold); color: #1a1302; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: 4px 10px; border-radius: 999px; }

/* jalur Tune Talk */
.band-tt { background: linear-gradient(120deg, #0a2a6b, #0d3b8f 55%, #123f9b); color: #fff; position: relative; overflow: hidden; }
.band-tt::after { content: ""; position: absolute; right: -80px; top: -120px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(closest-side, rgba(240, 184, 28, .35), transparent); }
.band-in { position: relative; z-index: 1; display: grid; gap: 18px; align-items: center; padding-top: 34px; padding-bottom: 34px; } @media (min-width: 860px) { .band-in { grid-template-columns: auto 1fr auto; } }
.band-tt h2 { margin: 0 0 6px; font-size: 1.35rem; } .band-tt p { margin: 0; color: #d5ddf0; }
.band-ic { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 20px; background: rgba(240, 184, 28, .16); color: var(--gold); border: 1px solid rgba(240, 184, 28, .4); }

/* kenapa JPM */
.why-grid { display: grid; gap: 16px; } @media (min-width: 640px) { .why-grid { grid-template-columns: 1fr 1fr; } } @media (min-width: 1000px) { .why-grid { grid-template-columns: repeat(4, 1fr); } }
.why { background: var(--bg); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.why h3 { font-size: 1.05rem; color: var(--brand-d); margin: 12px 0 6px; } .why p { color: var(--ink-2); font-size: .94rem; margin: 0; }
.why-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(135deg, var(--brand), #2a64d6); color: #fff; }

/* garis masa cara memohon */
.timeline-h { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; position: relative; }
@media (min-width: 860px) { .timeline-h { grid-template-columns: repeat(4, 1fr); } .timeline-h::before { content: ""; position: absolute; top: 32px; left: 12%; right: 12%; height: 3px; background: repeating-linear-gradient(90deg, var(--gold) 0 10px, transparent 10px 18px); } }
.timeline-h li { position: relative; text-align: center; padding: 0 8px; } .timeline-h b { display: block; color: var(--brand-d); margin: 14px 0 4px; font-size: 1.05rem; } .timeline-h li > span:last-child { color: var(--ink-2); font-size: .93rem; }
.tl-ic { position: relative; z-index: 1; display: inline-grid; place-items: center; width: 66px; height: 66px; border-radius: 50%; background: #fff; color: var(--brand); border: 3px solid var(--gold); box-shadow: 0 8px 20px rgba(10, 20, 45, .1); }

/* soalan lazim dua lajur */
.faq-grid { display: grid; gap: 24px; align-items: start; } @media (min-width: 900px) { .faq-grid { grid-template-columns: 1.6fr 1fr; } }
.section-alt .faq { background: var(--bg); }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 12px; } .faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--brand); } .faq[open] summary::after { content: "–"; }
.help-card { position: sticky; top: 84px; background: linear-gradient(160deg, #0a2a6b, #0d3b8f); color: #fff; border-radius: 20px; padding: 26px; display: grid; gap: 10px; }
.help-card h3 { margin: 6px 0 0; font-size: 1.25rem; } .help-card p { color: #d5ddf0; margin: 0 0 6px; }
.help-ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: rgba(240, 184, 28, .18); color: var(--gold); }
.help-card .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .35); } .help-card .btn-ghost:hover { background: rgba(255, 255, 255, .1); }

/* jalur ajakan */
.cta-band { background: radial-gradient(600px 300px at 90% 0%, rgba(240, 184, 28, .25), transparent 60%), linear-gradient(120deg, #050b1a, #0a2a6b); color: #fff; }
.cta-in { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 46px; padding-bottom: 46px; }
.cta-band h2 { margin: 0 0 6px; font-size: clamp(1.3rem, 3vw, 1.8rem); } .cta-band p { margin: 0; color: #d5ddf0; }
.cta-btns { display: flex; gap: 10px; flex-wrap: wrap; }

/* kaki laman */
.site-foot { padding: 44px 0 18px; }
.foot-grid { display: grid; gap: 24px; } @media (min-width: 760px) { .foot-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.foot-grid h4 { color: #fff; margin: 0 0 10px; font-size: .95rem; } .foot-grid > div > a:not(.brand) { display: block; color: #cdd6ea; text-decoration: none; margin-bottom: 8px; font-size: .94rem; } .foot-grid > div > a:not(.brand):hover { color: var(--gold); }
.foot-brand .brand { color: #fff; margin-bottom: 12px; } .foot-brand p { font-size: .92rem; max-width: 34em; }

/* ===== dashboard admin ===== */
.dash-hello { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin: 6px 0 20px; }
.dash-hello h1 { margin: 2px 0 4px; color: var(--brand-d); } .dash-hello p { margin: 0; }
.quick { display: flex; gap: 8px; flex-wrap: wrap; } .quick .btn { min-height: 40px; padding: 0 16px; }
.stats4 { display: grid; gap: 14px; margin-bottom: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); } @media (min-width: 1000px) { .stats4 { grid-template-columns: repeat(4, 1fr); } }
.kpi { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px; color: inherit; text-decoration: none; box-shadow: var(--shadow); transition: border-color .15s, transform .15s; min-width: 0; }
a.kpi:hover { border-color: var(--brand); transform: translateY(-2px); }
.kpi-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; flex: none; }
.kpi > div { min-width: 0; } .kpi > div > span { display: block; font-size: .82rem; color: var(--muted); font-weight: 700; } .kpi b { display: block; font-size: 1.5rem; line-height: 1.2; color: var(--brand-d); overflow-wrap: anywhere; } .kpi small { color: var(--muted); font-size: .78rem; }
@media (max-width: 480px) { .kpi { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; } .kpi b { font-size: 1.3rem; } }
.dash-grid { display: grid; gap: 16px; align-items: start; } @media (min-width: 1000px) { .dash-grid { grid-template-columns: 1fr 340px; } } .dash-grid > .card { margin: 0; }
.empty-state { display: grid; justify-items: center; text-align: center; gap: 6px; padding: 26px 10px; } .empty-state p { margin: 0; }
.es-ic { display: grid; place-items: center; width: 70px; height: 70px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); margin-bottom: 6px; }
progress.bar { -webkit-appearance: none; appearance: none; width: 100%; height: 10px; border: 0; border-radius: 99px; background: #e3e8f2; overflow: hidden; margin: 4px 0 14px; }
progress.bar::-webkit-progress-bar { background: #e3e8f2; border-radius: 99px; } progress.bar::-webkit-progress-value { background: linear-gradient(90deg, var(--gold), #f7cf5a); border-radius: 99px; }
progress.bar::-moz-progress-bar { background: linear-gradient(90deg, var(--gold), #f7cf5a); border-radius: 99px; }
.setup-list { list-style: none; padding: 0; margin: 0 0 10px; display: grid; gap: 10px; }
.setup-list li { display: flex; align-items: center; gap: 10px; font-weight: 600; } .setup-list li a { margin-left: auto; font-size: .85rem; font-weight: 700; }
.setup-list li.ok span:not(.dot) { color: var(--muted); text-decoration: line-through; }
.dot { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 2px solid #cfd6e4; color: #fff; flex: none; } .setup-list li.ok .dot { background: var(--ok); border-color: var(--ok); }

/* ===== Promosi poster + tawaran Tune Talk PERCUMA (17/10/2026) ===== */
.promo { padding-top: 54px; }
.promo-grid { display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { .promo-grid { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 74%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; -webkit-overflow-scrolling: touch; } .promo-card { scroll-snap-align: start; } }
.promo-card { display: block; border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: 0 12px 30px rgba(10, 20, 45, .12); transition: transform .15s, box-shadow .15s; }
.promo-card:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(10, 20, 45, .18); }
.promo-card img { display: block; width: 100%; height: auto; }
.lightbox { padding: 0; border: 0; border-radius: 18px; max-width: min(92vw, 560px); max-height: 92vh; overflow: auto; background: #fff; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.lightbox::backdrop { background: rgba(5, 11, 26, .78); }
.lightbox img { display: block; width: 100%; height: auto; }
.lb-close { position: sticky; top: 8px; float: right; margin: 8px 8px -48px 0; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(5, 11, 26, .75); color: #fff; font-size: 1.1rem; cursor: pointer; }
.tt-note { margin: 12px 0 4px; padding: 10px 14px; border-radius: 12px; background: var(--info-soft); color: var(--info); font-weight: 600; font-size: .92rem; }
.tt-note.free { background: linear-gradient(90deg, #fff4d6, #fffaf0); color: #8a5a00; border: 1px solid #f6dc8b; }
.badge-free { background: var(--gold); color: #1a1302; }
.fine { display: block; margin-top: 10px; color: var(--muted); font-size: .78rem; line-height: 1.4; }

/* ===== Keselamatan (17/10/2026): OTP, perangkap bot, amaran kata laluan, log aktiviti ===== */
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.fp-steps { list-style: none; display: flex; gap: 6px; padding: 0; margin: 0 0 16px; counter-reset: f; }
.fp-steps li { flex: 1; text-align: center; font-size: .78rem; font-weight: 700; color: var(--muted); padding: 8px 4px; border-radius: 10px; background: var(--bg); counter-increment: f; }
.fp-steps li::before { content: counter(f) ". "; }
.fp-steps li.now { background: var(--brand); color: #fff; } .fp-steps li.done { background: var(--ok-soft); color: var(--ok); }
input.otp { font-size: 1.6rem; letter-spacing: .5em; text-align: center; font-weight: 800; }
.alert-warn-strong { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; background: #fff4e5; color: #8a4b00; border: 1px solid #f5c27a; font-weight: 500; }
.alert-warn-strong span { flex: 1; min-width: 220px; }
.mt-s { margin-top: 22px; }
.login-list { list-style: none; padding: 0; margin: 0 0 10px; display: grid; gap: 10px; }
.login-list li { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; }
.login-list .dot { background: var(--ok); border-color: var(--ok); margin-top: 2px; } .login-list li.bad .dot { background: var(--danger); border-color: var(--danger); color: #fff; font-weight: 800; font-size: .75rem; }
.login-list li.bad b { color: var(--danger); }
.tbl.audit tr.is-bad td { background: #fff5f4; }
.nowrap { white-space: nowrap; }

/* ===================== Reka bentuk v3 PREMIUM (17/10/2026): fon, borang, log masuk/daftar, halaman klien, panel admin bersisi ===================== */
@font-face { font-family: "Jakarta"; src: url("/assets/fonts/jakarta-400.woff2") format("woff2"); font-weight: 300 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url("/assets/fonts/jakarta-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url("/assets/fonts/jakarta-700.woff2") format("woff2"); font-weight: 700 900; font-style: normal; font-display: swap; }
:root { --ring: 0 0 0 4px rgba(13, 59, 143, .13); --shadow-lg: 0 30px 70px rgba(10, 20, 45, .16); --shadow-md: 0 1px 2px rgba(10, 20, 45, .04), 0 12px 32px rgba(10, 20, 45, .07); --gold-soft: #fff6dc; }
body { font-family: "Jakarta", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
h1, h2, h3, .btn { letter-spacing: -.01em; }
.ic { flex: none; }

/* butang & medan */
.btn-glow { box-shadow: 0 10px 24px rgba(13, 59, 143, .28); } .btn-glow:hover { box-shadow: 0 14px 30px rgba(13, 59, 143, .34); }
.btn-gold { box-shadow: 0 10px 24px rgba(240, 184, 28, .32); }
.btn-ghost, .btn-ghost-light, .btn-wa { box-shadow: none; }
input, select, textarea { border-color: #d5dcea; border-radius: 12px; background: #fbfcfe; transition: border-color .15s, box-shadow .15s, background .15s; }
input:hover, select:hover, textarea:hover { border-color: #b9c4dc; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: var(--ring); background: #fff; }
input[type=checkbox], input[type=radio] { box-shadow: none; }
.inp { position: relative; display: block; }
.inp > .ic { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #8a94ab; pointer-events: none; transition: color .15s; }
.inp > input { padding-left: 44px; }
.inp:focus-within > .ic { color: var(--brand); }
.inp.has-eye > input { padding-right: 50px; }
.eye { position: absolute; right: 5px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 10px; background: transparent; color: #6b7590; cursor: pointer; }
.eye:hover { background: var(--brand-soft); color: var(--brand); } .eye:focus-visible { outline: 2px solid var(--brand); }
.pw-rules { list-style: none; padding: 0; margin: -2px 0 16px; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .82rem; color: var(--muted); }
.pw-rules li { display: inline-flex; align-items: center; gap: 7px; transition: color .15s; }
.pw-rules li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid #cfd6e4; box-sizing: border-box; flex: none; }
.pw-rules li.ok { color: var(--ok); font-weight: 700; }
.pw-rules li.ok::before { border-color: var(--ok); background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 10px no-repeat; }
.label-row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; } .label-row a { font-weight: 600; text-decoration: none; }
.check.consent { align-items: flex-start; font-size: .92rem; line-height: 1.45; } .check.consent input { margin-top: 2px; }
.hint-ic { display: flex; gap: 6px; align-items: flex-start; } .hint-ic .ic { margin-top: 2px; color: var(--info); }
.err { margin-top: 2px; }
.badge-st::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: currentColor; margin: 0 6px 1px 0; vertical-align: middle; }
.badge { padding: 4px 11px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; font-size: .9rem; } .link-arrow:hover { gap: 9px; }

/* cip, plat, avatar */
.chips { display: inline-flex; flex-wrap: wrap; gap: 5px; }
.chip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; font-size: .74rem; font-weight: 700; white-space: nowrap; }
.chip-rt { background: #e7efff; color: #1d4fc4; } .chip-ins { background: var(--ok-soft); color: var(--ok); } .chip-tt { background: #fff4d6; color: #8a5a00; }
.plate-chip { display: inline-block; background: #0b0d12; color: #fff; font-weight: 800; letter-spacing: .12em; padding: 3px 10px; border-radius: 7px; font-size: .92em; line-height: 1.35; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); white-space: nowrap; }
.plate-none { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; color: #8a5a00; }
.av { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; font-weight: 800; font-size: .8rem; letter-spacing: .03em; flex: none; }
.av-1 { background: #e7efff; color: #1d4fc4; } .av-2 { background: #fff1d1; color: #9a6a00; } .av-3 { background: var(--ok-soft); color: var(--ok); }
.av-4 { background: #fde8f1; color: #b4236a; } .av-5 { background: #efe9ff; color: #6b3fd4; } .av-6 { background: #e0f4f6; color: #0f7c8a; }
.av-gold { background: linear-gradient(135deg, var(--gold), #f7cf5a); color: #1a1302; }
.av-lg { width: 58px; height: 58px; border-radius: 18px; font-size: 1.1rem; }
.who { display: flex; align-items: center; gap: 11px; min-width: 0; } .who > span { min-width: 0; } .who b { display: block; font-weight: 700; } .who small { display: block; color: var(--muted); font-size: .8rem; }
.ref-link { font-weight: 800; color: var(--brand); text-decoration: none; letter-spacing: .03em; font-size: .86rem; } a.ref-link:hover { text-decoration: underline; }
.ic-navy, .ic-blue, .ic-gold, .ic-green, .ic-amber { flex: none; }

/* ===== Log masuk / daftar / lupa ===== */
.auth-body .site-main { padding-bottom: 0; }
.auth-page { padding: 34px 0 60px; background: radial-gradient(900px 480px at 100% 0%, rgba(240, 184, 28, .14), transparent 60%), radial-gradient(700px 460px at 0% 100%, rgba(13, 59, 143, .10), transparent 60%), linear-gradient(180deg, #eef3fc, var(--bg)); }
.auth-shell { display: grid; max-width: 1080px; margin: 0 auto; border-radius: 28px; overflow: hidden; background: #fff; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
@media (min-width: 920px) { .auth-shell { grid-template-columns: .92fr 1.08fr; } }
.auth-side { position: relative; overflow: hidden; color: #fff; padding: 36px 34px; isolation: isolate;
  background: radial-gradient(520px 340px at 110% -10%, rgba(240, 184, 28, .38), transparent 60%), radial-gradient(460px 320px at -20% 110%, rgba(42, 100, 214, .5), transparent 60%), linear-gradient(160deg, #050b1a, #0a2a6b 68%, #0d3b8f); }
.auth-side::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px); background-size: 18px 18px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 75%); mask-image: linear-gradient(180deg, #000, transparent 75%); }
.auth-side::after { content: ""; position: absolute; right: -120px; bottom: -120px; width: 320px; height: 320px; border-radius: 50%; border: 1px solid rgba(240, 184, 28, .25); box-shadow: 0 0 0 40px rgba(240, 184, 28, .04), 0 0 0 80px rgba(240, 184, 28, .03); z-index: -1; }
.auth-logo { display: inline-block; background: #fff; border-radius: 20px; padding: 10px 16px; box-shadow: 0 14px 34px rgba(0, 0, 0, .28); }
.auth-logo img { display: block; width: 200px; height: auto; }
.auth-side h2 { font-size: clamp(1.45rem, 2.6vw, 2.05rem); line-height: 1.2; margin: 28px 0 10px; color: #fff; }
.auth-side h2 em { font-style: normal; color: var(--gold); display: block; }
.auth-side > p { color: #c9d4ee; margin: 0 0 6px; max-width: 30em; }
.auth-feats { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 12px; }
.auth-feats li { display: flex; gap: 13px; align-items: center; }
.af-ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); color: var(--gold); flex: none; }
.auth-feats b { display: block; font-size: .96rem; } .auth-feats small { color: #aebbdb; font-size: .82rem; }
.auth-safe { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); font-size: .82rem; line-height: 1.45; color: #d5ddf0; }
.auth-safe .ic { color: var(--gold); margin-top: 1px; }
.auth-main { padding: 30px 22px 34px; }
@media (min-width: 920px) { .auth-main { padding: 44px 48px; } .auth-main-mid { display: flex; flex-direction: column; justify-content: center; } }
.auth-main h1 { font-size: clamp(1.5rem, 3vw, 1.85rem); color: var(--brand-d); margin: 12px 0 6px; }
.auth-main > p.muted { margin-bottom: 20px; }
.auth-main .alert { margin-top: 0; }
.band-eyebrow { display: inline-block; font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.band-eyebrow.dark { color: #b07d04; }
.steps-chip { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .8rem; font-weight: 700; color: var(--muted); }
.steps-chip span { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px 5px 6px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); }
.steps-chip i { font-style: normal; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #e3e8f2; font-size: .72rem; }
.steps-chip span.on { background: var(--brand); border-color: var(--brand); color: #fff; } .steps-chip span.on i { background: var(--gold); color: #1a1302; }
.auth-alt { text-align: center; margin: 16px 0 0; font-size: .92rem; color: var(--muted); } .auth-alt a { font-weight: 700; }
.auth-alt .back { display: inline-flex; align-items: center; gap: 6px; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .82rem; margin: 22px 0 14px; } .divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.fp-steps li { border: 1px solid var(--line); }
@media (max-width: 919px) {
  .auth-page { padding: 14px 0 36px; } .auth-shell { border-radius: 22px; }
  .auth-side { padding: 20px 20px 22px; } .auth-logo { padding: 8px 12px; border-radius: 16px; } .auth-logo img { width: 132px; }
  .auth-side h2 { margin: 16px 0 6px; font-size: 1.3rem; } .auth-side h2 em { display: inline; }
  .auth-side > p { font-size: .9rem; } .auth-feats, .auth-safe { display: none; }
}

/* ===== Jalur halaman (klien) ===== */
.band { position: relative; overflow: hidden; color: #fff; padding: 28px 0 92px; isolation: isolate;
  background: radial-gradient(700px 360px at 92% -30%, rgba(240, 184, 28, .32), transparent 60%), radial-gradient(620px 380px at -10% 130%, rgba(42, 100, 214, .42), transparent 60%), linear-gradient(135deg, #050b1a, #0a2a6b 62%, #0d3b8f); }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px); background-size: 18px 18px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); mask-image: linear-gradient(90deg, transparent, #000 60%); }
.band::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--gold) 30%, var(--gold) 70%, transparent); opacity: .75; }
.band-in { display: flex; justify-content: space-between; align-items: flex-end; gap: 18px 28px; flex-wrap: wrap; }
.band h1 { color: #fff; font-size: clamp(1.55rem, 3.6vw, 2.25rem); margin: 8px 0 8px; }
.band p { color: #c9d4ee; margin: 0; max-width: 46em; }
.band .back { color: #c9d4ee; display: inline-flex; align-items: center; gap: 6px; font-size: .9rem; } .band .back:hover { color: #fff; }
.band-body { position: relative; z-index: 2; margin-top: -64px; padding-bottom: 20px; }
.band-body > .alert:first-child { margin-top: 0; box-shadow: var(--shadow-md); }
.band-stats { display: flex; gap: 10px; flex-wrap: wrap; }
.band-stat { min-width: 118px; padding: 12px 16px; border-radius: 16px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); }
.band-stat b { display: block; font-size: 1.55rem; line-height: 1.15; color: #fff; } .band-stat span { font-size: .76rem; font-weight: 700; color: #aebbdb; text-transform: uppercase; letter-spacing: .06em; }
.band-stat.hot { background: rgba(240, 184, 28, .16); border-color: rgba(240, 184, 28, .45); } .band-stat.hot b { color: var(--gold); }
.band-badge .badge { font-size: .9rem; padding: 7px 14px; box-shadow: 0 6px 18px rgba(0, 0, 0, .2); }
.band-detail h1 .plate-chip { font-size: .8em; padding: 4px 14px; border-radius: 10px; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .55), 0 10px 24px rgba(0, 0, 0, .3); }
.band-detail h1 .plate-none { color: var(--gold); }
.band-detail .band-in { margin-top: 10px; }
.band .progress { margin: 26px 0 0; }
.band .progress li { color: #aebbdb; } .band .progress li.now { color: #fff; }
.band .progress li::before { background: rgba(255, 255, 255, .14); color: #fff; border: 1px solid rgba(255, 255, 255, .2); }
.band .progress li::after { background: rgba(255, 255, 255, .18); }
.band .progress li.done::before { background: var(--ok); border-color: var(--ok); } .band .progress li.done::after, .band .progress li.now::after { background: var(--gold); }
.band .progress li.now::before { box-shadow: 0 0 0 5px rgba(240, 184, 28, .25); }
.stepper { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 20px 0 0; }
.stepper a { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); color: #e3e9f7; text-decoration: none; font-weight: 700; font-size: .86rem; transition: background .15s; }
.stepper a:hover { background: rgba(255, 255, 255, .16); }
.stepper i { font-style: normal; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--gold); color: #1a1302; font-size: .78rem; }
.stepper li.skip { opacity: .4; }

/* panel & kad (klien) */
.acc-grid { display: grid; gap: 18px; align-items: start; } @media (min-width: 980px) { .acc-grid { grid-template-columns: minmax(0, 1fr) 340px; } }
.acc-side { display: grid; gap: 16px; } .acc-side > .card { margin: 0; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 22px; box-shadow: var(--shadow-md); }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.panel-head h2 { margin: 0 0 2px; font-size: 1.2rem; color: var(--brand-d); } .panel-head p { margin: 0; }
.card { border-radius: 20px; border-color: #e6eaf2; box-shadow: var(--shadow-md); }
.card h2 { color: var(--brand-d); }
.card-title { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.card-title h2, .card-title h1 { margin: 0; font-size: 1.1rem; }
.ct-ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; flex: none; }
.card-head { align-items: center; margin-bottom: 4px; } .card-head .card-title { margin-bottom: 10px; }
.callout-pay { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 14px 16px; margin-bottom: 16px; border-radius: 18px; text-decoration: none; color: #6b4300; background: linear-gradient(90deg, #fff4d6, #fffaf0); border: 1px solid #f6dc8b; transition: box-shadow .15s; }
.callout-pay:hover { box-shadow: 0 10px 24px rgba(240, 184, 28, .25); }
.callout-pay > span:nth-child(2) { flex: 1; min-width: 200px; } .callout-pay b { display: block; color: #5a3a00; } .callout-pay small { color: #8a5a00; }
.cp-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--gold); color: #1a1302; flex: none; }
.cp-go { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; color: #5a3a00; }
.app-items { display: grid; gap: 12px; }
.app-item { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 18px; border: 1px solid var(--line); background: #fff; color: inherit; text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s; }
.app-item:hover { border-color: #b9c6e3; box-shadow: 0 12px 28px rgba(10, 20, 45, .08); transform: translateY(-1px); }
.app-item.is-off { opacity: .6; }
.app-ic { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 15px; flex: none; }
.app-main { flex: 1; min-width: 0; display: grid; gap: 7px; }
.app-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; } .app-top .ref { font-size: .8rem; }
.mini-steps { display: flex; gap: 4px; max-width: 220px; } .mini-steps i { flex: 1; height: 5px; border-radius: 9px; background: #e3e8f2; }
.mini-steps i.done { background: linear-gradient(90deg, var(--brand), #2a64d6); } .mini-steps i.now { background: var(--gold); }
.app-end { display: grid; justify-items: end; gap: 5px; text-align: right; flex: none; }
.app-amt { font-weight: 800; color: var(--brand-d); } .pay-now { font-size: .9rem; }
@media (max-width: 560px) { .app-item { flex-wrap: wrap; } .app-end { justify-items: start; text-align: left; width: 100%; grid-auto-flow: column; justify-content: space-between; align-items: center; } .app-ic { width: 42px; height: 42px; } }
.empty-hero { display: grid; justify-items: center; text-align: center; gap: 8px; padding: 26px 8px 10px; }
.empty-hero h3 { margin: 6px 0 0; font-size: 1.25rem; color: var(--brand-d); } .empty-hero p { max-width: 32em; margin: 0 0 8px; }
.eh-ic { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 26px; background: linear-gradient(135deg, var(--brand-soft), #fff); color: var(--brand); border: 1px solid var(--line); box-shadow: 0 14px 30px rgba(13, 59, 143, .12); }
.eh-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; width: 100%; max-width: 520px; margin: 6px 0 14px; }
.eh-tiles a { display: grid; justify-items: center; gap: 8px; padding: 14px 8px; border-radius: 16px; border: 1px solid var(--line); background: var(--bg); text-decoration: none; color: var(--brand-d); font-size: .85rem; transition: border-color .15s, transform .15s; }
.eh-tiles a:hover { border-color: var(--brand); transform: translateY(-2px); }
.eh-tiles .tile-ic { width: 44px; height: 44px; }
.profile-card .pc-top { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; } .pc-top b { display: block; color: var(--brand-d); } .pc-top small { display: block; overflow-wrap: anywhere; }
.kv-ic dt { display: inline-flex; align-items: center; gap: 6px; }
.sum-help { display: flex; align-items: center; gap: 12px; padding: 14px 16px; margin-top: 14px; border-radius: 18px; text-decoration: none; color: var(--ink); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-md); transition: border-color .15s; }
.sum-help:hover { border-color: #1fa855; } .sum-help b { display: block; } .sum-help small { color: var(--muted); }
.sum-help.light { margin-top: 0; }
.sum-help-ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: #e3f6ea; color: #178a45; flex: none; }

/* borang permohonan */
.form-grid { display: grid; gap: 18px; align-items: start; } @media (min-width: 980px) { .form-grid { grid-template-columns: minmax(0, 1fr) 340px; } }
.fcard { background: #fff; border: 1px solid #e6eaf2; border-radius: 24px; padding: 24px; box-shadow: var(--shadow-md); margin-bottom: 18px; scroll-margin-top: 84px; }
.fcard-head { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.fcard-head h2 { margin: 0; font-size: 1.2rem; color: var(--brand-d); } .fcard-head p { margin: 2px 0 0; color: var(--muted); font-size: .9rem; }
.num { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: linear-gradient(135deg, var(--gold), #f7cf5a); color: #1a1302; font-weight: 800; font-size: 1.1rem; box-shadow: 0 8px 18px rgba(240, 184, 28, .35); }
.tiles { display: grid; gap: 12px; } @media (min-width: 560px) { .tiles { grid-template-columns: 1fr 1fr; } }
.tile { position: relative; display: block; cursor: pointer; font-weight: 400 !important; }
.tile > input { position: absolute; top: 14px; left: 14px; width: 1px; height: 1px; opacity: 0; margin: 0; }
.tile-box { display: flex; gap: 14px; align-items: center; height: 100%; padding: 16px; border: 2px solid var(--line); border-radius: 18px; background: #fff; transition: border-color .15s, box-shadow .15s, background .15s; }
.tile:hover .tile-box { border-color: #b9c6e3; }
.tile > input:checked + .tile-box { border-color: var(--brand); background: linear-gradient(180deg, #f3f7ff, #fff); box-shadow: 0 12px 26px rgba(13, 59, 143, .13); }
.tile > input:focus-visible + .tile-box { box-shadow: var(--ring); }
.tile-ic { flex: none; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 15px; }
.tile-txt { flex: 1; min-width: 0; } .tile-txt b { display: block; color: var(--brand-d); font-size: 1rem; } .tile-txt small { display: block; color: var(--muted); font-size: .84rem; line-height: 1.4; }
.tile-check { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 2px solid #cfd6e4; color: transparent; transition: background .15s, border-color .15s; }
.tile > input:checked + .tile-box .tile-check { background: var(--brand); border-color: var(--brand); color: #fff; }
.tile-wide { margin-top: 14px; }
.tile-gold .tile-box { border-style: dashed; border-color: #ead9a6; background: linear-gradient(180deg, #fffdf6, #fff); }
.tile-gold > input:checked + .tile-box { border-style: solid; border-color: var(--gold); background: linear-gradient(180deg, #fff8e3, #fff); box-shadow: 0 12px 26px rgba(240, 184, 28, .2); }
.tile-gold > input:checked + .tile-box .tile-check { background: var(--gold); border-color: var(--gold); color: #1a1302; }
.tile-ribbon { position: absolute; top: -10px; right: 18px; background: var(--gold); color: #1a1302; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 3px 11px; border-radius: 999px; box-shadow: 0 6px 14px rgba(240, 184, 28, .4); }
.tiles-sm .tile-box { padding: 12px; gap: 12px; } .tiles-sm .tile-ic { width: 40px; height: 40px; border-radius: 12px; }
.tt-fields { margin-top: 14px; padding: 16px; border-radius: 18px; background: #f8faff; border: 1px dashed #d5dcea; }
.tt-note { display: flex; align-items: center; gap: 8px; border-radius: 14px; padding: 12px 14px; }
.plate-in { background: #0b0d12 !important; color: #fff; font-weight: 800; letter-spacing: .16em; text-align: center; font-size: 1.15rem; border-color: #0b0d12; }
.plate-in::placeholder { color: #6f7480; letter-spacing: .12em; }
.plate-in:hover { border-color: #0b0d12; } .plate-in:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(240, 184, 28, .35); }
.drop { position: relative; display: grid; justify-items: center; align-content: center; text-align: center; gap: 3px; min-height: 150px; padding: 20px 14px; border: 2px dashed #c9d3e8; border-radius: 18px; background: #f8faff; cursor: pointer; transition: border-color .15s, background .15s; font-weight: 400 !important; }
.drop:hover, .drop.is-over { border-color: var(--brand); background: #f0f5ff; } .drop:focus-within { box-shadow: var(--ring); }
.drop > input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; min-height: 0; padding: 0; }
.drop-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; background: #fff; color: var(--brand); border: 1px solid var(--line); margin-bottom: 6px; box-shadow: 0 6px 14px rgba(13, 59, 143, .08); }
.drop b { color: var(--brand-d); font-size: .95rem; } .drop small { color: var(--muted); font-size: .8rem; }
.drop-files { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 6px; } .drop-files:empty { display: none; }
.drop-files span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; background: #fff; border: 1px solid #bfe3cc; border-radius: 999px; padding: 3px 10px; font-size: .76rem; font-weight: 700; color: var(--ok); }
.drop.has-files { border-style: solid; border-color: #8fd0a8; background: #f3fbf6; } .drop.has-files .drop-ic { color: var(--ok); }
.drop-sm { min-height: 110px; }
.sum { display: grid; gap: 14px; scroll-margin-top: 84px; } @media (min-width: 980px) { .sum { position: sticky; top: 84px; } }
.sum-card { position: relative; overflow: hidden; color: #fff; border-radius: 24px; padding: 22px; isolation: isolate; box-shadow: var(--shadow-lg);
  background: radial-gradient(380px 240px at 110% -10%, rgba(240, 184, 28, .3), transparent 60%), linear-gradient(160deg, #050b1a, #0a2a6b 75%, #0d3b8f); }
.sum-card h2 { color: #fff; margin: 4px 0 14px; font-size: 1.2rem; }
.sum-list { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 8px; }
.sum-list li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); color: #8e9bbd; font-weight: 600; font-size: .93rem; transition: background .15s, color .15s; }
.sum-list li > span:nth-child(2) { flex: 1; }
.sum-ic { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: rgba(255, 255, 255, .06); }
.sum-list li.on { color: #fff; background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .16); } .sum-list li.on .sum-ic { background: rgba(240, 184, 28, .2); color: var(--gold); }
.sum-st { font-size: .74rem; font-weight: 800; padding: 3px 9px; border-radius: 999px; background: rgba(255, 255, 255, .08); color: #aebbdb; white-space: nowrap; }
.sum-list li.on .sum-st { background: rgba(31, 168, 85, .2); color: #7ee0a5; }
.sum-st.free { background: var(--gold) !important; color: #1a1302 !important; } .sum-st.paid { background: rgba(255, 255, 255, .14) !important; color: #fff !important; }
.sum-next { padding: 14px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); margin-bottom: 16px; }
.sum-next b { display: block; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gold); margin-bottom: 8px; }
.sum-next ol { margin: 0; padding-left: 18px; display: grid; gap: 5px; color: #d5ddf0; font-size: .88rem; }
.sum-fine { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 10px 0 0; font-size: .8rem; color: #aebbdb; text-align: center; }
.sum-mini .sum-kv { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; margin: 12px 0 16px; }
.sum-mini dt { color: #aebbdb; font-size: .86rem; } .sum-mini dd { margin: 0; text-align: right; font-weight: 800; color: #fff; }

/* butiran permohonan (klien) */
.next-card, .msg-card { display: flex; gap: 14px; align-items: center; padding: 18px; border-radius: 20px; background: #fff; border: 1px solid #e6eaf2; box-shadow: var(--shadow-md); margin-bottom: 16px; }
.nc-ic { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 16px; flex: none; background: var(--info-soft); color: var(--info); }
.nc-label { display: block; font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.next-card b { font-size: 1.05rem; color: var(--brand-d); }
.next-card.st-warn { background: linear-gradient(90deg, #fff6dc, #fff); border-color: #f6dc8b; } .next-card.st-warn .nc-ic { background: var(--gold); color: #1a1302; }
.next-card.st-ok { background: linear-gradient(90deg, var(--ok-soft), #fff); border-color: #bfe3cc; } .next-card.st-ok .nc-ic { background: var(--ok); color: #fff; }
.next-card.st-brand .nc-ic { background: var(--brand); color: #fff; } .next-card.st-muted .nc-ic { background: #eef1f6; color: var(--muted); }
.msg-card { align-items: flex-start; background: linear-gradient(90deg, var(--info-soft), #fff); border-color: #cfe0f5; } .msg-card p { margin: 2px 0 0; font-weight: 600; color: var(--ink); }
.quote-card .tbl.quote td { padding: 12px 4px; border-bottom: 1px dashed #dfe5ef; }
.tbl tr.total td { background: var(--gold-soft); color: #5a3a00; font-size: 1.12rem; padding: 14px 12px !important; border-bottom: 0; }
.tbl tr.total td:first-child { border-radius: 12px 0 0 12px; } .tbl tr.total td:last-child { border-radius: 0 12px 12px 0; }
.pay-amount { display: grid; gap: 2px; padding: 16px 18px; border-radius: 18px; margin-bottom: 16px; color: #fff; background: radial-gradient(300px 160px at 100% 0%, rgba(240, 184, 28, .3), transparent 60%), linear-gradient(135deg, #050b1a, #0d3b8f); }
.pay-amount span { font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #aebbdb; } .pay-amount > b { font-size: 2rem; color: var(--gold); line-height: 1.15; } .pay-amount small { color: #c9d4ee; } .pay-amount small b { color: #fff; }
.bank { border: 1px solid var(--line); border-radius: 16px; }
.file-list li { border: 1px solid #e9edf5; border-radius: 14px; }
.fl-ic { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); flex: none; } .fl-ic.ok { background: var(--ok-soft); color: var(--ok); }
.timeline { gap: 0; } .timeline li { position: relative; padding: 0 0 14px 22px; border-left: 2px solid #e3e8f2; margin-left: 6px; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 3px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 3px solid var(--brand); }
.timeline li:first-child::before { border-color: var(--gold); } .timeline li:last-child { padding-bottom: 0; border-left-color: transparent; }
.timeline .t-what { display: block; font-weight: 600; font-size: .92rem; }

/* ===== Panel admin bersisi ===== */
.adm-body { background: #f3f5fa; }
.adm-side { position: fixed; top: 0; bottom: 0; left: 0; width: 264px; z-index: 50; display: flex; flex-direction: column; overflow-y: auto; color: #cdd6ea; transform: translateX(-100%); transition: transform .22s ease, box-shadow .22s;
  background: radial-gradient(420px 300px at 0% 0%, rgba(240, 184, 28, .14), transparent 60%), linear-gradient(180deg, #050b1a, #081a40 70%, #0a2a6b); border-right: 1px solid rgba(240, 184, 28, .14); }
.adm-brand { display: flex; align-items: center; gap: 11px; padding: 20px 18px 18px; color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.adm-brand .brand-mark { height: 42px; } .adm-brand > span { min-width: 0; } .adm-brand b { display: block; font-size: 1rem; } .adm-brand small { display: block; font-size: .72rem; color: #9fb0d6; line-height: 1.3; }
.adm-nav { display: grid; gap: 3px; padding: 10px 12px 14px; flex: 1; align-content: start; }
.adm-label { padding: 14px 10px 6px; font-size: .66rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #6f80a8; }
.adm-nav a { position: relative; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; color: #cdd6ea; text-decoration: none; font-weight: 600; font-size: .93rem; transition: background .15s, color .15s; }
.adm-nav a > span:first-of-type { flex: 1; }
.adm-nav a .ic { color: #8ea0c9; transition: color .15s; }
.adm-nav a:hover { background: rgba(255, 255, 255, .06); color: #fff; } .adm-nav a:hover .ic { color: #fff; }
.adm-nav a.on { background: linear-gradient(90deg, rgba(240, 184, 28, .2), rgba(240, 184, 28, .04)); color: #fff; } .adm-nav a.on .ic { color: var(--gold); }
.adm-nav a.on::before { content: ""; position: absolute; left: -12px; top: 9px; bottom: 9px; width: 4px; border-radius: 0 4px 4px 0; background: var(--gold); }
.adm-foot { padding: 14px; border-top: 1px solid rgba(255, 255, 255, .07); display: grid; gap: 10px; }
.adm-user { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 14px; background: rgba(255, 255, 255, .05); } .adm-user > span:last-child { min-width: 0; }
.adm-user b { display: block; color: #fff; font-size: .88rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .adm-user small { color: #9fb0d6; font-size: .74rem; }
.adm-logout { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 40px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .14); background: transparent; color: #e3e9f7; font: inherit; font-weight: 700; font-size: .88rem; cursor: pointer; }
.adm-logout:hover { background: rgba(255, 255, 255, .08); }
.adm-foot form { margin: 0; }
.adm-credit { text-align: center; font-size: .72rem; color: #6f80a8; text-decoration: none; } .adm-credit:hover { color: var(--gold); }
.adm-backdrop { display: none; }
body.nav-open .adm-side { transform: none; box-shadow: 24px 0 60px rgba(0, 0, 0, .35); }
body.nav-open .adm-backdrop { display: block; position: fixed; inset: 0; z-index: 45; background: rgba(5, 11, 26, .55); }
.adm-top { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 12px; min-height: 68px; padding: 10px 16px; background: rgba(243, 245, 250, .88); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid #e3e8f1; }
.adm-burger { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; border: 1px solid var(--line); background: #fff; color: var(--brand-d); cursor: pointer; flex: none; }
.adm-title { min-width: 0; flex: 1; } .adm-title small { display: block; color: var(--muted); font-size: .76rem; } .adm-title b { display: block; font-size: 1.08rem; color: var(--brand-d); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.adm-search { position: relative; width: 100%; max-width: 360px; margin: 0; display: none; }
.adm-search .ic { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #8a94ab; pointer-events: none; }
.adm-search input { min-height: 44px; padding-left: 42px; border-radius: 999px; background: #fff; }
.adm-me .av { width: 42px; height: 42px; border-radius: 13px; }
.adm-main { max-width: 1320px; margin: 0 auto; padding: 22px 16px 56px; }
@media (min-width: 760px) { .adm-search { display: block; } .adm-main { padding: 26px 28px 60px; } .adm-top { padding: 10px 28px; } }
@media (min-width: 1100px) { .adm-side { transform: none; } .adm-shell { margin-left: 264px; } .adm-burger { display: none; } body.nav-open .adm-backdrop { display: none; } .adm-me { display: none; } }
.adm-main > .back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 12px; }

/* kandungan admin */
.is-admin .page-head { align-items: flex-end; margin: 4px 0 18px; }
.is-admin .page-head h1 { color: var(--brand-d); font-size: clamp(1.4rem, 2.6vw, 1.8rem); }
.is-admin .card { padding: 22px; }
.search { max-width: 520px; align-items: center; } .search .inp { flex: 1; } .search input { min-height: 44px; border-radius: 999px; background: #fff; }
.tabs { gap: 6px; padding: 5px; background: #fff; border: 1px solid var(--line); border-radius: 16px; margin-bottom: 16px; box-shadow: 0 1px 2px rgba(10, 20, 45, .04); }
.tabs a { border: 0; background: transparent; border-radius: 11px; padding: 8px 14px; }
.tabs a:hover { background: var(--bg); } .tabs a.on { background: linear-gradient(135deg, var(--brand), #1f57c6); box-shadow: 0 6px 14px rgba(13, 59, 143, .25); }
.count-sm { display: inline-grid; place-items: center; min-width: 22px; height: 20px; padding: 0 6px; border-radius: 999px; background: #eef1f6; font-size: .74rem; margin-left: 4px; }
.tabs a.on .count-sm { background: rgba(255, 255, 255, .2); color: #fff; }
.card-flush { padding: 8px 8px 4px !important; }
.tbl-pro th { background: #f7f9fd; border-bottom: 0; padding: 11px 12px; }
.tbl-pro th:first-child { border-radius: 12px 0 0 12px; } .tbl-pro th:last-child { border-radius: 0 12px 12px 0; }
.tbl-pro td { padding: 14px 12px; vertical-align: middle; border-bottom: 1px solid #eef1f6; }
.tbl-pro tbody tr:last-child td { border-bottom: 0; }
.tbl-pro tr.row-link:hover td { background: #f7f9ff; }
.tbl-pro .plate-chip { font-size: .78rem; margin-top: 4px; }
.tbl-note { padding: 0 12px 10px; }
.es-ic.es-blue { background: var(--brand-soft); color: var(--brand); }
.count-dark { background: #1a1302; color: var(--gold); }
.detail-head { display: grid; gap: 16px; padding: 22px; margin-bottom: 18px; border-radius: 22px; background: #fff; border: 1px solid #e6eaf2; box-shadow: var(--shadow-md); }
@media (min-width: 760px) { .detail-head { grid-template-columns: 1fr auto; align-items: start; } .detail-head .progress { grid-column: 1 / -1; } }
.dt-main { display: flex; gap: 16px; align-items: flex-start; min-width: 0; } .dt-main > div { min-width: 0; }
.detail-head h1 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 4px 0 6px; font-size: 1.45rem; }
.detail-head p { margin: 0 0 8px; }
.detail-head .progress { margin: 6px 0 0; padding-top: 16px; border-top: 1px solid #eef1f6; }

/* dashboard */
.dash-hero { position: relative; overflow: hidden; display: grid; gap: 22px; padding: 26px; margin-bottom: 18px; border-radius: 26px; color: #fff; isolation: isolate;
  background: radial-gradient(560px 320px at 100% -20%, rgba(240, 184, 28, .32), transparent 60%), radial-gradient(520px 340px at -10% 130%, rgba(42, 100, 214, .45), transparent 60%), linear-gradient(135deg, #050b1a, #0a2a6b 62%, #0d3b8f); box-shadow: var(--shadow-lg); }
.dash-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px); background-size: 18px 18px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 70%); mask-image: linear-gradient(90deg, transparent, #000 70%); }
@media (min-width: 1000px) { .dash-hero { grid-template-columns: 1.2fr 1fr; align-items: center; padding: 30px 32px; } }
.dash-hero h1 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 6px 0 6px; } .dash-hero p { color: #c9d4ee; margin: 0; }
.dh-btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; } .dh-btns .btn { min-height: 42px; }
.dh-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.dh-stat { padding: 14px; border-radius: 18px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .13); min-width: 0; }
.dh-stat span { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #aebbdb; }
.dh-stat b { display: block; font-size: 1.45rem; color: #fff; line-height: 1.2; margin: 4px 0 2px; overflow-wrap: anywhere; } .dh-stat small { color: #9fb0d6; font-size: .76rem; }
.dh-stat:first-child { background: rgba(240, 184, 28, .14); border-color: rgba(240, 184, 28, .4); } .dh-stat:first-child b { color: var(--gold); }
@media (max-width: 560px) { .dh-stats { grid-template-columns: 1fr 1fr; } .dh-stat:last-child { grid-column: 1 / -1; } }
.kpi { position: relative; overflow: hidden; border-radius: 20px; padding: 18px; border-color: #e6eaf2; box-shadow: var(--shadow-md); }
.kpi::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--brand); opacity: .85; }
.k-gold::after { background: var(--gold); } .k-amber::after { background: #f59e0b; } .k-green::after { background: var(--ok); } .k-blue::after { background: #2a64d6; } .k-navy::after { background: var(--brand-d); }
.kpi-ic { width: 50px; height: 50px; border-radius: 15px; }
.kpi b { font-size: 1.6rem; }
.dash-row { display: grid; gap: 16px; margin-bottom: 16px; } @media (min-width: 1000px) { .dash-row { grid-template-columns: 1.7fr 1fr; } } .dash-row > .card { margin: 0; }
.dash-grid { margin-bottom: 0; } @media (min-width: 1000px) { .dash-grid { grid-template-columns: minmax(0, 1fr) 360px; } }
.dash-col { display: grid; gap: 16px; align-content: start; min-width: 0; } .dash-col > .card { margin: 0; }
.chart-total { color: var(--muted); font-size: .88rem; } .chart-total b { color: var(--brand-d); font-size: 1.15rem; }
.chart { display: block; width: 100%; height: auto; margin-top: 4px; }
.mix { list-style: none; padding: 0; margin: 4px 0 14px; display: grid; gap: 10px; }
.mix li { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 10px; }
.mix-l { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink-2); } .mix b { color: var(--brand-d); }
.mix progress.bar { grid-column: 1 / -1; margin: 0; height: 8px; }
progress.bar-blue::-webkit-progress-value { background: linear-gradient(90deg, var(--brand), #2a64d6); } progress.bar-blue::-moz-progress-bar { background: linear-gradient(90deg, var(--brand), #2a64d6); }
progress.bar-green::-webkit-progress-value { background: linear-gradient(90deg, #16794a, #34b26f); } progress.bar-green::-moz-progress-bar { background: linear-gradient(90deg, #16794a, #34b26f); }
.mix-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mix-foot > div { padding: 12px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); }
.mix-foot span { display: block; font-size: .74rem; font-weight: 700; color: var(--muted); } .mix-foot b { font-size: 1.15rem; color: var(--brand-d); }
.feed { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.feed li { display: flex; gap: 12px; align-items: flex-start; padding: 10px; border-radius: 12px; } .feed li:hover { background: var(--bg); }
.feed b { display: block; font-weight: 600; font-size: .92rem; } .feed small { color: var(--muted); font-size: .78rem; } .feed small a { font-weight: 700; text-decoration: none; }
.f-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; margin-top: 6px; background: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.f-klien .f-dot { background: var(--gold); box-shadow: 0 0 0 4px #fff4d6; } .f-sistem .f-dot { background: var(--muted); box-shadow: 0 0 0 4px #eef1f6; }
.alert-warn-strong { border-radius: 18px; padding: 14px 18px; }
.narrow-sm { max-width: 560px; margin: 10px auto; }
.settings > .card { margin: 0; }
.dash-col > *, .dash-grid > *, .dash-row > *, .acc-grid > *, .form-grid > *, .acc-side > * { min-width: 0; }
.app-cell { display: grid; gap: 6px; justify-items: start; } .app-cell > span:first-child { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.app-cell .plate-chip { margin-top: 0; }
.d-block { display: block; margin-top: 4px; white-space: nowrap; }
.band .progress li.now::before { background: var(--gold); color: #1a1302; border-color: var(--gold); }
.sum-mini .sum-kv { margin-bottom: 4px; } .sum-mini .btn { margin-top: 12px; }
.inp-plain > input { padding-left: 12px; }
.sub { display: block; margin-top: 3px; }
input[type=file] { padding: 7px; border-radius: 12px; }
input[type=file]::file-selector-button { margin-right: 12px; border: 0; border-radius: 999px; padding: 8px 16px; background: var(--brand-soft); color: var(--brand); font: inherit; font-weight: 700; cursor: pointer; }
input[type=file]::file-selector-button:hover { background: #d9e4fa; }

/* ===================== Tambahan khas eNiaga ===================== */
.brand-img { display: block; height: 44px; width: auto; }
.adm-brand .brand-img { height: 38px; }
@media (max-width: 560px) { .brand-img { height: 36px; } }
.site-head .nav-link.on { background: rgba(255, 255, 255, .1); color: #fff; }
.site-foot .brand-img { height: 50px; }
.gold { color: var(--gold); }
.link { color: var(--brand); text-decoration: underline; font-weight: 600; margin-top: 12px; }
.badge-danger { background: var(--danger-soft); color: var(--danger); }
.center-form { text-align: center; margin: 0; }

/* hero: poster keluarga eNiaga */
.hero-photo { position: relative; max-width: 470px; margin: 0 auto; }
.hero-photo > img { display: block; width: 100%; height: auto; border-radius: 28px; border: 6px solid #fff; box-shadow: 0 30px 70px rgba(10, 20, 45, .22); }
.hero-photo .float-card { left: -40px; bottom: 34px; width: 280px; }
@media (max-width: 899px) { .hero-photo .float-card { position: relative; left: auto; bottom: auto; margin: -40px auto 0; } }
.fc-price { font-weight: 800; color: var(--brand-d); }
.fc-wa { display: flex; align-items: center; gap: 6px; font-size: .85rem; color: #178a45; font-weight: 700; margin-top: 10px; }

/* kategori */
.cat-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .cat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.cat { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--brand-d); font-weight: 700; min-width: 0; transition: transform .15s, box-shadow .15s, border-color .15s; }
.cat:hover { transform: translateY(-2px); border-color: #b9c6e3; box-shadow: 0 14px 30px rgba(10, 20, 45, .1); }
.cat small { display: block; color: var(--muted); font-weight: 500; font-size: .8rem; }
.cat > span:last-child { min-width: 0; }
.cat-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; flex: none; }
.sec-note { text-align: center; margin: 18px 0 0; }

/* harga langganan */
.price-card { display: grid; gap: 6px; justify-items: start; }
.price-big { font-size: 2.2rem; font-weight: 800; color: var(--gold); line-height: 1.1; }
.price-big small { font-size: .95rem; color: #c9d4ee; font-weight: 600; }

/* kaki laman: kad Bonda Digital */
.foot-bd { display: flex; gap: 12px; align-items: center; padding: 12px 14px; margin-top: 6px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .04); text-decoration: none; transition: border-color .15s; }
.foot-grid > div > a.foot-bd { display: flex; margin-bottom: 0; }
.foot-bd:hover { border-color: var(--gold); }
.foot-bd img { width: 40px; height: 40px; border-radius: 50%; flex: none; }
.foot-bd small { display: block; color: #8f9bb8; font-size: .74rem; } .foot-bd b { display: block; color: #fff; }

/* akaun: status */
.status-card { border-left: 5px solid var(--brand); }
.status-card.st-warn { border-left-color: var(--gold); } .status-card.st-ok { border-left-color: var(--ok); } .status-card.st-danger { border-left-color: var(--danger); }
.status-card h2 { margin-bottom: 6px; }
.status-card .progress { margin: 18px 0 14px; }
.note-box b { display: block; margin-bottom: 4px; }

/* admin: 2FA & kata laluan */
.adm-narrow { max-width: 560px; margin: 0 auto; }
.adm-narrow .card { padding: 26px; }
.adm-narrow h1 { color: var(--brand-d); font-size: 1.45rem; margin: 6px 0 8px; }
canvas.qr { display: block; margin: 8px auto 10px; border: 1px solid var(--line); border-radius: 14px; padding: 8px; background: #fff; max-width: 100%; height: auto; }
.secret { display: inline-block; margin-top: 4px; padding: 4px 10px; border-radius: 8px; background: var(--bg); border: 1px solid var(--line); font-family: ui-monospace, Consolas, monospace; font-size: .95rem; letter-spacing: .06em; color: var(--brand-d); overflow-wrap: anywhere; }
.backup-codes { list-style: none; padding: 0; margin: 16px 0 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.backup-codes li { text-align: center; padding: 10px; border-radius: 12px; background: var(--gold-soft); border: 1px dashed #ead9a6; font-family: ui-monospace, Consolas, monospace; font-weight: 700; letter-spacing: .08em; color: #5a3a00; }
.adm-locked { padding: 14px 12px; font-size: .84rem; color: #9fb0d6; }
.tbl-pro .who small { white-space: nowrap; }

/* jalur "1 bulan PERCUMA": ikon | teks | butang sebaris (pembetulan susun atur) */
.band-tt .band-in { display: grid; align-items: center; justify-content: stretch; } @media (min-width: 860px) { .band-tt .band-in { grid-template-columns: auto 1fr auto; } }

/* ===================== Modul Pasaran (gaya Mudah) ===================== */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
a.cat { text-decoration: none; }
.mk-head { position: relative; color: #fff; padding: 18px 0 20px; background: radial-gradient(600px 300px at 95% -40%, rgba(240, 184, 28, .3), transparent 60%), linear-gradient(135deg, #050b1a, #0a2a6b 62%, #0d3b8f); }
.mk-head-sm { padding: 14px 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: .86rem; color: #aebbdb; margin-bottom: 12px; }
.mk-head-sm .crumbs { margin: 0; }
.crumbs a { color: #e3e9f7; text-decoration: none; } .crumbs a:hover { color: var(--gold); }
.mk-search { display: flex; gap: 8px; max-width: 760px; }
.mk-search .inp { flex: 1; } .mk-search input { min-height: 52px; border-radius: 999px; border: 0; background: #fff; font-size: 1rem; }
.mk-search .btn { min-height: 52px; padding: 0 26px; }
.mk-cats { display: flex; gap: 8px; overflow-x: auto; margin-top: 14px; padding-bottom: 4px; scrollbar-width: thin; }
.mk-cats a { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); color: #e3e9f7; text-decoration: none; font-weight: 600; font-size: .88rem; }
.mk-cats a:hover { background: rgba(255, 255, 255, .16); } .mk-cats a.on { background: var(--gold); border-color: var(--gold); color: #1a1302; }
.mk-wrap { padding-top: 20px; padding-bottom: 36px; }
.mk-grid { display: grid; gap: 20px; align-items: start; } @media (min-width: 980px) { .mk-grid { grid-template-columns: 270px minmax(0, 1fr); } }
.mk-side { scroll-margin-top: 80px; } @media (min-width: 980px) { .mk-side { position: sticky; top: 84px; } }
.mk-filter { display: grid; gap: 12px; }
.mk-box { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; box-shadow: var(--shadow); }
.mk-box h3 { margin: 0 0 10px; font-size: .95rem; color: var(--brand-d); }
.mk-box .field { margin-bottom: 8px; } .mk-box .field:last-child { margin-bottom: 0; } .mk-box label { font-size: .84rem; }
.mk-subs { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 2px; }
.mk-subs a { display: block; padding: 6px 10px; border-radius: 10px; text-decoration: none; color: var(--ink-2); font-size: .9rem; }
.mk-subs a:hover { background: var(--bg); } .mk-subs a.on { background: var(--brand-soft); color: var(--brand); font-weight: 700; }
.mk-range { display: flex; align-items: center; gap: 8px; } .mk-range input { min-width: 0; }
.mk-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pill { cursor: pointer; position: relative; } .pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pill span { display: inline-block; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: .86rem; font-weight: 600; color: var(--ink-2); background: #fff; }
.pill input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; } .pill input:focus-visible + span { box-shadow: var(--ring); }
.mk-bar { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.mk-bar h1 { margin: 0; font-size: clamp(1.3rem, 2.6vw, 1.7rem); color: var(--brand-d); } .mk-bar p { margin: 2px 0 0; }
.mk-sort { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.mk-sort .sort { padding: 6px 12px; border-radius: 999px; text-decoration: none; font-size: .86rem; font-weight: 600; color: var(--ink-2); background: #fff; border: 1px solid var(--line); }
.mk-sort .sort.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.mk-filter-btn { display: none; } @media (max-width: 979px) { .mk-filter-btn { display: inline-flex; } .mk-side { order: 2; } }
.ad-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 700px) { .ad-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .ad-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ad-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; color: inherit; text-decoration: none; box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s, border-color .15s; min-width: 0; }
.ad-card:hover { transform: translateY(-3px); border-color: #b9c6e3; box-shadow: 0 16px 34px rgba(10, 20, 45, .12); }
.ad-media { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--bg); overflow: hidden; }
.ad-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ad-ph { display: grid; place-items: center; }
.ad-ph.ic-amber { background: linear-gradient(135deg, #fff1e0, #ffe2bd); } .ad-ph.ic-blue { background: linear-gradient(135deg, #e7efff, #cfdcff); }
.ad-ph.ic-green { background: linear-gradient(135deg, #e3f4ea, #c6ead4); } .ad-ph.ic-navy { background: linear-gradient(135deg, #e6ebf7, #cdd7ee); } .ad-ph.ic-gold { background: linear-gradient(135deg, #fff4d6, #ffe7a3); }
.ad-ph .ic { opacity: .75; }
.ad-sample { position: absolute; top: 10px; left: 10px; background: rgba(5, 11, 26, .78); color: var(--gold); font-size: .68rem; font-weight: 800; letter-spacing: .1em; padding: 3px 9px; border-radius: 999px; }
.ad-body { display: grid; gap: 4px; padding: 12px 14px 14px; min-width: 0; flex: 1; align-content: start; }
.ad-cat { font-size: .74rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ad-title { font-size: .96rem; line-height: 1.35; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.price { font-weight: 800; color: #c2410c; font-size: 1.08rem; } .price small { font-size: .74rem; font-weight: 700; color: var(--muted); }
.price-q { color: var(--brand); font-size: .92rem; }
.ad-meta { display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: .82rem; min-width: 0; margin: 0; }
.ad-meta span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .ad-meta .ic { flex: none; }
.ad-time { font-size: .76rem; color: #8a94ab; }
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 22px 0 6px; }
.pager a { display: inline-flex; align-items: center; gap: 6px; min-width: 40px; justify-content: center; padding: 8px 12px; border-radius: 12px; background: #fff; border: 1px solid var(--line); text-decoration: none; font-weight: 700; color: var(--ink-2); }
.pager a.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.mk-sell { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 22px; padding: 16px 18px; border-radius: 18px; text-decoration: none; color: #6b4300; background: linear-gradient(90deg, #fff4d6, #fffaf0); border: 1px solid #f6dc8b; }
.mk-sell > span:nth-child(2) { flex: 1; min-width: 200px; } .mk-sell b { display: block; color: #5a3a00; } .mk-sell small { color: #8a5a00; }

/* butiran iklan */
.ad-detail { display: grid; gap: 18px; align-items: start; } @media (min-width: 980px) { .ad-detail { grid-template-columns: minmax(0, 1fr) 360px; } }
.ad-left, .ad-right { display: grid; gap: 16px; min-width: 0; } .ad-right > .card { margin: 0; }
@media (min-width: 980px) { .ad-right { position: sticky; top: 84px; } }
.gallery { position: relative; padding: 10px; overflow: hidden; }
.g-main { display: block; width: 100%; height: auto; max-height: 520px; object-fit: contain; border-radius: 16px; background: var(--bg); }
.g-ph { border-radius: 16px; aspect-ratio: 16 / 10; } .g-ph .ic { width: 96px; height: 96px; }
.gallery > .ad-sample { top: 20px; left: 20px; }
.g-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; } .g-thumbs img { width: 90px; height: 68px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
.panel h2 { color: var(--brand-d); font-size: 1.15rem; }
.ad-desc { color: var(--ink-2); line-height: 1.65; margin-bottom: 16px; overflow-wrap: anywhere; }
.ad-specs { display: grid; gap: 10px; margin: 0; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.ad-specs > div { padding: 10px 12px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); }
.ad-specs dt { font-size: .74rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; } .ad-specs dd { margin: 2px 0 0; font-weight: 600; color: var(--ink); }
.ad-buy h1 { font-size: 1.3rem; color: var(--brand-d); margin: 4px 0 8px; overflow-wrap: anywhere; }
.ad-price { margin-bottom: 10px; } .ad-price .price { font-size: 1.7rem; }
.ad-buy .ad-meta { margin-bottom: 6px; font-size: .88rem; }
.ad-buy .btn-wa { margin-top: 12px; }
.btn.is-off { opacity: .55; cursor: not-allowed; }
.safe-note { display: flex; gap: 8px; align-items: flex-start; margin: 14px 0 0; padding: 10px 12px; border-radius: 12px; background: var(--info-soft); color: #1d4f8a; font-size: .82rem; line-height: 1.45; } .safe-note .ic { flex: none; margin-top: 1px; }
.report summary { cursor: pointer; display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--muted); list-style: none; } .report summary::-webkit-details-marker { display: none; }
.report[open] summary { margin-bottom: 12px; color: var(--danger); }
.mk-similar { margin-top: 26px; } .mk-similar h2 { color: var(--brand-d); margin: 0; }

/* ===== Pasaran v2 (17/10/2026): grid kategori tanpa skrol + tiada kelip ===== */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .18s; }
html { background: var(--bg); }
.mk-cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; overflow: visible; margin-top: 16px; padding: 0; }
@media (min-width: 640px) { .mk-cats { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .mk-cats { grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 10px; } }
.mk-cats a { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 7px; min-width: 0; padding: 12px 6px 10px; border-radius: 16px; white-space: normal; text-align: center;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); color: #e3e9f7; font-size: .8rem; font-weight: 700; line-height: 1.25; transition: background .15s, border-color .15s, transform .15s; }
.mk-cats a:hover { background: rgba(255, 255, 255, .13); transform: translateY(-2px); }
.mk-cats .mc-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: rgba(255, 255, 255, .1); color: var(--gold); transition: background .15s, color .15s; }
.mk-cats .mc-t { display: block; max-width: 100%; overflow-wrap: anywhere; }
.mk-cats a.on { background: var(--gold); border-color: var(--gold); color: #1a1302; box-shadow: 0 10px 24px rgba(240, 184, 28, .3); }
.mk-cats a.on .mc-ic { background: rgba(26, 19, 2, .12); color: #1a1302; }
@media (max-width: 639px) { .mk-cats a { padding: 10px 4px 8px; font-size: .76rem; } .mk-cats .mc-ic { width: 38px; height: 38px; } }
/* kemas kini senarai tanpa muat semula halaman */
.mk-main, .mk-side { transition: opacity .15s; }
.mk.is-loading .mk-main, .mk.is-loading .mk-side { opacity: .55; pointer-events: none; }
.mk-bar { scroll-margin-top: 84px; }

/* ===== Butang Kembali (semua halaman dalaman) ===== */
.back-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 14px 0 10px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--brand-d); font-weight: 700; font-size: .9rem; text-decoration: none; box-shadow: 0 1px 2px rgba(10, 20, 45, .05); transition: background .15s, border-color .15s, transform .15s; }
.back-btn:hover { background: var(--brand-soft); border-color: var(--brand); transform: translateX(-2px); }
.back-btn.on-dark { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .22); color: #fff; box-shadow: none; }
.back-btn.on-dark:hover { background: rgba(255, 255, 255, .18); border-color: rgba(255, 255, 255, .4); }
.mk-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.mk-top .crumbs { margin: 0; }
.mk-head-sm .mk-top { margin: 0; }
.auth-back { max-width: 1080px; margin: 0 auto 14px; }
.band .back-btn { margin-bottom: 10px; }
.prose > .back-btn { margin: 8px 0 14px; }

/* ===================== Kedai makan berdekatan + review + tempahan (17/10/2026) ===================== */
.mk-all { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: #e3e9f7; text-decoration: none; font-weight: 700; font-size: .86rem; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); }
.mk-all:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.mk-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (min-width: 640px) { .mk-cats { grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 8px; } .mk-cats a { padding: 10px 4px 9px; font-size: .74rem; } .mk-cats .mc-ic { width: 38px; height: 38px; } }
@media (min-width: 1000px) { .mk-cats a { padding: 12px 6px 10px; font-size: .8rem; } .mk-cats .mc-ic { width: 44px; height: 44px; } }
/* bintang */
.stars { display: inline-flex; gap: 1px; vertical-align: -2px; }
.stars .st { fill: #e3e8f2; } .stars .st.on { fill: #f5a524; } .stars .st.half { fill: #f8cf7f; }
.rating { display: inline-flex; align-items: center; gap: 5px; font-size: .86rem; color: var(--ink-2); flex-wrap: wrap; }
.rating b { color: var(--ink); } .rating small { color: var(--muted); } .rating.none small { font-size: .78rem; }
.open-st { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700; }
.open-st::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.open-st.is-open { color: var(--ok); } .open-st.is-closed { color: var(--danger); }
.ad-body .open-st { margin: 2px 0; }
.dist { color: var(--brand); }
/* kotak berdekatan */
.near-box { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 14px 16px; margin-bottom: 14px; border-radius: 18px; background: linear-gradient(90deg, #fff4d6, #fffaf0); border: 1px solid #f6dc8b; }
.near-box.is-on { background: linear-gradient(90deg, #e7efff, #f5f8ff); border-color: #c9d8fb; }
.nb-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--gold); color: #1a1302; flex: none; }
.near-box.is-on .nb-ic { background: var(--brand); color: #fff; }
.nb-t { flex: 1; min-width: 200px; } .nb-t b { display: block; color: var(--brand-d); } .nb-t small { color: var(--muted); }
.nb-r { display: flex; gap: 6px; flex-wrap: wrap; }
.nb-r a { padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); text-decoration: none; font-weight: 700; font-size: .84rem; color: var(--ink-2); }
.nb-r a.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.nb-off { font-size: .84rem; font-weight: 700; color: var(--danger); text-decoration: none; }
.geo-msg { flex-basis: 100%; margin: 0; color: var(--danger); font-weight: 600; font-size: .88rem; }
.btn.is-wait { opacity: .7; cursor: progress; }
/* butiran kedai */
.ad-rating { margin-bottom: 8px; }
.ad-addr span { white-space: normal; }
.nav-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 12px 0 0; }
.btn-waze { background: #33ccff; border-color: #33ccff; color: #062a3a; } .btn-waze:hover { background: #1fb8ec; color: #062a3a; }
.btn-gmaps { background: #fff; border-color: var(--line); color: var(--brand-d); } .btn-gmaps:hover { background: var(--brand-soft); }
.hours { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.hours li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 12px; border-radius: 10px; font-size: .92rem; }
.hours li.today { background: var(--brand-soft); font-weight: 700; } .hours li span { color: var(--ink-2); }
/* review */
.rv-sum { display: grid; gap: 16px; align-items: center; padding: 14px; border-radius: 16px; background: var(--bg); margin-bottom: 16px; } @media (min-width: 600px) { .rv-sum { grid-template-columns: 160px 1fr; } }
.rv-big { display: grid; justify-items: center; gap: 4px; text-align: center; } .rv-big b { font-size: 2.6rem; line-height: 1; color: var(--brand-d); } .rv-big small { color: var(--muted); }
.rv-bars { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.rv-bars li { display: grid; grid-template-columns: 34px 1fr 28px; align-items: center; gap: 8px; font-size: .82rem; color: var(--ink-2); }
.rv-bars progress.bar { margin: 0; height: 8px; } .rv-bars small { text-align: right; color: var(--muted); }
.rv-form { padding: 14px 0 6px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.rv-form h3 { margin: 0 0 10px; color: var(--brand-d); }
.star-input { border: 0; padding: 0; margin: 0 0 12px; display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.star-input legend { font-weight: 600; font-size: .92rem; margin-bottom: 6px; float: left; width: 100%; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label { cursor: pointer; line-height: 0; } .star-input svg { fill: #e3e8f2; transition: fill .1s, transform .1s; }
.star-input label:hover svg, .star-input label:hover ~ label svg, .star-input input:checked ~ label svg { fill: #f5a524; }
.star-input input:focus-visible + label svg { transform: scale(1.12); }
.rv-del { margin-top: 4px; }
.rv-login { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 14px; border-radius: 14px; background: var(--info-soft); color: #1d4f8a; }
.rv-login > span { flex: 1; min-width: 200px; } .rv-login b { display: block; } .rv-login small { color: #3c6aa3; }
.rv-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.rv { padding: 14px; border-radius: 16px; border: 1px solid var(--line); background: #fff; }
.rv-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; } .rv-head b { display: block; } .rv-head small { color: var(--muted); font-size: .8rem; }
.rv > p { margin: 0 0 8px; color: var(--ink-2); overflow-wrap: anywhere; }
.rv-reply { margin: 6px 0 8px 12px; padding: 10px 12px; border-left: 3px solid var(--gold); background: var(--gold-soft); border-radius: 0 12px 12px 0; font-size: .9rem; }
.rv-reply b { display: inline-flex; align-items: center; gap: 6px; color: #5a3a00; } .rv-reply p { margin: 4px 0 0; color: #5a3a00; }
.rv-acts { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.rv-flag { display: inline-flex; align-items: center; gap: 4px; font-size: .8rem; color: var(--muted); }
.rv-flag:hover { color: var(--danger); }
.rv-replyform summary { cursor: pointer; font-size: .84rem; font-weight: 700; color: var(--brand); }
.rv-replyform form { margin-top: 8px; display: grid; gap: 8px; }
.rv-empty { margin: 4px 0 0; }
.my-rv { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; } .my-rv li { padding: 12px; border-radius: 14px; border: 1px solid var(--line); } .my-rv p { margin: 4px 0; color: var(--ink-2); }
/* tempahan */
.order .card-title h2 { margin: 0; }
.wa-preview { margin: 0 0 14px; padding: 12px 14px; border-radius: 14px; background: #e7f8ee; border: 1px solid #bfe3cc; }
.wa-preview b { display: inline-flex; align-items: center; gap: 6px; color: #126b3a; }
.wa-preview pre { margin: 8px 0 0; white-space: pre-wrap; font: inherit; font-size: .88rem; color: #1b4332; }
/* daftar: jenis akaun */
.acct-type { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 18px; }
.acct-type a { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 16px; border: 2px solid var(--line); text-decoration: none; color: var(--ink-2); background: #fff; }
.acct-type a.on { border-color: var(--brand); background: linear-gradient(180deg, #f3f7ff, #fff); box-shadow: 0 10px 22px rgba(13, 59, 143, .12); }
.acct-type b { display: block; color: var(--brand-d); } .acct-type small { color: var(--muted); font-size: .78rem; }
.at-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); flex: none; }
/* admin review */
.adm-rv { display: grid; gap: 12px; } .adm-rv .card { margin: 0; } .adm-rv .card.is-hidden { opacity: .75; }

/* telefon/tablet: gambar → harga/bintang/butang → borang tempahan → maklumat lain */
@media (max-width: 979px) {
  .ad-detail { display: flex; flex-direction: column; align-items: stretch; gap: 16px; }
  .ad-left, .ad-right { display: contents; }
  .ad-left > *, .ad-right > * { order: 5; margin: 0; }
  .ad-detail .gallery { order: 1; } .ad-detail .ad-buy { order: 2; } .ad-detail .order { order: 3; }
}

/* ===== Latar banner Pasaran: "Bazar Digital Biru Emas" (lapisan gelap supaya tulisan & kategori jelas) ===== */
.mk-head:not(.mk-head-sm) { background: linear-gradient(180deg, rgba(5, 11, 26, .55), rgba(5, 11, 26, .35) 60%, rgba(5, 11, 26, .55)), url("/assets/img/bg-bazar.webp") center 32% / cover no-repeat, #0a2a6b; }
@media (max-width: 760px) { .mk-head:not(.mk-head-sm) { background: linear-gradient(180deg, rgba(5, 11, 26, .62), rgba(5, 11, 26, .5)), url("/assets/img/bg-bazar-kecil.webp") 18% 30% / cover no-repeat, #0a2a6b; } }
.mk-head:not(.mk-head-sm) .mk-cats a:not(.on) { background: rgba(5, 11, 26, .42); border-color: rgba(255, 255, 255, .18); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.mk-head:not(.mk-head-sm) .mk-cats a:not(.on):hover { background: rgba(5, 11, 26, .6); }
.mk-head:not(.mk-head-sm) .back-btn.on-dark, .mk-head:not(.mk-head-sm) .mk-all { background: rgba(5, 11, 26, .4); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }

/* ===================== Kad iklan v2 — gaya Shopee (17/10/2026) ===================== */
.ad-grid { gap: 16px; }
.ad-card { border: 1px solid #e6eaf2; border-radius: 20px; box-shadow: 0 1px 2px rgba(10, 20, 45, .04), 0 8px 24px rgba(10, 20, 45, .06); transition: transform .2s ease, box-shadow .2s ease, border-color .2s; }
.ad-card:hover { transform: translateY(-4px); border-color: #c9d6f2; box-shadow: 0 22px 44px rgba(10, 20, 45, .14); }
.ad-media { aspect-ratio: 1 / 1; border-radius: 0; }
.ad-media img { transition: transform .35s ease; } .ad-card:hover .ad-media img { transform: scale(1.06); }
/* tempat letak: corak titik + bulatan putih + label */
.ad-ph { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; isolation: isolate; }
.ad-ph::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255, 255, 255, .75) 1.3px, transparent 1.4px); background-size: 16px 16px; -webkit-mask-image: radial-gradient(circle at 50% 45%, transparent 26%, #000 75%); mask-image: radial-gradient(circle at 50% 45%, transparent 26%, #000 75%); }
.ad-ph::after { content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%, -58%); background: radial-gradient(closest-side, rgba(255, 255, 255, .55), transparent); z-index: -1; }
.ph-ring { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: #fff; box-shadow: 0 12px 26px rgba(10, 20, 45, .12), inset 0 0 0 6px rgba(255, 255, 255, .6); transition: transform .25s ease; }
.ad-ph .ph-ring .ic { opacity: 1; }
.ad-card:hover .ph-ring { transform: translateY(-4px) scale(1.04); }
.ph-label { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: rgba(20, 27, 43, .55); max-width: 85%; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ad-ph.ic-amber .ph-ring { color: #c2571a; } .ad-ph.ic-blue .ph-ring { color: #1d4fc4; } .ad-ph.ic-green .ph-ring { color: #16794a; } .ad-ph.ic-navy .ph-ring { color: #0d3b8f; } .ad-ph.ic-gold .ph-ring { color: #a87400; }
/* cip lokasi terapung */
.ad-chip { position: absolute; left: 10px; bottom: 10px; right: 10px; display: inline-flex; align-items: center; gap: 4px; width: max-content; max-width: calc(100% - 20px); padding: 4px 10px 4px 7px; border-radius: 999px; background: rgba(5, 11, 26, .62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: #fff; font-size: .74rem; font-weight: 600; }
.ad-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .ad-chip .ic { flex: none; color: var(--gold); }
.ad-sample { top: 10px; left: 10px; background: var(--gold); color: #1a1302; box-shadow: 0 4px 10px rgba(240, 184, 28, .35); }
/* badan kad */
.ad-body { gap: 8px; padding: 12px 14px 14px; }
.ad-title { font-size: .95rem; font-weight: 700; min-height: 2.6em; }
.ad-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 0; }
.ad-row .price { font-size: 1.2rem; letter-spacing: -.01em; } .ad-row .price-q { font-size: .88rem; }
.ad-go { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; flex: none; background: #e7f8ee; color: #178a45; transition: background .2s, color .2s, transform .2s; }
.ad-card:hover .ad-go { background: #1fa855; color: #fff; transform: scale(1.08); }
.ad-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 8px; border-top: 1px dashed #e6eaf2; min-width: 0; }
.ad-cond { font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; background: #eef1f6; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.ad-cond.is-new { background: var(--ok-soft); color: var(--ok); } .ad-cond.is-used { background: #fff1e0; color: #b45309; }
.ad-foot .ad-time { white-space: nowrap; flex: none; }
.ad-foot .open-st { font-size: .76rem; }
.ad-row .rating { font-size: .82rem; }
@media (max-width: 560px) { .ad-grid { gap: 10px; } .ad-body { padding: 10px 11px 12px; gap: 6px; } .ph-ring { width: 64px; height: 64px; } .ph-ring .ic { width: 30px; height: 30px; } .ad-row .price { font-size: 1.05rem; } .ad-go { width: 30px; height: 30px; } .ad-chip { font-size: .68rem; } .ad-foot .ad-time { display: none; } }
/* galeri butiran: tempat letak lebih besar */
.g-ph .ph-ring { width: 130px; height: 130px; } .g-ph .ph-ring .ic { width: 60px; height: 60px; } .g-ph .ph-label { font-size: .85rem; }
.ad-row .rating { flex-wrap: nowrap; white-space: nowrap; min-width: 0; overflow: hidden; gap: 4px; }
.ad-row .rating small { font-size: .74rem; }
.ad-foot .open-st { min-width: 0; overflow: hidden; } .ad-foot .open-st { white-space: nowrap; text-overflow: ellipsis; display: inline-block; max-width: 100%; }
.ad-foot .open-st::before { display: inline-block; margin-right: 6px; vertical-align: 1px; }
@media (max-width: 560px) { .ad-row .rating .stars .st:nth-child(n+2) { display: none; } }
/* kepala laman: 100% legap (tiada kandungan tembus semasa skrol) */
.site-head { background: #050b1a; }
.rating-mini { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px 4px 8px; border-radius: 999px; background: #fff6e0; color: #8a5a00; font-size: .9rem; white-space: nowrap; }
.rating-mini svg { fill: #f5a524; flex: none; } .rating-mini b { color: #5a3a00; } .rating-mini small { color: #a57a2a; font-size: .76rem; }
.rating-mini.none { background: #eef1f6; color: var(--muted); } .rating-mini.none svg { fill: #cfd6e4; }

/* borang tempahan di kolum kiri (iklan makanan) */
.order .form { margin-top: 4px; }
@media (min-width: 600px) { .order .field-row.three { grid-template-columns: 110px 1fr 1fr; } }
.order .btn-wa { max-width: 420px; }
.gallery .ad-media.g-ph { aspect-ratio: 16 / 9; }

/* ===== Laman utama: latar hero pilihan 1 — putih → biru air + gelombang emas halus (17/10/2026) ===== */
.home .hero { padding-bottom: 96px;
  background: radial-gradient(780px 420px at 88% 8%, rgba(240, 184, 28, .18), transparent 62%), radial-gradient(640px 460px at -6% 105%, rgba(31, 87, 198, .14), transparent 62%), radial-gradient(520px 320px at 45% 120%, rgba(240, 184, 28, .10), transparent 65%), linear-gradient(180deg, #ffffff 0%, #f4f8ff 55%, #e9f0fd 100%); }
.home .hero::after { height: 150px; background: url("/assets/img/gelombang-eniaga.svg") center bottom / 100% 100% no-repeat; }
/* corak titik lembut di sekeliling gambar keluarga (kanan) */
.home .hero-visual { isolation: isolate; }
.home .hero-visual::before { content: ""; position: absolute; z-index: -1; inset: -36px -48px 40px 12%; pointer-events: none;
  background-image: radial-gradient(rgba(13, 59, 143, .16) 1.4px, transparent 1.6px); background-size: 20px 20px;
  -webkit-mask-image: radial-gradient(closest-side, #000 45%, transparent); mask-image: radial-gradient(closest-side, #000 45%, transparent); }
.home .hero-visual::after { content: ""; position: absolute; z-index: -1; width: 220px; height: 220px; right: -30px; bottom: 30px; border-radius: 50%; border: 2px dashed rgba(240, 184, 28, .45); pointer-events: none; }
@media (max-width: 899px) { .home .hero-visual::before { inset: -20px -10px 60px -10px; } .home .hero-visual::after { width: 150px; height: 150px; right: -20px; bottom: 120px; } .home .hero { padding-bottom: 80px; } }
@media (min-width: 900px) {
  .home .hero-visual { padding-bottom: 0; }
  .home .hero { padding-top: 56px; padding-bottom: 120px; }
  .home .hero-visual::before { inset: -60px -90px -60px 30%; background-image: radial-gradient(rgba(13, 59, 143, .24) 1.5px, transparent 1.7px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent); mask-image: radial-gradient(closest-side, #000 55%, transparent); }
  .home .hero-visual::after { width: 190px; height: 190px; top: -46px; right: -56px; bottom: auto; border-color: rgba(240, 184, 28, .55); }
}

/* ===== Laman utama: bahagian Kategori — latar lembut (selari hero) + grid 3×3 ===== */
.sec-kategori { position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(520px 380px at -4% 30%, rgba(31, 87, 198, .10), transparent 65%), radial-gradient(520px 380px at 104% 75%, rgba(240, 184, 28, .14), transparent 65%), linear-gradient(180deg, #ffffff, #f6f9ff); }
.sec-kategori::before, .sec-kategori::after { content: ""; position: absolute; z-index: -1; width: 300px; height: 220px; pointer-events: none;
  background-image: radial-gradient(rgba(13, 59, 143, .2) 1.4px, transparent 1.6px); background-size: 20px 20px;
  -webkit-mask-image: radial-gradient(closest-side, #000 40%, transparent); mask-image: radial-gradient(closest-side, #000 40%, transparent); }
.sec-kategori::before { top: 30px; left: -40px; } .sec-kategori::after { bottom: 20px; right: -40px; background-image: radial-gradient(rgba(240, 184, 28, .45) 1.4px, transparent 1.6px); }
@media (min-width: 640px) { .sec-kategori .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 980px; margin: 0 auto; } }
.sec-kategori .cat { padding: 18px; box-shadow: 0 1px 2px rgba(10, 20, 45, .04), 0 10px 26px rgba(10, 20, 45, .06); }
@media (max-width: 639px) {
  .sec-kategori .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .sec-kategori .cat { flex-direction: column; justify-content: flex-start; text-align: center; gap: 8px; padding: 14px 4px 12px; font-size: .78rem; line-height: 1.25; border-radius: 16px; }
  .sec-kategori .cat small { display: none; }
  .sec-kategori .cat-ic { width: 44px; height: 44px; }
  .sec-kategori .cat > span:last-child { overflow-wrap: break-word; hyphens: auto; }
}

/* ===== Laman utama: latar lembut seragam untuk Kenapa / Cara berniaga / Soalan lazim ===== */
.sec-soft { position: relative; overflow: hidden; isolation: isolate; }
.sec-soft::before, .sec-soft::after { content: ""; position: absolute; z-index: -1; width: 300px; height: 220px; pointer-events: none; background-size: 20px 20px;
  -webkit-mask-image: radial-gradient(closest-side, #000 40%, transparent); mask-image: radial-gradient(closest-side, #000 40%, transparent); }
/* a: biru kiri, emas kanan */
.sec-soft-a { background: radial-gradient(520px 380px at -4% 35%, rgba(31, 87, 198, .10), transparent 65%), radial-gradient(520px 380px at 104% 70%, rgba(240, 184, 28, .14), transparent 65%), linear-gradient(180deg, #f6f9ff, #ffffff); }
.sec-soft-a::before { top: 40px; left: -40px; background-image: radial-gradient(rgba(13, 59, 143, .2) 1.4px, transparent 1.6px); }
.sec-soft-a::after { bottom: 30px; right: -40px; background-image: radial-gradient(rgba(240, 184, 28, .45) 1.4px, transparent 1.6px); }
/* b: emas kiri, biru kanan */
.sec-soft-b { background: radial-gradient(520px 380px at -4% 70%, rgba(240, 184, 28, .14), transparent 65%), radial-gradient(520px 380px at 104% 30%, rgba(31, 87, 198, .10), transparent 65%), linear-gradient(180deg, #ffffff, #f6f9ff); }
.sec-soft-b::before { bottom: 30px; left: -40px; background-image: radial-gradient(rgba(240, 184, 28, .45) 1.4px, transparent 1.6px); }
.sec-soft-b::after { top: 40px; right: -40px; background-image: radial-gradient(rgba(13, 59, 143, .2) 1.4px, transparent 1.6px); }
/* kad Kenapa: putih timbul + ikon gradien */
.sec-soft .why { background: #fff; border-color: #e6eaf2; box-shadow: 0 1px 2px rgba(10, 20, 45, .04), 0 12px 30px rgba(10, 20, 45, .07); transition: transform .2s, box-shadow .2s; }
.sec-soft .why:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(10, 20, 45, .12); }
.sec-soft .why-ic { width: 54px; height: 54px; border-radius: 16px; box-shadow: 0 10px 22px rgba(13, 59, 143, .28); }
.sec-soft .why:nth-child(2) .why-ic { background: linear-gradient(135deg, #f0b81c, #f7cf5a); color: #1a1302; box-shadow: 0 10px 22px rgba(240, 184, 28, .35); }
.sec-soft .why:nth-child(4) .why-ic { background: linear-gradient(135deg, #f0b81c, #f7cf5a); color: #1a1302; box-shadow: 0 10px 22px rgba(240, 184, 28, .35); }
/* Soalan lazim: kad putih */
.sec-soft .faq { background: #fff; border-color: #e6eaf2; box-shadow: 0 1px 2px rgba(10, 20, 45, .04); }

/* ===== Pasaran: latar kandungan lembut (selari laman utama) — overflow-x: clip supaya tapisan sisi kekal melekat ===== */
.mk { position: relative; isolation: isolate; overflow-x: clip;
  background: radial-gradient(560px 420px at -6% 520px, rgba(31, 87, 198, .10), transparent 65%), radial-gradient(560px 420px at 106% 900px, rgba(240, 184, 28, .13), transparent 65%), radial-gradient(520px 380px at -6% 1500px, rgba(240, 184, 28, .10), transparent 65%), linear-gradient(180deg, #f6f9ff, #ffffff 900px, #f6f9ff); }
.mk::before, .mk::after { content: ""; position: absolute; z-index: -1; width: 320px; height: 260px; pointer-events: none; background-size: 20px 20px;
  -webkit-mask-image: radial-gradient(closest-side, #000 40%, transparent); mask-image: radial-gradient(closest-side, #000 40%, transparent); }
.mk::before { top: 420px; left: -60px; background-image: radial-gradient(rgba(13, 59, 143, .2) 1.4px, transparent 1.6px); }
.mk::after { top: 820px; right: -60px; background-image: radial-gradient(rgba(240, 184, 28, .45) 1.4px, transparent 1.6px); }
@media (max-width: 979px) { .mk::before, .mk::after { display: none; } }

/* ===================== Tapisan v2 — panel tunggal moden (17/10/2026) ===================== */
.fp { display: block; background: #fff; border: 1px solid #e3e9f5; border-radius: 22px; overflow: hidden; box-shadow: 0 1px 2px rgba(10, 20, 45, .04), 0 14px 34px rgba(10, 20, 45, .08); }
.fp-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; color: #fff; background: radial-gradient(260px 120px at 100% 0%, rgba(240, 184, 28, .35), transparent 60%), linear-gradient(135deg, #0a2a6b, #0d3b8f 60%, #1f57c6); }
.fp-head b { font-size: 1rem; }
.fp-ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: rgba(255, 255, 255, .14); color: var(--gold); flex: none; }
.fp-count { display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--gold); color: #1a1302; font-size: .74rem; font-weight: 800; }
.fp-reset { margin-left: auto; color: #d5ddf0; font-size: .8rem; font-weight: 700; text-decoration: none; padding: 5px 10px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .25); }
.fp-reset:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.fp-sec { padding: 14px 16px; border-bottom: 1px solid #eef1f7; }
.fp-sec h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-d); }
.fp-sic { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--brand-soft); color: var(--brand); }
.fp-sec:nth-of-type(2) .fp-sic { background: #fff4d6; color: #a87400; } .fp-sec:nth-of-type(4) .fp-sic { background: #fff4d6; color: #a87400; }
/* cip kategori */
.fp-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.fp-chips a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 8px 6px 11px; border-radius: 999px; border: 1px solid #e3e9f5; background: #f8faff; color: var(--ink-2); text-decoration: none; font-size: .82rem; font-weight: 600; transition: background .15s, border-color .15s, color .15s; }
.fp-chips a .ic { color: var(--brand); }
.fp-chips a i { font-style: normal; display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: #e7edf8; color: var(--muted); font-size: .7rem; font-weight: 800; }
.fp-chips a:hover { border-color: var(--brand); color: var(--brand); background: #fff; }
.fp-chips a.on { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 6px 14px rgba(13, 59, 143, .25); } .fp-chips a.on i { background: var(--gold); color: #1a1302; }
.fp-chips a.zero { opacity: .55; }
.fp-switch { display: inline-flex; align-items: center; gap: 5px; margin-top: 10px; font-size: .8rem; font-weight: 700; text-decoration: none; color: var(--muted); }
.fp-switch:hover { color: var(--brand); }
/* pilihan berikon */
.fp-sel { position: relative; display: block; margin-bottom: 8px; } .fp-sel:last-child { margin-bottom: 0; }
.fp-sel > .ic { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--brand); pointer-events: none; }
.fp-sel select { padding-left: 38px; min-height: 44px; border-radius: 12px; background-color: #f8faff; font-size: .92rem; }
/* harga RM */
.fp-range { display: flex; align-items: center; gap: 6px; }
.fp-rm { position: relative; flex: 1; min-width: 0; }
.fp-rm i { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); font-style: normal; font-size: .76rem; font-weight: 800; color: #a87400; pointer-events: none; }
.fp-rm input { padding-left: 36px; min-height: 42px; border-radius: 12px; background: #f8faff; font-size: .9rem; }
.fp-dash { color: var(--muted); }
/* suis segmen keadaan */
.fp-seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border-radius: 14px; background: #eef2f9; }
.fp-seg label { position: relative; cursor: pointer; }
.fp-seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.fp-seg span { display: block; text-align: center; padding: 8px 4px; border-radius: 10px; font-size: .84rem; font-weight: 700; color: var(--ink-2); transition: background .15s, color .15s; }
.fp-seg input:checked + span { background: #fff; color: var(--brand); box-shadow: 0 2px 8px rgba(10, 20, 45, .12); }
.fp-seg input:focus-visible + span { box-shadow: var(--ring); }
.fp-foot { padding: 14px 16px 16px; }
/* cip kategori: grid 2 lajur sama besar */
.fp-chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; align-items: stretch; }
.fp-chips a { justify-content: space-between; min-height: 40px; padding: 7px 8px 7px 11px; border-radius: 12px; line-height: 1.25; text-align: left; }
.fp-chips a .ic { flex: none; }
.fp-chips a i { flex: none; margin-left: auto; }
@media (min-width: 980px) and (max-width: 1100px) { .fp-chips { grid-template-columns: 1fr; } }
.fp-chips a { gap: 5px; font-size: .8rem; padding: 7px 7px 7px 9px; }
.fp-chips a .ic { width: 13px; height: 13px; }
.fp-chips a:last-child:nth-child(odd) { grid-column: 1 / -1; }
.fp-chips .fp-t { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.fp-chips .fp-t { overflow-wrap: normal; word-break: normal; } .fp-chips a { font-size: .78rem; }

/* ===== Kongsi iklan (17/10/2026) ===== */
.ad-wrap { position: relative; display: flex; min-width: 0; } .ad-wrap > .ad-card { flex: 1; }
.ad-share { position: absolute; z-index: 3; top: 10px; right: 10px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .92); color: var(--brand-d); box-shadow: 0 6px 16px rgba(10, 20, 45, .18); transition: transform .15s, background .15s, color .15s; }
.ad-share:hover { transform: scale(1.08); background: var(--brand); color: #fff; }
.ad-share.done { background: var(--ok); color: #fff; }
.ad-share:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.ad-wrap:hover .ad-card { transform: translateY(-4px); border-color: #c9d6f2; box-shadow: 0 22px 44px rgba(10, 20, 45, .14); }
.ad-wrap:hover .ad-share { transform: translateY(-4px); } .ad-wrap:hover .ad-share:hover { transform: translateY(-4px) scale(1.08); }
/* baris kongsi di halaman iklan */
.share-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 14px; padding-top: 14px; border-top: 1px dashed #e3e9f5; }
.sr-l { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 800; color: var(--muted); margin-right: 2px; }
.sh-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 38px; height: 38px; padding: 0 10px; border-radius: 12px; border: 1px solid #e3e9f5; background: #f8faff; color: var(--brand-d); font: inherit; font-size: .84rem; font-weight: 700; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.sh-btn:hover { border-color: var(--brand); background: #fff; }
.sh-copy { flex: 1; min-width: 130px; } .sh-copy.done { background: var(--ok); border-color: var(--ok); color: #fff; }
.sh-wa { color: #178a45; } .sh-wa:hover { background: #1fa855; border-color: #1fa855; color: #fff; }
.sh-fb b { font-size: 1.05rem; font-family: Arial, sans-serif; color: #1877f2; } .sh-fb:hover { background: #1877f2; border-color: #1877f2; } .sh-fb:hover b { color: #fff; }
.sh-tg { color: #229ed9; } .sh-tg .ic { transform: rotate(-35deg); } .sh-tg:hover { background: #229ed9; border-color: #229ed9; color: #fff; }
/* mesej ringkas */
.toast { position: fixed; z-index: 90; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; padding: 12px 18px; border-radius: 14px; background: #0a2a6b; color: #fff; font-weight: 700; font-size: .9rem; box-shadow: 0 16px 40px rgba(5, 11, 26, .35); transition: opacity .2s, transform .2s; max-width: calc(100vw - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.sr-l { flex-basis: 100%; } .share-row { gap: 6px; } .sh-copy { min-width: 0; } .share-row { flex-wrap: wrap; } .share-row .sh-btn:not(.sh-copy) { flex: none; width: 42px; padding: 0; }

/* Tetapan admin */
.set-grid { display: grid; gap: 16px; align-items: start; } @media (min-width: 1000px) { .set-grid { grid-template-columns: 1fr 1fr; } } .set-grid > .card { margin: 0; }
.set-status { padding: 10px 14px; border-radius: 12px; font-weight: 700; font-size: .9rem; }
.set-status.is-on { background: var(--ok-soft); color: var(--ok); } .set-status.is-off { background: #fff4e5; color: #8a4b00; }
.set-seg { grid-template-columns: 1fr 1fr; margin-bottom: 14px; }

/* ===================== Fasa 2: Pengguna & Log aktiviti ===================== */
.bulk-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 12px 12px; border-bottom: 1px solid #eef1f6; }
.bulk-all { margin: 0; font-weight: 700 !important; font-size: .88rem; }
.bulk-acts { margin-left: auto; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.bulk-pass { width: 190px; min-height: 36px; border-radius: 999px; font-size: .85rem; padding: 6px 14px; }
.tbl .cb { width: 34px; padding-left: 14px !important; padding-right: 0 !important; } .tbl .cb .ic { color: var(--muted); }
.tbl tr.is-picked td { background: #f3f7ff; }
.log-filter { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 12px 14px !important; }
.log-filter .inp { flex: 1; min-width: 220px; } .log-filter input[type=search] { min-height: 40px; border-radius: 999px; }
.log-filter label { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; } .log-filter input[type=date] { min-height: 38px; width: auto; }
.tbl-log td { vertical-align: top; } .tbl-log tr.is-bad td { background: #fff7f6; }
.act-card .act { display: grid; gap: 8px; margin-bottom: 12px; } .act-card .act:last-child { margin-bottom: 0; }
.act-card .act input { min-height: 40px; font-size: .88rem; }
.ip-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; } .ip-list li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 10px; border-radius: 10px; background: var(--bg); font-size: .88rem; } .ip-list small { color: var(--muted); }
.detail-head h1 .badge { font-size: .8rem; vertical-align: middle; }
.timeline li .small { display: block; color: var(--ink-2); }
@media (max-width: 760px) { .bulk-acts { margin-left: 0; width: 100%; } .bulk-pass { flex: 1; width: auto; } }
.is-admin .tabs { flex-wrap: wrap; overflow-x: visible; }
.u-link { color: var(--brand-d); text-decoration: none; } .u-link:hover b { text-decoration: underline; }
.dev-otp { margin: 0 0 14px; padding: 12px 14px; border-radius: 12px; border: 2px dashed #f0b81c; background: #fffaf0; color: #5a3a00; font-size: .9rem; } .dev-otp b { display: block; font-size: .72rem; letter-spacing: .1em; color: #a87400; margin-bottom: 2px; } .dev-otp code { font-size: 1.3rem; font-weight: 800; letter-spacing: .2em; color: #0a2a6b; }

/* ===================== Fasa 3: kedai & produk penjual ===================== */
.mt-xs { margin-top: 8px; } .mb { margin-bottom: 14px; }
.band-stats .band-stat { min-width: 104px; }
/* graf bar 14 hari */
.bars { display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); gap: 6px; align-items: end; height: 180px; padding: 8px 4px 0; border-bottom: 1px solid var(--line); }
.bar-col { display: flex; flex-direction: column; align-items: center; gap: 4px; height: 100%; min-width: 0; }
.bar-stack { position: relative; flex: 1; width: 100%; max-width: 26px; display: flex; align-items: flex-end; justify-content: center; gap: 2px; }
.bar-stack i { display: block; width: 50%; border-radius: 6px 6px 0 0; height: 2%; transition: height .4s ease; }
.bar-stack .bv { background: linear-gradient(180deg, #2a64d6, var(--brand)); } .bar-stack .bw { background: linear-gradient(180deg, #f7cf5a, var(--gold)); }
.bar-col small { font-size: .68rem; color: var(--muted); }
/* senarai produk saya */
.my-prods { display: grid; gap: 10px; }
.mp { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px; border-radius: 18px; border: 1px solid var(--line); background: #fff; }
.mp-img { display: block; width: 84px; height: 84px; border-radius: 14px; overflow: hidden; background: var(--bg); }
.mp-img img, .mp-img .ad-ph { width: 100%; height: 100%; object-fit: cover; display: grid; place-items: center; }
.mp-main { display: grid; gap: 5px; min-width: 0; }
.mp-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.mp-title { color: var(--brand-d); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mp-note { font-size: .82rem; color: var(--danger); }
.mp-stats { display: flex; gap: 12px; flex-wrap: wrap; font-size: .84rem; color: var(--ink-2); font-weight: 600; }
.mp-stats span { display: inline-flex; align-items: center; gap: 4px; } .mp-stats .ic { color: var(--muted); }
.mp-acts { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; max-width: 260px; } .mp-acts form { margin: 0; }
@media (max-width: 640px) { .mp { grid-template-columns: 64px minmax(0, 1fr); } .mp-img { width: 64px; height: 64px; } .mp-acts { grid-column: 1 / -1; justify-content: flex-start; max-width: none; } }
/* borang produk */
.prod-form .fcard-head .num .ic { color: #1a1302; }
.seg3 { grid-template-columns: repeat(3, 1fr); }
.prod-form .fp-rm input { min-height: 44px; }
.geo-set { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px; border-radius: 14px; background: #f8faff; border: 1px dashed #d5dcea; margin-bottom: 8px; }
.geo-out { font-size: .86rem; font-weight: 600; color: var(--ink-2); flex: 1; min-width: 200px; }
.hours-edit { display: grid; gap: 6px; }
.he-row { display: grid; grid-template-columns: 110px 1fr auto 1fr; gap: 8px; align-items: center; }
.he-row .check { margin: 0; } .he-row input[type=time] { min-height: 38px; padding: 6px 10px; }
.img-edit { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; margin-bottom: 12px; }
.img-tile { display: grid; gap: 6px; padding: 6px; border-radius: 14px; border: 1px solid var(--line); background: #fff; cursor: pointer; }
.img-tile img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.img-tile .check { margin: 0; font-size: .82rem; } .img-tile:has(input:checked) { border-color: var(--danger); opacity: .6; }
.sum-card .btn-ghost-light { border-color: rgba(255, 255, 255, .35); }
/* admin: semakan iklan */
.adm-ads { display: grid; gap: 12px; } .adm-ads > .card { margin: 0; }
.adm-ad { display: grid; gap: 16px; } @media (min-width: 1000px) { .adm-ad { grid-template-columns: 260px minmax(0, 1fr) 220px; align-items: start; } }
.adm-ad-imgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; } .adm-ad-imgs img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
.adm-ad h2 { margin: 6px 0 4px; font-size: 1.1rem; color: var(--brand-d); } .adm-price { margin: 0 0 6px; font-weight: 700; } .adm-desc { color: var(--ink-2); }
.adm-ad-acts { display: grid; gap: 8px; } .adm-ad-acts form { margin: 0; } .adm-ad-acts .act { display: grid; gap: 6px; } .adm-ad-acts input[name=reason] { min-height: 38px; font-size: .86rem; }
.ad-bulk { margin-bottom: 12px; padding: 0 !important; } .ad-bulk .bulk-bar { border-bottom: 0; }
.ad-pick { width: 18px; height: 18px; }

/* ===== Panel pengguna (susun atur admin) — jalur halaman jadi kad hero ===== */
.is-user .adm-main .wrap { max-width: none; padding: 0; }
.is-user .adm-main .band { border-radius: 26px; padding: 26px 28px; margin-bottom: 18px; box-shadow: var(--shadow-lg); }
.is-user .adm-main .band::after { display: none; }
.is-user .adm-main .band .back-btn { display: none; }
.is-user .adm-main .band-body { margin-top: 0; padding-bottom: 0; }
.is-user .adm-main .band h1 { margin-top: 4px; }
@media (max-width: 560px) { .is-user .adm-main .band { padding: 20px; border-radius: 20px; } }
.field-row.one { grid-template-columns: 1fr !important; }

/* ===== Pakej Penjual OKU (17/10/2026) ===== */
.type-pick { display: grid; gap: 12px; margin: 6px 0 4px; }
.tp { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 16px; border-radius: 18px; border: 2px solid var(--line); background: #fff; color: var(--ink); text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s; }
.tp:hover { border-color: var(--brand); box-shadow: 0 12px 26px rgba(13, 59, 143, .12); transform: translateY(-2px); }
.tp-ic { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--brand-soft); color: var(--brand); }
.tp-txt b { display: block; font-size: 1.05rem; color: var(--brand-d); } .tp-txt small { display: block; color: var(--ink-2); font-size: .86rem; } .tp-txt em { display: block; font-style: normal; color: var(--muted); font-size: .78rem; margin-top: 2px; }
.tp-price { font-weight: 800; color: var(--brand-d); white-space: nowrap; font-size: .95rem; }
.tp-oku { border-color: #f6dc8b; background: linear-gradient(180deg, #fffaf0, #fff); } .tp-oku .tp-ic { background: var(--gold); color: #1a1302; } .tp-oku .tp-price { color: #a87400; }
.tp-oku:hover { border-color: var(--gold); box-shadow: 0 12px 26px rgba(240, 184, 28, .25); }
.tp-ahli .tp-ic { background: var(--ok-soft); color: var(--ok); }
@media (max-width: 480px) { .tp { grid-template-columns: 44px minmax(0, 1fr); } .tp-ic { width: 44px; height: 44px; } .tp-price { grid-column: 2; } }
.type-chosen { display: flex; align-items: center; gap: 12px; padding: 10px 14px; margin: 14px 0 4px; border-radius: 14px; background: var(--brand-soft); color: var(--brand-d); font-size: .92rem; }
.type-chosen .tp-ic { width: 36px; height: 36px; border-radius: 11px; background: #fff; } .type-chosen small { display: block; color: var(--muted); font-size: .78rem; }
.type-chosen a { margin-left: auto; font-weight: 700; font-size: .86rem; } .type-chosen.tp-oku { background: #fff6dc; } .type-chosen.tp-oku .tp-ic { background: var(--gold); color: #1a1302; }
.oku-box { border: 2px dashed #f0d58a; border-radius: 18px; padding: 14px 16px 6px; margin: 4px 0 16px; background: #fffcf3; }
.oku-box legend { display: inline-flex; align-items: center; gap: 6px; padding: 0 8px; font-weight: 800; color: #8a5a00; }
.badge-oku { margin-left: 4px; }
.oku-card .card-title .badge { margin-left: auto; }
.oku-img { display: block; margin: 10px 0; } .oku-img img { width: 100%; max-width: 480px; height: auto; border-radius: 12px; border: 1px solid var(--line); }
.oku-acts { display: grid; gap: 10px; margin-top: 10px; } .oku-acts form { margin: 0; } .oku-acts .act { display: grid; gap: 6px; } .oku-acts input { min-height: 40px; }
.pkg-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--bg); margin-bottom: 8px; }
.pkg-row b { display: block; color: var(--brand-d); } .pkg-row small { color: var(--muted); font-size: .82rem; }
.pkg-price { font-size: 1.5rem; font-weight: 800; color: var(--brand-d); white-space: nowrap; } .pkg-price small { font-size: .8rem; color: var(--muted); }
.pkg .card-title .badge { margin-left: auto; }

/* ===== Kewangan penjual (18/10/2026) ===== */
.fin-filter { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 12px 14px !important; }
.fin-seg { grid-template-columns: repeat(4, auto); }
.fin-in { display: inline-flex; align-items: center; gap: 6px; } .fin-in input, .fin-in select { min-height: 38px; width: auto; padding: 6px 10px; }
.fin-csv { margin-left: auto; }
.fin-bars .bar-stack .bin { background: linear-gradient(180deg, #34b26f, var(--ok)); } .fin-bars .bar-stack .bout { background: linear-gradient(180deg, #f08a80, var(--danger)); }
.fin-bars.many { gap: 2px; } .fin-bars.many .bar-col small { font-size: .58rem; }
.bars.fin-bars { display: flex; } .fin-bars .bar-col { flex: 1; }
.fin-tabs { margin-bottom: 12px; }
.fin-list { display: grid; gap: 8px; }
.fin-row { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--line); background: #fff; }
.fin-row.is-pend { background: #fffcf3; border-color: #f6e3a8; }
.fin-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; }
.fin-main { min-width: 0; } .fin-main b { display: block; color: var(--brand-d); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .fin-main small { color: var(--muted); font-size: .8rem; }
.fin-amt { text-align: right; font-weight: 800; color: var(--ink-2); white-space: nowrap; } .fin-amt small { display: block; font-size: .7rem; font-weight: 600; color: var(--muted); }
.fin-amt.in { color: var(--ok); } .fin-amt.out { color: var(--danger); }
.fin-acts { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; } .fin-acts form { margin: 0; }
.fin-priv { display: flex; gap: 6px; align-items: center; }
@media (max-width: 760px) { .fin-row { grid-template-columns: 36px minmax(0, 1fr) auto; } .fin-acts { grid-column: 1 / -1; justify-content: flex-start; } .fin-seg { grid-template-columns: repeat(2, 1fr); width: 100%; } .fin-csv { margin-left: 0; } }

/* ===== Ahli: modul penjual berkunci (pratonton) + naik taraf (18/10/2026) ===== */
.adm-nav a.is-locked { color: #8a96b5; } .adm-nav a.is-locked .ic { color: #5f6d92; }
.adm-nav a.is-locked:hover { color: #cdd6ea; }
.adm-nav a .lock { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; background: rgba(255, 255, 255, .08); color: var(--gold); }
.side-upgrade { display: flex; align-items: center; gap: 10px; margin: 0 12px 12px; padding: 12px; border-radius: 14px; text-decoration: none; color: #1a1302; background: linear-gradient(135deg, var(--gold), #f7cf5a); box-shadow: 0 10px 24px rgba(240, 184, 28, .3); }
.side-upgrade b { display: block; font-size: .92rem; } .side-upgrade small { display: block; font-size: .74rem; color: #5a3a00; }
.side-upgrade:hover { filter: brightness(1.05); }
.side-upgrade.is-wait { background: rgba(255, 255, 255, .08); color: #e3e9f7; box-shadow: none; border: 1px solid rgba(255, 255, 255, .14); } .side-upgrade.is-wait small { color: #9fb0d6; } .side-upgrade.is-wait .ic { color: var(--gold); }
.preview-bar { position: sticky; top: 72px; z-index: 5; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 14px 18px; margin-bottom: 16px; border-radius: 18px; background: linear-gradient(90deg, #fff4d6, #fffaf0); border: 1px solid #f6dc8b; box-shadow: 0 12px 28px rgba(240, 184, 28, .18); }
.pv-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--gold); color: #1a1302; flex: none; }
.pv-t { flex: 1; min-width: 220px; } .pv-t b { display: block; color: #5a3a00; } .pv-t small { color: #8a5a00; }
.preview-lock { position: relative; filter: grayscale(.85); opacity: .62; pointer-events: none; user-select: none; }
.preview-lock::after { content: "PRATONTON"; position: absolute; inset: 120px 0 auto; text-align: center; font-size: clamp(2rem, 7vw, 5rem); font-weight: 900; letter-spacing: .2em; color: rgba(13, 59, 143, .12); transform: rotate(-12deg); pointer-events: none; }
.sum-agree { color: #d5ddf0; font-size: .86rem; margin: 0 0 12px; } .sum-agree a { color: var(--gold); }

/* ===== Gambar profil penjual + profil awam (18/10/2026) ===== */
.sav { display: block; width: 38px; height: 38px; border-radius: 12px; object-fit: cover; flex: none; background: var(--bg); }
.sav.av-lg { width: 58px; height: 58px; border-radius: 18px; } .sav.av-xl, .av.av-xl { width: 84px; height: 84px; border-radius: 22px; font-size: 1.4rem; }
.sav.av-xxl, .av.av-xxl { width: 132px; height: 132px; border-radius: 32px; font-size: 2.2rem; border: 4px solid #fff; box-shadow: 0 16px 34px rgba(10, 20, 45, .16); }
.av.av-xs { width: 22px; height: 22px; border-radius: 7px; font-size: .55rem; }
.avatar-set { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; }
.sum-shop { align-items: center; margin-bottom: 12px; } .sum-shop h2 { margin: 0; }
.ad-seller { display: flex; align-items: center; gap: 7px; min-width: 0; padding-top: 8px; font-size: .78rem; font-weight: 600; color: var(--ink-2); }
.ad-seller img { width: 22px; height: 22px; border-radius: 7px; object-fit: cover; flex: none; } .ad-seller span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pc-link { color: inherit; text-decoration: none; } .pc-link:hover b { text-decoration: underline; }
.shop-hero { display: grid; gap: 20px; align-items: center; margin-bottom: 22px; } @media (min-width: 860px) { .shop-hero { grid-template-columns: auto minmax(0, 1fr) auto; } }
.shop-hero h1 { margin: 0 0 8px; color: var(--brand-d); font-size: clamp(1.4rem, 3vw, 1.9rem); }
.sh-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; font-size: .88rem; color: var(--ink-2); } .sh-meta > span { display: inline-flex; align-items: center; gap: 5px; }
.sh-about { margin: 12px 0 0; color: var(--ink-2); max-width: 60ch; }
.sh-acts { display: grid; gap: 8px; } .sh-acts .btn { min-width: 170px; }
.ad-ph { position: relative; overflow: hidden; } /* lapisan hiasan ::before/::after kekal dalam ikon (pernah menutup butang di senarai Produk saya) */

/* ===== Reset akaun / 2FA pengguna / popup wajib (18/10/2026) ===== */
.modal-page .site-main { background: rgba(5, 11, 26, .55); }
.modal-back { min-height: 70vh; display: grid; place-items: center; padding: 34px 16px; background: radial-gradient(700px 400px at 50% 0%, rgba(240, 184, 28, .18), transparent 60%), rgba(5, 11, 26, .72); }
.modal-card { width: 100%; max-width: 480px; background: #fff; border-radius: 24px; padding: 28px; box-shadow: 0 40px 90px rgba(0, 0, 0, .45); text-align: left; }
.modal-card h1 { color: var(--brand-d); font-size: 1.4rem; margin: 12px 0 6px; }
.modal-ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: var(--gold); color: #1a1302; }
.id-box { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 12px; background: var(--brand-soft); color: var(--brand-d); margin-bottom: 14px; }
.otp-sm { font-size: 1.1rem; letter-spacing: .3em; }
.reset-card .stack .btn { justify-content: flex-start; }

/* ---------- Fasa 5: Langganan & bayaran (gaya kad bank Bonda Pages, tema cerah eNiaga) ---------- */
.pay { display: grid; gap: 22px; }
.pay-state { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.pay-state h2 { margin: 0 0 4px; font-size: 1.1rem; color: var(--brand-d); }
.pay-state p { margin: 0 0 8px; }
.pay-state-ic { display: grid; place-items: center; flex: 0 0 44px; height: 44px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); }
.pay-state.is-pending .pay-state-ic { background: var(--info-soft); color: var(--info); }
.pay-state.is-rejected .pay-state-ic { background: var(--danger-soft); color: var(--danger); }
.pay-amount { display: grid; justify-items: center; gap: 6px; padding: 18px; border-radius: 14px; background: linear-gradient(180deg, rgba(240, 184, 28, .14), rgba(240, 184, 28, .03)); border: 1px solid rgba(240, 184, 28, .35); text-align: center; }
.pay-amount .label { font-size: .82rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.pay-amount strong { font-size: 2.2rem; font-weight: 800; color: var(--brand-d); line-height: 1.1; }
.pay-qr { width: 240px; max-width: 100%; height: auto; border-radius: 12px; background: #fff; padding: 8px; border: 1px solid var(--line); }
.pay-ref-line { margin: 0; text-align: center; }
.pay-upload { display: grid; gap: 14px; }
.pay-months { display: grid; gap: 10px; margin: 0; padding: 0; border: 0; min-width: 0; }
.pay-months legend { padding: 0; margin-bottom: 8px; font-weight: 700; color: var(--ink); }
.pay-months-opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pay-month { position: relative; cursor: pointer; }
.pay-month input { position: absolute; opacity: 0; pointer-events: none; }
.pay-month span { display: grid; gap: 2px; justify-items: center; padding: 12px 6px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); text-align: center; transition: border-color .15s, background .15s; }
.pay-month b { font-size: .92rem; color: var(--ink); }
.pay-month small { color: var(--muted); font-size: .85rem; font-weight: 700; }
.pay-month:hover span { border-color: var(--gold); }
.pay-month input:checked + span { border-color: var(--gold); background: rgba(240, 184, 28, .12); box-shadow: 0 0 0 3px rgba(240, 184, 28, .22); }
.pay-month input:checked + span small { color: var(--gold-d); }
.pay-month input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.pay-file { position: relative; display: grid; justify-items: center; gap: 4px; padding: 24px 16px; border: 2px dashed var(--line); border-radius: 14px; background: var(--bg); cursor: pointer; text-align: center; color: var(--brand); }
.pay-file:hover, .pay-file:focus-within, .pay-file.has-file { border-color: var(--gold); }
.pay-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.pay-file b { color: var(--ink); overflow-wrap: anywhere; }
.pay-proof { display: block; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--bg); }
.pay-proof img { display: block; width: 100%; height: auto; max-height: 640px; object-fit: contain; }
.pay-qr-admin { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
.pay-qr-admin img { border-radius: 10px; border: 1px solid var(--line); background: #fff; padding: 4px; }

.bank-wrap { display: grid; justify-items: center; gap: 14px; }
.bank-h { margin: 0; font-size: 1rem; text-align: center; color: var(--brand-d); }
.bank-card { width: min(100%, 400px); aspect-ratio: 1.586; perspective: 1200px; }
.bank-inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.bank-card.can-flip:hover .bank-inner, .bank-card.is-flipped .bank-inner { transform: rotateY(180deg); }
.bank-face { position: absolute; inset: 0; border-radius: 18px; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; color: #1b1300; box-shadow: 0 22px 44px -20px rgba(13, 59, 143, .55), inset 0 0 0 1px rgba(255, 255, 255, .25); background: radial-gradient(circle at 88% 8%, rgba(255, 255, 255, .55), transparent 40%), linear-gradient(135deg, #f6d365 0%, #e9b929 45%, #b8860b 100%); }
.bank-face::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(120deg, rgba(255, 255, 255, .07) 0 2px, transparent 2px 16px); pointer-events: none; }
.bank-front { display: flex; flex-direction: column; justify-content: space-between; padding: 6% 7%; }
.bank-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; position: relative; }
.bank-chip { position: relative; display: grid; grid-template-rows: repeat(3, 1fr); width: 48px; height: 36px; padding: 5px 0; border-radius: 7px; background: linear-gradient(135deg, #fff3c4, #d9b14a 50%, #a07a1c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .25); }
.bank-chip i { border-top: 1px solid rgba(0, 0, 0, .25); }
.bank-name { font-size: 1.15rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; text-align: right; }
.bank-no { position: relative; font-size: clamp(1.1rem, 5.4vw, 1.65rem); font-weight: 700; letter-spacing: .12em; text-align: center; text-shadow: 0 1px 0 rgba(255, 255, 255, .45); white-space: nowrap; font-variant-numeric: tabular-nums; }
.bank-bottom { position: relative; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.bank-bottom div { display: grid; gap: 1px; min-width: 0; }
.bank-bottom > div:first-child { flex: 1 1 auto; }
.bank-bottom small { font-size: .62rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.bank-bottom b { font-size: .86rem; line-height: 1.25; letter-spacing: .03em; text-transform: uppercase; overflow-wrap: anywhere; }
.bank-ref { flex: 0 0 auto; text-align: right; }
.bank-ref b { white-space: nowrap; }
.bank-hint { position: absolute; top: 7%; left: 50%; transform: translateX(-50%); padding: 3px 9px; border-radius: 999px; background: rgba(0, 0, 0, .1); font-size: .62rem; font-weight: 700; white-space: nowrap; opacity: .7; }
.bank-back { transform: rotateY(180deg); display: flex; flex-direction: column; }
.bank-strip { display: block; height: 13%; margin-top: 6%; background: #1b1300; }
.bank-qr { position: relative; flex: 1; display: flex; align-items: center; gap: 16px; padding: 0 7%; }
.bank-qr img { width: auto; height: 82%; max-height: 170px; aspect-ratio: 1; padding: 6px; border-radius: 10px; background: #fff; object-fit: contain; }
.bank-qr div { display: grid; gap: 4px; }
.bank-qr b { font-size: 1.05rem; }
.bank-qr small { font-size: .78rem; line-height: 1.4; opacity: .8; }
.bank-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.bank-tip { max-width: 520px; margin: 0; text-align: center; }
@media (max-width: 520px) { .bank-hint { display: none; } .pay-months-opts { grid-template-columns: 1fr; } }
@media (hover: none) { .bank-card.can-flip:hover .bank-inner { transform: none; } .bank-card.is-flipped .bank-inner, .bank-card.is-flipped:hover .bank-inner { transform: rotateY(180deg); } }
@media (prefers-reduced-motion: reduce) { .bank-inner { transition: none; } }
.pay-reject { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line); }
.pay-amount .btn span { font-size: inherit; font-weight: inherit; letter-spacing: normal; text-transform: none; color: inherit; }
