/* Contenedor general */
.steps-container {
  width: 100%;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 8px;
  margin-top: 20px;
}

/* Lista de pasos */
.steps-list {
  list-style: none;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  margin: 0;
  padding: 0;
}

/* Cada paso */
.step {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-color);
  font-weight: 600;
  cursor: default;
  transition: all 0.3s ease;
}

/* Contenedor interno para número y texto */
.step > div {
  display: flex;
  align-items: center;
  gap: 16px;
}

.step .div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.step p{
  margin: 0;
  font-size: 16px;
}

/* Número del paso */
.step-number {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  border: 2px solid var(--text-color);
  border-radius: 50%;
  font-size: 16px;
  font-weight: bold;
  background-color: #fff;
  transition: all 0.3s ease;
}

/* Flecha entre pasos */
.step-arrow {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  transition: transform 0.3s ease;
}

/* Paso activo */
.step.active {
  color: var(--primary-color);
}

.step.active p{
  margin: 0;
  font-size: 16px;
}

.step.active .step-number {
  border-color: var(--primary-color);
  background-color: color-mix(in srgb, var(--primary-color) 10%, white 20%);
  color: var(--primary-color);
}

/* Responsive: pantallas menores a 500px */
@media (max-width: 500px) {

  .steps-list {
    flex-direction: column;
    align-items: center;
	row-gap: 10px;
  }

  .step-arrow {
    transform: rotate(90deg);
    margin: 4px 0;
  }

  .step {
    gap: 4px;
	flex-direction: column;
  }

  .step.active .step-number {
	background-color: transparent;
  }

  .step-number {
	height: 0px;
	width: 0px;
	border: 0px solid var(--text-color);
  }

  .step-number::after {
	content: "."; /* el punto */
	}
}
