/* Fix for captcha input display */
#captchaInput {
    min-width: 120px;
    flex: 1 1 auto !important;
}

/* Ensure captcha container has proper flex layout */
.form-group div[style*="display: flex"] {
    flex-wrap: wrap;
}

/* Fix for result page question text truncation */
.question-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--ancient-ink);
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    max-width: 100%;
}

/* Ensure question review section has enough space */
.question-review {
    padding: var(--space-lg);
    min-height: auto;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    #captchaInput {
        min-width: 100px;
        font-size: 0.9rem;
    }

    .question-text {
        font-size: 1rem;
    }
}