.timeline-wrapper {
  position: relative;
  width: 100%;
  padding: 20px 0;
  overflow: hidden;
}

.timeline-wrapper::before {
  content: '';
  position: absolute;
  top: 25px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #e9ecef;
}

.timeline-list {
  display: flex;
  overflow-x: auto;
  padding-bottom: 20px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #d1d5db #f1f5f9;
}

.timeline-list::-webkit-scrollbar {
  height: 8px;
}

.timeline-list::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 10px;
}

.timeline-list::-webkit-scrollbar-thumb {
  background-color: #d1d5db;
  border-radius: 10px;
}

.timeline-item {
  position: relative;
  flex: 0 0 240px;
  padding-top: 45px;
  margin-right: 20px;
}

.timeline-marker {
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  border: 2px solid #fff;
}

.timeline-content {
  text-align: center;
}

.scroll-indicator {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 20px;
  width: 60px;
  background: linear-gradient(to left, #ffffff 60%, rgba(255, 255, 255, 0));
  display: flex;
  align-items: center;
  justify-content: flex-end;
  pointer-events: none;
  transition: opacity 0.3s ease-in-out;
  opacity: 1;
}

.scroll-indicator.hidden {
  opacity: 0;
}

.scroll-indicator svg {
  width: 24px;
  height: 24px;
  color: #6c757d;
  margin-right: 8px;
}