/* =========================================================
   Tema "Ledger" — tenang, rapat, fungsional.
   Kertas hangat, tinta hitam, satu warna aksen, garis tipis.
   Ganti warna aksen cukup di --accent.
   ========================================================= */
:root {
	--paper: #f5f3ee;
	--surface: #ffffff;
	--surface-2: #faf9f6;
	--ink: #17181c;
	--ink-2: #3d4047;
	--muted: #75787f;
	--line: #e3e0d8;
	--line-2: #d6d2c8;
	--accent: #d9481f;
	--accent-ink: #b33a17;
	--accent-soft: #fbece6;
	--ok: #1d7a4c;
	--ok-soft: #e6f2ec;
	--warn: #a86b12;
	--warn-soft: #f8efdf;
	--bad: #b42a2a;
	--bad-soft: #f7e5e5;
	--info: #2b5a8a;
	--info-soft: #e7eef6;
	--r: 6px;
	--r-sm: 4px;
	--mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
	--sans: 'IBM Plex Sans', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
	/* alias untuk kode lama */
	--brand: var(--ink); --brand-dark: var(--ink); --brand-soft: #efede7; --bg: var(--paper); --card: var(--surface);
	--grad: var(--ink); --radius: var(--r); --radius-sm: var(--r-sm); --shadow: none;
}

html, body {
	background: var(--paper) !important;
	color: var(--ink-2);
	font-family: var(--sans) !important;
	font-size: 14px;
	-webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6, .header-title { color: var(--ink); font-family: var(--sans) !important; font-weight: 600; letter-spacing: -.005em; }
a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
a:hover { color: var(--accent-ink); text-decoration-color: currentColor; }
a.btn, .side-menu a, .dropdown-item, .page-link, .sidebar-brand a, .topbar-balance, .nav-link, .logo, .badge, .link-list a, #topnav a { text-decoration: none !important; }
.text-muted { color: var(--muted) !important; }
.text-success, .text-green { color: var(--ok) !important; }
.num, .mono { font-family: var(--mono); font-feature-settings: 'tnum'; letter-spacing: -.01em; }
::selection { background: #f3d9cf; color: var(--ink); }
hr { border-color: var(--line); }

/* ---------- Topbar ---------- */
#topnav { background: var(--surface) !important; box-shadow: none !important; border-bottom: 1px solid var(--line); }
#topnav .topbar-main .logo { color: var(--ink) !important; text-transform: none; letter-spacing: 0; font-weight: 600; font-size: 16px; }
#topnav .topbar-main .nav-link, #topnav .pro-user-name { color: var(--ink-2) !important; }
#topnav .topbar-main .nav-user img { border: 1px solid var(--line); }
.topbar-balance {
	display: inline-flex; align-items: baseline; gap: 8px; margin-top: 21px; padding: 0; background: none;
	color: var(--ink) !important; font-family: var(--mono); font-weight: 500; font-size: 13px; white-space: nowrap;
}
.topbar-balance i { display: none; }
.topbar-balance:before { content: 'Saldo'; color: var(--muted); font-family: var(--sans); font-weight: 400; font-size: 12px; }
.topbar-balance:hover { color: var(--accent-ink) !important; }
.profile-dropdown, .dropdown-menu { border-radius: var(--r); border: 1px solid var(--line-2); box-shadow: 0 6px 20px rgba(23, 24, 28, .08); padding: 4px; }
.dropdown-item { border-radius: var(--r-sm); color: var(--ink-2); font-size: 13.5px; }
.dropdown-item:hover { background: var(--surface-2); color: var(--ink); }
@media (max-width: 991px) { .topbar-balance { display: none; } }

/* ---------- Kartu ---------- */
.card-box, .card {
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--r) !important;
	box-shadow: none !important; padding: 20px;
}
.card-box .header-title, .header-title {
	font-size: 14px; font-weight: 600; text-transform: none; letter-spacing: -.005em; color: var(--ink);
	margin: 0 0 16px !important; padding-bottom: 12px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 8px;
}
.header-title i { display: none; }
.header-title .badge { text-transform: none; letter-spacing: 0; }
.bg-custom { background: var(--ink) !important; border: 0 !important; }

/* ---------- Tombol ---------- */
.btn { border-radius: var(--r-sm); font-weight: 500; font-size: 13.5px; padding: 8px 14px; border-width: 1px; box-shadow: none !important; transition: background .12s ease, border-color .12s ease, color .12s ease; }
.btn:hover, .btn:active { transform: none; }
.btn-sm { padding: 4px 9px; font-size: 12.5px; }
.btn-lg { padding: 11px 18px; font-size: 15px; border-radius: var(--r); }
.btn-primary, .btn-custom, .btn-dark { background: var(--ink) !important; border-color: var(--ink) !important; color: #fff !important; }
.btn-primary:hover, .btn-custom:hover, .btn-dark:hover { background: #000 !important; }
.btn-accent { background: var(--accent) !important; border-color: var(--accent) !important; color: #fff !important; }
.btn-accent:hover { background: var(--accent-ink) !important; border-color: var(--accent-ink) !important; }
.btn-success { background: var(--ok) !important; border-color: var(--ok) !important; color: #fff !important; }
.btn-warning { background: var(--surface) !important; border-color: var(--line-2) !important; color: var(--ink) !important; }
.btn-warning:hover { border-color: var(--ink) !important; }
.btn-danger { background: var(--surface) !important; border-color: #e6c3c3 !important; color: var(--bad) !important; }
.btn-danger:hover { background: var(--bad-soft) !important; }
.btn-info { background: var(--surface) !important; border-color: var(--line-2) !important; color: var(--info) !important; }
.btn-light, .btn-outline { background: var(--surface) !important; border-color: var(--line-2) !important; color: var(--ink) !important; }
.btn-light:hover, .btn-outline:hover { border-color: var(--ink) !important; }
.btn-outline-brand { background: transparent; border: 1px solid var(--line-2); color: var(--ink); }
.btn-outline-brand:hover { border-color: var(--ink); color: var(--ink); }

/* ---------- Form ---------- */
.form-control, .custom-select, select.form-control {
	border-radius: var(--r-sm); border: 1px solid var(--line-2); min-height: 38px; color: var(--ink); background-color: var(--surface);
	font-size: 14px; box-shadow: none !important;
}
textarea.form-control { min-height: 90px; }
.form-control:focus { border-color: var(--ink); background: var(--surface); outline: 2px solid rgba(23, 24, 28, .08); outline-offset: 0; }
.form-control[readonly] { background: var(--surface-2); }
label { color: var(--ink); font-weight: 500; font-size: 13px; margin-bottom: 5px; }
.input-group-text { border-radius: var(--r-sm); border: 1px solid var(--line-2); background: var(--surface-2); color: var(--muted); font-family: var(--mono); font-size: 13px; }

/* ---------- Tabel ---------- */
.table { color: var(--ink-2); font-size: 13.5px; margin-bottom: 0; }
.table thead th, .table th {
	background: var(--surface-2); color: var(--muted); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em;
	border-bottom: 1px solid var(--line) !important; border-top: 0 !important; white-space: nowrap;
}
.table td, .table th { border-color: var(--line) !important; vertical-align: middle; padding: 10px 12px; }
.table-bordered { border: 1px solid var(--line); }
.table-striped tbody tr:nth-of-type(odd) { background: transparent; }
.table-hover tbody tr:hover, .table tbody tr:hover { background: var(--surface-2); }

/* ---------- Alert, badge, modal ---------- */
.alert { border: 1px solid; border-radius: var(--r); padding: 12px 16px; font-size: 13.5px; }
.alert-success { background: var(--ok-soft); border-color: #c4dfd0; color: #14563a; }
.alert-danger { background: var(--bad-soft); border-color: #ebc9c9; color: #7f1d1d; }
.alert-warning { background: var(--warn-soft); border-color: #ecd9b5; color: #6b4708; }
.alert-info, .alert-primary { background: var(--info-soft); border-color: #cddbea; color: #1e3f62; }
.badge { border-radius: var(--r-sm); padding: 3px 7px; font-weight: 500; font-size: 11.5px; letter-spacing: 0; }
.badge-success, .badge-primary { background: var(--ok-soft); color: var(--ok); }
.badge-danger { background: var(--bad-soft); color: var(--bad); }
.badge-warning { background: var(--warn-soft); color: var(--warn); }
.badge-info { background: var(--info-soft); color: var(--info); }
.badge-secondary { background: #ecebe6; color: var(--ink-2); }
.modal-content { border: 1px solid var(--line-2); border-radius: var(--r); box-shadow: 0 20px 50px rgba(23, 24, 28, .18); }
.modal-header, .modal-footer { border-color: var(--line); }
.modal-title { font-size: 15px; font-weight: 600; }
.page-link { border-radius: var(--r-sm) !important; margin: 0 2px; border-color: var(--line); color: var(--ink-2); font-family: var(--mono); font-size: 12.5px; }
.page-item.active .page-link { background: var(--ink); border-color: var(--ink); }
.footer { background: transparent !important; border-top: 1px solid var(--line); color: var(--muted); font-size: 12.5px; }

/* =========================================================
   Komponen halaman
   ========================================================= */
.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 6px 0 20px; }
.page-head h1 { font-size: 22px; margin: 0; }
.page-head p { margin: 4px 0 0; color: var(--muted); }

/* Ringkasan angka: satu strip dengan pembatas */
.figures { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 20px; }
.figures > div { padding: 16px 18px; border-right: 1px solid var(--line); }
.figures > div:last-child { border-right: 0; }
.figures .k { font-size: 12px; color: var(--muted); }
.figures .v { font-family: var(--mono); font-size: 20px; color: var(--ink); margin-top: 4px; letter-spacing: -.02em; }
.figures .v small { font-size: 12px; color: var(--muted); }
@media (max-width: 575px) { .figures > div { border-right: 0; border-bottom: 1px solid var(--line); } .figures > div:last-child { border-bottom: 0; } }

.balance-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--r); margin-bottom: 20px; }
.balance-bar .k { color: var(--muted); font-size: 12.5px; }
.balance-bar .v { font-family: var(--mono); font-size: 28px; color: var(--ink); letter-spacing: -.03em; line-height: 1.2; }
.balance-bar .actions .btn { margin: 3px 0 3px 6px; }

.status { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ink-2); white-space: nowrap; }
.status:before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--muted); }
.status.s-success:before { background: var(--ok); }
.status.s-pending:before, .status.s-processing:before { background: var(--warn); }
.status.s-error:before, .status.s-canceled:before { background: var(--bad); }
.status.s-partial:before { background: var(--info); }

.list-plain { list-style: none; margin: 0; padding: 0; }
.list-plain li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.list-plain li:first-child { padding-top: 0; }
.list-plain li:last-child { border-bottom: 0; padding-bottom: 0; }
.list-plain .date { font-family: var(--mono); font-size: 11.5px; color: var(--muted); margin-bottom: 2px; }
.link-list a { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.link-list a:first-of-type { padding-top: 0; }
.link-list a:last-child { border-bottom: 0; padding-bottom: 0; }
.link-list a:after { content: '\2192'; color: var(--muted); }
.link-list a:hover, .link-list a:hover:after { color: var(--accent-ink); }
.empty { color: var(--muted); padding: 18px 0 4px; text-align: center; font-size: 13px; }

/* ---------- Landing ---------- */
.intro { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 36px; align-items: start; padding: 24px 0 34px; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.intro h1 { font-size: 34px; line-height: 1.15; font-weight: 600; letter-spacing: -.02em; margin: 0 0 14px; max-width: 560px; }
.intro p.lead { font-size: 16px; color: var(--ink-2); max-width: 520px; margin-bottom: 22px; line-height: 1.6; }
.intro .meta { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); max-width: 520px; }
.intro .meta b { display: block; font-family: var(--mono); font-weight: 500; font-size: 18px; color: var(--ink); }
.intro .btn { margin: 0 6px 6px 0; }
@media (max-width: 991px) { .intro { grid-template-columns: 1fr; gap: 24px; } .intro h1 { font-size: 27px; } }

.price-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.price-card .head { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.price-card .head b { color: var(--ink); font-size: 13px; font-weight: 600; }
.price-card table { width: 100%; }
.price-card td { padding: 9px 16px; border-bottom: 1px solid var(--line); font-size: 13px; vertical-align: top; }
.price-card td small { display: block; color: var(--muted); font-size: 11.5px; }
.price-card tr:last-child td { border-bottom: 0; }
.price-card td.p { text-align: right; font-family: var(--mono); color: var(--ink); white-space: nowrap; }
.price-card .foot { padding: 10px 16px; border-top: 1px solid var(--line); font-size: 12.5px; background: var(--surface-2); }

.cols-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); margin-bottom: 32px; }
.cols-3 > div { padding: 20px; border-right: 1px solid var(--line); }
.cols-3 > div:last-child { border-right: 0; }
.cols-3 .n { font-family: var(--mono); color: var(--accent); font-size: 12px; margin-bottom: 8px; }
.cols-3 h4 { font-size: 15px; margin: 0 0 6px; }
.cols-3 p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.55; }
@media (max-width: 767px) { .cols-3 { grid-template-columns: 1fr; } .cols-3 > div { border-right: 0; border-bottom: 1px solid var(--line); } .cols-3 > div:last-child { border-bottom: 0; } }

.why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin-bottom: 32px; }
.why > div { background: var(--surface); padding: 18px 20px; }
.why h4 { font-size: 14.5px; margin: 0 0 6px; }
.why h4:before { content: ''; display: inline-block; width: 6px; height: 6px; background: var(--accent); border-radius: 1px; margin: 0 9px 2px 0; vertical-align: middle; }
.why p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.55; }
@media (max-width: 991px) { .why { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575px) { .why { grid-template-columns: 1fr; } }

.pay-methods { border-top: 1px solid var(--line); margin-bottom: 32px; }
.pm-row { display: flex; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.pm-group { flex: 0 0 150px; font-size: 13px; font-weight: 600; color: var(--ink); }
.pm-list { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
.pm-list span { border: 1px solid var(--line-2); background: var(--surface); border-radius: var(--r-sm); padding: 3px 9px; font-size: 12.5px; color: var(--ink-2); }
@media (max-width: 575px) { .pm-row { flex-direction: column; gap: 8px; } .pm-group { flex: none; } }

.testi { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 32px; }
.testi figure { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; display: flex; flex-direction: column; justify-content: space-between; gap: 14px; }
.testi blockquote { margin: 0; color: var(--ink-2); font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.testi figcaption { font-size: 12.5px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 10px; }
.testi figcaption b { color: var(--ink); font-weight: 600; margin-right: 6px; }
@media (max-width: 991px) { .testi { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575px) { .testi { grid-template-columns: 1fr; } }

.section-label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 12px; }
.qa { border-top: 1px solid var(--line); margin-bottom: 28px; }
.qa details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.qa summary { cursor: pointer; color: var(--ink); font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:after { content: '+'; font-family: var(--mono); color: var(--muted); }
.qa details[open] summary:after { content: '\2212'; }
.qa details p { margin: 10px 0 0; color: var(--ink-2); max-width: 720px; line-height: 1.6; }

/* ---------- Deposit (Tripay) ---------- */
.pay-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.pay-option { position: relative; margin: 0; cursor: pointer; font-weight: 400; }
.pay-option input { position: absolute; opacity: 0; }
.pay-option .box {
	display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 8px; height: 100%; min-height: 86px; padding: 12px;
	border: 1px solid var(--line-2); border-radius: var(--r); background: var(--surface); transition: border-color .12s ease, background .12s ease;
}
.pay-option .box img { max-height: 22px; max-width: 90px; object-fit: contain; }
.pay-option .box .nm { font-size: 12.5px; font-weight: 500; color: var(--ink); line-height: 1.3; }
.pay-option .box .fee { font-size: 11.5px; color: var(--muted); font-family: var(--mono); }
.pay-option:hover .box { border-color: var(--ink-2); }
.pay-option input:checked + .box { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: var(--surface-2); }
.pay-option input:focus-visible + .box { outline: 2px solid var(--accent); outline-offset: 2px; }
.pay-group-title { font-size: 11.5px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin: 18px 0 8px; }
.amount-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.amount-chips button { border: 1px solid var(--line-2); background: var(--surface); border-radius: var(--r-sm); padding: 4px 10px; font-family: var(--mono); font-size: 12px; color: var(--ink-2); cursor: pointer; }
.amount-chips button:hover { border-color: var(--ink); color: var(--ink); }
.summary-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 13.5px; }
.summary-row > :last-child { font-family: var(--mono); }
.summary-row.total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 10px; font-weight: 600; color: var(--ink); font-size: 15px; }

.steps { counter-reset: step; }
.step { position: relative; padding: 0 0 14px 34px; border: 0; background: none; height: auto; }
.step:before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0; width: 22px; height: 22px; border: 1px solid var(--line-2); border-radius: 50%; background: none; font-family: var(--mono); font-weight: 400; font-size: 11.5px; color: var(--ink); display: flex; align-items: center; justify-content: center; }
.step h5 { margin: 1px 0 3px; font-size: 14px; font-weight: 600; }
.step p { margin: 0; color: var(--muted); font-size: 13px; }

/* ---------- Masuk / daftar ---------- */
.auth-card { max-width: 400px; margin: 24px auto 30px; padding: 28px !important; }
.auth-card .auth-head { margin-bottom: 20px; }
.auth-card .auth-head .ico { display: none; }
.auth-card .auth-head h4 { font-size: 20px; margin: 0; }
.auth-card .auth-head p { color: var(--muted); margin: 4px 0 0; }
.auth-card .btn-block { padding: 10px; }

/* ---------- Admin ---------- */
.page-head .actions { display: flex; flex-wrap: wrap; gap: 8px; }
.page-head .actions .btn i { margin-right: 4px; }
.figures .sub { font-size: 12px; color: var(--muted); margin-top: 4px; }
.figures .is-warn { background: var(--warn-soft); }
.figures .k a { text-decoration: none; }
.head-link { text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 13px; }
.cron-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.cron-row:last-of-type { border-bottom: 0; }
.cron-row .mono { font-size: 12px; }
.cron-msg { flex-basis: 100%; color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.layout-admin .card-box > .alert:first-child, .layout-admin .card-box > form:first-child { margin-top: 0; }
.layout-admin .card-box form .form-group { margin-bottom: 14px; }
.layout-admin .card-box form + .table-responsive { border-top: 1px solid var(--line); padding-top: 4px; }
.layout-admin .table-bordered { border: 0; }
.layout-admin .table-bordered td, .layout-admin .table-bordered th { border-left: 0 !important; border-right: 0 !important; }
.layout-admin .table td { white-space: nowrap; }
.layout-admin .table td.td-long { white-space: normal; min-width: 220px; max-width: 380px; }
.layout-admin .table td .btn-sm { padding: 4px 8px; }
.layout-admin .table td .btn-group { margin: 0 !important; }
/* status pesanan/deposit di tabel: label lembut, bukan tombol penuh */
.layout-admin .table .btn-group > .btn.dropdown-toggle,
.layout-admin .table .btn-group > .btn.disabled {
	background: #ecebe6 !important; border-color: transparent !important; color: var(--ink-2) !important;
	padding: 3px 9px; font-size: 12px; font-weight: 500; opacity: 1; border-radius: 99px;
}
.layout-admin .table .btn-group > .btn-success { background: var(--ok-soft) !important; color: var(--ok) !important; }
.layout-admin .table .btn-group > .btn-warning { background: var(--warn-soft) !important; color: var(--warn) !important; }
.layout-admin .table .btn-group > .btn-danger { background: var(--bad-soft) !important; color: var(--bad) !important; }
.layout-admin .table .btn-group > .btn-info, .layout-admin .table .btn-group > .btn-primary { background: var(--info-soft) !important; color: var(--info) !important; }
.layout-admin .table .btn-group > .btn.dropdown-toggle:hover { box-shadow: inset 0 0 0 1px currentColor !important; }
.layout-admin .dropdown-menu { border: 1px solid var(--line-2); border-radius: var(--r); box-shadow: 0 8px 24px rgba(23, 24, 28, .08); padding: 4px; font-size: 13px; }
.layout-admin .dropdown-item { border-radius: var(--r-sm); padding: 6px 10px; }
.layout-admin .table td, .layout-admin .table th { padding: 9px 10px; }
.layout-admin .table td.td-date { white-space: normal; min-width: 116px; font-size: 12.5px; color: var(--muted); }
.layout-admin .table td.td-long { min-width: 180px; max-width: 300px; }
.chart-meta { display: flex; flex-wrap: wrap; gap: 6px 24px; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.chart-meta b { color: var(--ink); font-weight: 500; }
.morris-hover.morris-default-style { border-radius: var(--r-sm); border: 1px solid var(--line-2); background: var(--surface); box-shadow: 0 6px 18px rgba(23,24,28,.08); font-family: var(--sans); font-size: 12px; color: var(--ink-2); padding: 8px 10px; text-align: left; }
.morris-hover.morris-default-style .morris-hover-row-label { font-weight: 600; color: var(--ink); margin-bottom: 2px; }
/* Tabel lebar di HP: bayangan tipis di tepi menandakan bisa digeser */
@media (max-width: 991px) {
	.table-responsive {
		background:
			linear-gradient(to right, var(--surface) 30%, rgba(255, 255, 255, 0)) left center / 32px 100% no-repeat local,
			linear-gradient(to left, var(--surface) 30%, rgba(255, 255, 255, 0)) right center / 32px 100% no-repeat local,
			radial-gradient(farthest-side at 0 50%, rgba(23, 24, 28, .14), transparent) left center / 10px 100% no-repeat scroll,
			radial-gradient(farthest-side at 100% 50%, rgba(23, 24, 28, .14), transparent) right center / 10px 100% no-repeat scroll;
		-webkit-overflow-scrolling: touch;
	}
}
@media (max-width: 575px) {
	.layout-sidebar .wrapper > .container-fluid { padding: 14px 15px 0 !important; }
	.card-box { padding: 14px; margin-bottom: 14px; }
	.page-head { margin: 2px 0 14px; gap: 10px; }
	.page-head h1 { font-size: 20px; }
	.page-head .actions { width: 100%; }
	.page-head .actions .btn { flex: 1; text-align: center; }
	.layout-admin .card-box form .form-group { margin-bottom: 10px; }
	.layout-admin .card-box .alert { padding: 10px 12px; font-size: 13px; }
	.figures .v { font-size: 18px; }
	.figures > div { padding: 12px 14px; }
}

/* Konten halaman informasi: tabel lebar digulir di dalam kartu, kode panjang boleh patah */
.page-content { min-width: 0; }
.page-content table { display: block; width: 100%; overflow-x: auto; }
.page-content code { overflow-wrap: anywhere; word-break: break-word; white-space: normal; }

/* ---------- Deposit: jarak lebih lega ---------- */
.dep-step { padding: 4px 0 26px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.dep-step-head { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; }
.dep-step-head .num { flex: 0 0 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--surface); font-family: var(--mono); font-size: 12px; display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.dep-step-head h5 { margin: 0 0 2px; font-size: 15px; font-weight: 600; color: var(--ink); }
.dep-step-head p { margin: 0; font-size: 12.5px; color: var(--muted); }
.dep-amount .input-group-text { font-family: var(--mono); font-size: 14px; color: var(--muted); background: var(--surface-2); padding: 0 16px; }
.dep-amount .form-control { font-family: var(--mono); font-size: 18px; height: 50px; padding: 0 16px; }
.amount-chips { gap: 8px; margin-top: 12px; }
.amount-chips button { padding: 7px 14px; font-size: 12.5px; }
.amount-chips button.active { border-color: var(--ink); background: var(--ink); color: var(--surface); }
.dep-hint { margin-top: 10px; font-size: 12.5px; color: var(--muted); }
.dep-step .pay-group-title { margin: 22px 0 10px; }
.dep-step .pay-group-title:first-of-type { margin-top: 4px; }
.dep-step .pay-grid { grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); gap: 12px; }
.dep-step .pay-option .box { position: relative; min-height: 116px; padding: 14px 16px; gap: 10px; justify-content: flex-start; }
.dep-step .pay-option .box .logo { display: flex; align-items: center; height: 26px; }
.dep-step .pay-option .box .logo img { max-height: 24px; max-width: 96px; }
.dep-step .pay-option .box .nm { font-size: 13px; padding-right: 18px; }
.dep-step .pay-option .box .fee { margin-top: auto; }
.dep-step .pay-option input:checked + .box:after { content: '\2713'; position: absolute; top: 10px; right: 10px; width: 18px; height: 18px; border-radius: 50%; background: var(--ink); color: var(--surface); font-size: 11px; line-height: 18px; text-align: center; }
.dep-summary { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 20px; margin-bottom: 20px; }
.dep-summary .summary-row { padding: 7px 0; }
.dep-summary .summary-row.total { margin-top: 8px; padding-top: 14px; }
.dep-submit { padding: 13px; }
.dep-note { text-align: center; color: var(--muted); font-size: 12.5px; margin: 12px 0 0; }
.steps .step { padding-bottom: 20px; }
.steps .step:last-child { padding-bottom: 4px; }
.dep-alert { margin: 18px 0 0; font-size: 13px; line-height: 1.55; }
@media (max-width: 575px) {
	.dep-step .pay-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.dep-step .pay-option .box { min-height: 108px; padding: 12px 13px; }
	.dep-summary { padding: 14px 16px; }
}

/* ---------- Riwayat deposit ---------- */
.dh-card { padding: 0 !important; overflow: hidden; }
.dh-filter { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.dh-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.dh-tabs a { padding: 6px 13px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 12.5px; color: var(--ink-2); text-decoration: none; background: var(--surface); }
.dh-tabs a:hover { border-color: var(--ink-2); color: var(--ink); }
.dh-tabs a.on { background: var(--ink); border-color: var(--ink); color: var(--surface); }
.dh-search { display: flex; gap: 8px; flex: 0 1 360px; min-width: 0; }
.dh-search .form-control { min-width: 0; }
.dh-list { margin: 0; }
.dh-item { display: grid; grid-template-columns: minmax(0, 1fr) auto 150px; gap: 20px; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.dh-item:last-child { border-bottom: 0; }
.dh-item:hover { background: var(--surface-2); }
.dh-method { font-weight: 600; color: var(--ink); font-size: 14px; }
.dh-meta { font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.dh-note { font-size: 12.5px; color: var(--ink-2); margin-top: 6px; overflow-wrap: anywhere; }
.dh-amount { text-align: right; }
.dh-recv { font-family: var(--mono); font-size: 15px; color: var(--ink); white-space: nowrap; }
.dh-paid { font-size: 12px; color: var(--muted); margin-top: 3px; white-space: nowrap; }
.dh-status { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.dh-empty { padding: 40px 20px; }
.dh-pages { padding: 0 20px; }
.dh-pages .pagination { margin: 16px 0; }
.dh-pages:empty, .dh-pages > div:empty { display: none; }
@media (max-width: 767px) {
	.dh-filter { padding: 14px 15px; }
	.dh-search { flex: 1 1 100%; }
	.dh-item { grid-template-columns: minmax(0, 1fr) auto; gap: 10px 14px; padding: 14px 15px; }
	.dh-status { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; }
}

/* ---------- Riwayat pesanan (memakai gaya .dh-*) ---------- */
.oh-service { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.4; }
.oh-target { font-size: 12px; color: var(--ink-2); margin-top: 7px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 4px 8px; display: inline-block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: top; }
.oh-prog { display: flex; align-items: center; gap: 10px; margin-top: 9px; max-width: 360px; }
.oh-prog .bar { flex: 1; height: 5px; background: var(--line); border-radius: 3px; overflow: hidden; }
.oh-prog .bar span { display: block; height: 100%; background: var(--info, var(--ink)); }
.oh-prog small { font-size: 11.5px; color: var(--muted); white-space: nowrap; font-family: var(--mono); }
.dh-meta a.mono { color: var(--ink-2); }

/* Detail pesanan (modal) */
.od-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.od-id { font-size: 12px; color: var(--muted); }
.od-svc { font-weight: 600; color: var(--ink); margin-top: 3px; line-height: 1.4; overflow-wrap: anywhere; }
.od-note { font-size: 13px; color: var(--ink-2); margin: 0 0 14px; }
.od-target { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 10px 12px; margin-bottom: 12px; }
.od-target .k { font-size: 11.5px; color: var(--muted); margin-bottom: 3px; }
.od-target .mono { font-size: 12.5px; overflow-wrap: anywhere; color: var(--ink); }

/* ---------- Pesan baru ---------- */
.os-info { margin-top: 16px; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.os-figs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: var(--surface-2); border-bottom: 1px solid var(--line); }
.os-figs > div { padding: 12px 16px; border-right: 1px solid var(--line); min-width: 0; }
.os-figs > div:last-child { border-right: 0; }
.os-figs .k { font-size: 11.5px; color: var(--muted); }
.os-figs .v { font-family: var(--mono); font-size: 15px; color: var(--ink); margin-top: 3px; overflow-wrap: anywhere; }
.os-desc { padding: 14px 16px; font-size: 13px; line-height: 1.6; color: var(--ink-2); max-height: 220px; overflow-y: auto; overflow-wrap: anywhere; }
.os-desc[hidden] { display: none; }
.os-card .form-group { margin-bottom: 18px; }
.os-card .form-group.m-b-0 { margin-bottom: 0; }
.os-card .form-control.is-invalid { border-color: var(--bad) !important; box-shadow: 0 0 0 3px var(--bad-soft) !important; }
.dep-summary .os-balance { border-top: 1px dashed var(--line-2); margin-top: 10px; padding-top: 12px; font-size: 13px; }
.os-actions { display: flex; gap: 10px; }
.os-actions .btn-accent { flex: 1; }
.os-rules { margin: 0; padding-left: 18px; }
.os-rules li { margin-bottom: 12px; color: var(--ink-2); font-size: 13.5px; line-height: 1.55; }
.os-rules li:last-child { margin-bottom: 0; }
@media (max-width: 575px) {
	.os-figs > div { padding: 10px 12px; }
	.os-figs .v { font-size: 13.5px; }
}

/* ---------- Daftar layanan ---------- */
.pl-filter { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.4fr) minmax(0, .8fr) auto auto; gap: 10px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.pl-cat { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 18px 20px 8px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.pl-cat span { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--ink); }
.pl-cat small { font-size: 12px; color: var(--muted); white-space: nowrap; }
.pl-item { display: grid; grid-template-columns: minmax(0, 1fr) 140px 80px; gap: 20px; align-items: start; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.pl-item:hover { background: var(--surface-2); }
.pl-name { font-size: 14px; font-weight: 500; color: var(--ink); line-height: 1.45; overflow-wrap: anywhere; }
.pl-note { margin-top: 6px; }
.pl-note summary { display: inline-block; cursor: pointer; font-size: 12.5px; color: var(--accent-ink, var(--accent)); list-style: none; }
.pl-note summary::-webkit-details-marker { display: none; }
.pl-note summary:after { content: ' +'; font-family: var(--mono); }
.pl-note[open] summary:after { content: ' \2212'; }
.pl-note > div { margin-top: 8px; padding: 10px 12px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-sm); font-size: 12.5px; line-height: 1.6; color: var(--ink-2); overflow-wrap: anywhere; }
.pl-price { text-align: right; padding-top: 1px; }
.pl-price span { display: block; font-family: var(--mono); font-size: 15px; color: var(--ink); white-space: nowrap; }
.pl-price small { font-size: 11.5px; color: var(--muted); }
.pl-act { text-align: right; }
.pl-list .pl-item:last-child { border-bottom: 0; }
@media (max-width: 991px) { .pl-filter { grid-template-columns: 1fr 1fr; } .pl-filter .btn { width: 100%; } }
@media (max-width: 575px) {
	.pl-filter { grid-template-columns: 1fr; padding: 14px 15px; }
	.pl-cat { padding: 16px 15px 8px; }
	.pl-item { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 14px; padding: 14px 15px; }
	.pl-act { grid-column: 2; grid-row: 2; align-self: end; }
	.pl-main { grid-row: 1 / span 2; }
}

/* ---------- Top 10 ---------- */
.top-switch { display: flex; box-shadow: inset 0 -1px 0 var(--line); margin-bottom: 16px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.top-switch::-webkit-scrollbar { display: none; }
.top-switch a { padding: 10px 16px; font-size: 13.5px; color: var(--muted); text-decoration: none; border-bottom: 2px solid transparent; white-space: nowrap; }
.top-switch a:hover { color: var(--ink); }
.top-switch a.on { color: var(--ink); font-weight: 600; border-bottom-color: var(--accent); }
.top-list { list-style: none; margin: 0; padding: 0; }
.top-list li { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.top-list li:last-child { border-bottom: 0; }
.top-list .rank { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2); display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 13px; color: var(--ink-2); }
.top-list .podium .rank { border: 0; color: #fff; font-weight: 600; }
.top-list .r1 .rank { background: #c9971c; }
.top-list .r2 .rank { background: #8d949c; }
.top-list .r3 .rank { background: #a8653a; }
.top-list .r1 { background: var(--warn-soft); }
.top-list .nm { font-weight: 600; color: var(--ink); font-size: 14px; overflow-wrap: anywhere; line-height: 1.4; }
.top-list .sub { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.top-list .val { font-family: var(--mono); font-size: 15px; color: var(--ink); text-align: right; white-space: nowrap; }
.top-list .val small { font-size: 11.5px; color: var(--muted); }
.top-list .you { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 999px; background: var(--ink); color: var(--surface); font-size: 11px; font-weight: 500; vertical-align: 1px; }
.top-list li.mine:not(.r1) { background: var(--surface-2); }
.page-head .actions.dh-tabs a { padding: 6px 13px; }
@media (max-width: 575px) {
	.top-list li { grid-template-columns: 30px minmax(0, 1fr); gap: 4px 12px; padding: 13px 15px; }
	.top-list .val { grid-column: 2; text-align: left; font-size: 14px; }
}

/* ---------- Dokumentasi API ---------- */
.api-doc { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 0; padding: 0 !important; overflow: hidden; }
.api-nav { display: flex; flex-direction: column; gap: 2px; padding: 16px 12px; border-right: 1px solid var(--line); background: var(--surface-2); }
.api-nav a { padding: 9px 12px; border-radius: var(--r-sm); font-size: 13.5px; color: var(--ink-2); text-decoration: none; }
.api-nav a:hover { background: var(--surface); color: var(--ink); }
.api-nav a.on { background: var(--ink); color: var(--surface); font-weight: 500; }
.api-body { padding: 22px 26px 26px; min-width: 0; }
.api-sec h2 { font-size: 18px; margin: 0 0 16px; }
.api-table { margin-bottom: 18px; border: 1px solid var(--line); }
.api-table th { width: 170px; font-weight: 600; color: var(--ink); background: var(--surface-2); font-size: 13px; }
.api-table thead th { width: auto; text-transform: none; letter-spacing: 0; }
.api-table td, .api-table th { padding: 11px 14px; vertical-align: middle; overflow-wrap: anywhere; }
.api-table code, .api-note code { font-family: var(--mono); font-size: 12.5px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 4px; padding: 1px 5px; color: var(--ink); }
.api-url { margin-right: 6px; }
.api-label { font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0 0 8px; }
.api-code { background: #1d1d1b; color: #ecebe6; border-radius: var(--r); padding: 14px 16px; font-family: var(--mono); font-size: 12.5px; line-height: 1.6; margin: 0 0 18px; overflow-x: auto; white-space: pre; }
.api-resp { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.api-note { font-size: 13px; color: var(--ink-2); margin: 0; line-height: 1.6; }
.api-key-box { display: flex; gap: 8px; }
.api-key-box .form-control { min-width: 0; font-size: 13px; }
@media (max-width: 991px) {
	.api-doc { grid-template-columns: minmax(0, 1fr); }
	.api-nav { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); padding: 10px 12px; scrollbar-width: none; }
	.api-nav::-webkit-scrollbar { display: none; }
	.api-nav a { white-space: nowrap; }
	.api-resp { grid-template-columns: minmax(0, 1fr); gap: 0; }
}
@media (max-width: 575px) {
	.api-body { padding: 18px 15px; }
	.api-table th { width: 110px; }
	.api-key-box { flex-wrap: wrap; }
	.api-key-box .form-control { flex: 1 1 100%; }
	.api-key-box .btn { flex: 1; }
}
.api-table td:first-child code { white-space: nowrap; }
.api-table tbody td:first-child { width: 1%; white-space: nowrap; }
.api-resp > div, .api-sec { min-width: 0; }

/* ---------- Beranda v2 ---------- */
.intro { padding: 36px 0 32px; border-bottom: 0; margin-bottom: 0; align-items: center; }
.intro h1 { font-size: 38px; letter-spacing: -.025em; margin-bottom: 16px; }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 500; color: var(--accent); background: rgba(217, 72, 31, .08); border: 1px solid rgba(217, 72, 31, .2); border-radius: 999px; padding: 4px 11px; margin-bottom: 16px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-cta .btn { margin: 0; }
.hero-checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 8px; }
.hero-checks li { position: relative; padding-left: 26px; font-size: 13.5px; color: var(--ink-2); }
.hero-checks li:before { content: '\2713'; position: absolute; left: 0; top: 1px; width: 17px; height: 17px; border-radius: 50%; background: var(--ok-soft, #e3f1e8); color: var(--ok); font-size: 10.5px; line-height: 17px; text-align: center; font-weight: 700; }
.price-card { box-shadow: 0 1px 2px rgba(0,0,0,.03), 0 12px 32px -18px rgba(0,0,0,.18); }
.price-rows a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 16px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-size: 13.5px; transition: background .12s ease; }
.price-rows a:last-child { border-bottom: 0; }
.price-rows a:hover { background: var(--surface-2); }
.price-rows .nm { min-width: 0; overflow-wrap: anywhere; }
.price-rows small { display: block; color: var(--muted); font-size: 11.5px; margin-top: 1px; }
.price-rows .p { font-family: var(--mono); white-space: nowrap; font-size: 13px; }
.price-rows a:hover .p { color: var(--accent); }
.stat-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 56px; }
.stat-strip > div { padding: 20px 22px; border-right: 1px solid var(--line); }
.stat-strip > div:last-child { border-right: 0; }
.stat-strip b { display: block; font-family: var(--mono); font-weight: 500; font-size: 26px; letter-spacing: -.02em; color: var(--ink); line-height: 1.1; }
.stat-strip span { font-size: 12.5px; color: var(--muted); }
.sec-head { margin: 0 0 16px; }
.sec-head h2 { font-size: 21px; font-weight: 600; letter-spacing: -.015em; margin: 0; color: var(--ink); }
.sec-head p { margin: 4px 0 0; color: var(--muted); font-size: 13.5px; }
.cols-3, .why, .pay-methods, .testi { margin-bottom: 56px; }
.cols-3 > div { padding: 22px 22px 24px; }
.cols-3 .n { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--surface); font-size: 11.5px; margin-bottom: 12px; }
.why > div { padding: 20px 22px; }
.pm-list span.muted { border: 0; background: none; padding: 3px 0; color: var(--muted); }
.home-bottom { margin-bottom: 8px; }
.home-bottom .qa { margin-bottom: 12px; }
.more-link { display: inline-block; font-size: 13px; margin-bottom: 40px; }
.contact-box p { color: var(--ink-2); font-size: 13.5px; margin-bottom: 14px; }
.contact-links { display: flex; flex-direction: column; margin-top: 14px; border-top: 1px solid var(--line); padding-top: 8px; }
.contact-links a { padding: 7px 0; font-size: 13px; text-decoration: none; color: var(--ink-2); }
.contact-links a:hover { color: var(--accent); }
.contact-links a:after { content: ' \2192'; color: var(--muted); }
.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; background: var(--ink); color: var(--surface); border-radius: var(--r); padding: 28px 30px; margin: 8px 0 40px; }
.cta-band h2 { font-size: 21px; font-weight: 600; margin: 0 0 4px; color: inherit; letter-spacing: -.015em; }
.cta-band p { margin: 0; opacity: .72; font-size: 14px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cta-actions .btn { margin: 0; }
.cta-ghost { background: transparent !important; color: var(--surface) !important; border: 1px solid rgba(255,255,255,.35) !important; }
.cta-ghost:hover { border-color: var(--surface) !important; }
@media (max-width: 991px) {
	.intro { padding-top: 20px; }
	.intro h1 { font-size: 29px; }
	.stat-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 44px; }
	.stat-strip > div:nth-child(2) { border-right: 0; }
	.stat-strip > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
	.cols-3, .why, .pay-methods, .testi { margin-bottom: 44px; }
}
@media (max-width: 575px) {
	.intro h1 { font-size: 25px; }
	.hero-cta .btn { flex: 1; }
	.stat-strip > div { padding: 16px; }
	.stat-strip b { font-size: 21px; }
	.cta-band { padding: 22px 20px; }
	.cta-actions { width: 100%; }
	.cta-actions .btn { flex: 1; }
}

/* ---------- Dashboard member ---------- */
.db-hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 16px; overflow: hidden; }
.db-balance { background: var(--ink); color: var(--surface); padding: 22px 24px; display: flex; flex-direction: column; justify-content: center; }
.db-balance .k { font-size: 12.5px; opacity: .7; }
.db-balance .v { font-family: var(--mono); font-size: 32px; letter-spacing: -.03em; line-height: 1.2; margin: 4px 0 16px; overflow-wrap: anywhere; }
.db-balance .v small { font-size: 15px; opacity: .7; }
.db-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.db-actions .btn { margin: 0; }
.db-figs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.db-figs a { display: flex; flex-direction: column; justify-content: center; padding: 16px 20px; text-decoration: none; color: var(--ink); border-left: 1px solid var(--line); transition: background .12s ease; }
.db-figs a:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
.db-figs a:hover { background: var(--surface-2); }
.db-figs .k { font-size: 12px; color: var(--muted); }
.db-figs b { font-family: var(--mono); font-weight: 500; font-size: 21px; letter-spacing: -.02em; margin-top: 3px; overflow-wrap: anywhere; }
.db-figs b small { font-size: 12px; color: var(--muted); }
.db-alert { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--warn-soft); border: 1px solid var(--line); border-radius: var(--r); padding: 10px 12px 10px 16px; margin-bottom: 16px; font-size: 13.5px; color: var(--ink); }
.db-alert .btn { margin: 0; flex-shrink: 0; }
.db-card { padding: 0; overflow: hidden; }
.db-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.db-card-head h4 { margin: 0; font-size: 14px; font-weight: 600; color: var(--ink); }
.db-card-head > a { font-size: 12.5px; text-decoration: none; }
.db-order { grid-template-columns: minmax(0, 1fr) auto 110px; }
.db-order .dh-status { text-align: right; }
.db-legend { display: flex; gap: 14px; font-size: 12px; color: var(--muted); }
.db-legend span:before { content: ''; display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }
.db-legend .a:before { background: #17181c; }
.db-legend .b:before { background: #d9481f; }
.db-chart { padding: 14px 16px 8px; }
.db-news { padding: 14px 20px; }
.db-news li { font-size: 13.5px; color: var(--ink-2); }
.db-empty { margin: 14px 20px; }
.db-shortcuts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.db-shortcuts a { display: flex; align-items: center; gap: 10px; padding: 14px 18px; text-decoration: none; color: var(--ink-2); font-size: 13px; border-bottom: 1px solid var(--line); transition: background .12s ease; }
.db-shortcuts a:nth-child(odd) { border-right: 1px solid var(--line); }
.db-shortcuts a:nth-last-child(-n+2) { border-bottom: 0; }
.db-shortcuts a:hover { background: var(--surface-2); color: var(--accent); }
.db-shortcuts i { width: 30px; height: 30px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; color: var(--ink); flex-shrink: 0; }
.db-account { padding: 8px 20px 12px; }
@media (max-width: 991px) {
	.db-hero { grid-template-columns: minmax(0, 1fr); }
	.db-figs a { border-left: 0; }
	.db-figs a:nth-child(odd) { border-right: 1px solid var(--line); }
}
@media (max-width: 575px) {
	.db-balance { padding: 20px; }
	.db-balance .v { font-size: 27px; }
	.db-actions .btn { flex: 1; }
	.db-figs a { padding: 14px 16px; }
	.db-figs b { font-size: 18px; }
	.db-order { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; }
	.db-order .dh-main { grid-column: 1 / -1; }
	.db-order .dh-amount { text-align: left; }
	.db-order .dh-status { grid-column: auto; justify-content: flex-end; }
	.db-card-head { padding: 12px 16px; }
	.db-legend { display: none; }
}

/* ---------- Masuk / Daftar ---------- */
.auth-wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); max-width: 900px; margin: 20px auto 36px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: 0 1px 2px rgba(0,0,0,.03), 0 16px 40px -24px rgba(0,0,0,.22); }
.auth-aside { background: var(--ink); color: var(--surface); padding: 32px 30px; display: flex; flex-direction: column; }
.auth-aside .brand { font-size: 13px; font-weight: 600; opacity: .7; margin-bottom: 26px; }
.auth-aside h2 { font-size: 24px; font-weight: 600; letter-spacing: -.02em; line-height: 1.25; color: inherit; margin: 0 0 20px; }
.auth-aside ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.auth-aside li { position: relative; padding-left: 24px; font-size: 13.5px; opacity: .88; }
.auth-aside li:before { content: '\2713'; position: absolute; left: 0; top: 0; color: var(--accent); font-weight: 700; }
.auth-stats { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(255,255,255,.14); padding-top: 18px; margin-top: auto; }
.auth-stats b { display: block; font-family: var(--mono); font-weight: 500; font-size: 22px; letter-spacing: -.02em; }
.auth-stats span { font-size: 12px; opacity: .65; }
.auth-aside-link { margin-top: 18px; font-size: 13px; color: var(--surface) !important; opacity: .8; text-decoration: none; }
.auth-aside-link:hover { opacity: 1; }
.auth-main { padding: 32px 34px; }
.auth-main .auth-head { margin-bottom: 22px; }
.auth-main .auth-head h1 { font-size: 24px; font-weight: 600; letter-spacing: -.02em; margin: 0 0 4px; }
.auth-main .auth-head p { color: var(--muted); margin: 0; font-size: 13.5px; }
.auth-form .form-group { margin-bottom: 16px; }
.auth-form .btn-lg { margin-top: 6px; }
.pw-field { position: relative; }
.pw-field .form-control { padding-right: 96px; }
.pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 0; background: none; color: var(--muted); font-size: 12.5px; padding: 4px 8px; cursor: pointer; border-radius: var(--r-sm); }
.pw-toggle:hover { color: var(--ink); background: var(--surface-2); }
.auth-captcha { max-width: 120px; font-family: var(--mono); }
.auth-terms { font-size: 12.5px; color: var(--muted); margin: 12px 0 0; text-align: center; }
.auth-alt { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); text-align: center; }
.auth-alt p { margin: 0 0 6px; }
.auth-alt p:last-child { margin: 0; }
@media (max-width: 767px) {
	.auth-wrap { grid-template-columns: minmax(0, 1fr); margin-top: 8px; }
	.auth-aside { order: 2; padding: 22px 20px; }
	.auth-aside .brand, .auth-aside h2, .auth-aside-link { display: none; }
	.auth-aside ul { margin-bottom: 18px; }
	.auth-main { padding: 24px 20px; }
}

/* ---------- Log saldo / log masuk ---------- */
.lb-item { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.lb-item:last-child { border-bottom: 0; }
.lb-item:hover { background: var(--surface-2); }
.lb-ico { width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 16px; background: var(--surface-2); border: 1px solid var(--line); color: var(--ink-2); }
.lb-ico.in { background: var(--ok-soft); color: var(--ok); border-color: transparent; }
.lb-ico.out { background: var(--bad-soft); color: var(--bad); border-color: transparent; }
.lb-note { font-size: 14px; color: var(--ink); overflow-wrap: anywhere; }
.lb-main .dh-meta { margin-top: 3px; }
.lb-amt { font-family: var(--mono); font-size: 14px; white-space: nowrap; text-align: right; }
.lb-in { color: var(--ok) !important; }
.lb-out { color: var(--bad) !important; }
.lb-same { color: var(--ok); }
@media (max-width: 575px) {
	.lb-item { grid-template-columns: 30px minmax(0, 1fr); gap: 4px 12px; padding: 13px 15px; }
	.lb-ico { width: 30px; height: 30px; font-size: 14px; grid-row: span 2; align-self: start; }
	.lb-amt { grid-column: 2; text-align: left; font-size: 13.5px; }
}

/* ---------- Halaman daftar admin ---------- */
.adm-filter { flex-wrap: wrap; }
.adm-search-wide { flex: 1 1 520px; max-width: 640px; }
.adm-search-wide select { flex: 0 1 220px; min-width: 0; }
.adm-table { margin: 0; }
.adm-table thead th { font-size: 12px; font-weight: 500; color: var(--muted); text-transform: none; letter-spacing: 0; background: var(--surface-2); border-top: 0 !important; border-bottom: 1px solid var(--line) !important; padding: 10px 14px; white-space: nowrap; }
.adm-table td { padding: 12px 14px; vertical-align: middle; border-top: 1px solid var(--line) !important; font-size: 13.5px; }
.adm-table tbody tr:first-child td { border-top: 0 !important; }
.adm-table tbody tr:hover { background: var(--surface-2); }
.adm-table th:first-child, .adm-table td:first-child { padding-left: 20px; }
.adm-table th:last-child, .adm-table td:last-child { padding-right: 20px; }
.adm-sub { font-size: 12px; color: var(--muted); margin-top: 2px; }
.adm-name { min-width: 280px; max-width: 460px; }
.adm-name > div:first-child { line-height: 1.4; }
.adm-off td { color: var(--muted); }
.adm-profit { color: var(--ok); }
.adm-kv div { display: flex; gap: 8px; align-items: baseline; font-size: 12.5px; line-height: 1.7; }
.adm-kv span { color: var(--muted); min-width: 52px; flex-shrink: 0; }
.adm-kv code { font-size: 12px; color: var(--ink-2); background: none; padding: 0; }
.adm-url code { display: inline-block; max-width: 280px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }
.adm-act { text-align: right; white-space: nowrap; }
.adm-act .btn { margin: 0 0 0 4px; width: 32px; padding-left: 0; padding-right: 0; }
.adm-del:hover { color: var(--bad) !important; border-color: var(--bad) !important; }
.adm-foot { font-size: 12.5px; color: var(--muted); text-align: center; }
.adm-switch { position: relative; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; margin: 0; user-select: none; }
.adm-switch input { position: absolute; opacity: 0; pointer-events: none; }
.adm-switch span { position: relative; width: 32px; height: 18px; border-radius: 9px; background: var(--line-2, #d6d2c8); transition: background .15s ease; flex-shrink: 0; }
.adm-switch span:after { content: ''; position: absolute; left: 2px; top: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.2); transition: transform .15s ease; }
.adm-switch input:checked + span { background: var(--ok); }
.adm-switch input:checked + span:after { transform: translateX(14px); }
.adm-switch input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.adm-switch em { font-style: normal; font-size: 12.5px; color: var(--ink-2); }
.dh-card .dh-pages:empty { display: none; }
@media (max-width: 767px) {
	.adm-search-wide { flex-wrap: wrap; max-width: none; }
	.adm-search-wide select { flex: 1 1 100%; }
}
.adm-act .btn + .btn { margin-left: 4px; }
.adm-dd { font-size: 12px !important; padding: 3px 10px !important; border-radius: 999px !important; border: 1px solid transparent !important; background: var(--surface-2) !important; color: var(--ink-2) !important; box-shadow: none !important; }
.adm-dd-success { background: var(--ok-soft) !important; color: var(--ok) !important; }
.adm-dd-danger { background: var(--bad-soft) !important; color: var(--bad) !important; }
.adm-dd-warning { background: var(--warn-soft) !important; color: var(--warn) !important; }
.adm-dd-info, .adm-dd-primary { background: var(--info-soft, #e6eef7) !important; color: var(--info, #2c5d8f) !important; }
.adm-dd.disabled { opacity: 1 !important; cursor: default; }
.adm-dd.disabled:after { display: none; }
.adm-note { font-size: 13px; color: var(--ink-2); background: var(--surface-2); border-bottom: 1px solid var(--line); padding: 10px 20px; }
.adm-dates { flex-wrap: nowrap; align-items: center; }
.adm-dates input { min-width: 0; }
.adm-dates span { color: var(--muted); font-size: 12.5px; padding: 0 2px; }
@media (max-width: 575px) { .adm-dates { flex-wrap: wrap; } .adm-dates input { flex: 1 1 40%; } }
.adm-note-cell { max-width: 280px; font-size: 12.5px; color: var(--ink-2); overflow-wrap: anywhere; }
.big-num { font-family: var(--mono); font-size: 26px; letter-spacing: -.02em; color: var(--ink); margin: 2px 0 10px; }
.big-num small { font-size: 13px; color: var(--muted); }
.news-list article { padding: 16px 20px; border-bottom: 1px solid var(--line); }
.news-list article:last-child { border-bottom: 0; }
.news-list .date { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.news-list .body { font-size: 14px; color: var(--ink); line-height: 1.6; }
.tk-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); text-decoration: none !important; color: var(--ink); }
.tk-item:last-child { border-bottom: 0; }
.tk-item:hover { background: var(--surface-2); }
.tk-snip { font-size: 13px; color: var(--ink-2); margin: 3px 0 4px; overflow-wrap: anywhere; }
.tk-tips { padding-left: 18px; margin: 0 0 12px; font-size: 13.5px; color: var(--ink-2); }
.tk-tips li { margin-bottom: 6px; }
.tk-thread { display: flex; flex-direction: column; gap: 12px; }
.tk-msg { max-width: 82%; border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; background: var(--surface-2); }
.tk-msg.me { align-self: flex-end; background: var(--surface); }
.tk-msg.admin { align-self: flex-start; border-left: 3px solid var(--accent); }
.tk-msg .who { display: flex; justify-content: space-between; gap: 14px; font-size: 12.5px; margin-bottom: 4px; }
.tk-msg .who span { color: var(--muted); font-family: var(--mono); font-size: 11.5px; }
.tk-msg .txt { font-size: 14px; color: var(--ink); overflow-wrap: anywhere; }
@media (max-width: 575px) { .tk-msg { max-width: 100%; } .tk-item { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 14px 15px; } }
/* ---------- Ringkasan admin ---------- */
.db-alert.is-bad { background: var(--bad-soft); }
.adm-order { grid-template-columns: minmax(0, 1fr) auto 110px; }
.adm-order .dh-paid { font-family: var(--mono); font-size: 11.5px; }
.adm-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.adm-tiles a { display: flex; flex-direction: column; gap: 2px; padding: 16px 20px; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line); transition: background .12s ease; }
.adm-tiles a:nth-child(odd) { border-right: 1px solid var(--line); }
.adm-tiles a:nth-last-child(-n+2) { border-bottom: 0; }
.adm-tiles a:hover { background: var(--surface-2); }
.adm-tiles b { font-family: var(--mono); font-weight: 500; font-size: 22px; letter-spacing: -.02em; color: var(--muted); }
.adm-tiles a.has b { color: var(--ink); }
.adm-tiles a.has.warn b { color: var(--accent); }
.adm-tiles span { font-size: 12.5px; color: var(--muted); }
.adm-cron { padding: 4px 20px 10px; }
@media (max-width: 575px) { .adm-order { grid-template-columns: minmax(0, 1fr) auto; } .adm-tiles a { padding: 14px 16px; } }

/* ---------- Pengaturan payment gateway ---------- */
.pg-fig { font-size: 16px !important; }
.pg-enable { margin-bottom: 18px; }
.pg-enable em { font-size: 14px; color: var(--ink); }
.pg-segs { display: flex; width: fit-content; max-width: 100%; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 3px; gap: 3px; flex-wrap: wrap; }
.pg-seg { position: relative; margin: 0; cursor: pointer; }
.pg-seg input { position: absolute; opacity: 0; pointer-events: none; }
.pg-seg span { display: block; padding: 6px 14px; border-radius: 4px; font-size: 13px; color: var(--ink-2); }
.pg-seg input:checked + span { background: var(--surface); color: var(--ink); font-weight: 600; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.pg-seg input:focus-visible + span { outline: 2px solid var(--accent); }
.pg-keybox { border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; height: 100%; }
.pg-keybox.is-current { border-color: var(--ink); }
.pg-keybox .section-label { display: flex; align-items: center; gap: 8px; }
.pg-now { font-size: 11px; text-transform: none; letter-spacing: 0; background: var(--ink); color: var(--surface); border-radius: 999px; padding: 1px 8px; }
@media (max-width: 767px) { .pg-keybox { margin-bottom: 14px; height: auto; } }
.pg-ch-tools { display: flex; flex-wrap: wrap; gap: 6px; margin: -4px 0 12px; }
.pg-ch-tools .btn { margin: 0; }
.pg-ch-group { font-size: 12px; color: var(--muted); margin: 14px 0 8px; }
.pg-ch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.pg-ch { position: relative; display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 10px 12px; margin: 0; cursor: pointer; font-weight: 400; transition: border-color .12s ease, background .12s ease; }
.pg-ch:hover { border-color: var(--line-2, #cfcac0); }
.pg-ch input { position: absolute; opacity: 0; pointer-events: none; }
.pg-ch .box { flex-shrink: 0; width: 16px; height: 16px; border-radius: 4px; border: 1.5px solid var(--line-2, #cfcac0); margin-top: 2px; background: var(--surface); }
.pg-ch input:checked ~ .box { background: var(--ink); border-color: var(--ink); box-shadow: inset 0 0 0 3px var(--surface); }
.pg-ch input:checked ~ .info b { color: var(--ink); }
.pg-ch input:not(:checked) ~ .info { opacity: .55; }
.pg-ch input:focus-visible ~ .box { outline: 2px solid var(--accent); outline-offset: 2px; }
.pg-ch .info { display: flex; flex-direction: column; min-width: 0; }
.pg-ch .info b { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.pg-ch .info small { font-size: 11.5px; color: var(--muted); }
.pg-ch.is-down { background: var(--surface-2); }
.pg-savebar { position: sticky; bottom: 12px; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 10px 12px 10px 18px; margin-bottom: 20px; box-shadow: 0 8px 24px -12px rgba(0,0,0,.25); }
.pg-savebar span { font-size: 13px; color: var(--muted); }
.pg-savebar .btn { margin: 0; }
.pg-code { font-family: var(--mono); font-size: 12px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 10px; white-space: pre-wrap; overflow-wrap: anywhere; }
.pg-segs + small { display: block; margin-top: 6px; }
/* ---------- Paginasi & tabel kosong ---------- */
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.pager .pagination { margin: 0; }
.pager .pagination:empty { display: none; }
.pager-total { font-size: 12.5px; color: var(--muted); margin-left: auto; }
.dh-pages { padding: 14px 20px; border-top: 1px solid var(--line); }
.dh-pages:has(.pager > .pagination:empty):not(:has(.pager-total)):not(:has(.pg-empty)) { display: none; }
.pg-empty { text-align: center; color: var(--muted); font-size: 13.5px; padding: 26px 0 14px; }
.dh-pages:has(.pg-empty) { border-top: 0; }
.dh-card:has(.dh-empty) .dh-pages { display: none; }
.adm-table:not(:has(tbody tr)), .table:not(:has(tbody tr)) { display: none; }

/* Pengaturan situs, tiket & kontak */
.adm-check{display:flex;align-items:center;gap:8px;font-weight:400;font-size:13.5px;margin:0;cursor:pointer}
.adm-check input{width:16px;height:16px;accent-color:var(--ink)}
.st-hint{font-size:13px;margin-bottom:14px}
.st-icon{display:flex;align-items:center;gap:14px;margin-bottom:14px}
.st-icon img{width:48px;height:48px;object-fit:contain;border:1px solid var(--line);border-radius:var(--r-sm);background:var(--surface-2);padding:6px}
.st-icon b{display:block;font-weight:600}
.st-icon small{display:block;font-size:12.5px;line-height:1.45}
.contact-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px;padding-top:16px;border-top:1px solid var(--line)}
.contact-box .btn+.btn{margin-top:8px}
.od-help{margin-top:14px;padding-top:12px;border-top:1px dashed var(--line);font-size:13px;color:var(--muted)}

/* Tiket admin */
.atk-item { grid-template-columns: minmax(0, 1fr) auto; }
.atk-item .tk-main { text-decoration: none !important; color: var(--ink); min-width: 0; }
.atk-item.is-wait { box-shadow: inset 3px 0 0 var(--warn); }
.atk-item:hover { background: var(--surface-2); }
.atk-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.atk-type { display: inline-block; font-size: 11px; font-weight: 600; padding: 1px 7px; margin-right: 6px; border-radius: 4px; background: var(--info-soft); color: var(--info); vertical-align: 1px; white-space: nowrap; }
.atk-thread { max-height: 62vh; overflow-y: auto; }
.tk-msg.atk-admin { border-left: 1px solid var(--line); border-right: 3px solid var(--accent); }
.atk-tpl { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.atk-send { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.atk-svc { font-weight: 600; font-size: 13.5px; margin-bottom: 8px; overflow-wrap: anywhere; }
.atk-wrap { overflow-wrap: anywhere; text-align: right; max-width: 65%; }
.atk-note { font-size: 13px; }
.atk-others { padding: 4px 12px 10px; }
.atk-others a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 8px; border-top: 1px solid var(--line); border-radius: 6px; color: var(--ink); text-decoration: none !important; font-size: 13.5px; }
.atk-others a:first-child { border-top: 0; }
.atk-others a:hover { background: var(--surface-2); }
.atk-others a:hover + a { border-top-color: transparent; }
.atk-others .ao-main { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1 1 auto; }
.atk-others .ao-title { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.atk-others a.is-unread .ao-title { font-weight: 700; }
.atk-others .ao-meta { font-size: 12px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.atk-others .ao-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-right: 6px; vertical-align: 2px; }
.atk-others .status { flex: 0 0 auto; white-space: nowrap; font-size: 12px; }
.atk-count { display: inline-block; min-width: 20px; padding: 0 6px; margin-left: 4px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); font-size: 11.5px; font-weight: 600; text-align: center; line-height: 18px; vertical-align: 1px; }
.page-head .actions form { margin: 0; }
@media (max-width: 575px) { .atk-item { grid-template-columns: minmax(0, 1fr); } .atk-side { flex-direction: row; justify-content: space-between; align-items: center; } }
.figures.f4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 767px) { .figures.f4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .figures.f4 > div { border-bottom: 1px solid var(--line); } .figures.f4 > div:nth-child(2n) { border-right: 0; } .figures.f4 > div:nth-last-child(-n+2) { border-bottom: 0; } }
.st-logo-prev { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 10px 12px; margin-bottom: 12px; border: 1px dashed var(--line-2, var(--line)); border-radius: var(--r-sm); background: var(--surface-2); font-size: 13px; }
.st-logo-prev img { height: var(--logo-h, 36px); width: auto; max-width: 100%; object-fit: contain; }
.st-logo-size { margin-top: 2px; }
.auth-aside .brand-has-logo { line-height: 0; }
.auth-aside .brand-chip { display: inline-flex; align-items: center; background: #fff; border-radius: 8px; padding: 8px 12px; max-width: 100%; }
.auth-aside .brand-chip img { height: 32px; width: auto; max-width: 220px; object-fit: contain; }

/* Email & OTP */
.nt-test { display: flex; gap: 8px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.nt-test .form-control { flex: 1; min-width: 0; }
.nt-pol { align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--line); }
.nt-pol input { margin-top: 3px; flex: none; }
.nt-pol b { display: block; font-weight: 600; }
.nt-pol small { display: block; color: var(--muted); font-size: 12.5px; line-height: 1.45; margin-top: 2px; }
.nt-pol em { color: var(--warn); font-style: normal; }

/* Verifikasi & lupa password */
.vf-code { font-family: var(--mono); font-size: 24px; letter-spacing: .45em; text-align: center; height: 54px; }
.vf-resend { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 16px; font-size: 13.5px; color: var(--muted); }
.vf-change { margin-top: 14px; font-size: 13.5px; text-align: center; }
.vf-change summary { color: var(--muted); cursor: pointer; display: inline-block; }
.vf-change form { display: flex; gap: 8px; margin-top: 10px; text-align: left; }
.vf-change .form-control { flex: 1; min-width: 0; }
.vf-steps { display: flex; gap: 8px; margin-bottom: 18px; font-size: 12.5px; }
.vf-steps span { padding: 4px 10px; border-radius: 999px; background: var(--surface-2); color: var(--muted); border: 1px solid var(--line); }
.vf-steps .on { background: var(--ink); color: #fff; border-color: var(--ink); }
.vf-steps .done { color: var(--ok); border-color: var(--ok); background: var(--ok-soft); }
.vf-sent { padding: 18px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface-2); }
.vf-sent b { display: block; font-size: 15px; margin-bottom: 6px; }
.vf-sent p { font-size: 13.5px; color: var(--ink-2); }
.btn-linklike { background: none; border: 0; padding: 0; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font: inherit; }
.auth-form .pg-segs { display: flex; width: 100%; }
.auth-form .pg-seg { flex: 1; text-align: center; }
.ct-badge { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 4px; font-size: 11px; font-weight: 600; background: var(--warn-soft); color: var(--warn); vertical-align: 1px; }
.ct-badge.ok { background: var(--ok-soft); color: var(--ok); }
.ct-verify { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.ct-verify form { margin: 0; }
/* Lupa password: pilihan email / WhatsApp */
.auth-form .pg-seg span { padding: 9px 10px; }
.auth-form .pg-seg span .fa { margin-right: 4px; }
.auth-form .pg-seg small { display: block; font-size: 11px; font-weight: 400; color: var(--ink-3, var(--ink-2)); margin-top: 1px; }
.pg-seg.is-off { cursor: not-allowed; }
.pg-seg.is-off span { opacity: .5; }
/* Admin: template pesan */
.tp-tabs { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.tp-tabs a { padding: 9px 14px; font-size: 13.5px; color: var(--ink-2); border-bottom: 2px solid transparent; margin-bottom: -1px; text-decoration: none; white-space: nowrap; }
.tp-tabs a:hover { color: var(--ink); }
.tp-tabs a.on { color: var(--ink); font-weight: 600; border-bottom-color: var(--accent); }
.tp-tabs a .fa { margin-right: 4px; opacity: .7; }
.tp-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); vertical-align: middle; margin-left: 3px; }
.tp-body { font-family: var(--mono, Consolas, monospace); font-size: 13px; line-height: 1.55; }
.tp-tokens { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.tp-token { border: 1px solid var(--line); background: var(--surface-2); color: var(--ink); border-radius: 4px; padding: 3px 8px; font-size: 12px; font-family: var(--mono, Consolas, monospace); cursor: pointer; }
.tp-token:hover { border-color: var(--accent); }
.tp-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.tp-subject { font-size: 13px; padding: 8px 10px; border: 1px solid var(--line); border-bottom: 0; border-radius: 6px 6px 0 0; background: var(--surface-2); word-break: break-word; }
.tp-subject span { color: var(--ink-2); margin-right: 6px; }
.tp-frame { display: block; width: 100%; height: 440px; border: 1px solid var(--line); border-radius: 0 0 6px 6px; background: #f5f3ee; margin-bottom: 14px; }
.tp-wa { background: #e7ded3; border-radius: 6px; padding: 16px 12px; margin-bottom: 14px; }
.tp-bubble { background: #fff; color: #111; max-width: 90%; padding: 8px 10px; border-radius: 0 8px 8px 8px; font-size: 14px; line-height: 1.45; box-shadow: 0 1px 1px rgba(0,0,0,.12); word-break: break-word; }
/* Admin: kolom API key ringkas */
.adm-key { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.adm-key code { font-family: var(--mono, Consolas, monospace); font-size: 12.5px; color: var(--ink); background: var(--surface-2); border: 1px solid var(--line); border-radius: 4px; padding: 4px 8px; margin-right: 2px; }
.adm-key-btn { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); border-radius: 4px; cursor: pointer; font-size: 12px; text-decoration: none; padding: 0; }
.adm-key-btn:hover { color: var(--ink); border-color: var(--ink-2); text-decoration: none; }
.adm-key-btn:disabled { opacity: .4; cursor: default; }
.adm-table td.adm-name { max-width: 200px; min-width: 120px; white-space: normal; overflow-wrap: anywhere; }
/* Admin: provider */
.prov-act { display: inline-flex; gap: 6px; align-items: center; justify-content: flex-end; }
.adm-act .prov-act .btn { margin: 0; width: 32px; height: 32px; padding: 0; display: inline-flex; align-items: center; justify-content: center; }
.adm-act .prov-act .btn.prov-sync { width: auto; padding: 0 12px; gap: 6px; white-space: nowrap; }
.adm-act .prov-act .btn.prov-sync span { display: inline; }
.adm-act .prov-act .btn:disabled { opacity: .45; cursor: not-allowed; }
.adm-table tr.is-off td { color: var(--ink-2); }
.adm-table tr.is-off td b, .adm-table tr.is-off td code { opacity: .6; }
@media (max-width: 991px) { .adm-act .prov-act .btn.prov-sync { width: 32px; padding: 0; } .adm-act .prov-act .btn.prov-sync span { display: none; } }
/* Tiket: lampiran gambar & penanda belum dibaca */
.tk-file { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; }
.tk-file-btn { position: relative; display: inline-flex; align-items: center; gap: 7px; margin: 0; padding: 7px 12px; border: 1px dashed var(--line); border-radius: var(--r-sm, 6px); background: var(--surface-2); color: var(--ink); font-size: 13px; font-weight: 500; cursor: pointer; }
.tk-file-btn:hover { border-color: var(--accent); }
.tk-file-btn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.tk-file-btn:focus-within { outline: 2px solid var(--accent); outline-offset: 1px; }
.tk-file-name { font-size: 12.5px; color: var(--ink-2); overflow-wrap: anywhere; }
.tk-file.has-file .tk-file-name { color: var(--ink); }
.tk-file-thumb { width: 40px; height: 40px; object-fit: cover; border-radius: 4px; border: 1px solid var(--line); }
.tk-file-clear { border: 0; background: none; color: var(--ink-2); font-size: 20px; line-height: 1; padding: 0 4px; cursor: pointer; }
.tk-file-clear:hover { color: var(--danger, #c0392b); }
.tk-reply-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.tk-img { display: block; margin-top: 10px; max-width: 280px; }
.tk-img img { display: block; max-width: 100%; max-height: 260px; border-radius: 6px; border: 1px solid var(--line); background: var(--surface-2); }
.tk-new { display: inline-block; font-size: 11px; font-weight: 700; padding: 1px 7px; margin-right: 6px; border-radius: 4px; background: var(--accent); color: #fff; vertical-align: 1px; white-space: nowrap; }
.tk-item.is-unread .dh-method { font-weight: 700; }
.atk-act { display: flex; align-items: center; gap: 6px; }
.atk-act .btn { margin: 0; height: 32px; display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; }
.atk-act .atk-open { padding: 0 14px; gap: 6px; min-width: 84px; }
.atk-act .atk-del { width: 32px; padding: 0; }

/* Pengaturan > Keamanan: IP terbaca */
.st-sec-ip { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; padding: 10px 12px; margin-bottom: 10px; border: 1px solid var(--line, #e3e6ec); border-radius: 8px; font-size: 13px; }
.st-sec-ip span { color: var(--muted, #6b7280); }
.st-sec-ip b { font-weight: 600; word-break: break-all; }

/* Refill */
.rf-tag { display: inline-block; font-size: 10.5px; font-weight: 600; letter-spacing: .02em; padding: 1px 6px; border-radius: 4px; background: #e7f3ec; color: #1f7a4d; border: 1px solid #c9e6d5; vertical-align: 1px; white-space: nowrap; }
.rf-btn { display: inline; margin: 0; }
.rf-run { display: inline-block; font-size: 12px; color: var(--muted); white-space: nowrap; text-decoration: none; }
.dh-status .rf-btn .btn, .dh-status .rf-run { margin-top: 4px; }
.rf-rules { margin: 14px 0 0; padding-left: 18px; font-size: 12.5px; line-height: 1.6; }
.rf-empty { padding: 14px; text-align: center; }
.rf-msg { margin-top: 6px; font-size: 12.5px; color: #a23b2a; background: #fbefec; border-radius: 6px; padding: 5px 8px; overflow-wrap: anywhere; }
.arf-act { display: flex; flex-direction: column; gap: 6px; align-items: stretch; margin: 0; min-width: 120px; }
.arf-act select { height: 30px; font-size: 12.5px; }

/* Angka: font sans tebal dengan digit sama lebar (lebih mudah dibaca daripada mono).
   ID, kode, dan target tetap memakai mono (.mono, code, .api-code). */
:root { --num: 'IBM Plex Sans', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif; }
.num, .topbar-balance, .figures .v, .balance-bar .v, .intro .meta b, .price-card td.p, .summary-row > :last-child,
.dep-amount .input-group-text, .dep-amount .form-control, .dh-recv, .oh-prog small, .os-figs .v, .pl-price span,
.top-list .val, .top-list .rank, .price-rows .p, .stat-strip b, .db-balance .v, .db-figs b, .auth-stats b, .lb-amt,
.page-link, .amount-chips button, .dep-step-head .num, .step:before, .list-plain .date, .input-group-text, .pay-option .box .fee {
	font-family: var(--num); font-variant-numeric: tabular-nums lining-nums; font-feature-settings: 'tnum', 'lnum'; letter-spacing: 0;
}
.figures .v, .balance-bar .v, .db-balance .v, .db-figs b, .stat-strip b, .auth-stats b, .intro .meta b { font-weight: 600; letter-spacing: -.01em; }
.dh-recv, .pl-price span, .top-list .val, .os-figs .v, .lb-amt, .price-card td.p, .price-rows .p, .summary-row > :last-child, .topbar-balance { font-weight: 600; }
.db-balance .v small, .figures .v small, .balance-bar .v small { font-weight: 500; }

/* Dokumentasi API: daftar alamat per aksi */
.api-eps { display: flex; flex-direction: column; gap: 3px; margin-top: 8px; font-size: 12.5px; }
.api-eps a { color: var(--ink-2); text-decoration: none; overflow-wrap: anywhere; }
.api-eps a:hover { color: var(--accent); }
.api-endpoint { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0 0 12px; }
.api-endpoint span { font-size: 11px; font-weight: 700; letter-spacing: .04em; padding: 2px 7px; border-radius: 4px; background: var(--ink); color: var(--surface); }
.api-endpoint code { font-family: var(--mono); font-size: 13px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 4px; padding: 2px 7px; color: var(--ink); overflow-wrap: anywhere; }

/* Notifikasi > Kebijakan akun: ringkasan alur daftar saat ini */
.nt-pol-now { display: flex; gap: 8px; align-items: flex-start; padding: 9px 12px; margin: 4px 0 12px; border-radius: 6px; background: var(--info-soft); color: var(--info); font-size: 13px; line-height: 1.5; }
.nt-pol-now i { margin-top: 3px; }
.nt-pol-now b { color: var(--ink); font-weight: 600; }

/* Bonus deposit (promo) */
.bonus-banner { display: flex; align-items: center; gap: 10px; padding: 10px 14px; margin: 0 0 16px; border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 8px; background: var(--surface); color: var(--ink); font-size: 13.5px; }
.bonus-pill { flex: none; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; background: var(--accent); color: #fff; }
.bonus-row span:last-child { color: var(--accent); font-weight: 600; }
.bonus-tag { display: inline-block; margin-left: 4px; font-size: 11.5px; font-weight: 600; color: var(--accent); white-space: nowrap; }
.bn-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 4px; }
.bn-stats div { border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; }
.bn-stats small { display: block; color: var(--ink-2); font-size: 12px; }
.bn-stats b { font-family: var(--num, inherit); font-variant-numeric: tabular-nums; font-size: 17px; }
.bn-calc { font-size: 13px; color: var(--ink-2); line-height: 1.6; }
.bn-calc b { color: var(--ink); }

/* Batas nominal per metode pembayaran */
.pay-option .box .lim { font-size: 11.5px; color: var(--muted); font-family: var(--mono); margin-top: -6px; }
.dh-cancel { margin: 0; }
.dep-limit-warn { margin: 14px 0 0; font-size: 13.5px; }
.dep-step .pay-option.is-off .box { opacity: .45; }
.vc-toggle { padding-top: 16px; padding-bottom: 16px; }
/* Pesanan Massal */
.mo-text { min-height: 220px; font-size: 13px; line-height: 1.6; }
.mo-table { font-size: 13px; }
.mo-table td { vertical-align: top; }
.mo-target { max-width: 260px; overflow-wrap: anywhere; color: var(--ink-2); }
.mo-table tr.mo-bad td { background: rgba(220, 53, 69, .06); }
.mo-err { color: #c0392b; font-size: 12px; margin-top: 2px; }

/* =========================================================
   Kedalaman & animasi (v1)
   Bayangan berlapis halus + gerak pendek. Semua gerak mati
   otomatis bila sistem pengguna memilih "kurangi gerakan".
   ========================================================= */
:root {
	--sh-1: 0 1px 2px rgba(23, 24, 28, .05), 0 1px 1px rgba(23, 24, 28, .03);
	--sh-2: 0 1px 2px rgba(23, 24, 28, .04), 0 6px 18px -6px rgba(23, 24, 28, .10);
	--sh-3: 0 2px 4px rgba(23, 24, 28, .04), 0 18px 40px -14px rgba(23, 24, 28, .22);
	--sh-accent: 0 8px 22px -8px rgba(217, 72, 31, .55);
	--ease: cubic-bezier(.22, .8, .24, 1);
	--ease-spring: cubic-bezier(.34, 1.4, .64, 1);
}

/* ---------- Masuk halaman ---------- */
@keyframes ui-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes ui-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes ui-pop { from { opacity: 0; transform: translateY(-6px) scale(.98); } to { opacity: 1; transform: none; } }
.wrapper > .container-fluid > *:not(.modal) { animation: ui-rise .5s var(--ease) both; }
.wrapper > .container-fluid > *:nth-child(2) { animation-delay: .04s; }
.wrapper > .container-fluid > *:nth-child(3) { animation-delay: .08s; }
.wrapper > .container-fluid > *:nth-child(4) { animation-delay: .12s; }
.wrapper > .container-fluid > *:nth-child(5) { animation-delay: .16s; }
.wrapper > .container-fluid > *:nth-child(n+6) { animation-delay: .2s; }

/* ---------- Kartu & panel ---------- */
.card-box, .card, .figures, .dh-card, .db-hero, .cols-3, .stat-strip, .price-card, .testi figure, .api-doc { box-shadow: var(--sh-2) !important; }
.card-box, .card { transition: box-shadow .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease); }
.figures > div, .db-figs a { transition: background .2s ease, transform .25s var(--ease); }
.figures > div:hover { background: var(--surface-2); }
.db-hero .db-balance { background: radial-gradient(120% 140% at 0% 0%, #2a2c33 0%, var(--ink) 55%) ; position: relative; overflow: hidden; }
.db-hero .db-balance:after { content: ''; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(217, 72, 31, .35), transparent 70%); pointer-events: none; }
.db-balance > * { position: relative; z-index: 1; }

/* ---------- Tombol ---------- */
.btn { position: relative; overflow: hidden; transition: background .15s ease, border-color .15s ease, color .15s ease, box-shadow .2s var(--ease), transform .2s var(--ease) !important; }
.btn:not(:disabled):not(.disabled):hover { transform: translateY(-1px); }
.btn:not(:disabled):not(.disabled):active { transform: translateY(0) scale(.98); transition-duration: .06s !important; }
.btn-accent { box-shadow: 0 1px 0 rgba(255, 255, 255, .18) inset, var(--sh-1) !important; }
.btn-accent:not(:disabled):hover { box-shadow: 0 1px 0 rgba(255, 255, 255, .18) inset, var(--sh-accent) !important; }
.btn-dark:not(:disabled):hover, .btn-primary:not(:disabled):hover { box-shadow: 0 8px 20px -10px rgba(23, 24, 28, .6) !important; }
.btn-light:not(:disabled):hover, .btn-outline:not(:disabled):hover { box-shadow: var(--sh-2) !important; }
.btn i.fa-arrow-right, .btn i.fa-long-arrow-right { transition: transform .2s var(--ease); margin-left: 4px; }
.btn:hover i.fa-arrow-right, .btn:hover i.fa-long-arrow-right { transform: translateX(3px); }
.btn-ripple { position: absolute; border-radius: 50%; background: currentColor; opacity: .18; transform: scale(0); pointer-events: none; animation: btn-ripple .6s var(--ease) forwards; }
@keyframes btn-ripple { to { transform: scale(1); opacity: 0; } }
.btn-glow { isolation: isolate; }
.btn-glow:before { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .28) 50%, transparent 70%); transform: translateX(-120%); animation: btn-sheen 3.6s ease-in-out 1.2s infinite; z-index: -1; }
@keyframes btn-sheen { 0%, 70% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }

/* ---------- Form ---------- */
.form-control, .custom-select { transition: border-color .15s ease, box-shadow .2s var(--ease), background .15s ease; }
.form-control:focus, .custom-select:focus { border-color: var(--accent) !important; outline: 0 !important; box-shadow: 0 0 0 3px rgba(217, 72, 31, .14) !important; }
.pay-option .box, .amount-chips button { transition: border-color .15s ease, box-shadow .2s var(--ease), transform .2s var(--ease), background .15s ease, opacity .2s ease; }
.pay-option:hover .box { transform: translateY(-2px); box-shadow: var(--sh-2); }
.pay-option input:checked + .box { box-shadow: inset 0 0 0 1px var(--ink), var(--sh-2); }
.amount-chips button:hover { transform: translateY(-1px); box-shadow: var(--sh-1); }

/* ---------- Tabel & daftar ---------- */
.table tbody tr { transition: background .15s ease; }
.dh-item { transition: background .15s ease, box-shadow .2s var(--ease); }
.dh-item:hover { background: var(--surface-2); }
.status { transition: transform .2s var(--ease); }
.status.s-pending:before, .status.s-processing:before { animation: ui-pulse 1.6s ease-in-out infinite; }
@keyframes ui-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.7); } }

/* ---------- Notifikasi, menu, modal ---------- */
.alert { animation: ui-pop .35s var(--ease) both; box-shadow: var(--sh-1); }
.dropdown-menu.show, .profile-dropdown.show { animation: ui-pop .18s var(--ease) both; }
.modal.fade .modal-dialog { transform: translateY(14px) scale(.98); transition: transform .28s var(--ease); }
.modal.show .modal-dialog { transform: none; }
.modal-content { box-shadow: var(--sh-3) !important; border: 1px solid var(--line) !important; border-radius: 10px !important; }
.side-menu > li > a { transition: background .15s ease, color .15s ease, padding-left .2s var(--ease); }
.side-menu > li > a i { transition: color .15s ease, transform .25s var(--ease-spring); }
.side-menu > li > a:hover i { transform: scale(1.12); }
.side-menu .submenu li a { transition: color .15s ease, background .15s ease, transform .2s var(--ease); }
.side-menu .submenu li a:hover { transform: translateX(2px); }
.side-menu li.open > .submenu { animation: ui-fade .2s ease both; }
.side-menu > li.active:not(.has-submenu) > a { box-shadow: inset 0 0 0 1px var(--line), var(--sh-1); }
#topnav { transition: box-shadow .25s ease, background .25s ease; }
body.is-scrolled #topnav { box-shadow: 0 6px 18px -12px rgba(23, 24, 28, .35) !important; background: rgba(255, 255, 255, .88) !important; -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px); }
.menu-count { animation: ui-pop .3s var(--ease-spring) both; }

/* ---------- Muncul saat di-scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* =========================================================
   Beranda (tamu)
   ========================================================= */
.lp-hero { position: relative; margin: -30px -15px 0; padding: 30px 15px 8px; isolation: isolate; }
.lp-bg { position: absolute; inset: 0; overflow: hidden; z-index: -1; pointer-events: none; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.lp-bg .grid { position: absolute; inset: 0; background-image: radial-gradient(rgba(23, 24, 28, .09) 1px, transparent 1.2px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(70% 60% at 30% 30%, #000, transparent); mask-image: radial-gradient(70% 60% at 30% 30%, #000, transparent); }
.lp-bg .b1, .lp-bg .b2 { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; }
.lp-bg .b1 { width: 420px; height: 420px; right: 4%; top: -80px; background: radial-gradient(circle, rgba(217, 72, 31, .45), transparent 65%); animation: lp-drift 14s ease-in-out infinite alternate; }
.lp-bg .b2 { width: 360px; height: 360px; left: -80px; bottom: -40px; background: radial-gradient(circle, rgba(232, 168, 60, .35), transparent 65%); animation: lp-drift 18s ease-in-out infinite alternate-reverse; }
@keyframes lp-drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(-40px, 30px) scale(1.12); } }
.lp-in { animation: ui-rise .7s var(--ease) both; animation-delay: calc(var(--d, 0) * 90ms + 80ms); }
.lp-hero .intro { padding-bottom: 40px; }
.lp-hero h1 { font-size: 44px; line-height: 1.08; letter-spacing: -.03em; background: linear-gradient(180deg, var(--ink) 55%, #4a3a33); -webkit-background-clip: text; background-clip: text; }
.lp-hero .eyebrow { display: inline-flex; align-items: center; gap: 8px; box-shadow: var(--sh-1); background: var(--surface); }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(29, 122, 76, .5); animation: live-ping 2s ease-out infinite; flex: none; }
@keyframes live-ping { 0% { box-shadow: 0 0 0 0 rgba(29, 122, 76, .45); } 80%, 100% { box-shadow: 0 0 0 7px rgba(29, 122, 76, 0); } }
.hero-checks li { animation: ui-rise .6s var(--ease) both; }
.hero-checks li:nth-child(2) { animation-delay: .55s; }
.hero-checks li:nth-child(3) { animation-delay: .65s; }
.hero-checks li:first-child { animation-delay: .45s; }
.lp-visual { position: relative; padding: 18px 8px; }
.lp-visual .price-card { position: relative; z-index: 1; border-radius: 12px; box-shadow: var(--sh-3) !important; transition: transform .35s var(--ease), box-shadow .35s var(--ease); will-change: transform; }
.lp-visual .price-card:hover { box-shadow: 0 2px 4px rgba(23, 24, 28, .05), 0 28px 60px -20px rgba(23, 24, 28, .3) !important; }
.lp-visual .price-card .head { padding: 14px 18px; background: linear-gradient(180deg, var(--surface), var(--surface-2)); }
.lp-visual .price-rows a { animation: ui-rise .5s var(--ease) both; animation-delay: calc(var(--i, 0) * 60ms + 350ms); padding: 11px 18px; }
.lp-visual .price-rows a:hover { padding-left: 22px; }
.lp-visual .price-rows a { transition: background .15s ease, padding-left .2s var(--ease); }
.lp-visual .price-card .foot { padding: 12px 18px; }
.lp-float { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-3); font-size: 12.5px; font-weight: 500; color: var(--ink); white-space: nowrap; animation: lp-bob 5s ease-in-out infinite; }
.lp-float i { color: var(--accent); }
.lp-float.f1 { left: -34px; top: 46%; }
.lp-float.f2 { right: -14px; bottom: -4px; animation-delay: -2.5s; }
.lp-float.f2 i { color: var(--ok); }
@keyframes lp-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

.lp-marquee { position: relative; overflow: hidden; margin: 6px 0 28px; padding: 4px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.lp-marquee .track { display: flex; gap: 10px; width: max-content; animation: lp-marquee 48s linear infinite; }
.lp-marquee:hover .track { animation-play-state: paused; }
.lp-marquee a { flex: none; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); font-size: 12.5px; box-shadow: var(--sh-1); text-decoration: none; transition: color .15s ease, border-color .15s ease, transform .2s var(--ease); }
.lp-marquee a:hover { color: var(--accent); border-color: rgba(217, 72, 31, .4); transform: translateY(-1px); }
@keyframes lp-marquee { to { transform: translateX(calc(-50% - 5px)); } }

.stat-strip { border-radius: 12px; overflow: hidden; }
.stat-strip > div { position: relative; transition: background .2s ease; }
.stat-strip > div:hover { background: var(--surface-2); }
.stat-strip > div:after { content: ''; position: absolute; left: 22px; right: 22px; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.stat-strip > div:hover:after { transform: scaleX(1); }
.stat-strip b { font-size: 30px; }

.sec-head { margin-bottom: 20px; }
.sec-kicker { display: inline-block; font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.sec-head h2 { font-size: 26px; letter-spacing: -.02em; }

.lp-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 64px; position: relative; }
.lp-steps:before { content: ''; position: absolute; left: 12%; right: 12%; top: 46px; height: 2px; background: repeating-linear-gradient(90deg, var(--line-2) 0 6px, transparent 6px 12px); z-index: 0; }
.lp-steps > div { position: relative; z-index: 1; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 24px 22px; box-shadow: var(--sh-2); transition: transform .3s var(--ease), box-shadow .3s var(--ease), opacity .6s var(--ease); }
.lp-steps > div:hover { transform: translateY(-4px); box-shadow: var(--sh-3); }
.lp-steps .ic { position: relative; width: 46px; height: 46px; border-radius: 12px; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; margin-bottom: 16px; box-shadow: 0 8px 18px -8px rgba(23, 24, 28, .6); transition: transform .35s var(--ease-spring), background .2s ease; }
.lp-steps > div:hover .ic { transform: rotate(-6deg) scale(1.06); background: var(--accent); }
.lp-steps .ic .n { position: absolute; right: -7px; top: -7px; width: 20px; height: 20px; border-radius: 50%; background: var(--accent); color: #fff; font-family: var(--mono); font-size: 11px; display: flex; align-items: center; justify-content: center; border: 2px solid var(--surface); }
.lp-steps h4 { font-size: 16px; margin: 0 0 6px; }
.lp-steps p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.6; }

.lp-why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 64px; }
.lp-why > div { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 22px; box-shadow: var(--sh-1); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s ease, opacity .6s var(--ease); }
.lp-why > div:before { content: ''; position: absolute; inset: 0; background: radial-gradient(400px 160px at var(--mx, 0%) 0%, rgba(217, 72, 31, .08), transparent 70%); opacity: 0; transition: opacity .3s ease; }
.lp-why > div:hover { transform: translateY(-3px); box-shadow: var(--sh-3); border-color: rgba(217, 72, 31, .3); }
.lp-why > div:hover:before { opacity: 1; }
.lp-why .ic { position: relative; display: inline-flex; width: 38px; height: 38px; border-radius: 10px; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--accent); font-size: 16px; margin-bottom: 14px; transition: transform .35s var(--ease-spring); }
.lp-why > div:hover .ic { transform: translateY(-2px) rotate(-8deg); }
.lp-why h4 { position: relative; font-size: 15px; margin: 0 0 6px; }
.lp-why p { position: relative; margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.6; }

.pay-methods { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 4px 20px; box-shadow: var(--sh-1); }
.pm-row:last-child { border-bottom: 0; }
.pm-list span { transition: transform .2s var(--ease), border-color .15s ease, box-shadow .2s var(--ease); }
.pm-list span:not(.muted):hover { transform: translateY(-1px); border-color: var(--ink); box-shadow: var(--sh-1); }
.testi figure { border-radius: 12px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), opacity .6s var(--ease); }
.testi figure:hover { transform: translateY(-3px); box-shadow: var(--sh-3) !important; }
.qa details { transition: background .2s ease; }
.qa details[open] p { animation: ui-rise .35s var(--ease) both; }
.qa summary:after { transition: transform .25s var(--ease); }
.qa summary:hover { color: var(--accent-ink); }
.contact-box { border-radius: 12px; }

.cta-band { position: relative; overflow: hidden; border-radius: 14px; padding: 34px 34px; background: radial-gradient(120% 160% at 100% 0%, #3a2a24 0%, var(--ink) 55%); box-shadow: var(--sh-3); isolation: isolate; }
.cta-band:before { content: ''; position: absolute; width: 380px; height: 380px; right: -120px; top: -180px; border-radius: 50%; background: radial-gradient(circle, rgba(217, 72, 31, .55), transparent 65%); filter: blur(10px); animation: lp-drift 12s ease-in-out infinite alternate; z-index: -1; }
.cta-band:after { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1.2px); background-size: 18px 18px; z-index: -1; -webkit-mask-image: linear-gradient(90deg, transparent, #000); mask-image: linear-gradient(90deg, transparent, #000); }
.cta-band h2 { font-size: 24px; }

@media (max-width: 991px) {
	.lp-hero h1 { font-size: 32px; }
	.lp-steps, .lp-why { grid-template-columns: 1fr 1fr; }
	.lp-steps:before { display: none; }
	.lp-visual { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 0; }
	.lp-visual .price-card { flex: 1 1 100%; }
	.lp-float { position: relative; left: auto !important; right: auto !important; top: auto !important; bottom: auto !important; }
}
@media (max-width: 575px) {
	.lp-hero h1 { font-size: 27px; }
	.lp-steps, .lp-why { grid-template-columns: 1fr; }
	.sec-head h2 { font-size: 21px; }
	.stat-strip b { font-size: 23px; }
	.lp-float { font-size: 11.5px; padding: 6px 10px; }
	.cta-band { padding: 24px 20px; }
}

/* Hormati pilihan "kurangi gerakan" */
@media (prefers-reduced-motion: reduce) {
	*, *:before, *:after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
	.js [data-reveal] { opacity: 1; transform: none; }
	.lp-marquee .track { animation: none; flex-wrap: wrap; width: auto; }
	.lp-marquee a[aria-hidden] { display: none; }
}
.pr-example{background:var(--surface-2,#f6f4ef);border:1px solid var(--line);border-radius:var(--r);padding:10px 14px;font-size:13px;color:var(--ink-2);margin-bottom:14px}

/* Metode manual di daftar metode pembayaran */
.pay-option .logo-ic { display: inline-flex; align-items: center; justify-content: center; color: var(--accent); font-size: 20px; }
.dep-manual { margin-top: 14px; }
.dep-manual-note { background: var(--surface-2, #f6f4ef); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; font-size: 13px; color: var(--ink-2); white-space: pre-line; }
.dep-manual-note b { display: block; color: var(--ink); margin-bottom: 4px; }
.dm-thumb { height: 24px; max-width: 80px; object-fit: contain; vertical-align: middle; margin-right: 6px; }
.dm-icon-now { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.dm-icon-now img { width: 160px; height: 56px; object-fit: contain; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; background: #fff; }

/* Detail Deposit */
.dd-card .header-title { margin-top: 0; }
.dd-row { padding: 12px 0; border-bottom: 1px solid var(--line); }
.dd-row:last-child { border-bottom: 0; padding-bottom: 0; }
.dd-row .k, .dd-box .k { font-size: 12.5px; font-weight: 600; color: var(--ink); margin-bottom: 3px; }
.dd-row .k small, .dd-box .k small { font-weight: 400; color: var(--muted); }
.dd-row .v { font-size: 14px; color: var(--ink-2); }
.dd-row-id { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.dd-cancel { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 12.5px; }
.dd-total, .dd-hot { color: var(--bad); font-size: 18px !important; font-weight: 600; }
.dd-badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--surface-2, #f1efe9); color: var(--ink-2); }
.dd-badge.is-warn { background: var(--warn-soft, #f8efdf); color: var(--warn); }
.dd-badge.is-ok { background: rgba(29,122,76,.12); color: var(--ok); }
.dd-badge.is-bad { background: rgba(180,42,42,.1); color: var(--bad); }
.dd-lead { font-size: 13px; color: var(--ink-2); margin: 4px 0 8px; }
.dd-box { border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; margin-bottom: 14px; background: var(--surface); }
.dd-box .v { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.dd-pay { margin: 4px 0 10px; }
.dd-help { font-size: 12.5px; color: var(--muted); margin: 0 0 10px; }
.dd-howto { font-size: 13px; color: var(--ink-2); background: var(--surface-2, #f6f4ef); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; margin-bottom: 10px; line-height: 1.6; }
.dd-state { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: var(--r); margin-bottom: 12px; }
.dd-state i { font-size: 22px; margin-top: 2px; }
.dd-state b { display: block; color: var(--ink); }
.dd-state p { margin: 2px 0 0; font-size: 13px; color: var(--ink-2); }
.dd-state.is-ok { background: rgba(29,122,76,.08); } .dd-state.is-ok i { color: var(--ok); }
.dd-state.is-bad { background: rgba(180,42,42,.07); } .dd-state.is-bad i { color: var(--bad); }
.dh-method a { color: inherit; text-decoration: none; } .dh-method a:hover { color: var(--accent); }

.dd-acc .k { color: var(--muted); font-weight: 500; }
.dd-accno { font-size: 18px; font-weight: 600; color: var(--ink); letter-spacing: .02em; }
.dd-accname { font-size: 13px; color: var(--ink-2); margin-top: 4px; }
.dm-account { border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px 4px; margin-bottom: 16px; background: var(--surface-2, #f8f6f1); }
.dm-account .dm-acc-hint { margin: -6px 0 10px; }
.dm-note-cell { max-width: 260px; font-size: 12.5px; color: var(--ink-2); }

.dm-md { border: 1px dashed var(--line); border-radius: var(--r); padding: 12px 14px; margin-bottom: 16px; }
.dm-md .adm-switch { margin-bottom: 2px; }
.dm-md-tag { color: var(--accent); font-weight: 600; }
.dd-auto { color: var(--ink-2); }
.dd-auto .fa { color: var(--accent); }
.md-res { font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 999px; white-space: nowrap; background: var(--surface-2); color: var(--ink-2); }
.md-res.is-matched, .md-res.is-test { background: #e5f4ea; color: #1d7a3d; }
.md-res.is-ambiguous, .md-res.is-no_match { background: #fdf2dc; color: #8a5a00; }
.md-res.is-no_amount { background: #fbe7e5; color: #a8322a; }
.md-text { max-width: 420px; font-size: 12.5px; color: var(--ink-2); overflow-wrap: anywhere; }
.md-steps { padding-left: 18px; margin: 0; }
.md-steps li { margin-bottom: 10px; font-size: 13.5px; }
.md-steps code { font-size: 12px; }
.md-test-out { margin-top: 12px; }

.dm-qris-now img { width: 140px; height: 140px; object-fit: contain; border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: 6px; margin-bottom: 8px; }
.dm-qr-thumb { width: 44px; height: 44px; object-fit: contain; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.dd-qris { text-align: center; border: 1px solid var(--line); border-radius: var(--r); padding: 16px; margin-bottom: 16px; background: #fff; }
.dd-qris img { display: block; width: 100%; max-width: 280px; height: auto; margin: 0 auto 10px; image-rendering: pixelated; }
.dd-qris .dd-accname { margin: 0 0 10px; }

/* Dialog konfirmasi (ui-confirm.js) */
.uc-backdrop { position: fixed; inset: 0; z-index: 2000; background: rgba(20, 18, 14, .45); display: flex; align-items: center; justify-content: center; padding: 16px; animation: uc-fade .15s ease-out; }
.uc-backdrop[hidden] { display: none; }
.uc-dialog { width: 100%; max-width: 420px; background: var(--surface, #fff); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 18px 50px rgba(0, 0, 0, .18); padding: 22px 22px 18px; animation: uc-pop .18s ease-out; }
.uc-icon { width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--surface-2, #f3f0ea); color: var(--accent); font-size: 18px; margin-bottom: 14px; }
.uc-icon.is-danger { background: #fbe7e5; color: #c0392b; }
.uc-body h5 { font-size: 16.5px; font-weight: 700; color: var(--ink); margin: 0 0 6px; line-height: 1.35; }
.uc-text { color: var(--ink-2, #555); font-size: 14px; margin: 0; white-space: pre-line; line-height: 1.55; }
.uc-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 20px; }
.uc-actions .btn { min-width: 96px; font-weight: 600; }
body.uc-open { overflow: hidden; }
@keyframes uc-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes uc-pop { from { opacity: 0; transform: translateY(6px) scale(.98); } to { opacity: 1; transform: none; } }
@media (max-width: 480px) { .uc-actions { flex-direction: column-reverse; } .uc-actions .btn { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .uc-backdrop, .uc-dialog { animation: none; } }
.uc-actions .uc-yes.btn-danger { background: #c0392b !important; border-color: #c0392b !important; color: #fff !important; }
.uc-actions .uc-yes.btn-danger:hover { background: #a93226 !important; border-color: #a93226 !important; }
