/* AR Wallet-inspired app cards, within the existing five-menu 69Pay shell. */
.upi-workspace { --upi-orange: #9a4a16; --upi-green: #14644e; }
.upi-intro { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 0 23px; border-bottom: 1px solid #e5e8ed; }
.upi-intro h1 { font-size: 34px; letter-spacing: -.04em; margin: 8px 0 6px; }
.upi-intro p:not(.upi-eyebrow) { color: #647187; font-size: 14px; }
.upi-eyebrow { color: var(--upi-orange); font-size: 10px; font-weight: 700; letter-spacing: .12em; line-height: 1.7; }
.upi-rupee { display: grid; place-items: center; flex: 0 0 68px; height: 68px; border: 1px solid #eddbbc; border-radius: 24px 24px 24px 8px; color: #946024; background: #fff4df; font-size: 39px; font-weight: 600; box-shadow: 5px 5px 0 #e7f1e9; }
.upi-section-title { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.upi-section-title h2 { font-size: 17px; line-height: 1.5; }
.upi-section-title > div { min-width: 0; }
.upi-section-title p { margin-top: 3px; color: #647187; font-size: 11px; }
.upi-text-button { flex-shrink: 0; min-height: 44px; padding: 6px 0 6px 8px; border: 0; background: none; color: #4055d5; font-size: 12px; font-weight: 600; }
.upi-add-button { display: flex; width: 100%; align-items: center; justify-content: flex-start; gap: 10px; min-height: 56px; margin-top: 22px; padding: 12px 16px; border: 1px solid #14644e; border-radius: 15px; background: #14644e; color: #fff; font-size: 15px; font-weight: 600; text-align: left; line-height: 1.5; }
.upi-add-button > span:first-child { font-size: 24px; font-weight: 400; }
.upi-add-button > span:last-child { margin-left: auto; }
.upi-list-heading { margin-top: 27px; }
.upi-account-row { display: flex; align-items: center; width: 100%; gap: 10px; margin-top: 10px; padding: 14px 12px; min-height: 78px; border: 1px solid #e1e5ee; border-radius: 13px; background: #fff; color: #1b2945; text-align: left; }
.upi-account-row:hover { border-color: #bcc7dc; background: #fcfdff; }
.upi-account-row:focus-visible { outline: 3px solid #cf7c32; outline-offset: 2px; }
.upi-account-row .upi-brand-mark { flex: 0 0 36px; height: 36px; color: var(--upi-brand); background: var(--upi-tint); border: 0; border-radius: 11px; }
.upi-row-main { flex: 1; min-width: 0; }
.upi-row-top { display: flex; align-items: center; flex-wrap: wrap; gap: 5px 8px; }
.upi-row-top strong { font-size: 14px; line-height: 1.4; }
.upi-row-top .upi-review-status { font-size: 9px; padding: 3px 6px; gap: 4px; }
.upi-row-address { display: block; margin-top: 5px; color: #647187; font-size: 12px; line-height: 1.5; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.upi-row-arrow { flex: 0 0 10px; color: #8a96ab; font-size: 23px; text-align: right; }
#upi-account-detail .upi-address { overflow-wrap: anywhere; }
.upi-account { margin-top: 14px; border: 1px solid #e1e5ee; border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 4px 14px #24325204; }
.upi-phonepe { --upi-brand: #6632ab; --upi-brand-dark: #49217e; --upi-tint: #f3ecfc; }
.upi-paytm { --upi-brand: #005d9c; --upi-brand-dark: #003d78; --upi-tint: #eaf5ff; }
.upi-bharatpe { --upi-brand: #08756d; --upi-brand-dark: #05544c; --upi-tint: #e7f7f2; }
.upi-airtel { --upi-brand:#e22835;--upi-brand-dark:#b51525;--upi-tint:#fff0f0; }
.upi-freo { --upi-brand:#252525;--upi-brand-dark:#111;--upi-tint:#f2f2f2; }
.upi-navi { --upi-brand:#8012a2;--upi-brand-dark:#541372;--upi-tint:#f7edf9; }
.upi-moneyview { --upi-brand:#14654e;--upi-brand-dark:#084936;--upi-tint:#edf8f2; }
.upi-mobikwik { --upi-brand:#176bd2;--upi-brand-dark:#12429b;--upi-tint:#edf4ff; }
.upi-freecharge { --upi-brand:#b84d0d;--upi-brand-dark:#8e370b;--upi-tint:#fff3e8; }
.upi-gpay { --upi-brand:#285fb5;--upi-brand-dark:#214785;--upi-tint:#eef4ff; }
.upi-supermoney { --upi-brand:#5746be;--upi-brand-dark:#3a2e8c;--upi-tint:#f0eeff; }
.upi-twid { --upi-brand:#a01c67;--upi-brand-dark:#72104a;--upi-tint:#fff0f7; }
.upi-account-brand { display: flex; align-items: center; gap: 10px; padding: 12px 16px; color: #fff; background: var(--upi-brand); }
.upi-brand-mark { flex: 0 0 39px; height: 39px; display: inline-grid; place-items: center; border: 1px solid #ffffff66; border-radius: 12px; font-size: 19px; font-weight: 700; letter-spacing: -.05em; background: #ffffff18; }
.upi-paytm .upi-brand-mark { font-size: 14px; letter-spacing: -.06em; }
.upi-account-brand strong { font-size: 16px; }
.upi-account-brand > span:last-child { margin-left: auto; font-size: 10px; letter-spacing: .03em; border: 1px solid #ffffff50; padding: 4px 8px; border-radius: 7px; }
.upi-account-body { padding: 16px; }
.upi-review-status { display: inline-flex; align-items: center; gap: 7px; border-radius: 7px; padding: 5px 8px; font-size: 10px; font-weight: 600; line-height: 1.6; color: #725018; background: #fff4de; }
.upi-review-status i { flex: 0 0 6px; height: 6px; border-radius: 50%; background: currentColor; }
.upi-review-status.ready { color: #14644e; background: #eaf7ef; }
.upi-review-status.rejected { color: #a03927; background: #fff0ea; }
.upi-review-status.disabled { color: #5c6473; background: #edf0f4; }
.upi-account h3 { margin-top: 12px; font-size: 18px; font-weight: 600; line-height: 1.5; }
.upi-account-hint { margin-top: 8px; font-size: 12px; color: #647187; }
.upi-review-time { margin-top: 7px; font-size: 10px; color: #758097; }
.upi-edit-link { display: flex; align-items: center; gap: 8px; min-height: 44px; border: 0; background: none; color: var(--upi-brand); padding: 10px 0 5px; font-size: 12px; font-weight: 600; }
.upi-edit-link span { font-size: 17px; }
.upi-footer-note { margin-top: 20px; padding-left: 12px; border-left: 3px solid #daa961; color: #647187; font-size: 11px; line-height: 1.7; }
.upi-setup { margin-top: 24px; }
.upi-steps { display: flex; align-items: flex-start; gap: 6px; margin: 16px 0; padding: 0; list-style: none; }
.upi-steps li { display: grid; flex: 1; min-width: 0; align-content: start; justify-items: center; gap: 7px; padding: 10px 3px; border-bottom: 2px solid #e4e8ef; color: #788397; font-size: 10px; text-align: center; line-height: 1.5; }
.upi-steps li > span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #e9edf5; font-size: 11px; font-weight: 600; }
.upi-steps li[aria-current] { color: var(--upi-orange); border-color: #cf7c32; font-weight: 600; }
.upi-steps li[aria-current] > span { background: #fff0d6; color: #874015; }
.upi-steps li.done { color: #14644e; border-color: #7dae98; }
.upi-steps li.done > span { color: #14644e; background: #e8f4ec; }
.upi-setup-hint { font-size: 13px; color: #647187; margin: 20px 0 14px; }
.upi-app-options { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.upi-app-option { position: relative; isolation: isolate; overflow: hidden; width: 100%; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 9px; min-height: 98px; padding: 14px; border: 1px solid var(--upi-brand); border-radius: 15px; color: #fff; background: linear-gradient(110deg,var(--upi-brand),var(--upi-brand-dark)); text-align: left; box-shadow: 0 3px 9px #24325208; }
.upi-app-option::after { content: ''; position: absolute; z-index: -1; height: 160px; width: 160px; right: -45px; top: -70px; border: 24px solid #ffffff09; border-radius: 50%; }
.upi-app-option .upi-brand-mark { width: 32px; flex: 0 0 32px; height: 32px; border-radius: 10px; font-size: 19px; }
.upi-app-option.upi-paytm .upi-brand-mark { font-size: 13px; }
.upi-app-name { min-width: 0; }
.upi-app-name strong { display: block; font-size: 15px; font-weight: 600; letter-spacing: -.02em; line-height: 1.3; overflow-wrap: anywhere; }
.upi-app-name small { display: block; margin-top: 5px; font-size: 11px; color: #ffffffe0; }
.upi-app-arrow { margin-left: auto; font-size: 28px; font-weight: 400; }
.upi-app-option:hover { filter: brightness(1.07); }
.upi-app-option:focus-visible,.upi-more-wallets summary:focus-visible { outline: 3px solid #cf7c32; outline-offset: 3px; }
.upi-more-wallets { margin-top: 12px; }
.upi-more-wallets summary { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 48px; padding: 10px 14px; border: 1px solid #dfe4ed; border-radius: 12px; background: #fff; color: #4055d5; font-size: 13px; font-weight: 600; cursor: pointer; list-style: none; }
.upi-more-wallets summary::-webkit-details-marker { display: none; }
.upi-more-count { display: inline-block; margin-left: 4px; padding: 1px 7px; border-radius: 6px; background: #eef0ff; font-size: 11px; }
.upi-more-chevron { font-size: 20px; line-height: 1; }
.upi-more-open,.upi-more-wallets[open] .upi-more-closed { display: none; }
.upi-more-wallets[open] .upi-more-open { display: inline; }
.upi-more-wallets[open] .upi-more-chevron { transform: rotate(180deg); }
.upi-more-wallets > .upi-app-options { margin-top: 12px; }
.upi-selected-app { display: flex; align-items: center; gap: 10px; background: var(--upi-tint); border: 1px solid #e4e6ef; border-radius: 13px; padding: 12px; color: var(--upi-brand); }
.upi-selected-app .upi-brand-mark { background: var(--upi-brand); color: #fff; border: 0; }
.upi-selected-app > span:nth-child(2) { flex: 1; min-width: 0; }
.upi-selected-app strong { display: block; font-size: 15px; }
.upi-selected-app small { display: block; margin-top: 2px; font-size: 10px; }
.upi-selected-app button { min-height: 44px; border: 0; padding: 4px; background: transparent; color: var(--upi-brand); font-weight: 600; font-size: 11px; }
.upi-setup form { padding: 2px 16px 16px; background: #fff; border: 1px solid #e4e8ef; border-radius: 16px; margin-top: 12px; }
.upi-setup input[name='upi'] { min-height: 54px; font-size: 16px; background: #fafbfe; }
.upi-input-help { margin-top: 8px; font-size: 11px; color: #647187; }
.upi-find-help { margin-top: 10px; }
.upi-find-help summary { font-size: 12px; min-height: 38px; align-content: center; }
.upi-find-help p { font-size: 12px; padding: 10px; border-radius: 9px; background: #f3f5fc; color: #52617c; }
.upi-form-feedback:not(:empty) { margin-top: 12px; padding: 10px; border-radius: 9px; background: #fff4df; color: #7e501b; font-size: 12px; }
.upi-submit { background: #14644e; border-color: #14644e; }
.upi-submit:hover { background: #0e513e; }
.upi-submit:disabled { opacity: 1; color: #758097; background: #edf0f4; border-color: #e1e5ed; }
.upi-submit span { margin-left: 7px; }
.upi-after-submit { margin-top: 12px; font-size: 11px; color: #647187; text-align: center; line-height: 1.7; }
.upi-empty { padding: 20px 14px; margin-top: 14px; border: 1px dashed #d5dce7; border-radius: 13px; font-size: 12px; color: #73809a; text-align: center; }
@media(max-width:360px) { .upi-rupee { flex-basis: 56px; height: 56px; font-size: 33px; } .upi-eyebrow { letter-spacing: .05em; } .upi-app-option { padding: 12px; min-height: 92px; } .upi-app-name strong { font-size: 14px; } .upi-account-body { padding: 14px; } .upi-account h3 { font-size: 16px; } }
