/* quiz.css */
.quiz-img-option {
    cursor: pointer;
    display: block;
    text-align: center;
}

.quiz-img-wrap {
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    transition: 0.3s;
}

.quiz-img-wrap img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 4/3;
}

.quiz-img-option input:checked~.quiz-img-wrap {
    border-color: #f27a22;
}

.quiz-img-title {
    margin-top: 10px;
    font-weight: bold;
}

.quiz-semifinal-img {
    text-align: center;
    margin-bottom: 20px;
}

/* Quiz Single Progress Bar */
.quiz-single-progress-text {
    font-size: 14px;


    margin-bottom: 5px;

}

.quiz-single-progress {
    background: #e0e0e0;
    height: 8px;
    border-radius: 4px;
    overflow: hidden;

    width: 100%;
}

.quiz-single-progress__inner {
    width: 0%;
    height: 100%;
    background: #f27a22;
    transition: width 0.3s ease;
}

.quiz-radio-option {
    cursor: pointer;
    padding: 10px;
    border: 1px solid #eee;
    border-radius: 5px;
    margin-bottom: 10px;
    transition: 0.3s;
    width: 100%;
}

.quiz-radio-option:hover {
    border-color: #ddd;
}

.quiz-radio-check {
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 50%;
    margin-right: 15px;
    position: relative;
    flex-shrink: 0;
}

.quiz-radio-option input:checked~.quiz-radio-check {
    border-color: #f27a22;
}

.quiz-radio-option input:checked~.quiz-radio-check::after {
    content: '✔';
    color: #f27a22;
    font-size: 14px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.quiz-radio-option input:checked~.quiz-radio-text {
    font-weight: bold;
}

.quiz-progress__inner {
    border-radius: 4px;
}

.quiz__btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.quiz__input-form {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    outline: none;
    transition: 0.3s;
}

.quiz__input-form:focus {
    border-color: #f27a22;
}

.quiz-sin__subtitle {
    font-weight: 700;
    font-size: clamp(0.875rem, 0.8rem + 0.375vw, 1.25rem);
    line-height: 1.4;
    margin-bottom: 15px;
}

.quiz-single-wrp {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin-right: 15px;

}

.quiz-semifinal .quiz__input-form {
    padding-left: 60px;
}

.quiz-page-text {
    line-height: 1.3;
    font-size: clamp(1.125rem, 1.1rem + 0.125vw, 1.25rem);
    margin: 20px 0;
}

@media only screen and (max-width : 578px) {
    .squiz__btns {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

}