.step {
    position: relative;
}

.step::before {
    position: absolute;
    top: 0;
    left: -32px;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* New step badge (green plus) */
.step-new::before {
    content: "+";
    background-color: #48c78e;
    color: white;
    font-size: 18px;
    font-weight: bold;
}

/* Modified step text badge (yellow pencil) */
.step-text-modified::before {
    content: "✎";
    background-color: #ffdd57;
    color: #363636;
}

/* Modified step sequence badge (purple arrows) */
.step-sequence-modified::before {
    content: "↕";
    background-color: #b86bff;
    color: white;
    font-size: 18px;
    font-weight: bold;
}

/* Both text and sequence modified badge (orange) */
.step-both-modified::before {
    content: "✎↕";
    background-color: #ff7f50;
    color: white;
    font-size: 12px;
    font-weight: bold;
}

/* Removed step badge (red minus) */
.step-removed {
    opacity: 0.6;
    text-decoration: line-through;
    position: relative;
}

.step-removed::before {
    content: "−";
    background-color: #f14668;
    color: white;
    font-size: 18px;
    font-weight: bold;
}

.step-text-modified,
.step-both-modified {
    background-color: rgba(255, 221, 87, 0.1);
    padding: 0.5rem;
    border-radius: 4px;
    border-left: 4px solid #ffdd57;
}

.step-sequence-modified {
    background-color: rgba(184, 107, 255, 0.1);
    padding: 0.5rem;
    border-radius: 4px;
    border-left: 4px solid #b86bff;
}

