/*=============================================
Styles for Icon and Font Selectors
Reusable Components
===============================================*/

/* Icon Selector Styles */
.icon-item {
	padding: 15px;
	text-align: center;
	border: 2px solid #e0e0e0;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.3s ease;
	background: #fff;
}

.icon-item:hover {
	border-color: #007bff;
	background: #f0f8ff;
	transform: scale(1.05);
}

.icon-item.selected {
	border-color: #007bff;
	background: #e7f3ff;
}

.icon-item i {
	font-size: 2rem;
	display: block;
	margin-bottom: 5px;
}

.icon-item span {
	font-size: 0.75rem;
	color: #666;
	display: block;
	word-break: break-word;
}

.icon-preview {
	display: inline-flex;
	align-items: center;
	font-size: 1.5rem;
	color: #007bff;
}

/* Font Selector Styles */
.font-item {
	padding: 15px;
	border: 2px solid #e0e0e0;
	border-radius: 8px;
	margin-bottom: 10px;
	cursor: pointer;
	transition: all 0.3s ease;
	background: #fff;
}

.font-item:hover {
	border-color: #007bff;
	background: #f0f8ff;
}

.font-item.selected {
	border-color: #007bff;
	background: #e7f3ff;
}

.font-item-name {
	font-size: 1.2rem;
	font-weight: bold;
	margin-bottom: 5px;
}

.font-item-preview {
	font-size: 1rem;
	color: #666;
}

/* Font Preview Container */
.font-preview-container {
	margin-top: 0.5rem;
	padding: 0.5rem;
	border: 1px solid #e9ecef;
	border-radius: 6px;
	background: #f8f9fa;
	display: none;
}

.font-preview-container.show {
	display: block;
}

.font-preview-container small {
	display: block;
	margin-bottom: 0.25rem;
	color: #6c757d;
	font-weight: 500;
}

.font-preview-text {
	font-size: 0.95rem;
}

