.hint {
	margin-top: 5px;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.hint-list {
	list-style: none;
	padding: 0;
	margin: 0;
	font-size: 14px;
	color: var(--secondary);
}

.answer-input {
	&.-correct {
		border-bottom-color: var(--green);
	}

	&.-incorrect {
		border-bottom-color: var(--red);
	}

	&.-wrong-flash {
		border-bottom-color: var(--red);
		animation: input-shake 0.35s ease-out;
	}
}

.question {
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-thickness: 1px;
}

.answer-reveal .answer-value {
	font-style: italic;
}

.answer-reveal.-correct .answer-value {
	color: var(--green);
}

.answer-reveal.-incorrect .answer-value {
	color: var(--red);
}

.form-actions {
	margin-top: 16px;

	>button+button {
		margin-left: 16px;
	}
}

fieldset label+label {
	margin-left: 16px;
}

.answer-reveal {
	margin-top: 24px;
}

@keyframes input-shake {

	0%,
	100% {
		transform: translateX(0);
	}

	25% {
		transform: translateX(-6px);
	}

	75% {
		transform: translateX(6px);
	}
}

.save-action {
	display: flex;
	align-items: baseline;
	gap: 16px;
}

[x-cloak] {
	display: none !important;
}
