.mrex-quiz-wrapper{
    text-align: center;
}

.single-question ul.single-question-choices-wrapper{
    list-style: none;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 0;
}
.single-question ul.single-question-choices-wrapper li{
    width: calc(50% - 1rem);
}
.single-question ul.single-question-choices-wrapper li label{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border-radius: 8px;
    border: 2px solid #f58b6e;
    background: #fff;
    color: #5a5a5a;
    font-weight: 700;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
    cursor: pointer;
    height: 100%;
    transition: all .3s ease-in-out;
}
.single-question ul.single-question-choices-wrapper li input{
    display: none;
}
.single-question ul.single-question-choices-wrapper li input:checked + label{
    background: #f58b6e;
    color: #fff;
}
.single-question{
    padding: 3rem 0;
    border-bottom: 2px solid #333;
    opacity: .55;
    transition: .4s;
}

.single-question h3{
    margin-top: 0;
}

.single-question.hidden,
.mrex-quiz-pre-results.hidden{
    display: none;
}

.single-question.current-question{
    opacity: 1;
}

button.mrex-quiz-show-results{
    display: flex;
    align-items: center;
    gap: .5rem;
}
button.mrex-quiz-show-results .mrex-loader{
    display: none;
}
button.mrex-quiz-show-results.loading .mrex-loader{
    display: inline-block;
}

.mrex-loader {
    width: 18px;
    height: 18px;
    border: 2px solid #333;
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.mrex-quiz-form{
    text-align: left;
    margin-top: 2rem;
}
.mrex-quiz-form .input-wrapper{
    display: flex;
    flex-direction: column;
}
.mrex-quiz-form input,
.mrex-quiz-form select{
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #333;
    outline: none;
    font-size: 1.1rem;
}
.mrex-quiz-form small{
    display: inline-block;
    margin-bottom: .5rem;
}
.mrex-quiz-form button{
    border-radius: 8px;
    background: #f58b6e;
    outline: none;
    color: #fff;
    font-weight: 700;
    transition: all .3s ease-in-out;
    min-width: 200px;
    text-align: center;
    border: none;
    padding: 1rem;
    cursor: pointer;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
}
.mrex-quiz-form button:hover{
    background: #f2653e;
}
.mrex-quiz-form .grid-half{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
@media (max-width: 600px) {
    .mrex-quiz-form .grid-half{
        grid-template-columns: 1fr;
        gap: 0;
    }
    .single-question h3{
        font-size: 1.5rem;
    }
}
.mrex-quiz-form .has-errors{
    display: none;
    color: #ff0000;
    font-weight: 600;
    margin-bottom: 1rem;
}

.single-question.current-question{
    border-bottom-color: transparent;
}

.mrex-quiz-progress-bar{
    position: relative;
    display: flex;
    height: 35px;
    width: 100%;
    padding: 3px 4px;
    border: 1px solid #717171;
    border-radius: 8px;
}
.mrex-quiz-progress-bar span{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 18px;
    font-weight: bold;
    color: #fff;
    z-index: 10;
    user-select: none;
}
.mrex-quiz-progress-bar-inner{
    height: 100%;
    background-color: #f58b6e;
    border-radius: 5px;
    min-width: 1%;
}
.mrex-quiz-terms{
    margin-top: 1rem;
    margin-bottom: 1rem;
}
.mrex-quiz-terms input{
    margin-right: .5rem;
}