/* Compact transfer verification. Status values still come from the existing backend. */
body.tpv-open{overflow:hidden!important}
#tpReturnVerify{position:fixed;inset:0;z-index:2147482000;display:grid;place-items:center;padding:20px 16px;overflow-y:auto;overscroll-behavior:contain;background:#050811d9;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);direction:rtl;color:#f5f7ff;font-family:'IBM Plex Sans Arabic',Tahoma,system-ui,sans-serif}
#tpReturnVerify *,#tpReturnVerify *::before,#tpReturnVerify *::after{box-sizing:border-box}
#tpReturnVerify .tpv-card{position:relative;width:min(100%,360px);margin:auto;padding:22px 20px 18px;border:1px solid #303448;border-radius:26px;background:radial-gradient(ellipse at 50% 0%,#44376045,transparent 55%),#111522;box-shadow:0 24px 70px #0007;text-align:center;animation:tpv-enter .25s ease-out both}
#tpReturnVerify .tpv-close{position:absolute;top:10px;left:10px;display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:14px;background:transparent;color:#9da6bc;font-size:23px;cursor:pointer}
#tpReturnVerify .tpv-brand{display:inline-flex;align-items:center;gap:9px;max-width:calc(100% - 65px);padding:5px 11px;border:1px solid #ffffff12;border-radius:99px;color:#c9c4df;background:#ffffff04;font-size:11px;font-weight:600;letter-spacing:.3px}
#tpReturnVerify .tpv-brand span{color:#83cdbb}
#tpReturnVerify .tpv-visual{position:relative;display:grid;place-items:center;width:82px;height:82px;margin:23px auto 16px}
#tpReturnVerify .tpv-ring{position:absolute;inset:0;border:2px solid #b79ae51a;border-radius:50%}
#tpReturnVerify .tpv-ring-outer{border-top-color:#bc9cf0;border-left-color:#bc9cf066;animation:tpv-spin 2.4s linear infinite}
#tpReturnVerify .tpv-ring-inner,#tpReturnVerify .tpv-spark{display:none}
#tpReturnVerify .tpv-visual-icon{display:grid;place-items:center;width:60px;height:60px;border:1px solid #c4a4f026;border-radius:20px;background:linear-gradient(145deg,#433451,#28223a);color:#e1d3f8;box-shadow:inset 0 1px #ffffff0c}
#tpReturnVerify .tpv-visual-icon svg{width:30px;height:30px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
#tpReturnVerify .tpv-title{margin:0 0 8px;color:#f7f5ff;font-size:21px;font-weight:750;line-height:1.5;letter-spacing:0}
/* Programmatic heading focus is retained for screen readers, without a blue box. */
#tpReturnVerify .tpv-title:focus{outline:none;box-shadow:none}
#tpReturnVerify .tpv-subtitle{margin:0 auto;color:#a6afc4;font-size:12px;line-height:1.85;max-width:290px;min-height:0}
#tpReturnVerify .tpv-amount{display:flex;align-items:center;justify-content:center;gap:8px;margin:19px 0;padding:13px 12px;border:1px solid #ffffff0e;border-radius:16px;background:#ffffff03;color:#9ca8bf;font-size:12px;font-weight:500}
#tpReturnVerify .tpv-amount b{color:#ece5fc;font-size:26px;line-height:1.25;font-weight:750;direction:ltr;font-variant-numeric:tabular-nums}
#tpReturnVerify .tpv-progress{display:none}
#tpReturnVerify .tpv-steps{position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin:0 0 23px}
#tpReturnVerify .tpv-steps::before{content:"";position:absolute;top:13px;left:16%;right:16%;height:1px;background:#33374b}
#tpReturnVerify .tpv-step{position:relative;display:grid;justify-items:center;gap:8px;color:#7e8ba5;font-size:10px;line-height:1.6;font-weight:500;min-width:0}
#tpReturnVerify .tpv-step i{display:grid;place-items:center;width:28px;height:28px;border:1px solid #3e4559;border-radius:50%;background:#192031;color:#9da9c0;font:600 11px system-ui}
#tpReturnVerify .tpv-step:first-child i{background:#183e36;border-color:#357b68;color:#9ee4c7}
#tpReturnVerify .tpv-step:nth-child(2){color:#d4c5ed}
#tpReturnVerify .tpv-step:nth-child(2) i{background:#332746;border-color:#b899df;color:#e2cef8;box-shadow:0 0 0 4px #ac83e009}
#tpReturnVerify .tpv-actions{display:grid;grid-template-columns:1.15fr 1fr;gap:9px}
#tpReturnVerify .tpv-action{display:flex;align-items:center;justify-content:center;width:100%;min-height:46px;padding:10px 8px;border-radius:13px;font:600 12px 'IBM Plex Sans Arabic',Tahoma,sans-serif;cursor:pointer;transition:filter .15s,transform .15s}
#tpReturnVerify .tpv-refresh{border:1px solid #d5bdf7;background:#d5bdf7;color:#23172e}
#tpReturnVerify .tpv-dismiss{border:1px solid #34394b;background:#ffffff03;color:#c4cce0}
#tpReturnVerify .tpv-action:active{transform:scale(.98)}
#tpReturnVerify .tpv-action:focus-visible,#tpReturnVerify .tpv-close:focus-visible{outline:2px solid #e3c9ff;outline-offset:3px}
#tpReturnVerify .tpv-footnote{margin:15px auto 0;max-width:285px;color:#8d98ae;font-size:10px;line-height:1.8}
#tpReturnVerify[data-state="approved"] .tpv-card{border-color:#366153;background:radial-gradient(ellipse at 50% 0%,#267e5030,transparent 60%),#111c1b}
#tpReturnVerify[data-state="approved"] .tpv-visual-icon{background:#1a4938;border-color:#5bbd8e55;color:#a0eac5;animation:tpv-finish .4s ease-out both}
#tpReturnVerify[data-state="approved"] .tpv-title,#tpReturnVerify[data-state="approved"] .tpv-amount b{color:#a5f0ca}
#tpReturnVerify[data-state="approved"] .tpv-ring{animation:none;border-color:#6cbd9755}
#tpReturnVerify[data-state="approved"] .tpv-steps,#tpReturnVerify[data-state="approved"] .tpv-refresh{display:none}
#tpReturnVerify[data-state="approved"] .tpv-actions{grid-template-columns:1fr}
#tpReturnVerify[data-state="approved"] .tpv-dismiss{background:#a5e8c5;border-color:#a5e8c5;color:#142a20}
#tpReturnVerify[data-state="rejected"] .tpv-visual-icon{background:#482c38;border-color:#c3788b44;color:#f0a9ba}
#tpReturnVerify[data-state="rejected"] .tpv-ring{animation:none;border-color:#c3788b44}
#tpReturnVerify[data-state="rejected"] .tpv-steps{display:none}
#tpReturnVerify[data-state="delayed"] .tpv-ring{animation:none;border-color:#bda16e66}
@keyframes tpv-spin{to{transform:rotate(360deg)}}
@keyframes tpv-enter{from{opacity:0;transform:translateY(12px) scale(.98)}to{opacity:1;transform:none}}
@keyframes tpv-finish{from{transform:scale(.8)}to{transform:scale(1)}}
@media(max-width:350px){#tpReturnVerify{padding:12px}#tpReturnVerify .tpv-card{padding:20px 15px 16px}#tpReturnVerify .tpv-title{font-size:19px}}
@media(max-height:600px){#tpReturnVerify .tpv-visual{margin:12px auto;width:66px;height:66px}#tpReturnVerify .tpv-visual-icon{width:48px;height:48px}#tpReturnVerify .tpv-amount{margin:13px 0}#tpReturnVerify .tpv-steps{margin-bottom:16px}}
@media(prefers-reduced-motion:reduce){#tpReturnVerify *,#tpReturnVerify *::before,#tpReturnVerify *::after{animation:none!important;transition:none!important}}
