/* Variáveis de cor */
:root {
  --ask-blue:         #007bff;
  --ask-hover-bg:     #e6f7ff;
  --ask-border-color: #dee2e6;
  --ask-bg-even:      #fafbfc;
  --ask-header-text:  #ffffff;
  --ask-text:         #333333;
}

/* Wrapper para scroll e sombra suave */
.ask-excel-table-wrapper {
  overflow-x: auto;
  margin-bottom: 1.5rem;
  background: #ffffff;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  padding: 1rem;
}

/* Tabela base */
.ask-excel-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-family: "Segoe UI", sans-serif;
  font-size: 0.9rem;
  color: var(--ask-text);
}

/* Cabeçalho sticky com azul e texto branco */
.ask-excel-table thead th {
  position: sticky;
  top: 0;
  background: var(--ask-blue);
  color: var(--ask-header-text);
  text-transform: uppercase;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  padding: 0.75rem 1rem;
  z-index: 2;
}

/* Cantos arredondados no header */
.ask-excel-table thead tr:first-child th:first-child {
  border-top-left-radius: 6px;
}
.ask-excel-table thead tr:first-child th:last-child {
  border-top-right-radius: 6px;
}

/* Estilo das células com “divisores” */
.ask-excel-table th,
.ask-excel-table td {
  padding: 0.6rem 0.8rem;
  vertical-align: middle;
  border-right: 1px solid var(--ask-border-color);
  border-bottom: 1px solid var(--ask-border-color);
}

/* Remove divisores extras no fim */
.ask-excel-table tr th:last-child,
.ask-excel-table tr td:last-child {
  border-right: none;
}
.ask-excel-table tbody tr:last-child td {
  border-bottom: none;
}

/* Linhas zebra sutis */
.ask-excel-table tbody tr:nth-child(even) {
  background: var(--ask-bg-even);
}

/* Hover em azul claro */
.ask-excel-table tbody tr:hover {
  background: var(--ask-hover-bg);
  transition: background 0.2s ease;
}

/* Destaque especial para a linha de totais */
#tot-row {
  background: var(--ask-hover-bg);
  font-weight: 600;
}

/* Alinhamento de números à direita */
.ask-excel-table td.text-end,
.ask-excel-table th.text-end {
  text-align: right;
  font-feature-settings: "tnum";
}

/* Cantos arredondados no footer (se aplicável) */
.ask-excel-table tbody tr:last-child td:first-child {
  border-bottom-left-radius: 6px;
}
.ask-excel-table tbody tr:last-child td:last-child {
  border-bottom-right-radius: 6px;
}
:root {
  --ask-blue-dk:     #0056b3;    /* azul mais escuro */
  --ask-blue-grad:   linear-gradient(90deg, #004494 0%, #0066cc 100%);
  --ask-hover-bg-2:  rgba(0,86,179,0.1);
}

/* Header com gradient */
.ask-excel-table thead th {
  background: var(--ask-blue-grad);
  /* fallback: background: var(--ask-blue-dk); */
}

/* Cantos do header: sutil box-shadow interno */
.ask-excel-table thead th:first-child {
  box-shadow: inset 4px 0 8px -6px rgba(0,0,0,0.2);
}
.ask-excel-table thead th:last-child {
  box-shadow: inset -4px 0 8px -6px rgba(0,0,0,0.2);
}

/* Padding um pouco menor para tornar mais compacto */
.ask-excel-table th,
.ask-excel-table td {
  padding: 0.5rem 0.75rem;
}

/* Hover mais forte e transição */
.ask-excel-table tbody tr:hover {
  background: var(--ask-hover-bg-2);
}
.ask-excel-table th,
.ask-excel-table td {
  transition: background 0.2s ease, color 0.2s ease;
}

/* Linha de totais: destaque de borda no topo */
#tot-row {
  background: rgba(0,86,179,0.08);
  border-top: 2px solid var(--ask-blue-dk);
}

/* Para dar leveza, removemos zebra alternada */
/* .ask-excel-table tbody tr:nth-child(even) { background: var(--ask-bg-even); } */

/* Footer arredondado e sombra */
.ask-excel-table tbody tr:last-child td:first-child {
  border-bottom-left-radius: 6px;
}
.ask-excel-table tbody tr:last-child td:last-child {
  border-bottom-right-radius: 6px;
}
:root {
  --ask-header-bg: var(--ask-blue-dk); /* seu azul escuro do header */
  --ask-gradient: var(--ask-blue-grad);
}

:root {
  --ask-filter-bg:     #0056b3; /* ou qualquer cor que você queira */
  --ask-filter-hover:  #004494;
  --ask-filter-color:  #ffffff;
}

/* botão “Filtrar” */
.ask-excel-filtro-botao {
  background-color: var(--ask-filter-bg) !important;
  border:           1px solid var(--ask-filter-bg) !important;
  color:            var(--ask-filter-color) !important;
  border-radius:    .25rem;
  padding:          .375rem .75rem;
  box-shadow:       0 2px 4px rgba(0,0,0,0.1);
  transition:       background 0.2s ease, border-color 0.2s ease;
}

/* hover */
.ask-excel-filtro-botao:hover {
  background-color: var(--ask-filter-hover) !important;
  border-color:     var(--ask-filter-hover) !important;
}
/* Container flex e sem quebra */
.dashboard-conversion {
  display: flex;
  align-items: center;
  white-space: nowrap;       /* evita quebra de linha */
  overflow: hidden;          /* esconde o excesso, se houver */
  text-overflow: ellipsis;   /* adiciona "..." se ultrapassar largura */
}

/* Texto: negrito e maior */
.dashboard-conversion__text {
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  margin-right: 8px;         /* espaço antes do ícone */
}

/* Ícone no final, sem encolher */
.dashboard-conversion__icon {
  flex-shrink: 0;
}










