/*
 * WHICH ROWS ARE ON SCREEN, and the arrows that change them. The control owns
 * no border, background or padding: the band that frames it supplies those.
 *
 * The range takes the slack, which pins the arrows to the right edge whether or
 * not there is a range to state.
 */
@layer theme, base, lotics, components, utilities;
@layer lotics.tokens, lotics.reset, lotics.components;

@layer lotics.components {
  /* SHRINKS AT 0: giving way inside a narrower toolbar squeezes the range to a
     few pixels and wraps it over four lines. It overflows its band instead. */
  .lotics-pagination {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-shrink: 0;
    gap: var(--lotics-space-12);
  }

  .lotics-pagination__summary {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    flex: 1;
    min-width: 0;
  }

  .lotics-pagination__controls {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--lotics-space-8);
    flex-shrink: 0;
  }
}
