/* Issue #388: de antwoorden van een vragenlijst om te lezen (QuestionnaireAnswersView). Per sectie een kop, per vraag het nummer en
   de vraag, met het antwoord eronder. Kleuren uit de --fc-tokens, zodat licht en donker vanzelf meeschakelen. */

.qa-overview {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    padding: 4px 0 8px;
}

.qa-empty {
    color: var(--fc-text-muted);
    margin: 0;
}

.qa-section {
    display: flex;
    flex-direction: column;
}

.qa-section-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 4px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--fc-border);
}

.qa-section-description {
    color: var(--fc-text-muted);
    font-size: 0.8125rem;
    margin: 4px 0 6px;
    white-space: pre-line;
}

.qa-item {
    padding: 10px 0;
    border-bottom: 1px solid var(--fc-border);
}

.qa-item:last-child {
    border-bottom: 0;
}

.qa-question {
    display: flex;
    align-items: baseline;
    gap: 8px;
    color: var(--fc-text-muted);
    font-size: 0.8125rem;
}

.qa-number {
    min-width: 1.5em;
    font-variant-numeric: tabular-nums;
}

.qa-required {
    color: var(--fc-danger-text);
}

.qa-answer {
    margin: 4px 0 0 calc(1.5em + 8px);
    color: var(--fc-text);
}

.qa-text {
    white-space: pre-line;
    overflow-wrap: anywhere;
}

.qa-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.qa-chip {
    padding: 2px 10px;
    border-radius: var(--fc-radius-badge);
    background: var(--fc-brand-tint);
    color: var(--fc-brand-text);
    font-size: 0.8125rem;
}

.qa-no-answer {
    color: var(--fc-text-muted);
    font-style: italic;
}

.qa-no-answer.is-required {
    color: var(--fc-danger-text);
}
