.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;
    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 10px 20px;
    background: #fdc719;
    border-radius: 8px;
    border: 1px dashed #000;
    /* min-height: 280px; */
}

.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;
    gap: 8px;
    margin-bottom: 20px;
}

.step-form legend .count {
    background: black;
    color: white;
    width: 22px;
    min-width: 22px;
    height: 22px;
    text-align: center;
    line-height: 22px;
    border-radius: 50px;
    font-size: 14px;
    margin-top: 1px;
}

.step-type {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 6px;
    position: relative;
    /* column-gap: 20px;
    row-gap: 5px; */
}

.step-type li label {
    border-radius: 4px;
    border: 2px solid #000;
    line-height: 26px;
    padding: 5px 10px;
    text-align: center;
    cursor: pointer;
    font-weight: 700;
    min-width: 132px;
    margin-left: -2px;
    font-size: 13px;
}

.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: 40px;
    color: black;
}

.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: black;
    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;
}

.stepFormContact li {
    margin: 0;
    font-weight: 600;
}

.stepFormContact__btn {
    cursor: pointer;
}

.stepFormContact__btn * {
    cursor: pointer;
}

.next-button {
    margin-top: 6px;
}

.next-button button {
    width: 100%;
    padding: 7px 30px;
    font-size: 16px;
    text-transform: uppercase;
}

.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;
    color: #fdc719;
    background: black;
    max-width: max-content;
    padding: 7px 16px;
    /* margin: auto; */
    border-radius: 8px 16px 0px 0px;
}

@media (max-width:1164px) {
    .step-type li label {
        min-width: unset;
    }
}

@media (max-width:364px) {
    .step-form-heading h3 {
        font-size: 18px;
    }
}