/* timeline.css */

.timeline-container {
  background-color: #007bff; /* Blue background */
  padding: 20px;
  border-radius: 10px;
  position: relative;
}

.timeline {
  position: relative;
  margin: 20px 0;
}

.timeline.horizontal {
  display: flex;
}

.timeline-item {
  position: relative;
  margin: 20px 0;
  padding-left: 40px; /* Space for circle and line */
}

.timeline-item::before,
.timeline-item::after {
  content: '';
  position: absolute;
  width: 2px;
  background-color: #000;
  left: 19px; /* Position line relative to item */
}

.timeline-item::before {
  top: 0;
  bottom: 50%;
}

.timeline-item::after {
  top: 50%;
  bottom: 0;
}

.timeline-item::after {
  width: 10px;
  height: 10px;
  background-color: #000;
  border-radius: 50%;
  left: 15px; /* Position circle */
  top: 50%;
  transform: translateY(-50%);
}

.timeline-item.horizontal {
  flex: 1;
  margin: 0;
  padding: 20px 0 0 0;
  text-align: center;
}

.timeline-item.horizontal::before,
.timeline-item.horizontal::after {
  height: 2px;
  background-color: #000;
  top: 15px;
}

.timeline-item.horizontal::before {
  left: 0;
  right: 50%;
}

.timeline-item.horizontal::after {
  left: 50%;
  right: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
}

.timeline-item.horizontal:first-child::before {
  left: 50%;
}

.timeline-item.horizontal:last-child::after {
  right: 50%;
}

.timeline-item .card {
  border: none;
  background-color: transparent;
}

.timeline-item .card-body {
  padding: 0;
}

.timeline-item .icon {
  cursor: pointer;
}

