.back-icon {
	height: 2rem;
	width: 2rem;
}

.language-cards-container {
	background-color: white;
	border-radius: 0.5rem;
	display: flex;
	flex-direction: column;

	@media (min-width: 728px) {
		box-shadow: 3px 2px 5px 2px rgba(0, 0, 0, 0.125);
		min-width: 25rem;
	}
}

.language-card {
	cursor: pointer;
	padding: 1rem 1.5rem;
	text-decoration: none;

	&:not(:last-child) {
		border-bottom: var(--color-grey) solid 0.0625rem;
	}
}

.language-card:hover {
	background-color: var(--color-hover);
}

.language-card-content {
	align-items: center;
	color: var(--font-color);
	display: flex;
	gap: 1rem;
}

.language-flag-wrapper {
	height: 2.25rem;
	width: 3.75rem;

	@media (min-width: 728px) {
		height: 2.75rem;
		width: 4.25rem;
	}
}

.language-flag {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.language-name {
	font-size: 1rem;
	font-weight: 600;
	margin: 0;
}

.return-to-login {
	font-size: 1rem;
	font-weight: 500;
	margin: 0;
}
