/* ═══════════════════════════════════════════════════════════════════
   GolScanner — Dashboard Theme & Layout
   Paleta roxa/violeta inspirada no design Helios Investments
   ═══════════════════════════════════════════════════════════════════ */

/* ── Mostrar/esconder views ─────────────────────────────────────── */
body[data-view-mode="dashboard"] {
  overflow-x: hidden !important;
}
body[data-view-mode="dashboard"] .layout {
  display: none !important;
}
body[data-view-mode="dashboard"] .dashboard-view {
  display: grid !important;
}

/* ── Container principal — grid único 3 col × 2 row ─────────────── */
/* Variáveis de cor ficam aqui para NÃO afetar o header/ticker.     */
.dashboard-view {
  /* ── Paleta dark: preto, cinza, cyan ── */
  --bg-deep: #111113;
  --bg-surface: #18181b;
  --amber: #f59e0b;
  --amber-dim: #d97706;
  --purple: #a78bfa;
  --purple-dim: #7c5cd4;
  --blue: #3b82f6;
  --blue-dim: #2563eb;
  --blue-bg: rgba(59, 130, 246, 0.1);
  --purple-bg: rgba(167, 139, 250, 0.1);
  --bg-card: #09090b;
  --bg-card2: #0c0c0e;
  --bg-hover: #1e1e22;
  --border: rgba(6, 182, 212, 0.1);
  --border-accent: rgba(6, 182, 212, 0.35);
  --green: #10b981;
  --green-dim: #059669;
  --green-bg: rgba(16, 185, 129, 0.08);
  --accent: #06b6d4;
  --accent-dim: #0891b2;
  --accent-bg: rgba(6, 182, 212, 0.08);
  --pink: #06b6d4;
  --pink-bg: rgba(6, 182, 212, 0.08);
  --gradient-accent: linear-gradient(135deg, #06b6d4, #22d3ee);
  --shadow-glow: 0 0 20px rgba(6, 182, 212, 0.1);

  /* ── Grid ── */
  display: none;
  grid-template-columns: 220px 1fr 300px;
  grid-template-rows: auto 1fr;
  gap: 12px;
  padding: 10px 18px 12px;
  max-width: 1600px;
  margin: 0 auto;
  width: 100%;
  height: calc(100vh - 86px);
  max-height: calc(100vh - 86px);
  box-sizing: border-box;
  overflow-y: auto;
  overflow-x: hidden;
  background-color: var(--bg-deep);
}

/* Scrollbar suave para a aba HUB / Dashboard no eixo Y */
.dashboard-view::-webkit-scrollbar {
  width: 6px;
}
.dashboard-view::-webkit-scrollbar-track {
  background: var(--bg-deep);
}
.dashboard-view::-webkit-scrollbar-thumb {
  background: rgba(6, 182, 212, 0.25);
  border-radius: 4px;
}
.dashboard-view::-webkit-scrollbar-thumb:hover {
  background: rgba(6, 182, 212, 0.5);
}
/* Remove as setas de TODOS os inputs numéricos do site/página */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type="number"] {
  text-align: center !important;
  -moz-appearance: textfield;
}

/* Wrappers viram transparentes — filhos participam direto no grid */
.dash-top-row,
.dash-grafico-row {
  display: contents;
}

/* ── Posicionamento no grid ─────────────────────────────────────── */
/* Estratégias: toda a altura (2 linhas) */
.dash-estrategias {
  grid-column: 1;
  grid-row: 1 / 3;
}
/* Resultado: topo centro */
.dash-resultado {
  grid-column: 2;
  grid-row: 1;
}
/* Config: topo direita */
.dash-config {
  grid-column: 3;
  grid-row: 1;
}

/* Gráfico linha → centro, Pizza → direita */
.dash-grafico-linha {
  grid-column: 2;
  grid-row: 2;
}
.dash-grafico-pizza {
  grid-column: 3;
  grid-row: 2;
}

/* ── Títulos de seção ───────────────────────────────────────────── */
.dash-section-title {
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
  text-align: center;
}

/* ── Cabeçalho de Estratégias com botão X ── */
.dash-estrategias-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.dash-estrategias-header .dash-section-title {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.dash-estr-limpar-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 19px;
  height: 19px;
  padding: 0;
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s ease;
  line-height: 1;
}

.dash-estr-limpar-btn:hover {
  color: #f87171;
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.45);
  transform: scale(1.1);
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.3);
}

.dash-estr-limpar-btn.modo-selecionar-todas {
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
  border-color: rgba(56, 189, 248, 0.3);
}

.dash-estr-limpar-btn.modo-selecionar-todas:hover {
  color: #10b981;
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.45);
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.3);
}

/* ═══════════════════════════════════════════════════════════════════
   COLUNA ESQUERDA — Estratégias (altura total da tela)
   ═══════════════════════════════════════════════════════════════════ */
.dash-estrategias {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  overflow-y: auto;
  min-height: 0;
  height: 100%;
  box-sizing: border-box;
}
#dash-lista-estrategias {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ── Wrapper de cada estratégia ── */
.dash-estrategia-wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.dash-estrategia-item {
  display: flex;
  align-items: center;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  user-select: none;
  gap: 15px;
}
.dash-estrategia-item:hover {
  background: var(--bg-hover);
}
.dash-estrategia-item.selected {
  background: var(--accent-bg);
  border-color: var(--border-accent);
}

.dash-estr-icon {
  display: none;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: var(--purple-bg);
  font-size: 13px;
  flex-shrink: 0;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}
.dash-estrategia-item.selected .dash-estr-icon {
  display: inline-flex;
}
.dash-estr-icon:hover {
  border-color: var(--accent);
  background: var(--accent-bg);
  transform: scale(1.08);
}
.dash-estr-icon.active-edit {
  background: var(--accent-bg);
  border-color: var(--accent);
  box-shadow: 0 0 8px rgba(6, 182, 212, 0.3);
}

/* ── Gaveta de configurações da estratégia ── */
.dash-estr-config-drawer {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: var(--bg-card2);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  margin-top: 4px;
  margin-bottom: 4px;
  animation: deslizarGaveta 0.2s ease-out;
}
.dash-estr-config-drawer.open {
  display: flex;
}

@keyframes deslizarGaveta {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dash-estr-config-header {
  font-family: var(--font-main);
  font-size: 9px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(6, 182, 212, 0.15);
}

.dash-estr-config-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.dash-estr-config-row label {
  font-family: var(--font-main);
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dash-estr-config-row input {
  width: 58px;
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 3px 6px;
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 11px;
  text-align: right;
  outline: none;
  transition: border-color 0.2s ease;
  flex-shrink: 0;
}
.dash-estr-config-row input:focus {
  border-color: var(--accent);
}

.dash-estr-nome {
  font-family: var(--font-main);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-primary);
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dash-estr-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  min-width: 22px;
  text-align: right;
  transition: color 0.15s ease;
}
.dash-estr-badge.has-operacoes {
  color: var(--amber-dim) !important;
}
.dash-estrategia-item.selected .dash-estr-badge {
  color: var(--accent);
}
.dash-estrategia-item.selected .dash-estr-badge.has-operacoes {
  color: var(--amber-dim) !important;
}

/* ═══════════════════════════════════════════════════════════════════
   BLOCO CENTRAL — Resultado
   ═══════════════════════════════════════════════════════════════════ */
.dash-resultado {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
  display: flex;
  flex-direction: column;
}

.dash-kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 1fr 1fr;
  gap: 10px;
  flex: 1;
  min-height: 0;
  height: 100%;
}

.dash-kpi-card {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  text-align: center;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 0;
  box-sizing: border-box;
}
.dash-kpi-card:hover {
  border-color: var(--border-accent);
}

.dash-kpi-duplo {
  flex-direction: row !important;
  align-items: center;
  justify-content: stretch;
  padding: 6px 6px;
}

.dash-kpi-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-width: 0;
  padding: 2px 4px;
}

.dash-kpi-divider {
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
  margin: 0 2px;
  transition: background 0.2s ease;
}

.dash-kpi-card:hover .dash-kpi-divider {
  background: rgba(6, 182, 212, 0.28);
}

.dash-kpi-item-principal {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  width: 100%;
}

.dash-kpi-valor {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.1;
  white-space: nowrap;
}

/* Tamanhos nos cards duplos para perfeito equilíbrio visual */
.dash-kpi-duplo .dash-kpi-valor {
  font-size: 16px;
  line-height: 1.15;
}

.dash-kpi-duplo .dash-kpi-valor-sec {
  font-size: 13px;
  font-weight: 700;
  color: #cbd5e1;
}

.dash-kpi-card.kpi-green .dash-kpi-valor {
  color: var(--green);
}
.dash-kpi-card.kpi-red .dash-kpi-valor {
  color: var(--red);
}
.dash-kpi-card.kpi-accent .dash-kpi-valor {
  color: var(--accent);
}
.dash-kpi-card.kpi-lucro-card .dash-kpi-valor {
  font-size: 23px;
  font-weight: 800;
}

.dash-kpi-valor-sec.kpi-alvo-valor {
  color: #cbd5e1;
}

.dash-kpi-valor-sec.kpi-sub-green,
.dash-kpi-sub-valor.kpi-sub-green,
#kpi-taxa-alvo.kpi-sub-green {
  color: var(--green) !important;
}

.dash-kpi-valor-sec.kpi-sub-red,
.dash-kpi-sub-valor.kpi-sub-red,
#kpi-taxa-alvo.kpi-sub-red {
  color: var(--red) !important;
}

.dash-kpi-label {
  font-family: var(--font-main);
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dash-kpi-duplo .dash-kpi-label {
  font-size: 8.5px;
  letter-spacing: 0.04em;
  margin-top: 3px;
  max-width: 100%;
}

.dash-kpi-sub {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 100%;
  margin-top: 4px;
  padding-top: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.2;
}

.dash-kpi-sub-label {
  color: var(--text-muted);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}

.dash-kpi-sub-valor {
  color: #cbd5e1;
  font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════════════
   COLUNA DIREITA — Configurações
   ═══════════════════════════════════════════════════════════════════ */
.dash-config {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.dash-config-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.dash-config-group label {
  font-family: var(--font-main);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.dash-config-group input,
.dash-config-group select {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s;
}
.dash-config-group input:focus,
.dash-config-group select:focus {
  border-color: var(--accent);
}
.dash-config-group select option {
  background: var(--bg-card);
  color: var(--text-primary);
}

/* ── Campo de datas personalizado ── */
.dash-custom-dates {
  animation: deslizarGaveta 0.2s ease-out;
}
.dash-custom-dates-row {
  display: flex;
  gap: 8px;
  width: 100%;
}
.dash-date-field {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.dash-date-field label {
  font-family: var(--font-main);
  font-size: 10px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.dash-date-field input[type="date"] {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 6px;
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 11px;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
  box-sizing: border-box;
  cursor: pointer;
  text-align: center;
}
.dash-date-field input[type="date"]:focus {
  border-color: var(--accent);
  box-shadow: 0 0 8px rgba(6, 182, 212, 0.2);
}
.dash-date-field input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(0.8) sepia(1) saturate(5) hue-rotate(145deg);
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.dash-date-field input[type="date"]::-webkit-calendar-picker-indicator:hover {
  opacity: 1;
}

/* ── Topo Configurações: Banca Total + Switch Calendário ── */
.dash-config-row-top {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  width: 100%;
}
.dash-config-banca-col {
  flex: 1.2;
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}
.dash-config-switch-col {
  flex: 0.9;
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}
.dash-config-label {
  font-family: var(--font-main);
  font-size: 10px;
  font-weight: 600;
  margin-left: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.dash-config-banca-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  line-height: 1;
}

.dash-banca-filtro-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #94a3b8;
  font-family: var(--font-main);
  font-size: 9px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.1;
  transition: all 0.2s ease;
  user-select: none;
}
.dash-banca-filtro-btn:hover {
  background: rgba(6, 182, 212, 0.15);
  border-color: rgba(6, 182, 212, 0.4);
  color: #38bdf8;
}
.dash-banca-filtro-btn.active {
  background: rgba(6, 182, 212, 0.25);
  border-color: var(--accent);
  color: #38bdf8;
  box-shadow: 0 0 8px rgba(6, 182, 212, 0.4);
  font-weight: 800;
}

/* Caixa da Banca clicável */
.dash-banca-box {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 6px 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 38px;
  display: flex;
  align-items: center;
  box-sizing: border-box;
}
.dash-banca-box:hover {
  border-color: var(--border-accent);
  background: var(--bg-hover);
}
.dash-banca-display {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 4px;
}
.dash-banca-valor {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dash-banca-edit-btn {
  font-size: 11px;
  opacity: 0.6;
  transition: opacity 0.2s;
  flex-shrink: 0;
}
.dash-banca-box:hover .dash-banca-edit-btn {
  opacity: 1;
}

.dash-banca-edit {
  display: flex;
  align-items: center;
  gap: 4px;
  width: 100%;
}
.dash-banca-prefix {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}
.dash-banca-input {
  flex: 1;
  background: var(--bg-deep) !important;
  border: 1px solid var(--accent) !important;
  border-radius: 4px !important;
  padding: 3px 4px !important;
  color: var(--text-primary) !important;
  font-family: var(--font-mono) !important;
  font-size: 12px !important;
  outline: none !important;
  width: 60px !important;
  min-width: 0 !important;
  text-align: left !important;
}
.dash-banca-save-btn {
  background: var(--accent);
  border: none;
  color: #000;
  font-weight: 700;
  border-radius: 4px;
  padding: 4px 6px;
  cursor: pointer;
  font-size: 11px;
  transition: opacity 0.2s;
  flex-shrink: 0;
}
.dash-banca-save-btn:hover {
  opacity: 0.9;
}

/* Switch Modo Calendário */
.dash-switch-container {
  display: flex;
  align-items: center;
  margin-left: 20px;
  gap: 8px;
  height: 38px;
}
.dash-switch-toggle {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 22px;
  flex-shrink: 0;
}
.dash-switch-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.dash-switch-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--bg-hover);
  border: 1px solid var(--border);
  transition: 0.25s;
  border-radius: 22px;
}
.dash-switch-slider:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 3px;
  bottom: 3px;
  background-color: var(--text-muted);
  transition: 0.25s;
  border-radius: 50%;
}
.dash-switch-toggle input:checked + .dash-switch-slider {
  background-color: rgba(6, 182, 212, 0.2);
  border-color: var(--accent);
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.25);
}
.dash-switch-toggle input:checked + .dash-switch-slider:before {
  transform: translateX(20px);
  background-color: var(--accent);
  box-shadow: 0 0 6px rgba(6, 182, 212, 0.6);
}
.dash-switch-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  transition: color 0.2s;
}

.dash-config-total {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.dash-config-total-label {
  font-family: var(--font-main);
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.dash-config-total-valor {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
  margin-top: 2px;
}

/* ═══════════════════════════════════════════════════════════════════
   GRÁFICOS — linha (coluna central) e pizza (coluna direita)
   ═══════════════════════════════════════════════════════════════════ */
.dash-grafico-linha {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
  position: relative;
  min-height: 0;
  height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

/* ── Cabeçalho do Gráfico / Calendário ── */
.dash-grafico-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
  min-height: 28px;
}
.dash-grafico-header .dash-section-title {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.dash-grafico-titulo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dash-chart-color-picker {
  display: flex;
  align-items: center;
  gap: 6px;
}

.dash-color-swatch {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  padding: 0;
  transition:
    transform 0.15s ease,
    opacity 0.15s ease;
  outline: none;
  opacity: 0.75;
}

.dash-color-swatch:hover {
  opacity: 1;
  transform: scale(1.18);
}

.dash-color-swatch.active {
  opacity: 1;
  transform: scale(1.32);
  border: 1px solid rgba(255, 255, 255, 0.35);
  outline: none !important;
  box-shadow: none !important;
}

.dash-cal-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 12px;
}
.dash-cal-title-box {
  display: flex;
  align-items: center;
  gap: 6px;
}
.dash-cal-icon {
  font-size: 14px;
}
.dash-cal-main-title {
  font-family: var(--font-main);
  font-size: 12px;
  font-weight: 700;
  color: #f1f5f9;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.dash-cal-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.dash-cal-nav-btn {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  border-radius: 4px;
  padding: 2px 7px;
  font-size: 10px;
  cursor: pointer;
  transition: all 0.2s;
}
.dash-cal-nav-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--bg-hover);
}
.dash-cal-month-title {
  font-family: var(--font-main);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  text-transform: capitalize;
  min-width: 110px;
  text-align: center;
}
.dash-cal-today-btn {
  background: var(--accent-bg);
  border: 1px solid var(--border-accent);
  color: var(--accent);
  border-radius: 4px;
  padding: 2px 7px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
}
.dash-cal-today-btn:hover {
  background: var(--accent);
  color: #000;
}

/* ── Alternador R$ / % ── */
.dash-cal-unit-toggle {
  display: flex;
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2px;
  gap: 2px;
}
.dash-cal-unit-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s;
}
.dash-cal-unit-btn:hover {
  color: var(--text-primary);
}
.dash-cal-unit-btn.active {
  background: var(--accent);
  color: #000;
  box-shadow: 0 0 8px rgba(6, 182, 212, 0.4);
}

/* ── Wrapper e Grade do Calendário ── */
.dash-calendario-wrapper {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  height: 100%;
  overflow-y: auto;
  gap: 6px;
}

.dash-cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
  text-align: center;
  font-family: var(--font-main);
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  padding-bottom: 2px;
}

.dash-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
  flex: 1;
}

/* ── Quadradinho do dia ── */
.dash-cal-day {
  background: var(--bg-card2);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  padding: 6px 4px;
  min-height: 46px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  transition: all 0.15s ease;
  position: relative;
  box-sizing: border-box;
}
.dash-cal-day:hover {
  transform: translateY(-1px);
  border-color: rgba(6, 182, 212, 0.35);
}

.dash-cal-day.empty {
  opacity: 0.2;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.02);
  pointer-events: none;
}
.dash-cal-day.sem-dados {
  opacity: 0.55;
  justify-content: center;
}
.dash-cal-day.sem-dados .dash-cal-day-top {
  justify-content: center;
}
.dash-cal-day.sem-dados .dash-cal-day-num {
  font-size: 11px;
  color: #64748b;
}

.dash-cal-day.green {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.3);
}
.dash-cal-day.green:hover {
  border-color: rgba(16, 185, 129, 0.6);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.15);
}

.dash-cal-day.red {
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.3);
}
.dash-cal-day.red:hover {
  border-color: rgba(239, 68, 68, 0.6);
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.15);
}

.dash-cal-day.today {
  border-color: var(--accent);
  box-shadow: 0 0 8px rgba(6, 182, 212, 0.25);
}

.dash-cal-day-top {
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 100%;
}
.dash-cal-day-num {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.dash-cal-day.today .dash-cal-day-num {
  color: var(--accent);
}
.dash-cal-day-today-tag {
  font-size: 7px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-bg);
  padding: 1px 3px;
  border-radius: 2px;
  border: 1px solid var(--border-accent);
}

.dash-cal-day-ops {
  font-family: var(--font-mono);
  font-size: 10px;
  color: #64748b;
  font-weight: 600;
}
.dash-cal-day.green .dash-cal-day-ops {
  color: #059669;
}
.dash-cal-day.red .dash-cal-day-ops {
  color: #dc2626;
}

.dash-cal-day-valor {
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.1;
  margin: 3px 0 1px;
  white-space: nowrap;
  text-align: center;
  width: 100%;
}
.dash-cal-day.green .dash-cal-day-valor {
  color: var(--green);
}
.dash-cal-day.red .dash-cal-day-valor {
  color: var(--red);
}
.dash-cal-day.sem-dados .dash-cal-day-valor {
  color: #475569;
  font-size: 12px;
}

.dash-cal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 4px;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
}
.dash-cal-footer-highlight {
  color: var(--accent);
  font-weight: 700;
}

.dash-chart-wrapper {
  position: relative;
  flex: 1;
  min-height: 0;
  width: 100%;
  height: 100%;
}

.dash-chart-wrapper canvas,
.dash-grafico-linha canvas {
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
}

.dash-card-extra,
.dash-grafico-pizza {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
  box-sizing: border-box;
  overflow: hidden;
  position: relative;
}

/* ── Cabeçalho PARTIDAS ── */
.dash-extra-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  flex-shrink: 0;
}
.dash-extra-title {
  color: #ffffff !important;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  text-align: center;
}
.dash-extra-limpar-btn {
  position: absolute;
  right: 8px;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #f87171;
  font-family: inherit;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1.2;
}
.dash-extra-limpar-btn:hover {
  background: rgba(239, 68, 68, 0.35);
  border-color: #ef4444;
  color: #ffffff;
}

/* ── Tabs PARTIDA / LIGA (Legado) ── */
.dash-extra-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
  flex-shrink: 0;
}

.dash-extra-tab {
  flex: 1;
  padding: 6px 10px;
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
  user-select: none;
}

/* ── Lista com scroll ── */
.dash-extra-lista {
  flex: 1;
  overflow-y: auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-right: 4px;
}

.dash-extra-lista::-webkit-scrollbar {
  width: 5px;
}
.dash-extra-lista::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 4px;
}
.dash-extra-lista::-webkit-scrollbar-thumb {
  background: rgba(6, 182, 212, 0.25);
  border-radius: 4px;
}
.dash-extra-lista::-webkit-scrollbar-thumb:hover {
  background: rgba(6, 182, 212, 0.5);
}

.dash-extra-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 500;
  text-align: center;
  padding: 20px;
}

/* ── Item de Partida ── */
.dash-item-partida {
  background: var(--bg-card2);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  padding: 7px 9px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  transition: all 0.15s ease;
}
.dash-item-partida:hover {
  border-color: rgba(6, 182, 212, 0.3);
  background: var(--bg-hover);
}
.dash-item-partida-top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 18px;
  font-size: 10px;
}
.dash-item-partida-gols-tag {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  color: var(--amber);
  cursor: pointer;
  transition: all 0.15s ease;
  border-radius: 3px;
  padding: 1px 4px;
  white-space: nowrap;
  letter-spacing: 0.02em;
  flex-shrink: 0;
  user-select: none;
}
.dash-item-partida-gols-tag:hover {
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.12);
}
.dash-item-partida-gols-tag.active-filter {
  color: #fbbf24 !important;
  background: rgba(245, 158, 11, 0.2) !important;
  border: 1px solid rgba(245, 158, 11, 0.5) !important;
  font-weight: 800 !important;
  text-shadow: 0 0 6px rgba(245, 158, 11, 0.6);
}
.dash-item-partida-liga {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 11px;
  color: var(--blue-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 170px;
  max-width: calc(100% - 80px);
  text-align: center;
  cursor: pointer;
  transition: all 0.15s ease;
  border-radius: 3px;
  padding: 1px 4px;
}
.dash-item-partida-liga:hover {
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
}
.dash-item-partida-liga.active-filter {
  color: #38bdf8 !important;
  background: rgba(56, 189, 248, 0.18) !important;
  border: 1px solid rgba(56, 189, 248, 0.4) !important;
  font-weight: 800 !important;
  text-shadow: 0 0 6px rgba(56, 189, 248, 0.5);
}

/* Indicador de País no Card de Partidas do Dashboard (Ponto e Sigla no mesmo tom de azul) */
.dash-league-country-dot {
  display: inline-block;
  width: 3.5px;
  height: 3.5px;
  border-radius: 50%;
  background-color: currentColor;
  margin: 0 4px;
  vertical-align: middle;
  flex-shrink: 0;
  opacity: 0.85;
}

.dash-league-country-code {
  font-family: var(--font-mono, monospace);
  font-size: 9.5px;
  font-weight: 700;
  color: currentColor;
  letter-spacing: 0.06em;
  display: inline-block;
  vertical-align: middle;
}
.dash-item-partida-data {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 500;
  color: #94a3b8;
  flex-shrink: 0;
  white-space: nowrap;
}
.dash-item-partida-mid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: #f1f5f9;
}
.dash-item-partida-times {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}
.dash-card-vermelho {
  display: inline-block;
  width: 7px;
  height: 10px;

  background: red;

  vertical-align: middle;
  /* margin-top: -2px; */
  flex-shrink: 0;
  cursor: pointer;
  position: relative;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}
/* Área expandida para facilidade de clique sem quebrar layout */
.dash-card-vermelho::after {
  content: "";
  position: absolute;
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
}
.dash-card-vermelho:hover {
  transform: scale(1.3);
  box-shadow: 0 0 5px rgba(239, 68, 68, 1);
}
.dash-card-vermelho.active-filter {
  transform: scale(1.3);
  box-shadow: 0 0 5px rgba(239, 68, 68, 1);
}
.dash-card-vermelho-casa {
  margin-right: 5px;
}
.dash-card-vermelho-fora {
  margin-left: 5px;
}
.dash-item-partida-placar {
  font-family: var(--font-mono);
  color: #38bdf8;
  font-weight: 700;
  flex-shrink: 0;
}
.dash-item-partida-bot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-top: 1px;
}
.dash-item-partida-estr {
  font-size: 9px;
  font-weight: 600;
  padding: 1px 5px;
  border-radius: 3px;
  background: rgba(6, 182, 212, 0.08);
  color: #22d3ee;
  border: 1px solid rgba(6, 182, 212, 0.18);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 140px;
}
.dash-item-partida-bot .badge-gols {
  font-size: 8px !important;
  font-weight: 800 !important;
  padding: 1px 5px !important;
  border-radius: 3px !important;
  letter-spacing: 0.05em !important;
  line-height: 1.1 !important;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}
.dash-item-partida-bot .badge-gols:hover {
  transform: scale(1.08);
}
.dash-item-partida-bot .badge-gols.active-filter {
  transform: scale(1.08);
}
.dash-item-partida-res {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 3px;
  flex-shrink: 0;
}
.dash-item-partida-res.green {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.dash-item-partida-res.red {
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}
.dash-item-partida-res.zero {
  background: rgba(148, 163, 184, 0.12);
  color: #94a3b8;
  border: 1px solid rgba(148, 163, 184, 0.3);
}

/* ── Item de Liga ── */
.dash-item-liga {
  background: var(--bg-card2);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  padding: 7px 9px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  transition: all 0.15s ease;
}
.dash-item-liga:hover {
  border-color: rgba(6, 182, 212, 0.3);
  background: var(--bg-hover);
}
.dash-item-liga-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
.dash-item-liga-nome {
  font-size: 11px;
  font-weight: 700;
  color: #f1f5f9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}
.dash-item-liga-lucro {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}
.dash-item-liga-lucro.green {
  color: #10b981;
}
.dash-item-liga-lucro.red {
  color: #ef4444;
}
.dash-item-liga-bot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  color: #94a3b8;
  font-family: var(--font-mono);
}
.dash-item-liga-jogos {
  color: #64748b;
}
.dash-item-liga-gr {
  display: flex;
  align-items: center;
  gap: 4px;
}
.dash-item-liga-gr .g-val {
  color: #10b981;
  font-weight: 600;
}
.dash-item-liga-gr .r-val {
  color: #ef4444;
  font-weight: 600;
}
.dash-item-liga-taxa {
  color: #38bdf8;
  font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════════════
   Responsivo
   ═══════════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .dashboard-view {
    grid-template-columns: 200px 1fr 220px;
  }
}
@media (max-width: 768px) {
  .dashboard-view {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    min-height: auto;
  }
  .dash-estrategias,
  .dash-resultado,
  .dash-config,
  .dash-grafico-linha,
  .dash-grafico-pizza {
    grid-column: 1 !important;
    grid-row: auto !important;
  }
  .dash-estrategias {
    max-height: 250px;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   Efeito de Entrada do Dashboard
   Fase 1 (0s a ~1.2s-1.3s): Cards e informações surgem de baixo
   Fase 2 (0.8s a 3.3s): Gráfico e sombra iniciam aos 0.8s (antes dos cards acabarem) e concluem aos 3.3s
   ═══════════════════════════════════════════════════════════════════ */
@keyframes dashSurgirDeBaixo {
  0% {
    opacity: 0;
    transform: translateY(28px);
  }
  60% {
    opacity: 0.85;
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Estado oculto durante o carregamento pré-animação (garante transição limpa) */
.dashboard-view.dash-entrada-oculto .dash-section-title,
.dashboard-view.dash-entrada-oculto .dash-estrategias-header,
.dashboard-view.dash-entrada-oculto .dash-estrategias .dash-estrategia-item,
.dashboard-view.dash-entrada-oculto .dash-kpi-grid .dash-kpi-card,
.dashboard-view.dash-entrada-oculto .dash-config-banca-col,
.dashboard-view.dash-entrada-oculto .dash-config-switch-col,
.dashboard-view.dash-entrada-oculto .dash-config-group,
.dashboard-view.dash-entrada-oculto .dash-card-extra .dash-extra-header,
.dashboard-view.dash-entrada-oculto .dash-card-extra .dash-item-partida,
.dashboard-view.dash-entrada-oculto .dash-card-extra .dash-vazio-msg,
.dashboard-view.dash-entrada-oculto .dash-grafico-header {
  opacity: 0;
  transform: translateY(28px);
  animation: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* 0. Títulos e cabeçalhos surgem de baixo */
.dashboard-view.dash-animando-entrada .dash-section-title,
.dashboard-view.dash-animando-entrada .dash-estrategias-header,
.dashboard-view.dash-animando-entrada .dash-card-extra .dash-extra-header {
  animation: dashSurgirDeBaixo 0.95s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.03s;
}
.dashboard-view.dash-animando-entrada .dash-card-extra .dash-vazio-msg {
  animation: dashSurgirDeBaixo 0.95s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.16s;
}

/* 1. Estratégias surgem de baixo escalonadas */
.dashboard-view.dash-animando-entrada .dash-estrategias .dash-estrategia-item {
  animation: dashSurgirDeBaixo 0.95s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.dashboard-view.dash-animando-entrada
  .dash-estrategias
  .dash-estrategia-wrapper:nth-child(1)
  .dash-estrategia-item {
  animation-delay: 0.04s;
}
.dashboard-view.dash-animando-entrada
  .dash-estrategias
  .dash-estrategia-wrapper:nth-child(2)
  .dash-estrategia-item {
  animation-delay: 0.08s;
}
.dashboard-view.dash-animando-entrada
  .dash-estrategias
  .dash-estrategia-wrapper:nth-child(3)
  .dash-estrategia-item {
  animation-delay: 0.12s;
}
.dashboard-view.dash-animando-entrada
  .dash-estrategias
  .dash-estrategia-wrapper:nth-child(4)
  .dash-estrategia-item {
  animation-delay: 0.16s;
}
.dashboard-view.dash-animando-entrada
  .dash-estrategias
  .dash-estrategia-wrapper:nth-child(5)
  .dash-estrategia-item {
  animation-delay: 0.2s;
}
.dashboard-view.dash-animando-entrada
  .dash-estrategias
  .dash-estrategia-wrapper:nth-child(6)
  .dash-estrategia-item {
  animation-delay: 0.24s;
}
.dashboard-view.dash-animando-entrada
  .dash-estrategias
  .dash-estrategia-wrapper:nth-child(7)
  .dash-estrategia-item {
  animation-delay: 0.28s;
}
.dashboard-view.dash-animando-entrada
  .dash-estrategias
  .dash-estrategia-wrapper:nth-child(8)
  .dash-estrategia-item {
  animation-delay: 0.32s;
}

/* 2. Resultado (6 Cards de KPI surgem de baixo) */
.dashboard-view.dash-animando-entrada .dash-kpi-grid .dash-kpi-card {
  animation: dashSurgirDeBaixo 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.dashboard-view.dash-animando-entrada
  .dash-kpi-grid
  .dash-kpi-card:nth-child(1) {
  animation-delay: 0.06s;
}
.dashboard-view.dash-animando-entrada
  .dash-kpi-grid
  .dash-kpi-card:nth-child(2) {
  animation-delay: 0.14s;
}
.dashboard-view.dash-animando-entrada
  .dash-kpi-grid
  .dash-kpi-card:nth-child(3) {
  animation-delay: 0.22s;
}
.dashboard-view.dash-animando-entrada
  .dash-kpi-grid
  .dash-kpi-card:nth-child(4) {
  animation-delay: 0.16s;
}
.dashboard-view.dash-animando-entrada
  .dash-kpi-grid
  .dash-kpi-card:nth-child(5) {
  animation-delay: 0.24s;
}
.dashboard-view.dash-animando-entrada
  .dash-kpi-grid
  .dash-kpi-card:nth-child(6) {
  animation-delay: 0.3s;
}

/* 3. Configurações surgem de baixo */
.dashboard-view.dash-animando-entrada .dash-config-banca-col,
.dashboard-view.dash-animando-entrada .dash-config-switch-col,
.dashboard-view.dash-animando-entrada .dash-config-group {
  animation: dashSurgirDeBaixo 1s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.2s;
}

/* 4. Lista de Partidas surge de baixo */
.dashboard-view.dash-animando-entrada .dash-card-extra .dash-item-partida {
  animation: dashSurgirDeBaixo 0.95s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.dashboard-view.dash-animando-entrada
  .dash-card-extra
  .dash-item-partida:nth-child(1) {
  animation-delay: 0.08s;
}
.dashboard-view.dash-animando-entrada
  .dash-card-extra
  .dash-item-partida:nth-child(2) {
  animation-delay: 0.14s;
}
.dashboard-view.dash-animando-entrada
  .dash-card-extra
  .dash-item-partida:nth-child(3) {
  animation-delay: 0.2s;
}
.dashboard-view.dash-animando-entrada
  .dash-card-extra
  .dash-item-partida:nth-child(4) {
  animation-delay: 0.26s;
}
.dashboard-view.dash-animando-entrada
  .dash-card-extra
  .dash-item-partida:nth-child(5) {
  animation-delay: 0.3s;
}
.dashboard-view.dash-animando-entrada
  .dash-card-extra
  .dash-item-partida:nth-child(n + 6) {
  animation-delay: 0.34s;
}

/* 5. Cabeçalho e container do gráfico */
.dashboard-view.dash-animando-entrada .dash-grafico-header {
  animation: dashSurgirDeBaixo 0.95s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.5s;
}
