/* ─────────────────────────────────────────────────────────────────────────
   LOAD MORE — the "Show more" control at the end of a list that loads the
   next rows as you scroll.

   Graduated from flow.css's .flow-load-more (the Updates list, METIS-pub#665)
   when the list tables became its second user (METIS-pub#671): there it is
   the cell of crm/partials/_table_more_row.html, on the Updates list a <div>
   under the rows, and the activity feed's "Load older" / "Load newer".

   Centred with text-align, not flex, so the same class works on a <td>: a
   table cell made a flex container stops being a cell and drops its colspan.

   Extend with a modifier; never fork. docs/dev/web/design-system.md §3.4
   ───────────────────────────────────────────────────────────────────────── */

@layer components {
  .load-more {
    text-align: center;
    padding: var(--space-2) 0;
  }

  .load-more__btn {
    display: inline-block;
    font-size: var(--text-base);
    color: var(--color-text-muted);
    text-decoration: none;
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border);
    background: var(--color-surface);
  }

  .load-more__btn:hover {
    background: var(--color-border-light);
    color: var(--color-text);
  }
}
