/* /sales/accounts (Sales::AccountsController#index): the account table with
 * the live internal flag. The table itself is .sales-report-table
 * (reports.css); the range form is the funnel's .sales-funnel-range. */

.sales-accounts {
  max-width: 72rem;
  margin-inline: auto;
  color: var(--text-primary);
}

.sales-accounts-section + .sales-accounts-section { margin-top: var(--spacing-24); }

.sales-accounts-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--spacing-12);
  margin-bottom: var(--spacing-8);
}

.sales-accounts-row {
  transition: opacity 120ms ease, background-color 120ms ease;

  &.is-saving { opacity: 0.5; }
  &.is-error  { background-color: var(--background-highlight); }
}

.sales-accounts-table th a { color: inherit; }
.sales-accounts-table th[aria-sort] a { color: var(--text-primary); font-weight: var(--font-weight-600); }

.sales-accounts-checkbox {
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
  accent-color: var(--border-brand);
  cursor: pointer;
}

.sales-accounts-email {
  display: block;
  max-width: 20rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
}

.sales-accounts-meta {
  color: var(--text-tertiary);
  font-size: var(--font-size-14);
}

.sales-accounts-nowrap { white-space: nowrap; }

.sales-accounts-empty { margin-top: var(--spacing-12); }
