/*
Table of Contents:

1.  General Container & Spacing
2.  Table Layout & Cells
3.  Specific Table Columns
4.  Product/Variation Item Display
5.  Status Marks (In Stock, Out of Stock, On Backorder)
6.  Utility Classes
7.  Loading & Saving Indicators
*/

/* 1. General Container & Spacing */
.uimfwc_save_products_submit_container {
	display: flex;
	align-items: center;
	gap: 5px;
}

/* 2. Table Layout & Cells */
.uimfwc_inventory_manager .wp-list-table {
	table-layout: fixed;
	width: 100%;
}

.uimfwc_inventory_manager .wp-list-table.variableproducts {
	table-layout: auto; /* Override fixed layout for these specific tables */
}

.uimfwc_inventory_manager .wp-list-table td,
.uimfwc_inventory_manager .wp-list-table th {
	padding: 8px 10px;
	vertical-align: middle;
}

.uimfwc_inventory_manager .variations.column-variations table {
	border: 1px solid lightgray;
}

/* 3. Specific Table Columns */
.uimfwc_inventory_manager td.image.column-image {
	text-align: center;
}

/* 4. Product/Variation Item Display */
.uimfwc_inventory_manager .variation_item {
	display: flex;
	align-items: center;
	gap: 10px;
}

.uimfwc_inventory_manager .variations.column-variations {
	display: flex;
	gap: 10px;
	flex-direction: column;
}

.uimfwc_inventory_manager .image.column-image img {
	width: 50px;
	height: 50px;
}

.uimfwc_inventory_manager table.wp-list-table span.wc-featured,
.uimfwc_inventory_manager table.wp-list-table span.wc-image {
	display: block;
	text-indent: -9999px;
	position: relative;
	height: 1em;
	width: 1em;
	margin: 0 auto;
}

.uimfwc_inventory_manager table.wp-list-table span.wc-featured::before,
.uimfwc_inventory_manager table.wp-list-table span.wc-image::before {
	font-family: Dashicons;
	speak: never;
	font-weight: 400;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	-webkit-font-smoothing: antialiased;
	margin: 0;
	text-indent: 0;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	text-align: center;
	content: "\f128"; /* Dashicon for 'star-filled' */
}

/* 5. Status Marks (In Stock, Out of Stock, On Backorder) */
.uimfwc_inventory_manager table.wp-list-table mark.outofstock {
	color: #a44;
}

.uimfwc_inventory_manager table.wp-list-table mark.instock {
	color: #7ad03a;
}

.uimfwc_inventory_manager table.wp-list-table mark.onbackorder {
	color: #eaa600;
}

.uimfwc_inventory_manager table.wp-list-table mark.instock,
.uimfwc_inventory_manager table.wp-list-table mark.onbackorder,
.uimfwc_inventory_manager table.wp-list-table mark.outofstock {
	font-weight: 700;
	background: transparent none;
	line-height: 1;
}

/* 6. Utility Classes */
.uimfwc-d-none {
	display: none;
}

/* 7. Loading & Saving Indicators */
.uimfwc_inventory_manager .uimfwc_product_inventory_quantity_bulk {
	border: 1px solid #d5d5d5;
}

.uimfwc_inventory_manager .product_saving_loading_image {
	background-image: url(/wp-admin/images/spinner.gif);
	background-repeat: no-repeat;
	background-position: center;
	background-size: auto;
	width: 20px;
	height: 20px;
	display: inline-block;
}