﻿.wizard-progress {
    margin-top: 2rem;
}

.wizard-steps {
    position: relative;
    padding-left: 18px;
}

.wizard-step-indicator {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 48px;
}

    .wizard-step-indicator:not(:last-child)::after {
        content: "";
        position: absolute;
        left: 8px;
        top: 22px;
        width: 2px;
        height: 100%;
        background: #ccc;
        z-index: 0;
        transition: background 0.2s;
    }

    .wizard-step-indicator.completed:not(:last-child)::after {
        background: teal;
    }

.step-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #ccc;
    background: #fff;
    margin-right: 10px;
    position: relative;
    z-index: 1;
    transition: background 0.2s, border-color 0.2s;
}

.wizard-step-indicator.completed .step-dot {
    background: teal;
    border-color: teal;
}

.wizard-step-indicator.current .step-dot {
    background: #fff;
    margin-left: -2px;
    width: 20px;
    height: 20px;
    border: 2px solid teal;
}

.wizard-step-indicator .step-label {
    font-size: 1rem;
}

.wizard-step-indicator.completed .step-label {
    color: teal;
}

.wizard-step-indicator.current .step-label {
    color: teal;
    font-weight: bold;
}

.wizard-step-indicator.completed {
    cursor: pointer;
    text-decoration: underline;
    color: teal; 
}

.wizard-step-indicator:not(.completed):not(.current) {
    cursor: default;
    text-decoration: none;
    color: inherit;
}

@media (max-width: 991.98px) {
    .wizard-steps {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        padding-left: 0;
        padding-top: 1.75rem;
    }

    .wizard-step-indicator {
        display: flex;
        flex-direction: column;
        align-items: center;
        min-height: unset;
        position: relative;
        flex: 1 1 0;
        padding-top: 0;
    }

        .wizard-step-indicator:not(:last-child)::after {
            content: "";
            position: absolute;
            left: 50%;
            top: 8px;
            width: 100%;
            height: 2px;
            background: #ccc;
            z-index: 0;
            transition: background 0.2s;
            transform: none;
        }

        .wizard-step-indicator.completed:not(:last-child)::after {
            background: teal;
        }

    .step-dot {
        margin-right: 0;
        margin-bottom: 6px;
    }

    .wizard-step-indicator.current .step-dot {
        margin-left: 0;
    }

    .wizard-step-indicator .step-label {
        font-size: 0.95rem;
        margin-bottom: 0.75rem;
        margin-top: 0;
        text-align: center;
        line-height: 1.2;
    }

}

.rate-wizard-actions {
    display: flex;
    justify-content: flex-end;
}

.rate-wizard-actions > button:first-child:not(:only-child){
    margin-right: auto
}