.html-timeline-wrapper {
  width: 100%;
  overflow-x: auto;
  padding: 40px 20px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.html-timeline-wrapper::-webkit-scrollbar {
  height: 6px;
}

.html-timeline-wrapper::-webkit-scrollbar-thumb {
  background-color: #cbd5e1;
  border-radius: 3px;
}

.html-timeline-container {
  display: flex;
  position: relative;
  min-width: max-content;
  align-items: flex-start;
  padding-top: 50px;
}

.html-timeline-line {
  position: absolute;
  top: 15px;
  left: 0;
  right: 0;
  height: 3px;
  background-color: #e2e8f0;
  z-index: 1;
}

.html-timeline-item {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 300px;
  margin-right: 40px;
  z-index: 2;
}

.html-timeline-item:last-child {
  margin-right: 0;
}

.html-timeline-dot {
  position: absolute;
  top: -45px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 2px solid #3b82f6;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.html-timeline-dot i,
.html-timeline-dot svg {
  font-size: 14px;
  width: 14px;
  height: 14px;
  fill: #3b82f6;
  color: #3b82f6;
  transition: all 0.3s ease;
}

.html-timeline-default-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: currentColor;
}

.html-timeline-card {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.html-timeline-card::after {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 16px;
  height: 16px;
  background-color: inherit;
  border-left: inherit;
  border-top: inherit;
  z-index: -1;
}

.html-timeline-item:hover .html-timeline-card {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
}

.html-timeline-date {
  font-size: 0.875rem;
  font-weight: 600;
  color: #3b82f6;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.html-timeline-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 8px 0;
}

.html-timeline-desc {
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.5;
}
