/* Garis waktu tahap persetujuan & kotak tagihan (admin, Portal Atlet, halaman publik) */
.apv { display: grid; gap: 0; }
.apv-step { display: grid; grid-template-columns: 34px 1fr; gap: 12px; position: relative; padding-bottom: 18px; }
.apv-step:last-of-type { padding-bottom: 0; }
.apv-step:not(:last-of-type)::before { content: ""; position: absolute; left: 16px; top: 32px; bottom: 0; width: 2px; background: rgba(150,160,155,.35); }
.apv-step.is-approved:not(:last-of-type)::before { background: #14A350; }
.apv-dot { width: 34px; height: 34px; border-radius: 999px; display: grid; place-items: center; font-weight: 700; color: #fff; position: relative; z-index: 1; font-size: .9rem; }
.apv-step.is-active .apv-dot { box-shadow: 0 0 0 5px rgba(229,184,0,.22); }
.apv-body { min-width: 0; padding-top: 5px; }
.apv-head { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .7rem; }
.apv-head b { font-weight: 700; }
.apv-time { font-size: .78rem; opacity: .65; }
.apv-badge { display: inline-flex; padding: .1rem .55rem; border-radius: 999px; font-size: .72rem; font-weight: 700; border: 1px solid; }
.apv-badge--approved { color: #15803D; background: rgba(34,197,94,.1); border-color: rgba(34,197,94,.3); }
.apv-badge--active { color: #A16207; background: rgba(250,204,21,.14); border-color: rgba(250,204,21,.4); }
.apv-badge--rejected { color: #B91C1C; background: rgba(248,113,113,.12); border-color: rgba(248,113,113,.35); }
.apv-badge--waiting, .apv-badge--skipped { color: #6B7280; background: rgba(156,163,175,.12); border-color: rgba(156,163,175,.3); }
.dark .apv-badge--approved, [data-theme="dark"] .apv-badge--approved { color: #4ADE80; }
.dark .apv-badge--active, [data-theme="dark"] .apv-badge--active { color: #FACC15; }
.dark .apv-badge--rejected, [data-theme="dark"] .apv-badge--rejected { color: #F87171; }
.apv-meta { font-size: .8rem; opacity: .72; margin-top: .2rem; }
.apv-note { margin-top: .4rem; font-size: .85rem; padding: .45rem .7rem; border-radius: .5rem; background: rgba(127,127,127,.08); white-space: pre-line; }
.apv-note.is-danger { background: rgba(248,113,113,.12); color: #B91C1C; }
.dark .apv-note.is-danger, [data-theme="dark"] .apv-note.is-danger { color: #FCA5A5; }
.apv-link { display: inline-block; margin-top: .35rem; font-size: .82rem; font-weight: 600; color: #0B7A3B; text-decoration: underline; text-underline-offset: 3px; }
.dark .apv-link, [data-theme="dark"] .apv-link { color: #FFD60A; }
.apv-pay { margin-top: .6rem; border: 1px solid rgba(11,122,59,.25); border-radius: .8rem; padding: .8rem 1rem; background: linear-gradient(135deg, rgba(11,122,59,.06), rgba(245,183,0,.06)); display: grid; gap: .5rem; }
.apv-pay__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: .5rem 1rem; }
.apv-pay__row small { display: block; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; opacity: .65; font-weight: 700; }
.apv-pay__row b { font-size: .95rem; }
.apv-amount { font-size: 1.15rem !important; color: #0B7A3B; }
.dark .apv-amount, [data-theme="dark"] .apv-amount { color: #FFD60A; }
.apv-pay__bank, .apv-pay__ins, .apv-pay__proof { font-size: .85rem; }
.apv-pay__ins { opacity: .8; white-space: pre-line; }
.apv-warn { display: inline-block; margin-left: .4rem; color: #B45309; font-weight: 700; }
.apv-done { margin-top: .9rem; padding: .6rem .9rem; border-radius: .7rem; background: rgba(34,197,94,.12); color: #15803D; font-weight: 700; font-size: .9rem; }
.dark .apv-done, [data-theme="dark"] .apv-done { color: #4ADE80; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }

.apv-items { width: 100%; max-width: 520px; border-collapse: collapse; font-size: .86rem; }
.apv-items td { padding: .3rem 0; border-bottom: 1px dashed rgba(127,127,127,.25); }
.apv-items td:last-child { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.apv-items tr.tot td { border-bottom: 0; font-weight: 800; padding-top: .45rem; }
