/* PayHub — tampilan sederhana, nyaman di HP */
:root { --bg:#0f172a; --card:#1e293b; --line:#334155; --text:#e2e8f0; --muted:#94a3b8; --accent:#6366f1; --ok:#22c55e; --warn:#f59e0b; --err:#ef4444; }
* { box-sizing: border-box; }
body { margin:0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; background: var(--bg); color: var(--text); font-size: 15px; }
a { color: #a5b4fc; }
code { background:#0b1222; padding:2px 6px; border-radius:6px; font-size:13px; word-break: break-all; }
h1 { font-size: 22px; margin: 0 0 12px; } h2 { font-size: 18px; margin: 0 0 12px; } h3 { font-size: 15px; margin: 16px 0 8px; }
.muted { color: var(--muted); font-size: 13px; }
.center-page { display:flex; justify-content:center; padding: 24px 12px; }
.card { background: var(--card); border:1px solid var(--line); border-radius: 14px; padding: 16px; margin-bottom: 14px; }
.narrow { width: 100%; max-width: 460px; }
label { display:block; font-size: 13px; color: var(--muted); margin: 10px 0; }
input, select, textarea { display:block; width:100%; margin-top:4px; padding: 10px 12px; border-radius: 10px; border:1px solid var(--line); background:#0b1222; color: var(--text); font: inherit; }
textarea { min-height: 90px; font-family: ui-monospace, monospace; font-size: 12px; }
input[type=checkbox] { display:inline; width:auto; margin-right:6px; }
.btn { display:inline-flex; align-items:center; gap:6px; padding: 9px 14px; border-radius: 10px; border:1px solid var(--line); background: transparent; color: var(--text); font: inherit; font-size: 14px; cursor:pointer; text-decoration:none; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.ok { background: var(--ok); border-color: var(--ok); color:#052e16; font-weight:700; }
.btn.err { background: var(--err); border-color: var(--err); color:#fff; }
.btn.sm { padding: 6px 10px; font-size: 13px; }
.btn.block { width:100%; justify-content:center; margin-top: 8px; }
.alert { padding: 10px 12px; border-radius: 10px; margin: 10px 0; font-size: 14px; }
.alert.ok { background: rgba(34,197,94,.15); color: #86efac; } .alert.err { background: rgba(239,68,68,.15); color: #fca5a5; } .alert.warn { background: rgba(245,158,11,.15); color:#fcd34d; }
.checks { list-style:none; padding:0; line-height:1.8; }
.topbar { position: sticky; top:0; z-index: 5; background: #0b1222; border-bottom:1px solid var(--line); padding: 10px 14px; display:flex; gap:10px; align-items:center; flex-wrap: wrap; }
.topbar .brand { font-weight: 800; margin-right: auto; }
.topbar a { text-decoration:none; color: var(--muted); padding: 6px 8px; border-radius: 8px; font-size: 14px; }
.topbar a.active { color:#fff; background: var(--line); }
.wrap { max-width: 980px; margin: 0 auto; padding: 14px; }
.tabs { display:flex; gap:6px; flex-wrap: wrap; margin-bottom: 12px; }
.tabs a { padding: 7px 12px; border-radius: 999px; border:1px solid var(--line); text-decoration:none; color: var(--muted); font-size: 13px; }
.tabs a.active { background: var(--accent); border-color: var(--accent); color:#fff; }
.badge { display:inline-block; padding: 2px 8px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--line); }
.badge.submitted { background: rgba(245,158,11,.2); color:#fcd34d; } .badge.approved { background: rgba(34,197,94,.2); color:#86efac; }
.badge.rejected, .badge.failed { background: rgba(239,68,68,.2); color:#fca5a5; } .badge.pending { background: rgba(99,102,241,.2); color:#c7d2fe; }
.pay { display:grid; gap: 6px; }
.pay .amount { font-size: 22px; font-weight: 800; }
.pay .row { display:flex; gap: 8px; flex-wrap: wrap; align-items:center; }
.pay .actions { display:flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.proof { max-width: 100%; max-height: 260px; border-radius: 10px; border:1px solid var(--line); }
.grid2 { display:grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
table { width:100%; border-collapse: collapse; font-size: 14px; } td, th { text-align:left; padding: 8px; border-bottom:1px solid var(--line); vertical-align: top; }
.qr-preview { background:#fff; padding: 10px; border-radius: 10px; display:inline-block; }
.kv { display:grid; grid-template-columns: 140px 1fr; gap: 6px 10px; font-size: 14px; } .kv div:nth-child(odd) { color: var(--muted); }
@media (max-width: 520px) { .kv { grid-template-columns: 1fr; } .pay .amount { font-size: 20px; } }
