.timeline-responsive {
  display: flex;
  justify-content: space-between;
  position: relative;
  gap: 12px;
  margin-bottom: 24px;
}

.timeline-responsive::before {
  content: "";
  position: absolute;
  top: 21px;
  left: 8%;
  right: 8%;
  height: 3px;
  background: #dee2e6;
  z-index: 0;
}

.timeline-item {
  position: relative;
  z-index: 1;
  flex: 1;
  border: 0;
  background: transparent;
  text-align: center;
  cursor: pointer;
  padding: 0;
  color: inherit;
}

.timeline-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #dee2e6;
  color: #6c757d;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 8px;
  transition: .2s ease-in-out;
}

.timeline-info {
  min-width: 0;
}

.timeline-text {
  font-size: 14px;
  font-weight: 600;
  color: #6c757d;
  line-height: 1.3;
}

.timeline-item.active .timeline-icon {
  background: #0d6efd;
  color: #fff;
  box-shadow: 0 0 0 5px rgba(13, 110, 253, .15);
}

.timeline-item.active .timeline-text,
.timeline-item.active .timeline-status {
  color: #0d6efd;
}

.timeline-item.completed .timeline-icon {
  background: #198754;
  color: #fff;
}

.timeline-item.completed .timeline-text,
.timeline-item.completed .timeline-status {
  color: #198754;
}

.timeline-item.locked {
  cursor: not-allowed;
  opacity: .6;
}

.timeline-item.locked .timeline-icon {
  background: #e9ecef;
  color: #adb5bd;
}

/* Tablet kecil */
@media (max-width: 768px) {
  .timeline-responsive {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 18px;
  }

  .timeline-responsive::before {
    top: 22px;
    bottom: 22px;
    left: 21px;
    right: auto;
    width: 3px;
    height: auto;
  }

  .timeline-item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 14px;
    padding: 12px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .04);
  }

  .timeline-icon {
    flex: 0 0 42px;
    margin-bottom: 0;
  }

  .timeline-info {
    flex: 1;
  }

  .timeline-text {
    font-size: 14px;
  }

  .timeline-status {
    display: block;
    font-size: 12px;
    margin-top: 2px;
  }

  .timeline-item.active {
    border-color: rgba(13, 110, 253, .35);
    background: rgba(13, 110, 253, .04);
  }

  .timeline-item.completed {
    border-color: rgba(25, 135, 84, .25);
    background: rgba(25, 135, 84, .04);
  }

  .timeline-item.locked {
    background: #f8f9fa;
  }
}

/* HP kecil */
@media (max-width: 576px) {
  .timeline-item {
    padding: 10px;
    border-radius: 12px;
  }

  .timeline-icon {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
    font-size: 13px;
  }

  .timeline-responsive::before {
    left: 19px;
  }

  .timeline-text {
    font-size: 13px;
  }

  .timeline-status {
    font-size: 11px;
  }
}