/**
 * Custom Product Tabs Styles
 * Homefort Theme
 */

/* Documentation Tab */
.product-documentation {
	margin-top: 20px;
}

.documentation-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.documentation-item {
	margin-bottom: 15px;
	padding: 15px;
	background: #f9f9f9;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	transition: all 0.3s ease;
}

.documentation-item:hover {
	background: #fff;
	border-color: #ccc;
	box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.documentation-link {
	display: flex;
	align-items: center;
	text-decoration: none;
	color: #333;
}

.documentation-link:hover {
	color: #000;
}

.file-icon {
	display: inline-block;
	width: 40px;
	height: 40px;
	margin-right: 15px;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 4px;
	position: relative;
	flex-shrink: 0;
}

.file-icon:before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: 12px;
	font-weight: bold;
	color: #666;
}

.file-icon.pdf:before {
	content: 'PDF';
	color: #d32f2f;
}

.file-icon.doc:before,
.file-icon.docx:before {
	content: 'DOC';
	color: #2196f3;
}

.file-icon.xls:before,
.file-icon.xlsx:before {
	content: 'XLS';
	color: #4caf50;
}

.file-icon.zip:before,
.file-icon.rar:before {
	content: 'ZIP';
	color: #ff9800;
}

.file-name {
	font-weight: 500;
	font-size: 14px;
}

/* Consumables Tab */
.woocommerce-Tabs-panel--consumables .products {
	margin-top: 20px;
}

/* Admin Meta Box Styles */
.documentation-file-item {
	padding: 10px;
	margin-bottom: 5px;
	background: #f9f9f9;
	border: 1px solid #ddd;
	border-radius: 3px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.documentation-file-item span {
	font-weight: bold;
	flex: 1;
}

.documentation-file-item a {
	margin: 0 10px;
}

#documentation_files_list {
	margin-bottom: 15px;
	max-height: 300px;
	overflow-y: auto;
}

#product_consumables_select {
	min-height: 200px;
}
