/*
 * Billetera de Portal Driver.
 *
 * Son las mismas reglas de la billetera («Mi cartera») de Marketplace, en el
 * mismo orden de cascada, para que se vea igual en ambos portales.
 */


/* ---- origen: Marketplace customer.css ---- */
:root{--tx-blue-dark:#052754;--tx-blue:#0069C0;--tx-electric:#087aff;--tx-sky:#97E9FF;--tx-purple:#006eff;--tx-purple-light:#AB3ED8;--tx-ivory:#F8E8B8;--tx-white:#FFF;--tx-gray:#9AA4B2;--tx-black:#101218;--tx-bg:#e7e7e7;--safe-bottom:env(safe-area-inset-bottom,0px);--tx-nav-icon-size:28px}
:where(.tx-wallet-scope) .tx-view{display:none;padding:14px 13px}
:where(.tx-wallet-scope) .tx-view.active{display:block}
:where(.tx-wallet-scope) .tx-modal{border:2px solid var(--tx-purple);border-radius:21px;overflow:hidden}
:where(.tx-wallet-scope) .tx-avatar{width:52px;height:52px;border-radius:50%;object-fit:cover;background:#fff}
:where(.tx-wallet-scope) .tx-primary{background:var(--tx-purple)!important;border-color:var(--tx-purple)!important;color:#fff!important}
:where(.tx-wallet-scope) .tx-secondary{background:var(--tx-electric)!important;border-color:var(--tx-electric)!important;color:#fff!important}
:where(.tx-wallet-scope) .tx-page-title{display:flex;align-items:center;justify-content:space-between;padding:5px 3px 14px}
:where(.tx-wallet-scope) .tx-page-title h1{margin:0;color:var(--tx-purple);font-size:26px}
:where(.tx-wallet-scope) .tx-list{display:grid;gap:10px}
:where(.tx-wallet-scope) .tx-list-item{display:flex;align-items:center;gap:12px;background:#fff;border-radius:14px;padding:13px;box-shadow:0 4px 16px #10121810}
:where(.tx-wallet-scope) .tx-list-item .grow{flex:1;min-width:0}
:where(.tx-wallet-scope) .tx-list-item h3{font-size:17px;margin:0 0 4px}
:where(.tx-wallet-scope) .tx-list-item p{margin:0;color:#667085;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
:where(.tx-wallet-scope) .tx-empty{padding:40px 18px;text-align:center;color:#667085;background:#fff;border-radius:16px}
:where(.tx-wallet-scope) .tx-round{border-radius:50%;color:var(--tx-purple)}
@media(min-width:1100px){
:where(.tx-wallet-scope) .tx-view{padding-left:32px;padding-right:32px}
}
:where(.tx-wallet-scope) .tx-call-actions .btn{width:57px;height:57px;border-radius:50%;background:#fff;color:#101218;font-size:20px}
:where(.tx-wallet-scope) .tx-conversation-item .tx-avatar{overflow:hidden;flex:0 0 52px}
:where(.tx-wallet-scope) .tx-conversation-item .tx-avatar img{width:100%;height:100%;object-fit:cover}
:where(.tx-wallet-scope) .tx-message-form .form-control{border:0;border-radius:24px;padding:10px 16px}
:where(.tx-wallet-scope) .tx-message-form .btn{width:45px;height:45px;border-radius:50%;padding:0;display:grid;place-items:center}
:where(.tx-wallet-scope) .tx-round{width:42px;height:42px;display:inline-grid;place-items:center;border-radius:50%!important}
:where(.tx-wallet-scope) .tx-round:hover{background:#dfe3e5}
@media(max-width:600px){
:where(.tx-wallet-scope) .tx-chat-header .tx-round{width:36px;height:36px}
}
:where(.tx-wallet-scope) .tx-chat-open .tx-view{padding:0}
:where(.tx-wallet-scope) .tx-round{border:0}
:where(.tx-wallet-scope) .tx-chat-page-head .tx-round:hover{background:#ffffff20}
:where(.tx-wallet-scope) .tx-chat-page-head .tx-round{background:transparent;color:#fff;width:40px;height:40px}
@media(max-width:600px){
:where(.tx-wallet-scope) .tx-chat-head-actions .tx-round{width:35px;height:35px}
}
:where(.tx-wallet-scope) .tx-chat-open .tx-view{padding:0}
:where(.tx-wallet-scope) .modal-dialog,:where(.tx-wallet-scope) .modal-content,:where(.tx-wallet-scope) .modal-body{min-width:0;max-width:100%;}
.tx-checkout-empty{padding:13px;border-radius:12px;background:#f7f8fa;color:#737d8b;font-size:.78rem}
:where(.tx-wallet-scope) .tx-page-title .tx-back{font-size:.78rem}
@media(max-width:520px){
:where(.tx-wallet-scope) .tx-view{padding-left:11px;padding-right:11px}
}
.tx-wallet-view{padding-bottom:96px}
.tx-wallet-balance{display:grid;grid-template-columns:minmax(0,2fr) repeat(2,minmax(130px,1fr));gap:12px;margin-bottom:16px}
.tx-wallet-hero{min-height:150px;border-radius:22px;padding:22px;background:linear-gradient(135deg,var(--tx-blue-dark),var(--tx-electric),var(--tx-purple));color:#fff;display:flex;justify-content:space-between;align-items:center;box-shadow:0 10px 30px #10121820}
.tx-wallet-hero>div{display:grid}
.tx-wallet-hero small{font-size:.78rem;opacity:.82}
.tx-wallet-hero strong{font-size:2rem;line-height:1.1;margin:3px 0}
.tx-wallet-hero span{font-size:.72rem;opacity:.8}
.tx-wallet-hero>i{font-size:3rem;opacity:.8}
.tx-wallet-stat{background:#fff;border-radius:18px;padding:18px;box-shadow:0 5px 18px #1012180d;display:flex;flex-direction:column;justify-content:center}
.tx-wallet-stat small{color:#667085}
.tx-wallet-stat b{font-size:1.25rem;color:var(--tx-purple)}
.tx-wallet-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.tx-wallet-panel{background:#fff;border:1px solid #eceff3;border-radius:18px;padding:15px;box-shadow:0 4px 18px #1012180a}
.tx-wallet-panel-head{margin-bottom:11px}
.tx-wallet-panel-head h2{margin:0;font-size:1rem;font-weight:900;color:#27251f}
.tx-wallet-panel-head small{color:#667085;font-size:.7rem}
.tx-wallet-list{display:grid;gap:8px}
.tx-wallet-row{display:flex;align-items:center;gap:9px;border:1px solid #eef0f3;border-radius:12px;padding:10px}
.tx-wallet-row>i{width:38px;height:38px;flex:0 0 38px;border-radius:50%;display:grid;place-items:center;background:#eef7ff;color:var(--tx-purple)}
.tx-wallet-row>div{min-width:0;flex:1;display:grid}
.tx-wallet-row b{font-size:.78rem}
.tx-wallet-row small{font-size:.66rem;color:#667085;white-space:normal}
.tx-wallet-row>strong{font-size:.78rem;text-align:right}
.tx-wallet-row>strong small{display:block}
.tx-wallet-row>strong.credit{color:#087a42}
.tx-wallet-row>strong.debit{color:#b42318}
.tx-wallet-row>button{border:0;background:#eef7ff;color:var(--tx-purple);width:34px;height:34px;border-radius:50%;display:grid;place-items:center}
.tx-wallet-row>button.danger{background:#fff0f0;color:#b42318}
.tx-wallet-default{font-size:.62rem;background:#e7f8ef;color:#087a42;border-radius:999px;padding:4px 7px;font-weight:800}
.tx-wallet-withdraw-note{display:flex;gap:10px;align-items:flex-start;background:#eef7ff;color:#344054;border-radius:12px;padding:12px;font-size:.78rem}
.tx-wallet-withdraw-note i{color:var(--tx-electric);margin-top:2px}
.tx-wallet-conversion{display:grid;gap:3px;border-radius:12px;background:#faf5ff;border:1px solid #006eff24;padding:11px;margin-top:12px}
.tx-wallet-conversion span,.tx-wallet-conversion small{font-size:.7rem;color:#667085}
.tx-wallet-conversion strong{color:var(--tx-purple)}
@media(max-width:768px){
.tx-wallet-balance{grid-template-columns:1fr 1fr}
.tx-wallet-hero{grid-column:1/-1}
.tx-wallet-grid{grid-template-columns:1fr}
}
@media(max-width:420px){
.tx-wallet-balance{grid-template-columns:1fr}
.tx-wallet-hero{grid-column:auto}
.tx-wallet-stat{min-height:88px}
}
:where(.tx-wallet-scope) .tx-avatar{background:#d1d5db!important}
:where(.tx-wallet-scope) .tx-avatar{background:#d1d5db!important}
:where(.tx-wallet-scope) .tx-avatar img{background:#d1d5db!important}
:root{--tx-image-neutral:#d1d5db;--tx-card-radius:20px}
:where(.tx-wallet-scope) .tx-avatar{position:relative}
:where(.tx-wallet-scope) .tx-call-actions .btn{width:58px!important;height:58px!important;border-radius:50%!important;background:#ffffff2e!important;color:#fff!important;border:0!important}
:where(.tx-wallet-scope) .tx-call-actions .btn.end{background:#e53935!important}
:root{--tx-chat-green:#0b6b63;--tx-chat-green-dark:#07564f;--tx-chat-sent:#d8efff;--tx-chat-paper:#efeae2}
:where(.tx-wallet-scope) .tx-conversation-item .tx-avatar{width:54px!important;height:54px!important;flex:0 0 54px!important;position:relative;overflow:visible!important}
:where(.tx-wallet-scope) .tx-conversation-item .tx-avatar>img{width:54px;height:54px;border-radius:50%;object-fit:cover}
:where(.tx-wallet-scope) .tx-chat-page-head .tx-round{color:#fff!important;background:transparent!important;border:0!important;width:38px!important;height:38px!important;display:grid!important;place-items:center!important}
@media(max-width:700px){
:where(.tx-wallet-scope) .tx-chat-head-actions .tx-round{width:34px!important;height:34px!important}
}
:where(.tx-wallet-scope) .tx-avatar{border-radius:50%!important;overflow:hidden}
:where(.tx-wallet-scope) .tx-avatar>img{width:100%!important;height:100%!important;border-radius:50%!important;object-fit:cover!important;object-position:center!important}
:where(.tx-wallet-scope) .tx-avatar .tx-verify-badge{position:static!important}
.tx-wallet-head-actions{display:flex;align-items:center;gap:8px}
:where(.tx-wallet-scope) .tx-camera{color:var(--tx-purple)!important}
:where(.tx-wallet-scope) .tx-message-form-page .tx-camera{background:#fff!important;color:#667781!important}
@media(max-width:520px){
.tx-wallet-head-actions{gap:5px}
.tx-wallet-head-actions .btn{padding:8px 9px;font-size:.72rem}
}
:where(.tx-wallet-scope) .tx-chat-list-dropdown .dropdown-item{border-radius:10px;padding:10px 12px;font-weight:750;color:#17223b}
:where(.tx-wallet-scope) .tx-chat-list-dropdown .dropdown-item i{width:20px;color:var(--tx-purple)}
:where(.tx-wallet-scope) .tx-conversation-item .tx-avatar{width:54px!important;height:54px!important;min-width:54px!important;min-height:54px!important;max-width:54px!important;max-height:54px!important;flex:0 0 54px!important;aspect-ratio:1/1!important;border-radius:50%!important;background:#d9dee3!important;position:relative!important;overflow:visible!important;padding:0!important;display:grid!important;place-items:center!important}
:where(.tx-wallet-scope) .tx-conversation-item .tx-avatar>img{width:54px!important;height:54px!important;min-width:54px!important;min-height:54px!important;max-width:54px!important;max-height:54px!important;aspect-ratio:1/1!important;border-radius:50%!important;object-fit:cover!important;object-position:center!important;display:block!important}
:where(.tx-wallet-scope) .tx-chat-page-head .tx-round{width:38px!important;height:38px!important;flex:0 0 38px!important;color:#fff!important;background:transparent!important;border:0!important;display:grid!important;place-items:center!important;font-size:18px!important}
:where(.tx-wallet-scope) .tx-qr-link-dialog .modal-content{max-height:min(68dvh,620px)!important;border-radius:20px!important;overflow:hidden!important}
:where(.tx-wallet-scope) .tx-qr-link-dialog .modal-body{overflow-y:auto!important;overscroll-behavior:contain!important;padding:15px!important}
@media(max-width:700px){
:where(.tx-wallet-scope) .tx-qr-link-dialog .modal-content{max-height:66dvh!important}
}
:where(.tx-wallet-scope) .tx-message-form-page .tx-message-input-shell .tx-camera{background:transparent!important;color:#667781!important}
:where(.tx-wallet-scope) .tx-conversation-item .tx-avatar{width:54px!important;height:54px!important;min-width:54px!important;min-height:54px!important;max-width:54px!important;max-height:54px!important;
  flex:0 0 54px!important;aspect-ratio:1/1!important;border-radius:50%!important;overflow:visible!important;background:#d9dee3!important;
  display:grid!important;place-items:center!important;color:#006eff!important;font-size:23px!important;padding:0!important;}
:where(.tx-wallet-scope) .tx-conversation-item .tx-avatar>img{width:54px!important;height:54px!important;min-width:54px!important;min-height:54px!important;max-width:54px!important;max-height:54px!important;
  aspect-ratio:1/1!important;border-radius:50%!important;object-fit:cover!important;object-position:center!important;display:block!important;}
:where(.tx-wallet-scope) .tx-chat-page-head .tx-round{width:38px!important;height:38px!important;min-width:38px!important;flex:0 0 38px!important;border:0!important;border-radius:50%!important;
  background:transparent!important;color:#fff!important;display:grid!important;place-items:center!important;padding:0!important;font-size:18px!important;}
:where(.tx-wallet-scope) .tx-chat-head-actions>.tx-round,:where(.tx-wallet-scope) .tx-chat-head-actions>.dropdown>.tx-round{width:38px!important;height:38px!important;min-width:38px!important;flex:0 0 38px!important}
@media(max-width:420px){
:where(.tx-wallet-scope) .tx-chat-page-head .tx-round,:where(.tx-wallet-scope) .tx-chat-head-actions>.tx-round,:where(.tx-wallet-scope) .tx-chat-head-actions>.dropdown>.tx-round{width:35px!important;height:35px!important;min-width:35px!important;flex-basis:35px!important}
}
:where(.tx-wallet-scope) .tx-message-form-page .tx-message-input-shell>.tx-camera{font-size:17px!important}
.tx-wallet-checkout-balance{display:flex;align-items:center;gap:12px;background:#f4edff;border:1px solid rgba(127,0,178,.18);border-radius:16px;padding:13px 15px;margin-bottom:14px;color:#24112d}
.tx-wallet-checkout-balance>i{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#006eff;color:#fff;font-size:1.05rem}
.tx-wallet-checkout-balance div{display:flex;flex-direction:column;min-width:0}
.tx-wallet-checkout-balance small{color:#666}
.tx-wallet-checkout-balance strong{font-size:1.25rem;color:#006eff}
.tx-wallet-view>.tx-page-title{padding-bottom:8px!important}
.tx-wallet-view>.tx-wallet-head-actions.tx-wallet-action-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 0 14px!important;width:100%}
.tx-wallet-action-grid .btn{min-width:0;min-height:66px;border-radius:15px!important;display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:5px;font-weight:800;white-space:nowrap}
.tx-wallet-action-grid .btn i{font-size:20px;margin:0!important}
.tx-wallet-action-grid .btn span{font-size:.78rem}
@media(max-width:420px){
.tx-wallet-view>.tx-wallet-head-actions.tx-wallet-action-grid{gap:7px}
.tx-wallet-action-grid .btn{padding:8px 5px!important}
.tx-wallet-action-grid .btn span{font-size:.7rem}
}
body :where(.tx-wallet-scope) .modal{z-index:2147482000!important}
.tx-wallet-view>.tx-wallet-head-actions.tx-wallet-action-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important}
.tx-wallet-action-grid .btn{height:58px!important;min-height:58px!important;padding:0!important;display:grid!important;place-items:center!important}
.tx-wallet-action-grid .btn i{font-size:1.55rem!important}
.tx-wallet-action-grid .btn span{display:none!important}
.tx-wallet-directory-panel{position:relative!important;overflow:visible!important}
.tx-wallet-directory-panel>.tx-wallet-panel-head{padding-right:54px!important}
.tx-wallet-directory-panel .tx-wallet-directory-add{position:absolute!important;top:-1px!important;right:-1px!important;width:48px!important;height:48px!important;border:0!important;border-radius:0 16px 0 16px!important;background:var(--tx-electric)!important;color:#fff!important;display:grid!important;place-items:center!important;padding:0!important;z-index:3!important}
.tx-wallet-directory-panel .tx-wallet-directory-add i{margin:0!important;font-size:1.3rem!important}
:where(.tx-wallet-scope) .tx-call-actions .btn{flex:0 0 58px!important}
.tx-wallet-card-modal{z-index:2147483646!important}
.tx-wallet-card-modal+.modal-backdrop{z-index:2147483645!important}
body #walletFallbackCardModal.tx-wallet-card-modal{z-index:2147483646!important;}
body #walletFallbackCardModal.tx-wallet-card-modal .modal-dialog,body #walletFallbackCardModal.tx-wallet-card-modal .modal-content{position:relative!important;
  z-index:2147483646!important;}
body .modal-backdrop.tx-wallet-card-backdrop{z-index:2147483645!important;}
body.tx-driver-market-ui :where(.tx-wallet-scope) .modal .modal-content{overflow:hidden;}
body.tx-driver-market-ui :where(.tx-wallet-scope) .modal .modal-header{min-height:58px; padding:14px 18px;
  background:var(--tx-electric,#087aff) !important;
  border:0 !important; border-bottom:5px solid var(--tx-purple,#006eff) !important;
  color:#fff !important; align-items:center; justify-content:space-between;}
body.tx-driver-market-ui :where(.tx-wallet-scope) .modal .modal-header .modal-title,body.tx-driver-market-ui :where(.tx-wallet-scope) .modal .modal-header h1,body.tx-driver-market-ui :where(.tx-wallet-scope) .modal .modal-header h2,body.tx-driver-market-ui :where(.tx-wallet-scope) .modal .modal-header h3{margin:0 !important; color:#fff !important; text-align:left !important;
  font-weight:800; line-height:1.2;}
body.tx-driver-market-ui :where(.tx-wallet-scope) .modal .modal-header small{color:rgba(255,255,255,.86)!important;}
body.tx-driver-market-ui :where(.tx-wallet-scope) .modal .modal-header .btn-close{opacity:1; filter:brightness(0) invert(1); margin:0 !important;}
body.tx-driver-market-ui :where(.tx-wallet-scope) .modal .modal-content,body.tx-driver-market-ui :where(.tx-wallet-scope) .modal .tx-modal,body.tx-driver-market-ui :where(.tx-wallet-scope) .tx-modal{border:0!important;outline:0!important;box-shadow:0 20px 70px rgba(0,0,0,.34)!important}
body.tx-driver-market-ui :where(.tx-wallet-scope) .modal .modal-header,body.tx-driver-market-ui :where(.tx-wallet-scope) .tx-modal-header{border-bottom:0!important}

/* ---- origen: Marketplace ui-overrides.css ---- */
body.tx-driver-market-ui :where(.tx-wallet-scope) .modal:not(#callModal) .modal-content{border:0!important;overflow:hidden!important}
body.tx-driver-market-ui :where(.tx-wallet-scope) .modal:not(#callModal) .modal-header,body.tx-driver-market-ui :where(.tx-wallet-scope) .modal:not(#callModal) .tx-modal-header{min-height:58px!important;
  padding:14px 18px!important;
  background:#087aff!important;
  background-image:none!important;
  color:#fff!important;
  border:0!important;
  border-bottom:5px solid #006eff!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;}
body.tx-driver-market-ui :where(.tx-wallet-scope) .modal:not(#callModal) .modal-header .modal-title,body.tx-driver-market-ui :where(.tx-wallet-scope) .modal:not(#callModal) .modal-header h1,body.tx-driver-market-ui :where(.tx-wallet-scope) .modal:not(#callModal) .modal-header h2,body.tx-driver-market-ui :where(.tx-wallet-scope) .modal:not(#callModal) .modal-header h3,body.tx-driver-market-ui :where(.tx-wallet-scope) .modal:not(#callModal) .modal-header h4,body.tx-driver-market-ui :where(.tx-wallet-scope) .modal:not(#callModal) .modal-header h5{color:#fff!important;text-align:left!important;margin:0!important;font-weight:850!important;}
body.tx-driver-market-ui :where(.tx-wallet-scope) .modal:not(#callModal) .modal-header small{color:rgba(255,255,255,.86)!important}
body.tx-driver-market-ui :where(.tx-wallet-scope) .modal:not(#callModal) .modal-header .btn-close{filter:brightness(0) invert(1)!important;opacity:1!important;margin:0!important}

/* ---- origen: Marketplace profile.css ---- */
:where(.tx-wallet-scope) .tx-avatar>img{width:100%!important;height:100%!important;min-width:0!important;max-width:none!important;max-height:none!important;aspect-ratio:1!important;border-radius:50%!important;object-fit:cover!important;object-position:center!important;display:block!important;padding:0!important}
body.tx-driver-market-ui .tx-wallet-peer img{width:54px!important;height:54px!important;flex:0 0 54px!important}
body.tx-driver-market-ui .tx-transfer-suggestion img{width:40px!important;height:40px!important;flex:0 0 40px!important}
.tx-wallet-peer img,.tx-transfer-suggestion img{aspect-ratio:1!important;border-radius:50%!important;object-fit:cover!important;object-position:center!important;display:block!important;flex-shrink:0!important;padding:0!important}

/* ---- origen: Marketplace marketplace-ui.css ---- */
.tx-wallet-view>.tx-wallet-balance{display:block!important;margin-bottom:10px!important}
.tx-wallet-view>.tx-wallet-balance .tx-wallet-hero{width:100%!important;min-height:126px!important;grid-column:auto!important}
.tx-wallet-view .tx-wallet-stat{display:none!important}
.tx-wallet-view>.tx-wallet-head-actions.tx-wallet-action-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;margin:0 0 14px!important;width:100%!important}
.tx-wallet-view>.tx-wallet-head-actions.tx-wallet-action-grid .btn{height:76px!important;min-height:76px!important;border-radius:15px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:6px!important;padding:8px!important;white-space:nowrap!important}
.tx-wallet-view>.tx-wallet-head-actions.tx-wallet-action-grid .btn i{font-size:1.55rem!important;margin:0!important}
.tx-wallet-view>.tx-wallet-head-actions.tx-wallet-action-grid .btn span{display:block!important;font-size:.72rem!important;line-height:1!important;white-space:nowrap!important}
.tx-wallet-blocked{display:block!important;margin-top:10px!important;font-size:.68rem!important;opacity:.88!important}
.tx-wallet-blocked b{font-size:.72rem!important;color:inherit!important}
.tx-wallet-directory-panel>.tx-wallet-panel-head{min-height:54px!important;padding-right:58px!important}
.tx-wallet-directory-panel .tx-checkout-empty,.tx-wallet-directory-panel .text-muted.small{padding-top:12px!important;padding-right:54px!important;min-height:48px!important;display:flex!important;align-items:flex-end!important}

/* ---- origen: Marketplace wallet.css ---- */
.tx-wallet-view{padding-bottom:96px}
.tx-wallet-balance{display:grid;grid-template-columns:minmax(0,2fr) repeat(2,minmax(130px,1fr));gap:12px;margin-bottom:16px}
.tx-wallet-hero{min-height:150px;border-radius:22px;padding:22px;background:linear-gradient(135deg,var(--tx-blue-dark),var(--tx-electric),var(--tx-purple));color:#fff;display:flex;justify-content:space-between;align-items:center;box-shadow:0 10px 30px #10121820}
.tx-wallet-hero>div{display:grid}
.tx-wallet-hero small{font-size:.78rem;opacity:.82}
.tx-wallet-hero strong{font-size:2rem;line-height:1.1;margin:3px 0}
.tx-wallet-hero span{font-size:.72rem;opacity:.8}
.tx-wallet-hero>i{font-size:3rem;opacity:.8}
.tx-wallet-stat{background:#fff;border-radius:18px;padding:18px;box-shadow:0 5px 18px #1012180d;display:flex;flex-direction:column;justify-content:center}
.tx-wallet-stat small{color:#667085}
.tx-wallet-stat b{font-size:1.25rem;color:var(--tx-purple)}
.tx-wallet-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.tx-wallet-panel{background:#fff;border:1px solid #eceff3;border-radius:18px;padding:15px;box-shadow:0 4px 18px #1012180a}
.tx-wallet-panel-head{margin-bottom:11px}
.tx-wallet-panel-head h2{margin:0;font-size:1rem;font-weight:900;color:#27251f}
.tx-wallet-panel-head small{color:#667085;font-size:.7rem}
.tx-wallet-list{display:grid;gap:8px}
.tx-wallet-row{display:flex;align-items:center;gap:9px;border:1px solid #eef0f3;border-radius:12px;padding:10px}
.tx-wallet-row>i{width:38px;height:38px;flex:0 0 38px;border-radius:50%;display:grid;place-items:center;background:#eef7ff;color:var(--tx-purple)}
.tx-wallet-row>div{min-width:0;flex:1;display:grid}
.tx-wallet-row b{font-size:.78rem}
.tx-wallet-row small{font-size:.66rem;color:#667085;white-space:normal}
.tx-wallet-row>strong{font-size:.78rem;text-align:right}
.tx-wallet-row>strong small{display:block}
.tx-wallet-row>strong.credit{color:#087a42}
.tx-wallet-row>strong.debit{color:#b42318}
.tx-wallet-row>button{border:0;background:#eef7ff;color:var(--tx-purple);width:34px;height:34px;border-radius:50%;display:grid;place-items:center}
.tx-wallet-row>button.danger{background:#fff0f0;color:#b42318}
.tx-wallet-default{font-size:.62rem;background:#e7f8ef;color:#087a42;border-radius:999px;padding:4px 7px;font-weight:800}
.tx-wallet-withdraw-note{display:flex;gap:10px;align-items:flex-start;background:#eef7ff;color:#344054;border-radius:12px;padding:12px;font-size:.78rem}
.tx-wallet-withdraw-note i{color:var(--tx-electric);margin-top:2px}
.tx-wallet-conversion{display:grid;gap:3px;border-radius:12px;background:#faf5ff;border:1px solid #006eff24;padding:11px;margin-top:12px}
.tx-wallet-conversion span,.tx-wallet-conversion small{font-size:.7rem;color:#667085}
.tx-wallet-conversion strong{color:var(--tx-purple)}
.tx-wallet-head-actions.tx-wallet-action-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;margin:0 0 14px!important;width:100%}
.tx-wallet-action-grid .btn{height:58px!important;min-height:58px!important;min-width:0;padding:0!important;border-radius:15px!important;display:grid!important;place-items:center!important}
.tx-wallet-action-grid .btn i{font-size:1.55rem!important;margin:0!important}
.tx-wallet-action-grid .btn span{display:none!important}
.tx-wallet-directory-panel{position:relative!important;overflow:visible!important}
.tx-wallet-directory-panel>.tx-wallet-panel-head{padding-right:54px!important}
.tx-wallet-directory-panel .tx-wallet-directory-add{position:absolute!important;top:-1px!important;right:-1px!important;width:48px!important;height:48px!important;border:0!important;border-radius:0 16px 0 16px!important;background:var(--tx-electric)!important;color:#fff!important;display:grid!important;place-items:center!important;padding:0!important;z-index:3!important}
.tx-wallet-directory-add i{font-size:1.3rem!important;margin:0!important}
.tx-wallet-view .tx-checkout-empty{padding:18px;color:#667085;text-align:center;font-size:.85rem}
@media(max-width:760px){
.tx-wallet-balance{grid-template-columns:1fr 1fr}
.tx-wallet-hero{grid-column:1/-1}
.tx-wallet-grid{grid-template-columns:1fr}
}
@media(max-width:420px){
.tx-wallet-balance{grid-template-columns:1fr}
.tx-wallet-hero{grid-column:auto}
.tx-wallet-stat{min-height:88px}
}
.tx-wallet-view{--tx-blue-dark:#052754;--tx-electric:#087aff;--tx-purple:#006eff}
.tx-wallet-action-grid .tx-primary{background:#006eff!important;color:#fff!important;border:0!important}
.tx-wallet-action-grid .tx-secondary{background:#087aff!important;color:#fff!important;border:0!important}

/* ---- Solo Driver ---------------------------------------------------------
 * La billetera ocupa el ancho como en Marketplace y usa su misma tipografía.
 */
html[data-driver-tab="wallet"] body.tx-driver-market-ui .driver-main{padding:8px 10px 24px!important}
body.tx-driver-market-ui .tx-wallet-scope{font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif}
/* Planes Driver: mismo renglón de la billetera; el botón lleva texto (Activar / Cancelar). */
#driverPlans .tx-wallet-row>button{width:auto;min-width:78px;padding:0 12px;border-radius:999px;font-size:12px;font-weight:800;white-space:nowrap}

/* Estado de cuenta: ingreso/cargo/retenido/informativo y metadatos de la orden. */
.tx-wallet-row>strong.held{color:#d97706}.tx-wallet-row>strong.neutral{color:#667085}.tx-wallet-movement-meta{display:grid!important;gap:1px;white-space:normal!important}.tx-wallet-movement-meta>span{display:block}
