#saved-sentences-view {

	.lesson-title {
	    font-size: 22px;
	    border-bottom: 1px solid;
	    display: inline-block;
	    padding: 5px 0;
	    margin: 0 1%;
		width: 50%;	
		min-width: 800px;	
	}

	.exercise-title {
		font-size: 18px;
		display: inline-block;
		padding: 5px 0;
		margin: 1% 2% 0 2%;
		width: 100%;
	}

	#header-container {
		
		display: block;
		width: 100%;
		text-align: center;
		margin: 20px auto;

		ul {
			margin: 0;
			display: inline-block;
			list-style: none;

			li {
				border: 1px solid #ddd;
				display: inline-block;
				padding: 12px;
				width: 200px;
				margin-left: -1px;
				font-size: 18px;
				cursor: pointer;

				&.highlight {
					background-color: #f6f6f6;
				}
			}
		}
	}

	#tag-filter-container {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		justify-content: flex-start;
		margin: 8px 1% 30px 1%;
		width: 50%;
		min-width: 800px;

		.filter-label {
			margin-right: 8px;
			font-size: 16px;
			color: #34495e;
			margin-bottom: 6px;
		}

		.tag-filter-chip, .clear-tag-filters {
			border: 1px solid #3498db;
			background: #ecf6fd;
			color: #2980b9;
			border-radius: 4px;
			padding: 5px 9px;
			margin: 0 6px 6px 0;
			font-size: 14px;
			cursor: pointer;

			&:hover {
				border-color: #2980b9;
				background: #d4eaf7;
			}
		}

		.tag-filter-chip.selected {
			background: #3498db;
			border-color: #3498db;
			color: #fff;
		}

			.clear-tag-filters {
				color: #e74c3c;
				border-color: #e74c3c;
				background: #fdf2f1;

				&:hover {
			    border-color: #c0392b;
				background: #fbe6e4;
			}
		}
	}

	.saved-exercises-list {
		margin: 0;
		padding: 1% 3%;
		list-style: none;

		li {
			font-size: 20px;
			margin-bottom: 10px;

			.delete-sentence {
				color: #e74c3c;

				&:hover {
					color: #ec7063;
				}
			}
		}		
	}

	.empty-message {
		display: block;
		font-size: 20px;
		width: 100%; 
		text-align: center;
	}
}

.saved-sentence-tags-view {
	margin: 14px auto 0 auto;
	max-width: 520px;
	text-align: center;

	.saved-sentence-tags {
		padding: 0;
	}

	.tag-summary-row {
		display: flex;
		align-items: flex-start;
		justify-content: center;
		flex-wrap: wrap;
		gap: 6px;
		margin-top: 6px;
	}

	.empty-tags, .tag-message {
		color: #7f8c8d;
		font-size: 14px;
	}

	.tag-chip {
		border: 1px solid #3498db;
		background: #ecf6fd;
		color: #2980b9;
		border-radius: 4px;
		padding: 5px 9px;
		font-size: 14px;
		cursor: pointer;
	}

	.add-tag-button, .tag-empty-add {
		border: 1px solid #cfd8dc;
		background: transparent;
		color: #34495e;
		cursor: pointer;
	}

	.add-tag-button {
		border-radius: 50%;
		box-sizing: border-box;
		flex: 0 0 28px;
		font-size: 18px;
		height: 28px;
		line-height: 24px;
		padding: 0;
		width: 28px;
	}

	.tag-empty-add {
		border-radius: 4px;
		font-size: 14px;
		padding: 6px 10px;
	}

	.add-tag-button:hover, .tag-empty-add:hover {
		background: #f5f8fa;
		border-color: #95a5a6;
	}

	.tag-controls {
		display: flex;
		gap: 8px;
		margin-top: 6px;

		input {
			flex: 1;
			min-width: 0;
			height: 35px;
		}

		> button {
			white-space: nowrap;
		}
	}

	.tag-autocomplete {
		position: relative;
		width: 100%;
	}

	.tag-suggestions {
		display: none;
		position: absolute;
		top: calc(100% + 4px);
		left: 0;
		right: 0;
		z-index: 20;
		max-height: 220px;
		overflow-y: auto;
		border: 1px solid #cfd8dc;
		border-radius: 5px;
		background: #fff;
		box-shadow: none;
		padding: 0;
	}

	.tag-suggestion {
		display: block;
		width: 100%;
		border: 0;
		border-bottom: 1px solid #edf1f2;
		border-radius: 0;
		background: transparent;
		box-shadow: none;
		color: #34495e;
		cursor: pointer;
		font-size: 14px;
		line-height: 20px;
		padding: 7px 9px;
		text-align: left;
		text-shadow: none;
		white-space: normal;
		word-break: break-word;

		&:last-child {
			border-bottom: 0;
		}

		&:hover,
		&.highlighted {
			background: #f5f8fa;
			color: #2c3e50;
		}
	}

	.new-tag-indicator {
		color: #7f8c8d;
		font-size: 12px;
	}
}

#saved-sentence-view {
	text-align: center;

	.saved-sentence-content {
		display: none;
	}
	h3 {
		display: block;
		text-align: center;
		width: 70%;
		margin: auto;
		margin-top: 20px;
		font-size: 30px;
	}

	#button-container {
		width: 35%;		
		margin: 32px auto 16px auto;

		.button-row {
			display: flex;
			flex-direction: row;
			justify-content: space-between;
			width: 100%;
			margin: 0;
			margin-bottom: 16px;

			button {
				width: 49%;
			}		
		}

		#revise-solution {
			width: 100%;
		}
	}

	img {
		display: none;
		margin: auto;
		margin-bottom: 20px;
		border-radius: 7px;
		box-shadow: 0px 2px 4px rgba(50, 50, 50, 0.6);
		background-color: red;

	}

	canvas {
	}

	#word-identification-solution {

		
		padding: 20px;
		box-shadow: 0px 2px 4px rgba(50, 50, 50, 0.6);
		display: inline-block;
		border-radius: 7px;	
		min-width: 400px;	
		text-align: center;

		table {			
			text-align: left;
			width: 100%;
			
			font-size: 16px;
			

			td {
				border: 1px solid;
				padding: 10px 5px;
			}

		}
	}
}
