// Entries table — Save Progress lifecycle status pills (Draft / Expiring / Submitted)
.ivyforms-entry-lifecycle {
  display: flex;
  flex-direction: column;
  // One line of meta under the pill fits the row height; wrapping would push it beside the pill.
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 0;
  width: 100%;
  height: 100%;
  text-align: center;

  &__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    max-width: 100%;
    min-height: 22px;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
    line-height: 18px;
    white-space: nowrap;
    text-align: center;

    &--draft {
      color: var(--map-accent-blue-symbol-0, #2e65f2);
      background-color: var(--map-accent-blue-fill--4, #e8efff);
    }

    &--expiring {
      color: var(--map-status-error-symbol-0, #c62828);
      background-color: var(--map-status-error-o10, rgba(198, 40, 40, 0.1));
    }

    &--submitted {
      color: var(--map-accent-teal-symbol-0, #077597);
      background-color: var(--map-accent-teal-fill--4, #e0f3fa);
    }
  }

  &__meta {
    max-width: 100%;
    overflow: hidden;
    color: var(--map-base-text--2, #757575);
    font-size: 11px;
    line-height: 14px;
    white-space: nowrap;
    text-overflow: ellipsis;
    text-align: center;
  }
}
