/*
 * A count DISC that becomes a pill past one digit — so the width is a floor and
 * the height is fixed, and the inline padding is what a second digit spends.
 */
@layer theme, base, lotics, components, utilities;
@layer lotics.tokens, lotics.reset, lotics.components;

@layer lotics.components {
  .lotics-count {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-width: 20px;
    height: 20px;
    padding-inline: var(--lotics-space-6);
    border-radius: var(--lotics-radius-full);
    background-color: transparent;
  }

  .lotics-count[data-variant="highlight"] {
    background-color: var(--primary);
  }

  .lotics-count[data-variant="red"] {
    background-color: var(--destructive);
  }
}
