/* Aba Investimentos: cotações de ações e criptomoedas */
.market-view { margin:0 0 14px; display:grid; gap:14px; }
.market-head { display:flex; justify-content:space-between; align-items:flex-start; gap:14px; }
.market-head h2 { margin:0; font-size:17px; letter-spacing:-.3px; }
.market-head p { margin:6px 0 0; color:var(--muted); font-size:11px; line-height:1.6; }
.market-head-actions { display:flex; align-items:center; gap:8px; flex-wrap:wrap; justify-content:flex-end; }
.market-source { color:#8f99aa; font-size:10px; }
.market-status { display:inline-flex; align-items:center; gap:7px; border:1px solid #ffffff10; background:#151a20; border-radius:999px; padding:7px 10px; color:#a6afbd; font-size:10px; }
.market-status::before { content:""; width:6px; height:6px; border-radius:50%; background:#49d99b; box-shadow:0 0 10px #49d99b88; }
.market-status.loading::before { background:#ffc846; box-shadow:0 0 10px #ffc84688; animation:market-pulse 1s ease infinite; }
.market-status.error::before { background:#ff697d; box-shadow:0 0 10px #ff697d88; }
@keyframes market-pulse { 50% { opacity:.35; transform:scale(.75); } }
.market-grid { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(0,1fr); gap:14px; }
.market-panel { padding:18px; }
.market-panel-head { display:flex; align-items:flex-start; justify-content:space-between; gap:10px; margin-bottom:14px; }
.market-panel-head h3 { margin:0; font-size:13px; }
.market-panel-head p { margin:5px 0 0; color:var(--muted); font-size:10px; line-height:1.5; }
.market-assets { display:grid; gap:9px; }
.market-asset { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:12px; padding:12px; border-radius:12px; border:1px solid #ffffff09; background:linear-gradient(110deg,#ffffff04,#ffffff01); transition:transform .18s ease,border-color .18s ease,background .18s ease; }
.market-asset:hover { transform:translateX(2px); border-color:#8178ff35; background:#8178ff08; }
.market-asset-main { display:flex; align-items:center; gap:10px; min-width:0; }
.market-asset-icon { flex:0 0 35px; width:35px; height:35px; border-radius:11px; display:grid; place-items:center; font-size:11px; font-weight:850; color:#c9c3ff; background:linear-gradient(145deg,#6d5df533,#2a245133); border:1px solid #a79aff22; }
.market-asset-name { min-width:0; }
.market-asset-name strong { display:block; color:#edf0f8; font-size:11px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.market-asset-name small { display:block; margin-top:4px; color:#7f8a9b; font-size:9px; }
.market-asset-numbers { text-align:right; min-width:96px; }
.market-asset-price { display:block; color:#f1f2fa; font-size:12px; font-weight:780; font-variant-numeric:tabular-nums; }
.market-change { display:inline-flex; margin-top:5px; padding:3px 6px; border-radius:6px; font-size:9px; font-weight:750; }
.market-change.up { color:#4cdda0; background:#20c98714; }
.market-change.down { color:#ff879c; background:#ee5a8015; }
.market-change.neutral { color:#a8b0bf; background:#ffffff09; }
.market-empty { color:#8c96a6; font-size:11px; line-height:1.65; padding:15px 12px; border-radius:12px; background:#11161d; border:1px dashed #ffffff16; }
.market-empty strong { display:block; color:#dfe3ee; font-size:12px; margin-bottom:5px; }
.market-empty a { color:#aaa0ff; text-decoration:none; }
.market-empty a:hover { text-decoration:underline; }
.market-insights { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; }
.market-insight { padding:14px; border:1px solid #ffffff0a; border-radius:14px; background:linear-gradient(145deg,#20232d,#171b22); min-width:0; transition:transform .2s ease,border-color .2s ease; }
.market-insight:hover { transform:translateY(-3px); border-color:#8178ff2b; }
.market-insight-icon { width:29px; height:29px; border-radius:9px; display:grid; place-items:center; margin-bottom:11px; background:#766bff1c; color:#aaa3ff; }
.market-insight-icon svg { width:15px; height:15px; }
.market-insight strong { display:block; font-size:11px; margin-bottom:6px; }
.market-insight p { margin:0; color:#929aa6; font-size:10px; line-height:1.6; }
.market-disclaimer { color:#7f8999; font-size:10px; line-height:1.6; padding:0 3px; margin:0; }
.market-loading-line { height:7px; border-radius:20px; background:linear-gradient(90deg,#24283a,#51417d,#24283a); background-size:200% 100%; animation:market-shimmer 1.2s linear infinite; }
@keyframes market-shimmer { to { background-position:-200% 0; } }
