/**
 * Active Plugins First Module Styles
 *
 * @package ActivePluginsFirst
 * @since 1.0.0
 */

.plugins .wp-list-table {
	width: 100%;
}

.plugins .wp-list-table td.colspanchange,
.plugins .wp-list-table td[colspan] {
	width: 100%;
	box-sizing: border-box;
}

.wp-powersuite-plugin-heading {
	background: #e5e5e5;
	border-top: 2px solid #2271b1;
}

.wp-powersuite-plugin-heading td {
	background: #e5e5e5;
	padding: 12px 10px;
}

.wp-powersuite-plugin-heading__inner {
	display: flex;
	align-items: center;
}

.wp-powersuite-plugin-heading h2 {
	margin: 0;
	font-size: 14px;
	font-weight: 600;
	color: #1d2327;
}

.wp-powersuite-plugin-heading__toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	margin-right: 8px;
	padding: 0;
	border: none;
	border-radius: 4px;
	background: transparent;
	cursor: pointer;
	transition: background 0.15s ease;
}

.wp-powersuite-plugin-heading__toggle:hover {
	background: rgba(0, 0, 0, 0.08);
}

.wp-powersuite-plugin-heading__toggle svg {
	width: 16px;
	height: 16px;
	transition: transform 0.2s ease;
}

.wp-powersuite-plugin-heading__toggle[aria-expanded="false"] svg {
	transform: rotate(-90deg);
}

.wp-powersuite-plugin-heading__count {
	display: inline-block;
	margin-left: 8px;
	padding: 2px 8px;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.4;
	color: #50575e;
	background: rgba(0, 0, 0, 0.06);
	border-radius: 10px;
}

.wp-list-table[data-apf-collapsed-active="true"] tr[data-section="active"]:not(.wp-powersuite-plugin-heading) {
	display: none;
}

.wp-list-table[data-apf-collapsed-inactive="true"] tr[data-section="inactive"]:not(.wp-powersuite-plugin-heading) {
	display: none;
}
