/* ==========================================================================
   WIN WINS - FINWISE STYLE NEO-CLEAN FINTECH DESIGN SYSTEM
   ========================================================================== */

:root {
  --mint-primary: #00d47e;
  --mint-gradient: linear-gradient(135deg, #00e588, #00c070);
  --mint-light: #e6fbf2;
  --mint-glow: rgba(0, 212, 126, 0.35);

  --blue-soft: #ebf3ff;
  --blue-primary: #3b82f6;
  --purple-soft: #f3e8ff;
  --purple-primary: #8b5cf6;
  --orange-soft: #fef3c7;
  --orange-primary: #f59e0b;
  --cyan-soft: #ecfeff;
  --cyan-primary: #06b6d4;
  --rose-primary: #f43f5e;

  --bg-app: #f4f7f6;
  --bg-surface: #ffffff;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --text-light-muted: #94a3b8;
  --border-light: #e2e8f0;

  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-card: 28px;
  --radius-squircle: 20px;
  --shadow-subtle: 0 10px 30px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 16px 40px rgba(0, 0, 0, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body.finwise-app-body {
  background-color: var(--bg-app);
  color: var(--text-dark);
  font-family: var(--font-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

.app-layout-wrapper {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 24px 100px 24px;
  width: 100%;
}

/* ==========================================================================
   1. BARRA SUPERIOR
   ========================================================================== */
.finwise-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0 20px 0;
}

.top-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-squircle-logo {
  width: 42px;
  height: 42px;
  background: #0f172a;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.brand-svg {
  width: 26px;
  height: 26px;
}

.brand-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-dark);
  display: block;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.brand-subtitle {
  font-size: 10px;
  font-weight: 700;
  color: var(--mint-primary);
  letter-spacing: 0.08em;
}

.market-pill-ticker {
  display: flex;
  gap: 12px;
  background: var(--bg-surface);
  padding: 6px 16px;
  border-radius: 30px;
  box-shadow: var(--shadow-subtle);
  border: 1px solid var(--border-light);
}

.ticker-chip {
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.ticker-chip .sym { color: var(--text-muted); }
.ticker-chip .pos { color: var(--mint-primary); font-weight: 700; }

.top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.finwise-select {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  color: var(--text-dark);
  font-size: 12px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 20px;
  outline: none;
  cursor: pointer;
  box-shadow: var(--shadow-subtle);
}

.notification-squircle {
  width: 38px;
  height: 38px;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  box-shadow: var(--shadow-subtle);
}

.bell-icon { font-size: 15px; }

.notif-dot {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 7px;
  height: 7px;
  background: var(--mint-primary);
  border-radius: 50%;
  border: 2px solid white;
}

.btn-profile-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #0f172a;
  color: white;
  border: none;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
}

.user-avatar-sm { font-size: 14px; }

.user-logged-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-surface);
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-subtle);
  font-size: 12px;
  font-weight: 700;
}

.user-avatar-circle {
  width: 26px;
  height: 26px;
  background: var(--mint-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
}

.btn-logout-small {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 12px;
}
.btn-logout-small:hover { color: var(--rose-primary); }

/* ==========================================================================
   2. HERO CARD MENTA (ESTILO FINWISE "HI, WELCOME BACK")
   ========================================================================== */
.finwise-hero-mint-card {
  background: var(--mint-gradient);
  border-radius: var(--radius-card);
  padding: 32px;
  color: white;
  box-shadow: 0 20px 40px rgba(0, 212, 126, 0.28);
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
}

.hero-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.greeting-sub {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  display: block;
}

.greeting-main {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.autopilot-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(10px);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.pulse-emerald {
  width: 8px;
  height: 8px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 10px #ffffff;
}

.hero-balance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.balance-cell .cell-sub {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.8);
  display: block;
  margin-bottom: 4px;
}

.hero-amount-huge {
  font-size: 38px;
  font-weight: 800;
  font-family: var(--font-mono);
  letter-spacing: -0.03em;
}

.hero-profit-huge {
  font-size: 32px;
  font-weight: 800;
  font-family: var(--font-mono);
  letter-spacing: -0.02em;
  color: #ffffff;
}

.right-align { text-align: right; }

.hero-progress-section {
  background: rgba(0, 0, 0, 0.12);
  padding: 12px 16px;
  border-radius: 16px;
  margin-bottom: 24px;
}

.progress-track-bg {
  height: 8px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 8px;
}

.progress-fill-mint {
  height: 100%;
  background: #ffffff;
  border-radius: 10px;
}

.progress-info-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
}

.hero-mini-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.mini-stat-box {
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  padding: 12px 16px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.mini-icon { font-size: 20px; }
.mini-label { font-size: 10px; color: rgba(255, 255, 255, 0.8); display: block; font-weight: 600; }
.mini-val { font-size: 13px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ==========================================================================
   3. SQUIRCLES GRID (ACCIONES RÁPIDAS)
   ========================================================================== */
.quick-actions-section {
  margin-bottom: 28px;
}

.section-heading {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.squircles-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 14px;
}

.squircle-btn-card {
  background: var(--bg-surface);
  border-radius: var(--radius-squircle);
  padding: 16px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-subtle);
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.squircle-btn-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.squircle-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.squircle-icon.blue { background: var(--blue-soft); color: var(--blue-primary); }
.squircle-icon.green { background: var(--mint-light); color: var(--mint-primary); }
.squircle-icon.purple { background: var(--purple-soft); color: var(--purple-primary); }
.squircle-icon.orange { background: var(--orange-soft); color: var(--orange-primary); }
.squircle-icon.cyan { background: var(--cyan-soft); color: var(--cyan-primary); }

.squircle-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-dark);
}

/* ==========================================================================
   4. TARJETA GENÉRICA FINWISE BLANCA & AI WIDGET
   ========================================================================== */
.finwise-card {
  background: var(--bg-surface);
  border-radius: var(--radius-card);
  padding: 24px;
  box-shadow: var(--shadow-subtle);
  border: 1px solid var(--border-light);
}

.ai-brain-widget {
  margin-bottom: 28px;
}

.card-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-icon-squircle {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.header-icon-squircle.mint { background: var(--mint-light); color: var(--mint-primary); }

.card-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-dark);
}

.card-subtitle {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
}

.badge-confidence {
  background: var(--mint-light);
  color: var(--mint-primary);
  font-size: 12px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 20px;
}

.ai-metrics-triad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  background: #f8fafc;
  padding: 16px;
  border-radius: 18px;
}

.triad-sub { font-size: 11px; color: var(--text-muted); font-weight: 600; display: block; margin-bottom: 2px; }
.triad-val { font-size: 14px; font-weight: 800; }
.text-green { color: var(--mint-primary); }
.text-blue { color: var(--blue-primary); }
.text-purple { color: var(--purple-primary); }

/* ==========================================================================
   5. CATEGORÍAS DE BÓVEDAS (FINWISE TILES)
   ========================================================================== */
.vaults-categories-section {
  margin-bottom: 28px;
}

.section-subtext {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.vaults-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.vault-card-white {
  background: var(--bg-surface);
  border-radius: var(--radius-card);
  padding: 24px;
  box-shadow: var(--shadow-subtle);
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, border-color 0.2s;
}

.vault-card-white:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.vault-card-white.active-vault {
  border-color: var(--mint-primary);
  box-shadow: 0 16px 36px rgba(0, 212, 126, 0.15);
}

.v-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.v-icon-squircle {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.v-icon-squircle.mint { background: var(--mint-light); color: var(--mint-primary); }
.v-icon-squircle.orange { background: var(--orange-soft); color: var(--orange-primary); }
.v-icon-squircle.blue { background: var(--blue-soft); color: var(--blue-primary); }
.v-icon-squircle.purple { background: var(--purple-soft); color: var(--purple-primary); }

.v-tier-pill {
  font-size: 10px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 12px;
}

.v-tier-pill.premier { background: var(--mint-light); color: var(--mint-primary); }
.v-tier-pill.safe { background: var(--orange-soft); color: var(--orange-primary); }
.v-tier-pill.dynamic { background: var(--blue-soft); color: var(--blue-primary); }
.v-tier-pill.high { background: var(--purple-soft); color: var(--purple-primary); }

.v-card-name {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 8px;
}

.v-apy-badge {
  font-size: 22px;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--mint-primary);
  margin-bottom: 12px;
}

.v-apy-badge.orange { color: var(--orange-primary); }
.v-apy-badge.blue { color: var(--blue-primary); }
.v-apy-badge.purple { color: var(--purple-primary); }

.v-apy-badge span {
  font-size: 11px;
  color: var(--text-muted);
  font-family: var(--font-main);
  font-weight: 600;
}

.v-card-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
  flex-grow: 1;
}

.v-card-perks {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-dark);
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
  border-top: 1px solid var(--border-light);
  padding-top: 14px;
}

.btn-activate-vault {
  background: var(--bg-app);
  color: var(--text-dark);
  border: 1px solid var(--border-light);
  font-size: 12px;
  font-weight: 800;
  padding: 12px;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-activate-vault:hover {
  background: #e2e8f0;
}

.btn-activate-vault.active {
  background: var(--mint-primary);
  border-color: var(--mint-primary);
  color: white;
  box-shadow: 0 6px 18px rgba(0, 212, 126, 0.35);
}

/* ==========================================================================
   6. ANALYTICS & PAYOUTS ROW
   ========================================================================== */
.analytics-and-payouts-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
}

.chart-header-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.time-filter-pills {
  display: flex;
  gap: 6px;
  background: var(--bg-app);
  padding: 4px;
  border-radius: 20px;
}

.time-pill-btn {
  background: transparent;
  border: none;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  padding: 6px 14px;
  border-radius: 16px;
  cursor: pointer;
}

.time-pill-btn.active {
  background: var(--mint-primary);
  color: white;
}

.chart-canvas-box {
  width: 100%;
  height: 350px;
  background: #080d1a;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: inset 0 2px 12px rgba(0, 0, 0, 0.35);
  margin-top: 6px;
}

.payouts-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.live-pill-tag {
  font-size: 10px;
  font-weight: 800;
  background: var(--mint-light);
  color: var(--mint-primary);
  padding: 4px 10px;
  border-radius: 12px;
}

.finwise-payout-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 320px;
  overflow-y: auto;
}

.finwise-payout-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: #f8fafc;
  border-radius: 16px;
  border: 1px solid var(--border-light);
}

.payout-row-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.row-icon-squircle {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.row-icon-squircle.green { background: var(--mint-light); color: var(--mint-primary); }

.row-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--mint-primary);
}

.row-sub {
  font-size: 11px;
  color: var(--text-muted);
  display: block;
}

.row-time {
  font-size: 11px;
  color: var(--text-light-muted);
  font-family: var(--font-mono);
}

/* ==========================================================================
   7. FLOATING BOTTOM DOCK NAV
   ========================================================================== */
.finwise-bottom-dock {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-surface);
  border-radius: 36px;
  padding: 8px 24px;
  display: flex;
  align-items: center;
  gap: 28px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  border: 1px solid var(--border-light);
  z-index: 1000;
}

.dock-item {
  background: none;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--text-muted);
  cursor: pointer;
}

.dock-icon { font-size: 18px; }
.dock-label { font-size: 10px; font-weight: 700; }

.dock-item.active {
  color: var(--mint-primary);
}

.dock-item.action-center {
  margin: 0 -6px;
}

.center-action-btn {
  width: 48px;
  height: 48px;
  background: var(--mint-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(0, 212, 126, 0.4);
  transition: transform 0.2s;
}

.center-action-btn:hover {
  transform: scale(1.08);
}

/* ==========================================================================
   8. MODALES FINWISE
   ========================================================================== */
.finwise-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.finwise-modal-card {
  background: var(--bg-surface);
  border-radius: var(--radius-card);
  padding: 32px;
  width: 440px;
  max-width: 90vw;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
}

.modal-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.modal-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-dark);
}

.modal-close-btn {
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text-muted);
  cursor: pointer;
}

.modal-hint {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.modal-tab-pills {
  display: flex;
  gap: 8px;
  background: var(--bg-app);
  padding: 4px;
  border-radius: 16px;
  margin-bottom: 20px;
}

.tab-pill {
  flex: 1;
  background: transparent;
  border: none;
  font-size: 12px;
  font-weight: 800;
  color: var(--text-muted);
  padding: 10px;
  border-radius: 12px;
  cursor: pointer;
}

.tab-pill.active {
  background: var(--bg-surface);
  color: var(--text-dark);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-group label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  display: block;
  margin-bottom: 6px;
}

.finwise-input {
  width: 100%;
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 12px 16px;
  font-size: 14px;
  font-family: var(--font-main);
  color: var(--text-dark);
  outline: none;
}

.finwise-input:focus {
  border-color: var(--mint-primary);
  background: white;
}

.quick-deposit-presets {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}

.preset-pill {
  background: var(--bg-app);
  border: 1px solid var(--border-light);
  color: var(--text-dark);
  padding: 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.preset-pill.active {
  background: var(--mint-light);
  border-color: var(--mint-primary);
  color: var(--mint-primary);
}

.input-currency-wrap {
  display: flex;
  align-items: center;
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 10px 16px;
  gap: 8px;
  margin-bottom: 16px;
}

.curr-sign {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-muted);
}

.input-currency-wrap input {
  background: transparent;
  border: none;
  outline: none;
  font-size: 20px;
  font-family: var(--font-mono);
  font-weight: 800;
  color: var(--text-dark);
  width: 100%;
}

.hint-small {
  font-size: 11px;
  color: var(--text-muted);
  display: block;
  margin-top: -8px;
  margin-bottom: 16px;
}

.btn-finwise-submit {
  width: 100%;
  background: var(--mint-primary);
  color: white;
  border: none;
  font-size: 14px;
  font-weight: 800;
  padding: 14px;
  border-radius: 16px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 212, 126, 0.35);
}

.btn-finwise-submit.withdraw {
  background: var(--blue-primary);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.35);
}

.hidden { display: none !important; }

/* Toast Notificaciones FinWise */
.finwise-toast {
  position: fixed;
  top: 24px;
  right: 24px;
  background: #0f172a;
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  border: 1px solid var(--mint-primary);
  font-size: 13px;
  font-weight: 700;
  z-index: 9999;
  transform: translateY(-20px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}

.finwise-toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Multi-Asset Chips Selector Bar (FinWise Style) */
.asset-chips-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  overflow-x: auto;
  white-space: nowrap;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 12px;
}

.asset-chip {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #64748b;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.asset-chip:hover {
  background: #f1f5f9;
  color: #0f172a;
  transform: translateY(-1px);
}

.asset-chip.active {
  background: #00D47E !important;
  color: #ffffff !important;
  border-color: #00D47E !important;
  box-shadow: 0 4px 12px rgba(0, 212, 126, 0.35) !important;
}

.market-pill-ticker .ticker-chip {
  cursor: pointer;
  transition: transform 0.2s ease;
}

.market-pill-ticker .ticker-chip:hover {
  transform: translateY(-2px);
}

/* Chart Mode Toggle (Velas vs Curva) */
.chart-view-mode-toggle {
  display: flex;
  background: #f1f5f9;
  border-radius: 12px;
  padding: 3px;
  gap: 4px;
  align-items: center;
}

.view-mode-btn {
  background: transparent;
  border: none;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  padding: 6px 14px;
  border-radius: 9px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.view-mode-btn.active {
  background: #ffffff;
  color: #00D47E;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.chart-header-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
}
