
.consultation-header {
    max-width: 1100px;
    margin: 0 auto 20px auto;
    text-align: center;
    padding: 20px 0 0 0;
}

.consultation-header h1 {
    font-size: 2.5rem;
    font-weight: 400;
    color: #333;
    margin: 0;
    letter-spacing: -0.5px;
}

.consultation-subheading {
    font-size: 1.1rem;
    color: #666;
    margin: 8px 0 0 0;
    font-weight: 400;
}

.steps {
    max-width: 1100px;
    margin: 0 auto 40px auto;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px 0;
}

.progress-line {
    position: absolute;
    top: 35px;
    left: calc(10% - 15px);
    right: calc(10% - 15px);
    height: 2px;
    background-color: #e5e5e5;
    z-index: 1;
}

.step {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    justify-content: center;
}

.step-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.step-circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #fff;
    border: 2px solid #e5e5e5;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    position: relative;
    z-index: 3;
    transition: all 0.3s ease;
}

.step-number {
    font-size: 14px;
    font-weight: 600;
    color: #999;
}

.step-label {
    font-size: 12px;
    color: #999;
    text-align: center;
    max-width: 100px;
    line-height: 1.3;
}

/* Active step styling - yellow highlight */
.step.active .step-circle {
    background-color: #ffd700;
    border-color: #ffd700;
}

.step.active .step-number {
    color: #000;
}

.step.active .step-label {
    color: #000;
    font-weight: 600;
}

/* Completed step styling */
.step.done .step-circle {
    background-color: #000;
    border-color: #000;
}

.step.done .step-number {
    display: none;
}

.step.done .step-circle::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #fff;
    font-size: 14px;
}

.step.done .step-label {
    color: #666;
}

.step.done .step-link {
    cursor: pointer;
}

.step.done .step-link:hover .step-circle {
    background-color: #555;
}

/* Navigable future steps styling */
.step.navigable .step-circle {
    background-color: #fff;
    border-color: #007bff;
}

.step.navigable .step-number {
    color: #007bff;
}

.step.navigable .step-label {
    color: #007bff;
}

.step.navigable .step-link {
    cursor: pointer;
}

.step.navigable .step-link:hover .step-circle {
    background-color: #e7f3ff;
    border-color: #0056b3;
}

.step.navigable .step-link:hover .step-number {
    color: #0056b3;
}

.step.navigable .step-link:hover .step-label {
    color: #0056b3;
}

/* Progress line completion effect */
.steps::before {
    content: '';
    position: absolute;
    top: 35px;
    left: calc(10% - 15px);
    height: 2px;
    background-color: #000;
    z-index: 2;
    transition: width 0.3s ease;
}

/* Calculate progress line width based on current step */
.steps[data-current="1"]::before { width: 0%; }
.steps[data-current="2"]::before { width: calc(20% + 15px); }
.steps[data-current="3"]::before { width: calc(40% + 15px); }
.steps[data-current="4"]::before { width: calc(60% + 15px); }
.steps[data-current="5"]::before { width: calc(80% + 15px); }

/* Responsive design */
@media (max-width: 768px) {
    .consultation-header {
        padding: 15px 0 0 0;
        margin-bottom: 15px;
    }

    .consultation-header h1 {
        font-size: 2rem;
    }

    .consultation-subheading {
        font-size: 1rem;
        margin: 6px 0 0 0;
    }

    .steps {
        padding: 15px 10px;
        margin-bottom: 20px;
    }

    .step-circle {
        width: 25px;
        height: 25px;
    }

    .step-number {
        font-size: 12px;
    }

    .step-label {
        display: none;
        /*font-size: 11px;*/
        /*max-width: 90px;*/
        /*line-height: 1.2;*/
        /*margin-top: 4px;*/
    }

    .progress-line,
    .steps::before {
        top: 27px;
        left: calc(15% - 12px);
        right: calc(15% - 12px);
    }

    .steps[data-current="2"]::before { width: calc(18% + 1px); }
    .steps[data-current="3"]::before { width: calc(36% + 12px); }
    .steps[data-current="4"]::before { width: calc(55% + 12px); }
    .steps[data-current="5"]::before { width: calc(74% + 12px); }
}

@media (max-width: 480px) {
    .consultation-header {
        padding: 10px 0 0 0;
        margin-bottom: 10px;
    }

    .consultation-header h1 {
        font-size: 1.75rem;
    }

    .consultation-subheading {
        font-size: 0.9rem;
        margin: 4px 0 0 0;
    }

    .steps {
        padding: 10px 5px;
        margin-bottom: 15px;
    }

    .step-circle {
        width: 22px;
        height: 22px;
        margin-bottom: 6px;
    }

    .step-number {
        font-size: 11px;
    }

    .step-label {
        display: none;
        /*font-size: 10px;*/
        /*max-width: 70px;*/
        /*line-height: 1.1;*/
        /*margin-top: 2px;*/
    }

    .step.done .step-circle::after {
        font-size: 12px;
    }

    .progress-line,
    .steps::before {
        top: 21px;
        left: calc(12% - 11px);
        right: calc(12% - 11px);
    }

    .steps[data-current="2"]::before { width: calc(20% + 11px); }
    .steps[data-current="3"]::before { width: calc(40% + 11px); }
    .steps[data-current="4"]::before { width: calc(60% + 11px); }
    .steps[data-current="5"]::before { width: calc(80% + 11px); }
}

