section.glossary-examples {
	margin-block: 64px;
}
.demo-container {
	max-width: 1200px;
	margin: 0 auto;
	background: white;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	overflow: hidden;
}
.demo-header {
	background: #f8f9fa;
	padding: 20px;
	border-bottom: 1px solid #e9ecef;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.demo-title {
	font-size: 24px;
	font-weight: 600;
	color: #333;
}
.demo-content {
	display: flex;
}
.controls-panel {
	width: 50%;
	background: #f8f9fa;
	border-right: 1px solid #e9ecef;
	padding: 20px;
}
.control-group {
	margin-bottom: 12px;
}
.control-option {
	display: block;
	width: 100%;
	padding: 12px 16px;
	margin-bottom: 8px;
	background: white;
	border: 2px solid #dee2e6;
	border-radius: 6px;
	cursor: pointer;
	font-family: "Monaco", "Menlo", "Ubuntu Mono", monospace;
	font-size: 14px;
	color: #198754;
	transition: all 0.2s;
	text-align: left;
	position: relative;
}
.control-option:hover {
	border-color: #adb5bd;
	background: #f8f9fa;
}
.control-option.active {
	border-color: #0d6efd;
	background: #e7f1ff;
	color: #0d6efd;
}
.control-option.copied {
	border-color: #198754;
	background: #d1e7dd;
	color: #198754;
}
.copy-feedback {
	position: absolute;
	top: -10px;
	left: 50%;
	transform: translateX(-50%);
	background: #198754;
	color: white;
	padding: 4px 8px;
	border-radius: 4px;
	font-size: 8px;
	opacity: 0;
	transition: opacity 0.3s;
	pointer-events: none;
}
.copy-feedback.show {
	opacity: 1;
}
.preview-panel {
	width: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
}
.preview-container {
	width: 100%;
}
.preview {
	width: 100%;
	height: 200px;
	border-radius: 8px;
	background: #f8f9fa;
	padding: 20px;
	transition: all 0.3s ease;
	position: relative;
}
.preview img {
	max-width: 100%;
	max-height: 100%;
	border-radius: 4px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	transition: transform 0.2s;
}
.preview img:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}
/* Background image specific styles */
.preview-bg {
	width: 100%;
	height: 200px;
	border-radius: 8px;
	background: #f8f9fa;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	transition: all 0.3s ease;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
.preview-bg::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.1);
	transition: background 0.3s ease;
}
.preview-bg:hover::before {
	background: rgba(0, 0, 0, 0.05);
}
.bg-content {
	position: relative;
	z-index: 1;
	color: white;
	text-align: center;
	padding: 20px;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
	font-size: 18px;
	font-weight: 600;
}
/* стилі для тексту на головному контейнері */
.preview_container_text {
	padding: 20px;
}
@media (max-width: 768px) {
	.demo-content {
		flex-direction: column;
	}
	.controls-panel {
		flex: none;
		width: 100%;
	}
	.preview-panel {
		width: 100%;
		padding: 20px;
	}
}
