.fm-timeline {
  display: flex;
  align-items: center;
  flex-grow: 1;
  width: 100%;
  padding:20px 0px;
margin-bottom:20px;
border-bottom: 1px dotted #888 !important;
}

.fm-step {
  display: flex;
  align-items: center;
  flex: 1;
}

.fm-step-icon {
  background-color: #f0f0f0;
  border: 3px solid #1e5631;
  color: #1e5631;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 16px;
  flex-shrink: 0;
  z-index: 1;
}

.fm-step-icon.activo {
  background-color: #1e5631;
  color: white;
}

.fm-connector {
  height: 8px;
  background-color: #ccc;
  flex: 1;
  margin: 0 ;
  position: relative;
  overflow: hidden;
 
}

.fm-connector.activo::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background-color: #1e5631;
  animation: fillLine 0.5s ease-out forwards;
  animation-delay: var(--delay, 0s);
}
@keyframes fillLine {
  from {
    width: 0%;
  }
  to {
    width: 100%;
  }
}
 
.fm-step:last-child .fm-connector {
  display: none;
}

.fm-timeline-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.fm-timeline-item h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #1e5631;
  line-height: 1.4;
  margin: 0;
  flex: 0 0 200px;
}

.fm-timeline {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
}

/* Iconos paso */
.fm-step-icon {
  width: 48px;
  height: 48px;
  font-size: 16px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .fm-timeline-item {
    flex-direction: column;
    align-items: flex-start;
gap:0;
  }

  .fm-timeline-item h3 {
    flex: 1 1 100%;
    font-size: 0.75rem;
    margin-bottom: 1rem;
margin-bottom:5px;
  }

  .fm-timeline {
    flex-wrap: nowrap;
    overflow-x: auto;
    width: 100%;
padding:5px 0px;
  }

  .fm-step-icon {
    width: 25px;
    height: 25px;
    font-size: 12px;
  }

  .fm-connector {
    margin: 0;
    height: 4px;
  }
}
