/* Questionnaire page (/perguntas): one question per page, footer pages between them. */

.quiz-layout {
    width: min(680px, 100%);
    margin: 0 auto;
    padding: 32px 20px 40px;
}

.quiz-question {
    padding: 4px 2px;
}

.quiz-question-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.quiz-theme {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
}

.quiz-weight {
    flex: none;
    padding: 3px 11px;
    border-radius: 999px;
    border: 1px solid var(--border);
    font-size: 0.72rem;
    color: var(--muted);
}

.quiz-prompt {
    margin: 0 0 22px;
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--text);
}

.quiz-options {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.quiz-option {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
    cursor: pointer;
    line-height: 1.45;
    transition: background 0.12s ease, border-color 0.12s ease;
}

.quiz-option:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(180, 178, 169, 0.45);
}

/* Override the global `input { width: 100% }` so the radio is a small fixed control. */
.quiz-option input[type="radio"] {
    flex: none;
    width: 20px;
    height: 20px;
    margin: 0;
    padding: 0;
    border-radius: 50%;
    accent-color: var(--accent);
    cursor: pointer;
}

.quiz-option:has(input:checked) {
    border-color: var(--accent);
    background: rgba(151, 196, 89, 0.12);
}

.quiz-option-label {
    flex: 1 1 auto;
    text-align: left;
    font-size: 0.98rem;
    color: var(--text);
}

.quiz-empty {
    margin-top: 48px;
    padding: 28px;
    text-align: center;
    border: 1px dashed var(--border);
    border-radius: 14px;
    color: var(--muted);
}

.quiz-empty p {
    margin: 0 0 16px;
}

.quiz-cta {
    display: inline-block;
    padding: 11px 20px;
    border-radius: 10px;
    background: var(--accent);
    color: #10240a;
    font-weight: 700;
    text-decoration: none;
}

.quiz-cta:hover {
    background: var(--accent-strong);
}
