/* Cartão "Saldo" do cliente: carteira com o que o ADS enviou e o que já foi descontado. */
.wallet-card{border:1px solid var(--line);border-radius:18px;background:var(--panel);margin:0 0 18px;overflow:hidden}
.wallet-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px}
.wallet-toggle{display:flex!important;align-items:center;justify-content:flex-start!important;gap:12px;flex:1;min-width:0;border:0!important;background:transparent!important;padding:0!important;text-align:left;color:inherit}
.wallet-toggle:hover{background:transparent}
.wallet-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:#2d3c31;color:var(--mint);flex:none}
.wallet-icon svg{width:24px;height:24px}
.wallet-label{display:block;font-size:12px;color:var(--muted);letter-spacing:.3px}
.wallet-balance{display:block;font-size:24px;font-weight:650;letter-spacing:-.6px;color:var(--mint);font-variant-numeric:tabular-nums;line-height:1.25}
.wallet-card.low .wallet-balance{color:var(--gold)}
.wallet-card.negative .wallet-balance{color:var(--red)}
.wallet-card.low .wallet-icon{background:#3a3424;color:var(--gold)}
.wallet-card.negative .wallet-icon{background:#483530;color:var(--red)}
.wallet-chevron{width:30px;height:30px;border:2px solid #2f3834;border-radius:50%;display:grid;place-items:center;color:var(--muted);flex:none;transition:transform .3s ease}
.wallet-chevron svg{width:16px;height:16px}
.wallet-toggle[aria-expanded=true] .wallet-chevron{transform:rotate(180deg)}
.wallet-add{border-radius:20px;padding:8px 14px;font-size:12px;display:flex;align-items:center;gap:6px;flex:none}
.wallet-add svg{width:16px;height:16px;transition:transform .3s ease}
.wallet-add:hover svg{transform:rotate(90deg)}
.wallet-body{max-height:0;opacity:0;overflow:hidden;transition:max-height .35s ease,opacity .25s ease;padding:0 16px}
.wallet-card.open .wallet-body{max-height:720px;opacity:1;padding:4px 16px 16px;animation:walletIn .35s ease-out}
.wallet-blocks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.wallet-blocks div{border:2px solid #2f3834;border-radius:10px;padding:9px 11px;background:var(--cell)}
.wallet-blocks span{display:block;font-size:11px;color:var(--muted)}
.wallet-blocks b{display:block;margin-top:3px;font-size:15px;font-weight:600;font-variant-numeric:tabular-nums}
.wallet-bar{height:8px;border-radius:5px;background:#2b332f;margin:14px 0 8px;overflow:hidden}
.wallet-bar i{display:block;height:100%;border-radius:5px;background:var(--mint);transition:width .4s ease}
.wallet-card.low .wallet-bar i{background:var(--gold)}
.wallet-card.negative .wallet-bar i{background:var(--red)}
.wallet-hint{font-size:12px;line-height:1.6;color:#c1cdc5}
.wallet-hint.warn{color:var(--gold)}
.wallet-card.negative .wallet-hint{color:var(--red)}
.wallet-list-title{margin:16px 0 8px;font-size:12px;font-weight:600;color:var(--muted)}
.wallet-entry{display:flex;align-items:center;justify-content:space-between;gap:10px;border-radius:8px;background:var(--cell);padding:8px 10px;margin-top:6px;font-size:13px}
.wallet-entry>div{min-width:0}
.wallet-entry small{display:block;margin-top:2px;overflow-wrap:anywhere}
.wallet-entry b{white-space:nowrap;color:var(--mint);font-variant-numeric:tabular-nums}
.wallet-entry button{padding:2px 8px;border-radius:6px;color:var(--muted);font-size:15px;line-height:1.2}
.wallet-entry button:hover{color:var(--red)}
.wallet-since{font-size:11px;color:var(--muted);margin-top:10px}
.wallet-empty{font-size:12px;color:var(--muted);line-height:1.6;margin:8px 0}
@keyframes walletIn{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:600px){.wallet-blocks{grid-template-columns:1fr}.wallet-balance{font-size:21px}.wallet-head{flex-wrap:wrap}.wallet-add{width:100%;justify-content:center}}
@media(prefers-reduced-motion:reduce){.wallet-body,.wallet-chevron,.wallet-bar i{transition:none}.wallet-card.open .wallet-body{animation:none}}
