/* F90 CARD customer finance, wallet and deposit interface */
.f90-visa-wallet{position:relative;isolation:isolate;overflow:hidden;min-height:256px;max-width:650px;padding:26px 30px;margin:16px 0 24px;border:1px solid rgba(255,96,112,.68);border-radius:26px;background:radial-gradient(circle at 87% 16%,rgba(234,31,61,.34),transparent 40%),linear-gradient(128deg,#0b0c13 8%,#20232c 44%,#500e22 100%);color:#fff;box-shadow:0 18px 42px rgba(0,0,0,.22),inset 0 0 35px rgba(235,45,65,.09)}
.f90-visa-wallet:after{content:"";position:absolute;right:-75px;bottom:-185px;width:390px;height:300px;border:1px solid rgba(255,130,148,.28);border-radius:50%;box-shadow:0 0 0 35px rgba(255,255,255,.025),0 0 0 65px rgba(255,70,100,.025);pointer-events:none}
.f90-visa-top,.f90-visa-bottom{display:flex;align-items:center;justify-content:space-between;gap:16px;position:relative;z-index:1}
.f90-visa-top img{width:112px;height:67px;object-fit:contain;filter:drop-shadow(0 0 8px rgba(255,62,86,.3))}
.f90-visa-top span{font-size:12px;font-weight:800;letter-spacing:2px;color:#e4c3ca;direction:ltr}
.f90-visa-chip{display:flex;align-items:center;justify-content:center;border:1px solid #a78f62;background:linear-gradient(135deg,#fbe4a4,#a68d62,#e6d39e);color:#6d5733;border-radius:7px;width:42px;height:32px;font-size:31px;margin:6px 0 11px}
.f90-visa-label{display:block;color:#e5cbd2;font-size:13px}
.f90-visa-amount{display:block;font-size:clamp(23px,4vw,36px);font-weight:800;line-height:1.7;position:relative;z-index:1;direction:ltr;text-align:right}
.f90-visa-bottom{font-size:12px;color:#ebdce1;margin:7px 0}.f90-visa-rights{font-size:10px;color:#d7afb9;display:block;margin-top:12px;position:relative;z-index:1}
.f90-wallet-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:18px}
.f90-wallet-summary>div{padding:17px;border:1px solid var(--line,#522a32);border-radius:15px;background:var(--surface,#16141b);min-width:0}
.f90-wallet-summary small,.f90-customer-current small{display:block;color:var(--muted,#b6adb3);font-size:12px}
.f90-wallet-summary strong,.f90-customer-current strong{display:block;overflow-wrap:anywhere;font-size:18px}
.f90-wallet-links{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0 24px}
.f90-wallet-table,.f90-finance-table{width:100%;border-collapse:collapse;min-width:530px;text-align:right}
.f90-wallet-table th,.f90-wallet-table td,.f90-finance-table th,.f90-finance-table td{padding:10px 12px;border-bottom:1px solid var(--line,#3c3036);font-size:13px;vertical-align:middle}
.f90-wallet-table th,.f90-finance-table th{white-space:nowrap}
.f90-deposit-instructions{padding:17px;margin:18px 0;background:var(--surface,#14141c);border:1px solid var(--line,#4c2931);border-radius:16px}
.f90-deposit-instructions .product-description{white-space:pre-wrap;overflow-wrap:anywhere;line-height:2;margin:8px 0 0}
.f90-deposit-barcode{display:flex;flex-direction:column;align-items:center;gap:10px;padding:18px;margin:16px 0;border:1px solid rgba(255,65,92,.4);border-radius:18px;background:var(--surface,#17151d)}
.f90-deposit-barcode h3{align-self:stretch;margin:0}.f90-deposit-barcode img{display:block;max-width:100%;width:260px;max-height:310px;object-fit:contain;background:#fff;border-radius:13px;padding:12px}
.f90-deposit-barcode small{color:var(--muted,#aaa)}
.f90-finance-modal{width:min(98vw,1070px)!important;max-width:1070px!important;max-height:90vh;overflow-y:auto}
.f90-admin-customer{display:grid;gap:20px}
.f90-admin-customer-head{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px;border:1px solid var(--line,#54313c);border-radius:16px;flex-wrap:wrap}
.f90-customer-current{text-align:left;direction:rtl}.f90-customer-current strong{font-size:24px;color:var(--accent,#f43b58)}
.f90-finance-editor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.f90-finance-editor-grid .panel{margin:0;min-width:0}.f90-finance-editor-grid form{display:grid;gap:12px}
.f90-finance-modal .panel{margin-top:0}
.f90-finance-modal .table-wrap{max-width:100%;overflow-x:auto}
.f90-barcode-preview img{max-width:190px;max-height:190px;object-fit:contain;background:white;border-radius:12px;padding:8px}
@media(max-width:700px){.f90-finance-editor-grid{grid-template-columns:1fr}.f90-wallet-summary{grid-template-columns:1fr 1fr}.f90-visa-wallet{padding:21px 18px;min-height:232px}.f90-visa-top img{width:96px;height:60px}}
@media(max-width:420px){.f90-wallet-summary{grid-template-columns:1fr}.f90-visa-top span{font-size:10px;letter-spacing:1px}.f90-finance-modal{width:100vw!important;max-height:94vh;padding:12px}}
