/* Kwitansi LAZISNU — gaya bersama (mobile-first, Bahasa Indonesia) */
* { box-sizing: border-box; }
:root { --hijau: #0b6e4f; --hijau-tua: #085c41; --gelap: #1a1a1a; --abu: #f3f3f3; --garis: #ddd; --merah: #b3261e; }
body { font-family: system-ui, -apple-system, "Segoe UI", Arial, sans-serif; margin: 0; color: var(--gelap); background: #fafafa; line-height: 1.5; }
.wrap { max-width: 640px; margin: 0 auto; padding: 16px; }
.wrap.lebar { max-width: 1080px; }
header.kop { text-align: center; padding: 18px 12px 10px; background: #fff; border-bottom: 4px solid var(--hijau); }
header.kop h1 { margin: 0; font-size: 22px; letter-spacing: .5px; }
header.kop .sub { font-weight: 700; background: var(--gelap); color: #fff; display: inline-block; padding: 2px 14px; letter-spacing: 3px; margin-top: 4px; font-size: 14px; }
header.kop .kontak { font-size: 13px; color: #444; margin-top: 6px; }
.card { background: #fff; border: 1px solid var(--garis); border-radius: 10px; padding: 18px; margin-top: 14px; }
h2 { margin: 0 0 4px; font-size: 20px; }
.muted { color: #666; font-size: 13px; }
label { display: block; font-weight: 700; margin: 14px 0 5px; font-size: 14px; }
label .req { color: var(--merah); }
input[type=text], input[type=tel], input[type=password], input[type=date], textarea, select {
  width: 100%; padding: 11px 12px; font-size: 16px; border: 1.5px solid #bbb; border-radius: 8px; background: #fff; font-family: inherit;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--hijau); }
textarea { resize: vertical; min-height: 56px; }
.err { color: var(--merah); font-size: 13px; margin-top: 4px; min-height: 0; display: none; }
.err.show { display: block; }
.field.invalid input, .field.invalid textarea { border-color: var(--merah); }
.jenis { border: 1.5px solid var(--garis); border-radius: 8px; padding: 10px 12px; margin-top: 8px; }
.jenis .baris { display: flex; align-items: center; gap: 10px; }
.jenis input[type=checkbox] { width: 22px; height: 22px; accent-color: var(--hijau); flex: none; }
.jenis .nm { font-weight: 700; flex: none; width: 74px; }
.jenis input[type=text].rupiah { flex: 1; }
.jenis input[type=text].rupiah:disabled { background: var(--abu); color: #999; }
.ket { margin-top: 8px; }
.total-box { background: var(--abu); border-radius: 8px; padding: 12px; margin-top: 16px; }
.total-box .angka { font-size: 22px; font-weight: 800; }
.total-box .terbilang { font-size: 14px; margin-top: 2px; }
.radio-row { display: flex; gap: 10px; margin-top: 6px; }
.radio-pil { flex: 1; border: 1.5px solid #bbb; border-radius: 8px; padding: 11px; text-align: center; font-weight: 700; cursor: pointer; }
.radio-pil input { display: none; }
.radio-pil.on { border-color: var(--hijau); background: #e6f4ee; color: var(--hijau-tua); }
button.utama { width: 100%; padding: 14px; font-size: 17px; font-weight: 700; background: var(--hijau); color: #fff; border: 0; border-radius: 10px; cursor: pointer; margin-top: 18px; min-height: 48px; }
button.utama:disabled { background: #999; cursor: wait; }
button.kedua { padding: 9px 16px; font-size: 15px; background: #fff; border: 1.5px solid var(--hijau); color: var(--hijau-tua); border-radius: 8px; cursor: pointer; font-weight: 700; }
button.bahaya { padding: 9px 16px; font-size: 15px; background: #fff; border: 1.5px solid var(--merah); color: var(--merah); border-radius: 8px; cursor: pointer; font-weight: 700; }
.hp { position: absolute; left: -9999px; top: -9999px; height: 1px; width: 1px; overflow: hidden; }
.rek { background: #fff; border: 1px solid var(--garis); border-radius: 10px; padding: 14px; margin-top: 14px; display: flex; gap: 14px; }
.rek .kol { flex: 1; text-align: center; font-size: 13px; font-weight: 700; line-height: 1.5; }
.rek img { width: 84px; height: 84px; }
.foot { text-align: center; font-size: 12px; color: #666; margin: 18px 0; font-weight: 700; letter-spacing: .5px; }
.toast { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); background: var(--gelap); color: #fff; padding: 11px 18px; border-radius: 8px; font-size: 14px; display: none; z-index: 50; max-width: 92vw; }
.toast.show { display: block; }
.noreg { font-size: 22px; font-weight: 800; letter-spacing: .5px; background: var(--abu); padding: 8px 12px; border-radius: 8px; text-align: center; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { border-bottom: 1px solid var(--garis); padding: 9px 8px; text-align: left; vertical-align: top; }
th { background: var(--abu); }
.badge { display: inline-block; padding: 2px 8px; border-radius: 20px; font-size: 12px; font-weight: 700; background: #e6f4ee; color: var(--hijau-tua); }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 14px; }
.tabs button { padding: 9px 14px; border-radius: 8px; border: 1.5px solid var(--garis); background: #fff; cursor: pointer; font-weight: 700; }
.tabs button.on { background: var(--hijau); color: #fff; border-color: var(--hijau); }
.kartu-stat { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-top: 12px; }
.stat { background: var(--abu); border-radius: 8px; padding: 12px; }
.stat .lbl { font-size: 12px; color: #555; }
.stat .val { font-size: 20px; font-weight: 800; }
.pager { display: flex; gap: 8px; align-items: center; margin-top: 12px; }
.modal-bg { position: fixed; inset: 0; background: rgba(0,0,0,.5); display: none; align-items: flex-start; justify-content: center; padding: 20px; z-index: 40; overflow: auto; }
.modal-bg.show { display: flex; }
.modal { background: #fff; border-radius: 10px; padding: 20px; max-width: 640px; width: 100%; }
@media (max-width: 480px) { .wrap { padding: 10px; } header.kop h1 { font-size: 19px; } }
