@use '@/styles/variables' as *;
@use '@/styles/mixins' as *;

.recentActivity {
  height: 100%;

  &__list {
    display: flex;
    flex-direction: column;
  }

  &__item {
    @include flex-start;
    gap: $spacing-md;
    padding: $spacing-md 0;
    border-bottom: 1px solid $border-color;

    &:last-child {
      border-bottom: none;
      padding-bottom: 0;
    }

    &:first-child {
      padding-top: 0;
    }
  }

  &__icon {
    @include flex-center;
    width: 36px;
    height: 36px;
    border-radius: $border-radius-base;
    background-color: $background-color;
    font-size: 16px;
    flex-shrink: 0;
  }

  &__content {
    flex: 1;
    min-width: 0;
  }

  &__title {
    font-size: $font-size-sm;
    font-weight: $font-weight-medium;
    color: $text-primary;
    margin-bottom: 2px;
  }

  &__description {
    font-size: $font-size-xs;
    color: $text-secondary;
    @include text-ellipsis;
  }

  &__time {
    font-size: $font-size-xs;
    color: $text-disabled;
    white-space: nowrap;
    flex-shrink: 0;
  }
}
