.timelineItems {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}

.timelineConnector {
  position: absolute;
  left: 4px;
  top: 19px;
  height: calc(100% + 6px);
  width: 2px;
  background: var(--text-tertiary);
  opacity: 0.5;
  z-index: 0;
}

.timelineItemWrapper {
  position: relative;
  padding-left: 1.75rem;
}

.timelineItemWrapper::before {
  content: '';
  position: absolute;
  left: 1px;
  top: 11px;
  width: 8px;
  height: 8px;
  background: var(--text-tertiary);
  border-radius: 50%;
  z-index: 1;
}

/* Spinning circle for the last item when streaming */
.timelineItemWrapper.streaming::before {
  background: transparent;
  border: 2px solid var(--accent-primary);
  border-top-color: transparent;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
