/* Step Indicator Styles */
.step-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    position: relative;
}

.step-indicator::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background: #e0e0e0;
    z-index: 1;
}

.step {
    position: relative;
    z-index: 2;
    text-align: center;
}

/* step 1st and last child .step-number left and righ */
.step:first-child .step-number {
    margin-left: 0;
}

.step:last-child .step-number {
    margin-right: 0;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #e0e0e0;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.step-title {
    color: #999;
    font-size: 14px;
    transition: all 0.3s ease;
}

.step.active .step-number {
    background: #0a0a38;
    border-color: #0a0a38;
    color: #fff;
}

.step.active .step-title {
    color: #0a0a38;
    font-weight: bold;
}



.step.completed .step-number {
    background: #13ab73;
    border-color: #13ab73;
    color: #fff;
}

/* Form Step Styles */
.from_step {
    display: none;
}

.from_step.active {
    display: block;
}

/* Navigation Buttons */
.form-navigation {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
}

.prev-step,
.next-step,
.submit-btn {
    padding: 15px 50px;
    border-radius: 10px;
    border: none;
    font-weight: 500;
}

.prev-step {
    background-color: #e4e7ed;
    color: #0a0a38;
}

.next-step {
    background-color: #ffc825;
    color: white;
}

.submit-btn {
    background-color: #ffc825;
    color: white;
}

/* Error Styles */
.error {
    border-color: #dc3545 !important;
}

.error-message {
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

.error-message.visible {
    display: block;
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-navigation .loading {
    display: none;
    margin-left: 10px;
    font-size: 14px;
    color: #666;
}

@media only screen and (max-width: 991px) {

    .step-title {
        display: none;
    }

    .prev-step,
    .next-step,
    .submit-btn {
        font-size: 13px;
    }
}