/* p {
    margin: 0;
} */

.stea-mcq-quiz {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.stea-mcq-quiz.no-progress .stea-mcq-progressbar,
.stea-mcq-quiz.no-progress .stea-mcq-progress,
.stea-mcq-quiz.progress-ui-bar .stea-mcq-progress,
.stea-mcq-quiz.progress-ui-text .stea-mcq-progressbar {
    display: none;
}

.stea-mcq-progressbar {
    height: 8px;
    border-radius: 999px;
    overflow: hidden;
}

.stea-mcq-progressbar-fill {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #2563eb 0%, #14b8a6 100%);
    border-radius: inherit;
    transition: width 0.25s ease;
}

.stea-mcq-progress {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.stea-mcq-progress-count {
    font-size: 15px;
    font-weight: 700;
    color: #111827;
}

.stea-mcq-progress-status {
    font-size: 14px;
    color: #4b5563;
}

.quiz-container {
    display: none;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 24px;
    background: #ffffff;
}

.quiz-container.is-active {
    display: block;
}

.question-subtitile {
    margin-bottom: 10px;
}

.question-subtitile p {
    line-height: 1.4;
}

.question {
    margin-bottom: 18px;
    line-height: 1.35;
}

.answers {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.answer {
    display: flex;
    flex-direction: row;
    gap: 18px;
    cursor: pointer;
    padding: 16px 18px;
    border: 1px solid #d1d5db;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    align-items: center;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.answer:hover,
.answer:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 14px 34px rgba(37, 99, 235, 0.12);
    outline: none;
}

.answer.is-selected {
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.18), 0 10px 30px rgba(15, 23, 42, 0.06);
}

.answer .bullet {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.answer_text {
    line-height: 1.5;
}

.answer.true .bullet,
.answer.false .bullet {
    position: relative;
}

.answer.true .bullet::before {
    position: absolute;
    z-index: 5;
    background: #16a34a;
    content: "\2713";
    color: #fff;
    top: 0;
    left: 0;
    border-radius: 50%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 1px;
}

.answer.false .bullet::before {
    position: absolute;
    z-index: 5;
    background: #dc2626;
    content: "\2718";
    color: #fff;
    top: 0;
    left: 0;
    border-radius: 50%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 1px;
}

.explanation {
    display: none;
    margin-top: 18px;
    border-radius: 14px;
}

.explanation.active,
.elementor-editor-active .explanation {
    display: block !important;
}

.explanation_prefix {
    display: inline-block;
    margin-bottom: 8px;
}

.stea-mcq-actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.stea-mcq-quiz.no-previous-button .stea-mcq-actions {
    justify-content: flex-end;
}

.stea-mcq-button {
    min-width: 120px;
    padding: 12px 20px;
    border: 0;
    border-radius: 999px;
    background: #111827;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.stea-mcq-button:hover:not(:disabled),
.stea-mcq-button:focus-visible:not(:disabled) {
    background: #2563eb;
    transform: translateY(-1px);
    outline: none;
}

.stea-mcq-button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.stea-mcq-result {
    padding: 28px;
    border-radius: 18px;
    background: #ecfeff;
    border: 1px solid #bfdbfe;
}

.stea-mcq-result-label {
    margin-bottom: 8px;
}

.stea-mcq-result-score {
    line-height: 1.3;
}

.elementor-widget-container p {
    margin: 0;
}

@media (max-width: 767px) {
    .quiz-container {
        padding: 18px;
    }

    .question {
        font-size: 20px;
    }

    .answer {
        gap: 12px;
        padding: 14px;
    }

    .stea-mcq-actions {
        flex-direction: column;
    }

    .stea-mcq-button {
        width: 100%;
    }
}
