/* QuizModal, SelectorModal, NoteViewerModal, FolderViewerModal */
.modal-qg {
	width: 40%;
	height: 80%;
}

/* QuizModal, SelectorModal, NoteViewerModal, FolderViewerModal */
.modal-title-qg {
	display: flex;
	justify-content: center;
}

/* SelectorModal, FolderViewerModal */
.modal-content-qg {
	position: relative;
	height: 90%;
}

/* QuizModal */
.modal-content-flex-qg {
	display: flex;
	flex-direction: column;
}

/* SelectorModal, FolderViewerModal */
.item-container-qg {
	height: 90%;
	border: 0.125em solid;
	border-radius: 0.5em;
	overflow-y: auto;
}

/* SelectorModal, FolderViewerModal */
.item-qg {
	display: flex;
	padding: 0.5rem;
	margin: 0.5em;
	border: 0.1rem solid;
	border-radius: 0.5rem;
}

/* SelectorModal, FolderViewerModal */
.item-button-qg {
	height: initial;
	padding: initial;
	margin-right: 0.5em;
	background-color: transparent !important;
	box-shadow: none !important;
	cursor: pointer;
}

/* SelectorModal, FolderViewerModal */
.item-button-qg:hover {
	background-color: revert !important;
}

/* SelectorModal, FolderViewerModal */
.item-tokens-qg {
	margin-left: auto;
	margin-right: 0.5em;
}

/* QuizModal, SelectorModal */
.modal-button-container-qg {
	display: flex;
	justify-content: center;
	gap: 1rem;
}

/* SelectorModal, ModalButton */
.modal-button-qg {
	cursor: pointer;
	box-shadow: none !important;
}

/* SelectorModal, ModalButton */
.modal-button-qg:disabled {
	cursor: not-allowed;
}

/* NoteAndFolderSelector, NoteViewerModal, FolderViewerModal */
.move-left-qg {
	position: absolute;
	left: 9.5%;
}

/* NoteAndFolderSelector, NoteViewerModal, FolderViewerModal */
.move-right-qg {
	position: absolute;
	right: 9.5%;
}

/* NoteAndFolderSelector, NoteViewerModal, FolderViewerModal */
.remove-opacity-qg {
	opacity: 0 !important;
}

/* SelectorModal */
.prompt-tokens-qg {
	display: flex;
	justify-content: center;
	margin: 0.5em;
}

/* QuizModal */
.quiz-divider-qg {
	margin: 1.5em 0 0 0;
}

/* NoteAndFolderSelector */
.suggest-modal-content-qg {
	width: 40%;
	max-height: 80%;
	top: 10%;
}

/* TrueFalseQuestion, MultipleChoiceQuestion, SelectAllThatApplyQuestion,
FillInTheBlankQuestion, MatchingQuestion, ShortOrLongAnswerQuestion */
.question-container-qg {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

/* TrueFalseQuestion, MultipleChoiceQuestion, SelectAllThatApplyQuestion,
FillInTheBlankQuestion, MatchingQuestion, ShortOrLongAnswerQuestion */
.question-qg {
	text-align: center;
	font-size: var(--font-text-size);
}

/* TrueFalseQuestion, MultipleChoiceQuestion, SelectAllThatApplyQuestion, MatchingQuestion */
.true-false-container-qg,
.multiple-choice-container-qg,
.select-all-that-apply-container-qg,
.matching-container-qg {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1em;
}

/* SelectAllThatApplyQuestion */
.select-all-that-apply-container-qg {
	padding-bottom: 1em;
}

/* MatchingQuestion */
.matching-container-qg {
	padding-bottom: 1em;
	gap: 1.5em;
}

/* TrueFalseQuestion, MultipleChoiceQuestion, SelectAllThatApplyQuestion, MatchingQuestion */
.true-false-button-qg,
.multiple-choice-button-qg,
.select-all-that-apply-button-qg,
.matching-button-qg {
	width: 100%;
	height: 100%;
	border: 0.125em solid;
	background-color: transparent !important;
	box-shadow: none !important;
	white-space: normal !important;
	opacity: 1 !important;
	text-align: left;
	font-size: 1em;
	font-weight: var(--font-normal);
	cursor: pointer;
}

/* TrueFalseQuestion */
.true-false-button-qg {
	padding: 0.75rem;
}

/* TrueFalseQuestion, MultipleChoiceQuestion, SelectAllThatApplyQuestion, MatchingQuestion */
.true-false-button-qg:hover,
.multiple-choice-button-qg:hover,
.select-all-that-apply-button-qg:hover,
.matching-button-qg:hover {
	border-color: hsl(210, 80%, 70%);
	transition: border-color 0.3s ease;
}

/* TrueFalseQuestion, MultipleChoiceQuestion, SelectAllThatApplyQuestion, MatchingQuestion */
.true-false-button-qg:disabled,
.multiple-choice-button-qg:disabled,
.select-all-that-apply-button-qg:disabled,
.matching-button-qg:disabled {
	border-color: initial;
	cursor: default;
}

/* TrueFalseQuestion, MultipleChoiceQuestion, SelectAllThatApplyQuestion, MatchingQuestion */
.correct-choice-qg {
	border-color: var(--color-green) !important;
}

/* TrueFalseQuestion, MultipleChoiceQuestion, SelectAllThatApplyQuestion, MatchingQuestion */
.incorrect-choice-qg {
	border-color: var(--color-red) !important;
}

/* TrueFalseQuestion, MultipleChoiceQuestion, SelectAllThatApplyQuestion, MatchingQuestion */
.not-selected-qg {
	border-style: dashed;
}

/* SelectAllThatApplyQuestion, MatchingQuestion */
.selected-choice-qg {
	border-color: hsl(210, 80%, 50%) !important;
}

/* SelectAllThatApplyQuestion, MatchingQuestion */
.submit-answer-qg {
	width: 100%;
	padding: 1.5em;
	border: 0.125em solid;
	background-color: transparent !important;
	box-shadow: none !important;
	font-size: 1em;
	cursor: pointer;
}

/* SelectAllThatApplyQuestion, MatchingQuestion */
.submit-answer-qg:hover {
	border-color: hsl(210, 80%, 70%);
	transition: border-color 0.3s ease;
}

/* SelectAllThatApplyQuestion, MatchingQuestion */
.submit-answer-qg:disabled {
	border-color: initial;
	cursor: default;
}

/* FillInTheBlankQuestion, ShortOrLongAnswerQuestion */
.input-container-qg {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	justify-content: flex-end;
	gap: 0.5em;
}

/* FillInTheBlankQuestion, ShortOrLongAnswerQuestion */
.instruction-footnote-qg {
	font-size: var(--font-ui-smaller);
	text-align: center;
}

/* ShortOrLongAnswerQuestion */
.limit-height-qg {
	height: 0;
}

/* ShortOrLongAnswerQuestion */
.answer-qg {
	width: 100%;
	height: auto;
	border: 0.125em solid;
	margin-bottom: 1em;
	background-color: transparent !important;
	box-shadow: none !important;
	white-space: normal !important;
	text-align: left;
	font-size: 1em;
}

/* MatchingQuestion */
.matching-button-container-qg {
	position: relative;
	display: flex;
	align-items: center;
}

/* MatchingQuestion */
.svg-left-qg,
.svg-right-qg {
	position: absolute;
	width: var(--icon-size);
	height: var(--icon-size);
}

/* MatchingQuestion */
.svg-left-qg {
	right: -0.5rem;
}

/* MatchingQuestion */
.svg-right-qg {
	left: -0.5rem;
}

/* MatchingQuestion */
.svg-circle-qg {
	stroke: currentColor;
	stroke-width: 0.2em;
	fill: var(--modal-background);
}

/* MatchingQuestion */
.svg-circle-text-qg {
	text-anchor: middle;
	font-size: 1.25em;
	fill: var(--text-normal);
}

/* AnswerInput */
.text-area-input-qg {
	padding: 0.75em;
	line-height: 1.5;
	resize: none;
}

/* settings */
.generation-container-qg {
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: 1rem;
}

/* settings */
.first-item-qg {
	padding-top: 0.75em !important;
	border-top: 1px solid var(--background-modifier-border) !important;
}
