/**
 * CFM Quiz Inline Code Styles
 *
 * Simple, unthemed inline code styling similar to Obsidian.
 * Subtle background with monospace font - not themed like code blocks.
 *
 * @package CFM_Tutor_Quiz_Inline_Code
 */

.cfm-inline-code {
	font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
	font-size: 0.9em;
	background-color: rgba(0, 0, 0, 0.08);
	padding: 0.15em 0.4em;
	border-radius: 3px;
	/* Prevent awkward line breaks in code */
	white-space: nowrap;
}

/* Slightly darker background when answer is marked correct/incorrect */
.tutor-quiz-answer-single-correct .cfm-inline-code,
.tutor-quiz-answer-single-incorrect .cfm-inline-code {
	background-color: rgba(0, 0, 0, 0.1);
}

/* Ensure inline code is readable in draggable/matching contexts */
.tutor-dragging-text-conent .cfm-inline-code {
	background-color: rgba(0, 0, 0, 0.08);
}

/* Quiz results/attempt details - maintain subtle styling */
.tutor-quiz-attempt-details .cfm-inline-code {
	background-color: rgba(0, 0, 0, 0.08);
}
