section #output {
	margin-top: 2rem;
}
section .status-valid {
	background: #d7f8dc;
	color: #39721c;
	padding: 20px;
	border-radius: 0.5em;
	margin: 0 0 20px 0;
}
section .status-invalid {
	background: #f8d7da;
	color: #721c24;
	padding: 20px;
	border-radius: 0.5em;
	margin: 0 0 20px 0;
}
section .error-highlight {
	background-color: #ffebee;
	border: 2px solid #f44336;
	border-radius: 4px;
	padding: 2px 4px;
	margin: 0 2px;
	position: relative;
}
section .missing-close-tag {
	background-color: #fff3e0;
	border: 2px solid #ff9800;
	border-radius: 4px;
	padding: 2px 4px;
	margin: 0 2px;
}
section .orphan-close-tag {
	background-color: #f5e8f5; 
	border: 2px solid #d53dcd;
	border-radius: 4px;
	padding: 2px 4px;
	margin: 0 2px;
}
section .error-item {
	cursor: pointer;
	padding: 2rem;
	background: var(--color-dark-white);
	border-radius: 0.5rem;
	transition: transform 0.2s ease;
}
section .error-item + .error-item {
	margin-top: 1rem;
}
section .error-type {
	line-height: 1.6;
	margin-bottom: 0.5rem;
	font-size: 1.9rem;
}
section .error-message {
	color: var(--color-gray);
	font-size: 1.4rem;
}
section .output-wrapper {
	margin-top: 2rem;
}
section .legend {
	margin-top: 2rem;
}
section .legend-item {
	display: flex;
	align-items: center;
	margin-bottom: 1rem;
	gap: 1rem;
}
section .legend-color {
	width: 2rem;
	height: 2rem;
	border-radius: 0.25rem;
	border: 2px solid;
}
section .legend-error { 
	background-color: #ffebee;
	border-color: #f44336;
}
section .legend-missing { 
	background-color: #fff3e0; 
	border-color: #ff9800; 
}
section .legend-orphan { 
	background-color: #f5e8f5; 
	border-color: #d53dcd;
}
section .error-unclosed {
	color: #f44336;
}
section .error-nesting {
	color: #ff9800; 
}
section .error-orphan {
	color: #d53dcd;
}