/* Aumenta a largura da coluna de nome dos ativos/moedas apenas no desktop */
@media (min-width: 768px) {
  .line7f-table th:first-child,
  .line7f-table td:first-child {
    width: 140px;
    min-width: 120px;
    max-width: 180px;
  }
}
/* Evita quebra de linha apenas para o nome 'Ethereum' em desktop */
@media (min-width: 768px) {
  .line7f-ativo-nome-ethereum {
    white-space: nowrap;
  }
}
/* Pontuação da Ibovespa: Inter Medium */
#line7f-ibov-valor {
  font-family: 'Inter', Arial, sans-serif;
  font-weight: 500;
}
/* Preço dos ativos e pts da Ibovespa: Inter Medium desktop */
.line7f-ibov-valor, .line7f-ibov-pts, .line7f-table td span.line7f-ativo-preco {
  font-family: 'Inter', Arial, sans-serif;
  font-weight: 500;
}
.line7f-up, .line7f-down {
  font-family: 'Inter', Arial, sans-serif;
  font-weight: 400;
}
.line7f-table td span:first-child {
  font-family: 'Inter', Arial, sans-serif;
  font-weight: 500;
}
/* Linha divisória entre ativos, igual ao frontend */
/* Linha divisória entre Euro e Bitcoin */
.line7f-divider {
  border-bottom: 1.5px solid #ededed !important;
  height: 0 !important;
  padding: 0 !important;
  margin-left: 12px !important;
  margin-right: 12px !important;
  border-radius: 2px !important;
  background: transparent !important;
   box-sizing: border-box !important;
}

@media (max-width: 767px) {
  .line7f-divider {
    border-bottom: 1.5px solid #ededed !important;
    height: 0 !important;
    padding: 0 !important;
    margin-left: 8px !important;
    margin-right: 8px !important;
    border-radius: 2px !important;
    background: transparent !important;
    box-sizing: border-box !important;
    display: block !important;
    opacity: 1 !important;
  }
}
/* Força fundo vermelho em todas as seções do caixote */
.line7f-section { background: #fff !important; }
/* Força fundo branco em todas as linhas e células da tabela, ignorando CSS externo */
.line7f-table tr, .line7f-table td { background: #fff !important; }
/* Padding simétrico nas células da tabela */
.line7f-table td {
  padding-left: 12px !important;
  padding-right: 0px !important;
}
.line7f-table td:last-child {
  text-align: right !important;
  padding-right: 18px !important;
}
    /* Removido ajuste de centralização das imagens dos ativos para mobile */
@media (max-width: 767px) {
    /* Removido ajuste de centralização das imagens dos ativos para mobile */
}
/* Diminui a fonte do preço para desktop quando atingir 6 dígitos ou mais */
/* line7f.css - Estilos principais do plugin Line7 Finanças */
.line7f-container { max-width: 340px; margin: 0 auto; font-family: 'Inter', Arial, sans-serif; }
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
.line7f-section { background: #fff; border-radius: 8px; box-shadow: 0 2px 8px #0001; margin-bottom: 24px; padding: 16px; }
.line7f-title {
  font-size: 1.05em;
  font-family: 'Inter', Arial, sans-serif;
  font-weight: 600;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
@media (max-width: 600px) {
  .line7f-title {
    font-size: 16px;
    font-family: 'Inter', Arial, sans-serif;
    font-weight: 600;
  }
}
.line7f-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
/* Layout moderno para desktop também */
/* Estilo tradicional para desktop */
/* Tabela com bordas externas apenas */
.line7f-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
}
.line7f-table th, .line7f-table td {
  padding: 8px 10px;
  text-align: left;
  vertical-align: middle;
  border: none;
}
.line7f-table th {
  background: #fff !important;
  color: #737373 !important;
  font-weight: 600;
  text-align: center;
  border-bottom: 1.5px solid #e0e0e0 !important;
}
/* Diminuir tamanho da fonte para desktop */
.line7f-table td:first-child { 
  font-size: 1.05em;
  font-weight: 700;
}
/* Regras removidas: estavam fora de bloco ou duplicadas, causando erro de sintaxe. */
/* Variação abaixo do preço, fonte menor, peso normal */
.line7f-up {
  color: #16c784;
  font-size: 0.95em;
  font-weight: 400;
  margin-top: 2px;
  margin-bottom: 0;
  display: block;
}
.line7f-down {
  color: #ff4b4b;
  font-size: 0.95em;
  font-weight: 400;
  margin-top: 2px;
  margin-bottom: 0;
  display: block;
}
.line7f-chart { width: 100%; max-width: 100%; height: 220px; margin: 0 auto; }
.line7f-ibov-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f5f5f5;
  margin-right: 8px;
  box-shadow: 0 1px 4px #0001;
  vertical-align: middle;
  flex-shrink: 0;
}
.line7f-ibov-logo img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 50%;
}
.line7f-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f5f5f5;
  margin-right: 8px;
  box-shadow: 0 1px 4px #0001;
  vertical-align: middle;
  flex-shrink: 0;
}
.line7f-flag img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 50%;
}
.line7f-crypto-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f5f5f5;
  margin-right: 8px;
  box-shadow: 0 1px 4px #0001;
  vertical-align: middle;
  flex-shrink: 0;
}
.line7f-crypto-logo img {
    background: #fff; /* This line is removed to make all rows white */
    /* background: #fff; Linha removida para manter todas as linhas brancas */
    border-radius: 50%;
}
.line7f-stock-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f5f5f5;
  margin-right: 8px;
  box-shadow: 0 1px 4px #0001;
  vertical-align: middle;
  flex-shrink: 0;
}
.line7f-stock-logo img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 50%;
}
@media (max-width: 600px) { 
  .line7f-table td span:first-child {
    font-family: 'Inter', Arial, sans-serif;
    font-weight: 600;
    font-size: 16px;
  }
  .line7f-container { max-width: 98vw; padding: 0 2vw; } 
  .line7f-section { padding: 8px; } 
  .line7f-title { font-size: 1em; } 
/* Remove linhas horizontais internas da tabela para mobile */
  .line7f-table th, .line7f-table td { padding-left: 8px !important; padding-right: 0px !important; text-align: left; border-bottom: none !important; vertical-align: middle; }
  .line7f-table td:last-child { text-align: right !important; padding-right: 14px !important; }
  .line7f-table th { background: #fff !important; color: #737373 !important; font-weight: 600; text-align: center; border-bottom: 1.5px solid #e0e0e0 !important; }
.line7f-table tr:last-child td { border-bottom: none; }
/* Diminuir tamanho da fonte para desktop */
  .line7f-table td:first-child {
    font-family: 'Inter', Arial, sans-serif;
    font-weight: 500;
    font-size: 18px;
  }
/* Diminuir fonte dos valores de criptomoedas em desktop */
.line7f-section:nth-child(3) .line7f-table td:nth-child(2) { 
  font-size: 0.85em; 
}
} 