/**
 * WooCommerce product Downloads tab styles.
 *
 * @package DownloadMonitorMultipleFiles
 */

.dlm-wc-product-downloads-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.dlm-wc-product-download-item {
	margin: 0 0 0.75em;
	padding: 0;
}

.dlm-wc-product-download-link {
	display: inline-block;
	text-decoration: underline;
	font-weight: 600;
}

.dlm-wc-product-download-link:hover,
.dlm-wc-product-download-link:focus {
	text-decoration: none;
}

/* Admin dual-list for product category picker */
.dlm-pd-dual-select {
	display: flex;
	align-items: stretch;
	gap: 16px;
	max-width: 900px;
	margin: 12px 0 20px;
}

.dlm-pd-dual-select .dlm-pd-column {
	flex: 1;
	min-width: 0;
}

.dlm-pd-dual-select select {
	width: 100%;
	min-height: 220px;
}

.dlm-pd-dual-select .dlm-pd-arrows {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 10px;
}

.dlm-pd-mode-row {
	margin: 12px 0;
}

.dlm-pd-mode-row label {
	margin-right: 16px;
	display: inline-block;
}

.dlm-pd-help {
	max-width: 720px;
}

.dlm-pd-picker-disabled {
	opacity: 0.45;
	pointer-events: none;
}

/* Product tab order list */
.dlm-tab-order-wrap {
	max-width: 640px;
	margin: 12px 0 24px;
}

.dlm-tab-order-list {
	list-style: none;
	margin: 0 0 12px;
	padding: 0;
	border: 1px solid #c3c4c7;
	background: #fff;
}

.dlm-tab-order-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 12px;
	border-bottom: 1px solid #dcdcde;
	margin: 0;
}

.dlm-tab-order-item:last-child {
	border-bottom: none;
}

.dlm-tab-order-label {
	flex: 1;
	font-weight: 600;
	min-width: 0;
}

.dlm-tab-order-key {
	color: #646970;
	font-size: 12px;
}

.dlm-tab-order-actions {
	display: flex;
	gap: 4px;
	flex-shrink: 0;
}

.dlm-tab-order-actions .button {
	padding: 0 4px;
	min-height: 30px;
	line-height: 1;
}

.dlm-tab-order-actions .dashicons {
	line-height: 1.4;
	width: 18px;
	height: 18px;
	font-size: 18px;
}
