// Employee Timeline Styles
.timeline {
  position: relative;
  padding-left: 0;
  list-style: none;

  &::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    height: 100%;
    width: 2px;
    background: var(--bs-border-color);
  }
}

.timeline-item {
  position: relative;
  padding-left: 60px;

  &:last-child {
    padding-bottom: 0 !important;
  }
}

.timeline-point {
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;

  i {
    font-size: 1.25rem;
    color: white;
  }

  &.timeline-point-primary {
    background: var(--bs-primary);
  }

  &.timeline-point-success {
    background: var(--bs-success);
  }

  &.timeline-point-danger {
    background: var(--bs-danger);
  }

  &.timeline-point-warning {
    background: var(--bs-warning);
  }

  &.timeline-point-info {
    background: var(--bs-info);
  }
}

.timeline-event {
  background: var(--bs-card-bg);
  border: 1px solid var(--bs-border-color);
  border-radius: var(--bs-border-radius);
  padding: 1rem;
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

// Responsive adjustments
@media (max-width: 768px) {
  .timeline {
    &::before {
      left: 15px;
    }
  }

  .timeline-item {
    padding-left: 50px;
  }

  .timeline-point {
    width: 32px;
    height: 32px;

    i {
      font-size: 1rem;
    }
  }
}
