/* Phase 2: Quick Recharge + Customer Home panel. Scoped to .pqr* only. */
.pqr{background:#fff;color:#14213d;border-radius:18px;padding:20px;margin:20px 0;max-width:520px;box-shadow:0 18px 40px rgba(3,10,35,.22);font-family:"DM Sans",system-ui,sans-serif;text-align:left;box-sizing:border-box;min-width:0}
.pqr *{box-sizing:border-box}
.pqr-title{font:700 20px "Space Grotesk",sans-serif;margin:0 0 14px;color:#0a1d4d}
.pqr-field{margin:0 0 14px;padding:0;border:0;min-width:0}
.pqr-label{display:block;font-weight:700;font-size:13px;margin:0 0 6px;color:#0a1d4d;padding:0}
.pqr-input{width:100%;min-height:48px;border:1.5px solid #b9c7e2;border-radius:12px;padding:0 12px;font:500 16px "DM Sans",sans-serif;color:#14213d;background:#fff}
.pqr-input:focus-visible,.pqr-btn:focus-visible,.pqr-link:focus-visible,.pqr-seg:focus-within{outline:3px solid #ffb21a;outline-offset:2px}
.pqr-input[aria-invalid=true]{border-color:#c62f2f}
.pqr-select-wrap{position:relative}
.pqr-flag{position:absolute;left:12px;top:15px;width:24px;height:18px;object-fit:cover;border-radius:3px;pointer-events:none}
.pqr-select.has-flag{padding-left:46px}
.pqr-phone{display:flex;gap:8px}
.pqr-code{display:inline-flex;align-items:center;justify-content:center;min-width:64px;padding:0 10px;border-radius:12px;background:#eef3ff;color:#1561e8;font-weight:700}
.pqr-phone .pqr-input{flex:1;min-width:0}
.pqr-help,.pqr-note{font-size:13px;color:#51617c;margin:6px 0 0;line-height:1.45}
.pqr-note{margin-top:12px}
.pqr-segs{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.pqr-seg{position:relative;display:flex;flex-direction:column;gap:2px;border:1.5px solid #b9c7e2;border-radius:12px;padding:10px 12px;cursor:pointer;min-width:0}
.pqr-seg input{position:absolute;opacity:0;width:1px;height:1px;min-width:0;min-height:0;padding:0;margin:0;border:0;clip-path:inset(50%);overflow:hidden}
.pqr-seg strong{font-size:15px;color:#0a1d4d}
.pqr-seg small{font-size:12px;color:#51617c;line-height:1.35}
.pqr-seg.is-on{border-color:#1561e8;background:#eef3ff}
.pqr-error{color:#b42323;font-weight:600;font-size:14px;margin:0 0 10px;min-height:0}
.pqr-error:empty{display:none}
.pqr-actions{display:grid;gap:10px}
.pqr-btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 16px;border-radius:12px;font:700 15px "DM Sans",sans-serif;border:1.5px solid transparent;cursor:pointer;text-align:center}
.pqr-btn-primary{background:#ffb21a;color:#3d2400}
.pqr-btn-quiet{background:#fff;color:#1561e8;border-color:#b9d0fb}
.pqr-state{font-size:14px;color:#51617c;margin:0}
.pqr-state .pqr-btn{margin-top:8px}
.pqr-panel{display:grid;gap:16px;margin:16px 0}
.pqr-card{background:#fff;border:1px solid #dfe7f6;border-radius:16px;padding:18px;min-width:0}
.pqr-bal{display:flex;flex-direction:column;gap:4px;background:#0a1d4d;color:#fff;border-color:#0a1d4d}
.pqr-bal span{font-size:13px;opacity:.85}
.pqr-bal strong{font:700 28px "Space Grotesk",sans-serif;overflow-wrap:anywhere}
.pqr-bal em{font-style:normal;font-size:12px;opacity:.8}
.pqr-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:8px}
.pqr-head h2{font:700 18px "Space Grotesk",sans-serif;margin:0}
.pqr-link{background:none;border:0;padding:8px 0;min-height:44px;font:700 14px "DM Sans",sans-serif;color:#1561e8;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.pqr-tx{list-style:none;margin:0;padding:0}
.pqr-tx-row{display:grid;grid-template-columns:1fr auto;gap:4px 12px;padding:12px 0;border-top:1px solid #edf1f7}
.pqr-tx-row:first-child{border-top:0}
.pqr-tx-main{display:flex;flex-direction:column;min-width:0}
.pqr-tx-main span{font-size:13px;color:#51617c;overflow-wrap:anywhere}
.pqr-tx-side{display:flex;flex-direction:column;align-items:flex-end}
.pqr-tx-side em{font-style:normal;font-size:12px;color:#51617c}
.pqr-tx-acts{grid-column:1/-1;display:flex;gap:16px;flex-wrap:wrap}
@media(min-width:768px){.pqr-actions{grid-template-columns:1fr 1fr}.pqr-panel{grid-template-columns:minmax(220px,1fr) 2fr}}
@media(max-width:360px){.pqr{padding:16px}.pqr-segs{grid-template-columns:1fr}}

.pqr-flag-emoji{font-size:18px;line-height:18px;width:auto;height:auto;top:14px}
.pqr-steps{list-style:none;display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin:0 0 16px;padding:0}
.pqr-steps li{display:flex;flex-direction:column;align-items:center;gap:4px;text-align:center;font-size:12px;color:#51617c;min-width:0}
.pqr-step-n{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;border:1.5px solid #b9c7e2;font-weight:700;background:#fff}
.pqr-steps .is-on{color:#0a1d4d;font-weight:700}.pqr-steps .is-on .pqr-step-n{background:#1561e8;border-color:#1561e8;color:#fff}
.pqr-steps .is-done .pqr-step-n{background:#ffb21a;border-color:#ffb21a;color:#3d2400}
.pqr-step-l{overflow-wrap:anywhere;line-height:1.25}
.pqr-chip{display:inline-flex;align-items:center;gap:8px;margin:8px 0 0;padding:6px 12px;border-radius:99px;background:#eef3ff;color:#0a1d4d;font-size:14px}
.pqr-chip em{font-style:normal;color:#1561e8;font-weight:700}
.pqr-readonly{font-size:14px;color:#51617c;margin:0 0 12px}
.pqr-result-acts{display:flex;gap:10px;flex-wrap:wrap;justify-content:center;margin-top:24px}
.pqr-result-acts .button,.success-state [data-testid="button-recharge-again"]{min-height:48px;max-width:100%;white-space:normal;text-align:center}
.recharge-card .form-actions .button,.recharge-card .form-actions .back,.success-state .button{min-height:48px;max-width:100%;white-space:normal}
@media(max-width:360px){.pqr-step-l{font-size:11px}}
