/* Finance > Payments > Available Credits (header "Apply Credits"). Reuses
   Billing's stat grid/footer (finance-billing.css) and the base-table recipe
   from finance-payment-details.css (.plx-fin-pd-table); only the 3-column
   stat grid, the payer cell and the red credit figure are new. */
.plx-fin-stat-grid.plx-fin-pc-stat-grid {
  grid-template-columns: repeat(3, 1fr);
}

.plx-fin-pc-stat-grid .plx-mb-stat-card {
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3);
}

.plx-fin-pc-stat-sub {
  color: var(--text-muted);
  font-size: var(--text-xs);
}

.plx-fin-pc-table-wrap {
  margin-bottom: var(--space-4);
}

.plx-fin-pc-payer,
.plx-fin-pc-payer-type {
  display: block;
  line-height: normal;
}

.plx-fin-pc-payer {
  color: var(--text-primary);
}

.plx-fin-pc-payer-type {
  color: var(--text-muted);
  font-size: var(--text-xs);
}

.plx-fin-pd-table tbody td.plx-fin-pc-credit {
  color: var(--color-danger);
  font-weight: var(--weight-semibold);
}

@media (max-width: 991.98px) {
  .plx-fin-stat-grid.plx-fin-pc-stat-grid {
    grid-template-columns: 1fr;
  }
}

