/* Scoped to ALX CRM Leads only: no global CRM or appointment layout changes. */
#viewLeads .lead-grid-table {
  min-width: 1165px !important;
}
#viewLeads .lead-grid-table th.alx-call-count-col,
#viewLeads .lead-grid-table td.alx-call-count-cell {
  width: 112px;
  min-width: 100px;
  text-align: center;
  white-space: nowrap;
}
#viewLeads .alx-call-count-sort {
  font: inherit;
  letter-spacing: inherit;
  font-weight: 800;
  font-size: 10px;
  text-transform: uppercase;
  color: inherit;
  width: 100%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 5px 2px;
  border-radius: 6px;
}
#viewLeads .alx-call-count-sort:hover,
#viewLeads .alx-call-count-sort:focus-visible {
  background: rgba(68, 135, 248, .14);
  color: #9ec7ff;
}
#viewLeads .alx-call-count-sort:focus-visible { outline: 2px solid #7abaff; outline-offset: 2px; }
#viewLeads .alx-call-count-arrow { color: #73aaff; font-size: 12px; font-weight: 800; }
#viewLeads .alx-call-count-pill {
  font-variant-numeric: tabular-nums;
  display: inline-flex;
  min-width: 30px;
  min-height: 25px;
  align-items: center;
  justify-content: center;
  padding: 3px 8px;
  border: 1px solid rgba(61, 120, 206, .42);
  border-radius: 9px;
  color: #bad8ff;
  background: #122b52;
  font-size: 12px;
  font-weight: 780;
}
#viewLeads .alx-call-count-pill.is-zero { color: #94a5be; background: #14213a; border-color: #2c405f; }
#viewLeads .alx-call-count-pill.is-unavailable { color: #aebbd0; background: #19233b; }
@media (max-width: 760px) {
  #viewLeads .lead-table-wrap { overflow-x: auto !important; }
}
