input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.steps {
    display: flex;
    flex-direction: row;
    width: 100vw;
    gap: 1.5rem;
    align-items: center;
    justify-content: flex-start;
    padding: 0 1.5rem;
    margin: 0 -1.5rem;
    overflow-x: scroll;
    -ms-overflow-style: none; /*  Hide scrollbar for IE and Edge */
    scrollbar-width: none; /*  Hide scrollbar for Firefox */
}

.steps::-webkit-scrollbar {
    display: none; /* Hides scrollbar */
    scrollbar-width: none;
    -ms-overflow-style: none;
}


.step {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    color: var(--gray-400);
    align-items: center;
}

.step-number {
    display: flex;
    width: 2.5rem;
    min-width: 2.5rem;
    height: 2.5rem;
    justify-content: center;
    align-items: center;
    padding: 0;
    border: 1px solid var(--gray-400);
    border-radius: 2.5rem;
    font-family: "Bayon";
    font-size: 1rem;
    font-variation-settings: 'wght' 400;
    font-weight: 400;
}

.step-info {
    font-size: 1.126rem;
    font-weight: 700;
    white-space: nowrap;
    line-height: 1.7;
}

.step-divider {
    min-width: 4rem;
    height: 1px;
    background-color: var(--gray-400);
}

.step.active {
    margin-left: 2.75rem;
}

.step.active,
.step.finish {
    color: var(--black);
}

.step.active .step-number {
    background-color: var(--green);
    border-color: var(--green);
    color: var(--black);
}

.theme-primary .step.active .step-number {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
}

.step.active .step-divider,
.step.finish .step-divider {
    background-color: var(--green);
}

.theme-primary .step.active .step-divider,
.theme-primary .step.finish .step-divider {
    background-color: var(--primary);
}

.step.finish .step-number {
    border-color: var(--green);
}

.theme-primary .step.finish .step-number {
    border-color: var(--primary);
}

.form-wrapper {
    position: relative;
    align-items: center;
    margin: 2.5rem auto 0 auto;
}

.form-wrapper button {
    width: auto;
}

.form-wrapper .accesskey {
    left: -1.5rem;
}

.form-label {
    min-width: 5rem;
    width: 5rem;
}

.form-block .btn {
    margin-top: 1.5rem;
}

.form-block .col-auto {
    display: flex;
    flex-grow: 1;
    gap: .5rem;
}

.form-block .form-check {
    padding: 0.875rem 1.25rem;
    margin: 0;
    flex-basis: 50%;
    border-radius: 1rem;
    background-color: #ffffff;
    color: var(--black);
    border: 1px solid var(--black);
    font-weight: 500;
    text-align: center;
    line-height: 1.7;
    transition: .3s ease;
    cursor: pointer;
}

.custom-form-check {
    position: relative;
    flex-basis: 50%;
}

.custom-form-check.selected .form-check-input {
    background-color: var(--black);
    color: #ffffff;
}

.custom-form-check .form-check-input {
    width: 100%;
    height: 3.575rem;
    padding: 0.875rem 1.25rem;
    margin: 0;
    flex-basis: 50%;
    border-radius: 1rem;
    background-color: #ffffff;
    color: var(--black);
    border: 1px solid var(--black);
    background-image: none;
    font-weight: 500;
    text-align: center;
    line-height: 1.7;
    transition: .3s ease;
    cursor: pointer;
}

.custom-form-check .form-check-input:hover {
    border-color: var(--gray-200);
    background-color: var(--gray-200);
}


.custom-form-check .form-check-label {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.custom-form-check.selected .form-check-label {
    color: #ffffff;
}

.form-block .text-danger {
    position: absolute;
    right: 0;
    bottom: -1.5rem;
    font-size: .875rem;
}

.form-block .bad .form-check,
.form-block .bad .custom-form-check,
.form-block .bad .form-control {
    border-color: var(--red);
}

.section-content {
    column-gap: 2.5rem;
}

.section-content__full {
    height: fit-content;
    margin: 2.5rem 0 0 0;
    padding: 3rem 2.5rem;
    border-radius: 1.5rem;
}

.section-content__full.basic-info {
    position: relative;
    min-width: 18.75rem;
    width: 18.75rem;
}

.section-content__full.test-info {
    width: 100%;
    flex-grow: 1;
}

.section-content__full.test-info .content {
    width: 100%;
}

.test-info .form-label {
    min-width: auto;
    width: auto;
}

.d-flex {
    gap: 2.5rem;
}

.divider {
    width: 100%;
    height: 1px;
    background-color: var(--gray-200);
}

.level-block {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    margin: .5rem 0 1.5rem 0;
    overflow-x: scroll;
}

.level-item {
    display: inline-flex;
    flex-direction: column;
    padding: .5rem .75rem;
    flex-grow: 1;
    text-align: center;
    font-size: .875rem;
    line-height: 1.6;
    opacity: .7;
}

.level-item.active {
    padding: 1rem;
    font-size: 95%;
    font-weight: 700;
    opacity: 1;
}

/* Hide Arrows From Input Number */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}


@media (max-width: 767.99px) {
    .phase-three .d-flex {
        flex-direction: column;
    }

    .section-content__full.basic-info {
        width: 100%;
    }

    .section-content__full.test-info {
        margin: 0;
    }


    .section-content__full.test-info .form-block.inline-label .mb-3 {
        flex-direction: column;
        align-items: flex-start;
        gap: .75rem;
    }

    .level-block {
        white-space: nowrap;
    }


}

@media (min-width: 768px) {
    .steps {
        width: 100%;
        gap: 2.5rem;
        justify-content: center;
    }

    .step-divider {
        min-width: 10rem;
    }
}


.jconfirm .jconfirm-box .jconfirm-buttons {
    display: flex;
    width: 100%;
    justify-content: center;
    gap: .5rem;
}