/* Grundläggande styling för stegvisa listor */
.step-list {
    list-style-type: none;
    padding: 0;
}

/* Alla listpunkter */
.step-item {
    opacity: 0;  /* Förberedd för fade-in */
    transition: opacity 0.5s ease-in-out;
}

/* Helt gömda listpunkter */
.step-item.hidden {
    display: none;
    opacity: 0;
}

/* Synliga listpunkter */
.step-item.visible {
    display: block;
    animation: fadeIn 0.5s ease-in-out forwards;
}

/* Fade-in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Container för knapp + steg-räknare */
.step-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
    margin-left: 26px;
}

/* Styling för knappen */
@keyframes textColorChange {
    0% { color: #393939; }
    50% { color: #bdbdbd; } /* Färg vid mitten av animationen */
    100% { color: #393939; }
}
.step-next-button {
    background: none;
    cursor: pointer;
    border: none;
    position: relative;
    font-size: 1rem;
    padding-left: 30px;
    animation: textColorChange 2s infinite alternate ease-in-out;
    margin-right: 10px;
}
.step-next-button::before {
    font-family: "Font Awesome 5 Free";
    content: "\f067";
    font-weight: 900;
    font-size: 20px;  
    color: #393939;
    margin-right: 10px;
    position: absolute;
    left: 0;
    top: -2px;
}
.step-undo-button {
    background: none;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    position: relative;
    padding-left: 30px;
}

.step-undo-button::before {
    font-family: "Font Awesome 5 Free";
    content: "\f068"; /* Unicode för minus-ikonen */
    font-weight: 900;
    font-size: 20px;  
    color: #393939;
    margin-right: 10px;
    position: absolute;
    left: 0;
    top: -2px;
}

/* Styling för steg-räknaren */
.step-counter {
    font-size: 1rem;
    color: #666;
    margin-right: 10px;
}

.disabled-link {
    pointer-events: none;
    opacity: 0.5;
    cursor: default;
}