/* ==========================================================================
   Avatar Stack Subcomponent: Overflow Indicator
   ========================================================================== */

.c-avatar-stack__overflow {
  align-items: center;
  background-color: var(--surface-hover);
  border: 2px solid var(--surface-card);
  border-radius: var(--radius-full);
  box-sizing: content-box;
  color: var(--text-color-secondary);
  cursor: default;
  display: inline-flex;
  font-weight: var(--font-weight-medium);
  justify-content: center;
}

/* Size variants matching avatar sizes */
.c-avatar-stack__overflow--xs {
  font-size: var(--font-size-xs);
  height: 24px;
  width: 24px;
}

.c-avatar-stack__overflow--sm {
  font-size: var(--font-size-xs);
  height: 32px;
  width: 32px;
}

.c-avatar-stack__overflow--md {
  font-size: var(--font-size-sm);
  height: 40px;
  width: 40px;
}

.c-avatar-stack__overflow--lg {
  font-size: var(--font-size-base);
  height: 56px;
  width: 56px;
}

.c-avatar-stack__overflow--xl {
  font-size: var(--font-size-lg);
  height: 80px;
  width: 80px;
}

/* Hover effect */
.c-avatar-stack__overflow:hover {
  background-color: var(--surface-ground);
  color: var(--text-color);
}
