/* Wrapper do roadmap */
.roadmap {
  display: flex;
  flex-direction: row;
  gap: 30px;                  /* espaço entre steps */
  overflow-x: auto;
  padding: 30px 20px;
  margin: 0;
  list-style: none;
  position: relative;
  white-space: nowrap;
  scrollbar-width: thin;       /* Firefox */
}

.roadmap::-webkit-scrollbar {
  height: 6px;
}
.roadmap::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 3px;
}
.roadmap::-webkit-scrollbar-track {
  background: var(--field-background);
}

/* Linha central do roadmap */
.roadmap::before {
    content: '';
    position: absolute;
    top: 75px;
    left: 0;
    width: 100%;
    height: 20px;
    background: #b4b4b4;
    z-index: 0;
    opacity: 0.3;
}

/* Cada passo do roadmap */
.road-step {
  flex: 0 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
  min-width: 120px;
}

/* Ícone circular */
.road-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary-color);
  color: var(--field-background);
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  box-shadow: 0 4px 6px rgba(0,0,0,.25);
  transition: transform 0.2s ease;
}
.road-icon:hover {
  transform: scale(1.1);
}

/* Título/label do passo */
.road-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 4px;
  white-space: normal;  /* quebra se for muito longo */
}

/* Data do passo */
.road-date {
  font-size: 12px;
  color: var(--text-muted);
}

/* Esconde elementos herdados da TTimeline que não usamos */
.roadmap .time-label,
.roadmap .timeline-item,
.roadmap .line-icon {
  display: none !important;
}

/* Dragging */
.roadmap.dragging {
    cursor: grabbing;
    user-select: none;
}
.roadmap li {
    flex: 0 0 auto; /* evita que os itens fiquem espremidos */
}

.roadmap {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer 10+ */
}

.roadmap::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
}

/* Quando usar imagem no lugar do ícone */
.road-icon img,
.road-icon .road-image {
  width: 100%;
  height: 100%;
  object-fit: cover;   /* mantém proporção sem esticar */
  border-radius: 50%;  /* garante que fique redondo */
  display: block;
}
