/* Flow container */
.flow-container {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 20px;
  background-color: #f5f5f5;
  position: relative;
}

/* Individual stage */
.flow-stage {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
  column-gap: 1.5rem;
}

/* Add connecting line to the next box */
.flow-stage.with-line::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -32px; /* Adjust based on spacing between items */
  width: 2px;
  height: 32px; /* Same as the gap in flow-container */
  background-color: #ccc;
  transform: translateX(-50%);
}

/* Left side: Title and Tag */
.stage-left {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stage-title {
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

.stage-tag {
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
  text-transform: capitalize;
  width: fit-content;
}

/* Tag colors */
.stage-tag.blue {
  background-color: #e6f7ff;
  color: #0056b3;
}

.stage-tag.gray {
  background-color: #f0f0f0;
  color: #595959;
}

.stage-tag.purple {
  background-color: #f0e6ff;
  color: #7b61ff;
}

.stage-tag.green {
  background-color: #e6ffe6;
  color: #228b22;
}

.stage-tag.red {
  background-color: #f8bfbf;
  color: #ac1919;
}

/* Right side: Icons */
.stage-right {
  display: flex;
  flex-direction: column;
}

.icon {
  font-size: 18px;
  cursor: pointer;
  color: #888;
  transition: color 0.3s ease;
}

.icon:hover {
  color: #555;
}
