.titulo {
  color: var(--main-azul);
  font-weight: bold;
  font-size: 26px;
}

/* Controles de Busca e Limite */
#dtLimite,
#dtBusca {
  border-color: #d6e6f5;
}

#dtLimite:focus,
#dtBusca:focus {
  border-color: #017BCA;
  box-shadow: 0 0 0 0.2rem rgba(1, 123, 202, 0.15);
}

/* Tabela e Bordas */
#tabelaProdutos,
#tabelaProdutos th,
#tabelaProdutos td {
  border-color: #dce8f5;
}

#tabelaProdutos thead.thead-light th {
  cursor: pointer;
  user-select: none;
  font-size: 13px;
  font-weight: bold;
  color: #ffffff;
  background-color: #01539A;
  border-color: #0d479c;
  border-bottom: 2px solid #017BCA;
  vertical-align: middle;
  transition: background-color 0.15s ease;
}

#tabelaProdutos thead.thead-light th:hover {
  background-color: #0346a3;
}

#tabelaProdutos thead th .sort-icon {
  font-size: 11px;
  color: #7cc4fa;
  margin-left: 4px;
}

#tabelaProdutos tbody td {
  font-size: 13px;
  color: #2c3e50;
  vertical-align: middle;
}

#tabelaProdutos.table-striped tbody tr:nth-of-type(odd) {
  background-color: #f7fafe;
}

#tabelaProdutos.table-hover tbody tr:hover {
  background-color: #ebf3fc;
}

/* Paginação */
#tabelaPaginacao .page-link {
  color: #023B8B;
  border-color: #d6e6f5;
}

#tabelaPaginacao .page-link:hover {
  background-color: #eef5fc;
  color: #023B8B;
  border-color: #b8d4f0;
}

#tabelaPaginacao .page-item.active .page-link {
  background-color: #017BCA;
  border-color: #017BCA;
  color: #ffffff;
}

#tabelaPaginacao .page-item.disabled .page-link {
  color: #8fa3b8;
  border-color: #e6eff8;
}

/* Responsividade da tabela em telas menores (Cards no Mobile) */
@media (max-width: 767.98px) {
  #tabelaProdutos thead {
    display: none;
  }

  #tabelaProdutos,
  #tabelaProdutos tbody,
  #tabelaProdutos tr,
  #tabelaProdutos td {
    display: block;
    width: 100%;
  }

  #tabelaProdutos {
    border: none;
  }

  #tabelaProdutos.table-striped tbody tr,
  #tabelaProdutos.table-striped tbody tr:nth-of-type(odd) {
    margin-bottom: 1rem;
    border: 1px solid #d6e6f5;
    border-radius: 0.25rem;
    background-color: #ffffff;
    box-shadow: 0 1px 3px rgba(2, 59, 139, 0.05);
  }

  #tabelaProdutos td {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    text-align: right;
    border: none;
    border-bottom: 1px solid #eef5fc;
    padding: 0.6rem 0.75rem;
    gap: 12px;
  }

  #tabelaProdutos td:last-child {
    border-bottom: 0;
  }

  #tabelaProdutos td:not([colspan])::before {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 11px;
    color: #023B8B;
    text-align: left;
    flex-shrink: 0;
  }

  #tabelaProdutos td:nth-of-type(1)::before {
    content: "Plano";
  }

  #tabelaProdutos td:nth-of-type(2)::before {
    content: "Segmentação";
  }

  #tabelaProdutos td:nth-of-type(3)::before {
    content: "Situação ANS";
  }

  #tabelaProdutos td:nth-of-type(4)::before {
    content: "Contratação";
  }

  #tabelaProdutos td:nth-of-type(5)::before {
    content: "Registro";
  }

  #tabelaProdutos td:nth-of-type(6)::before {
    content: "Abrangência";
  }
}