.multi-step-form.edit-form fieldset {
    display: block !important;
}
.multi-step-form.edit-form [type=submit], .multi-step-form.edit-form [type=reset] {
    display: inline-block !important;
}
.multi-step-form.edit-form .steps {
    display: none;
}

.multi-step-form fieldset {
    display: none;
}

.multi-step-form fieldset:first-of-type {
    display: block;
}

.multi-step-form fieldset.hidden {
    display: none;
}

.multi-step-form fieldset.visible {
    display: block;
}

.form-steps {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    text-align: center;
    margin-top: 15px;
}

.form-steps button {
    border: 0;
    width: 18px;
    height: 18px;
    background: none;
    border: 2px solid black;
    border-radius: 50px;
    padding: 0;
}

.form-steps [disabled] {
    /* background: #dc3545; */
    background: var(--primary-color);
    opacity: 0.5;
}

.form-steps .active[disabled] {
    background: var(--color-blue4);
    opacity: 1;
}

.form-steps .active {
    background: #198754;
}

.error-text {
    color: red;
}

.multi-step-form {
    padding: 20px 20px 20px 20px;
    /* background: linear-gradient(90deg, #5A72FF 0%, #687EFF 100%); */
    background-image: linear-gradient(to right, var(--dark-color) 0%, var(--accent-color) 50%, var(--dark-color) 100%);
    border: 2px solid #D1E3FB;
    border-radius: 40px 40px 100px 40px;
    position: relative;
}

.step-form .note {
    margin: 5px 0 0 0;
    color: #ef0000;
    font-weight: 700;
    text-align: center;
    font-size: 13px;
}

.step-form legend {
    font-size: 23px;
    font-weight: 800;
    line-height: 1.1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 20px;
}

.step-form legend .count {
    background: white;
    color: black;
    width: 50px;
    min-width: 50px;
    height: 50px;
    margin-inline: auto;
    text-align: center;
    line-height: 50px;
    border-radius: 50px;
    font-family: var(--fistudy-font);
    font-size: 24px;
}

.step-form legend .count + span {
    color: #000;
    max-width: 400px;
    margin-inline: auto;
    text-align: center;
}

.step-type {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 2px;
    margin-bottom: 6px;
    position: relative;
    padding: 0;
    list-style-type: none;
    row-gap: 6px;
    /* column-gap: 20px;
    row-gap: 5px; */
}

/* .step-type li {
    flex-grow: 1;
} */

.step-type li label {
    border-radius: 4px;
    border: 1px solid #000000a1;
    background: white;
    line-height: 26px;
    padding: 5px 0;
    text-align: center;
    cursor: pointer;
    font-weight: 700;
    min-width: 125px;
    font-size: 14px;
    color: black;
}

.step-type li input[type="checkbox"],
.step-type li input[type="radio"] {
    width: 0;
    height: 0;
    opacity: 0;
}

.step-type li input[type="checkbox"]:checked~label,
.step-type li input[type="radio"]:checked~label {
    color: white;
    background: black;
}

.step-type span.error-text {
    position: absolute;
    top: -20px;
    font-size: 12px;
    left: 0;
    right: 0;
    margin: auto;
    text-align: center;
    font-weight: 700;
}

.form-group span.error-text {
    display: none !important;
}

.multi-step-form .form-control {
    height: 48px;
    color: black;
    border: solid 1px #000000a1;
}

.contact-information-list li {
    margin-bottom: 6px;
}

.contact-information-list li .iti {
    width: 100%;
}

.contact-information-list li .iti .form-control {
    text-align: center;
    padding: 0 !important;
}

.contact-information-list .iti--separate-dial-code .iti__selected-flag {
    background: #f1f1f1 !important;
    border-radius: 4px;
}

.multi-step-form .form-control.error-text {
    border: 1px solid red;
    background: white;
    color: red;
}

.multi-step-form .form-control.error-text::placeholder {
    color: red;
}

/* .next-button button {
    color: white;
    text-transform: uppercase;
    background-color: var(--color-blue4);
    height: 40px;
    line-height: 40px;
    padding: 0;
    border: none;
    border-radius: 4px;
    font-family: "Inter", sans-serif;
} */

.stepFormContact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 10px 0;
    padding: 0;
    list-style-type: none;
}

.stepFormContact li {
    margin: 0;
    color: #000;
}

.stepFormContact__btn {
    cursor: pointer;
}

.stepFormContact__btn * {
    cursor: pointer;
}

.next-button {
    margin-top: 6px;
    text-align: center;
}

.next-button button {
    background: black;
    border: none;
    padding: 10px 20px 10px;
    font-size: 16px;
    border-radius: 8px;
    width: 250px;
    margin-top: 12px;
}

.next-button button:focus {
    box-shadow: none;
    outline: none;
}

.next-button-2 {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
}

.next-button-2 button {
    width: calc(50% - 3px);

    color: white;
    text-transform: uppercase;
    background: black;
    height: 40px;
    line-height: 40px;
    padding: 0;
    border: none;
    border-radius: 4px;
    font-family: "Inter", sans-serif;
}

.next-button-2 button:hover {
    background: var(--color-blue4);
}

/* Edit Form CSS */
.multi-step-form.edit-form {
    max-height: 450px;
    overflow-y: scroll;
    padding: 25px 17px;
}

.multi-step-form.edit-form legend {
    font-size: 18px;
}

.multi-step-form.edit-form fieldset:not(:last-child) {
    margin-bottom: 10px;
}

.multi-step-form.edit-form .step-type {
    margin-bottom: 0;
}

.multi-step-form.edit-form .btn-next {
    display: none;
}

.multi-step-form.edit-form+.form-steps {
    display: none;
}

.step-form-heading {
    /* text-align: center; */
    margin-bottom: -3px;
}

.step-form-heading h3 {
    font-size: 22px;
    font-weight: bold;
    color: #000;
    background: white;
    max-width: max-content;
    padding: 12px 16px;
    border-radius: 8px 16px 0px 0px;
    margin: auto;
}

.contact-information-list {
    padding: 0;
    list-style-type: none;
}

@media (min-width:1314px) {

    .step-type li label {
        font-size: 16px;
        min-width: 145px;
    }

}

@media (max-width:1314px) {

    .step-form legend .count + span {
        max-width: 370px;
    }

}

@media (max-width:1164px) {
    .step-type li label {
        min-width: unset;
    }
}

@media (max-width:364px) {
    .step-form-heading h3 {
        font-size: 18px;
    }
}