.root {
	display: flex;
	grid-area: list;
	position: relative;
	flex-direction: column;
	border-right: 1.5px solid #eaeaea;
	height: 100%;
	overflow: hidden;
}

.itemRoot {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	transition: all 0.15s ease-in-out;
	padding: 5px 15px;

	.itemContainer {
		display: grid;
		grid-template-columns: 100%;
		grid-template-rows: 1fr min-content;
		transition: all 0.15s ease-in-out;
		width: 100%;
		border-radius: 8px;
		padding: 12px;
		position: relative;

		@include media(mobile) {
			border: 0.5px solid $bt-light-border-grey;
		}

		&:hover {
			background: $bt-off-white;
			cursor: pointer;
		}
	}
}

.skeleton {
	padding: 0 !important;
}

.selected {
	background: $bt-off-white;
}

.itemInfo {
	display: flex;
	width: 100%;
	flex-direction: row;
	gap: 10px;
	justify-content: space-between;

	h6 {
		font-size: 16px;
		font-weight: bold;
	}

	p {
		overflow: hidden;
		text-overflow: ellipsis;
		display: -webkit-box;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2; /* number of lines to show */
		line-height: 1.2em; /* fallback */
		max-height: 1.2em * 2;
		color: $bt-light-text;
		font-size: 14px;
	}
}

.status {
	display: flex;
	flex-direction: column;
	color: $bt-light-text;
	justify-content: flex-start;
	align-items: center;
	font-size: 14px;
	padding: 6px 23px 6px 23px;
	border-bottom: 1.5px solid #eaeaea;
}

.list {
	overflow: overlay !important;
}

.error {
	display: flex;
	padding: 30px;
	height: 100%;
	text-align: center;
	justify-content: center;
	align-items: center;
	color: $bt-light-text;
}

.itemContent {
	display: grid;
	grid-auto-flow: row;
	justify-content: space-evenly;
	h6 {
		justify-self: flex-start;
	}
}

.grade {
	display: flex;
	justify-content: center;
}

.A {
	color: $bt-indicator-green;
}

.B {
	color: $bt-indicator-yellow;
}

.C {
	color: $bt-indicator-orange;
}

.D {
	color: $bt-indicator-squash;
}

.F {
	color: $bt-indicator-red;
}

.itemStats {
	display: flex;
	flex-direction: row;
	gap: 5px;
	color: $bt-light-text;

	span {
		font-size: 14px;
	}
}

.saveIcon {
	opacity: 0.5;
	transition: all 0.15s ease-in-out;
	color: $bt-light-grey;
	z-index: 5;
	&:active {
		transform: scale(0.9) !important;
	}

	&:hover {
		opacity: 1;
		transform: scale(1.1);
	}
}
