/* AfriBilling – public website, secret invoice/quote links and pay pages (builder A). Design: afribilling.css. */
.inv-card .ic-head .logo-mark { width: 34px; height: 34px; }
.ab-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.cta-band form .btn { min-height: 44px; }

/* Pay an invoice */
.pf-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 32px; align-items: start; max-width: 1040px; margin: 0 auto; }
.pf-title { font-size: 38px; margin: 12px 0 10px; }
@media (max-width: 980px) { .pf-grid { grid-template-columns: minmax(0, 1fr); } .pf-title { font-size: 30px; } }

/* Pay panel */
.pay-panel [hidden] { display: none !important; }
.ab-seg button { min-height: 36px; justify-content: center; }
.ab-drop { display: block; position: relative; cursor: pointer; }
.ab-drop input[type=file] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.ab-drop.has-file { border-color: var(--brand-ink); background: var(--brand-soft); }
.ab-drop:focus-within { outline: 2px solid var(--brand-ink); outline-offset: 2px; }
.ab-receipt { padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; color: var(--text-2); text-decoration: none !important; gap: 10px; min-height: 40px; font-size: 13.5px; }
.ab-receipt:hover { border-color: var(--brand-ink); }
.ab-receipt span { min-width: 0; overflow-wrap: anywhere; }

/* Pay result states */
.success-ring.ps-wait { background: var(--accent); color: #14213D; box-shadow: 0 0 0 10px var(--accent-soft); }
.success-ring.ps-fail { background: var(--bad); color: #fff; box-shadow: 0 0 0 10px var(--bad-soft); }
[data-theme="dark"] .success-ring.ps-wait { color: #14213D; }
@media (max-width: 560px) { .ps-head { padding: 28px 18px 22px !important; } .ps-head .num { font-size: 36px !important; } }

@media print {
  .pub-top, .pay-panel, .demo-banner, .install-bar, .alert, .pub-wrap .row.between.mb-20 .row-wrap { display: none !important; }
  .pub-grid { grid-template-columns: minmax(0, 1fr) !important; }
  body { background: #fff !important; }
}
[data-theme="dark"] .success-ring.ps-fail { color: #2A0E0E; }
/* Phones: the side-in reveal of the trust photo would start outside the screen edge – slide up instead. */
@media (max-width: 980px) { .ab-anim .trust-photo[data-rv="left"]:not(.rv-in) { transform: translate3d(0, 26px, 0); } }
