.comercial-page .table td,
.comercial-page .table th {
  vertical-align: middle;
}

.comercial-page .table tbody tr:hover {
  background: rgba(13, 110, 253, 0.06);
}

.comercial-page .table td:nth-child(5) {
  max-width: 520px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

html.dark .comercial-page .table tbody tr:hover,
body.dark .comercial-page .table tbody tr:hover {
  background: rgba(121, 187, 255, 0.12);
}

html.azul .comercial-page .table tbody tr:hover,
body.azul .comercial-page .table tbody tr:hover {
  background: rgba(141, 203, 255, 0.16);
}

/* Contador do chip de situacao: sem fundo branco fixo -- usa a cor do proprio
   chip (currentColor), entao adapta a claro/dark/azul automaticamente. */
.pedido-chip-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5em;
  padding: 0 0.4em;
  border-radius: 999px;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.5;
}

.pedido-row-navegavel {
  cursor: pointer;
}

.pedido-row-navegavel > * {
  transition: background-color 120ms ease, box-shadow 120ms ease;
}

.pedido-row-navegavel:hover > *,
.pedido-row-navegavel:focus > *,
.pedido-row-navegavel:focus-within > * {
  background-color: var(--bs-primary-bg-subtle, rgba(13, 110, 253, 0.1)) !important;
}

.pedido-row-navegavel:focus {
  outline: 2px solid var(--bs-primary);
  outline-offset: -2px;
}

.pedido-numero-link {
  color: var(--bs-primary);
}
