/* AIO Tools Admin Base Styles */
.php-error #adminmenuback,
.php-error #adminmenuwrap {
	margin-top: 0;
}

#adminmenu .toplevel_page_aio-settings .wp-menu-image img {
	padding: 5px 0 0;
}

/* Standardized Toggle Switch — Prevents Flexbox Compression & WP Core Checkbox Bleed */
.aio-admin-wrap .aio-switch {
	position: relative;
	display: inline-block !important;
	width: 44px !important;
	min-width: 44px !important;
	max-width: 44px !important;
	height: 24px !important;
	min-height: 24px !important;
	flex: 0 0 44px !important;
	flex-shrink: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	line-height: 1 !important;
	vertical-align: middle;
	box-sizing: border-box;
}

.aio-admin-wrap .aio-switch input[type="checkbox"] {
	position: absolute !important;
	opacity: 0 !important;
	width: 0 !important;
	height: 0 !important;
	min-width: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	box-shadow: none !important;
	pointer-events: none;
}

.aio-admin-wrap .aio-slider {
	position: absolute;
	cursor: pointer;
	inset: 0;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #cbd5e1;
	transition: background-color 0.25s ease, box-shadow 0.25s ease;
	border-radius: 999px;
	box-sizing: border-box;
}

.aio-admin-wrap .aio-slider::before {
	position: absolute;
	content: "";
	height: 18px;
	width: 18px;
	left: 3px;
	top: 3px;
	background-color: #ffffff;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.2);
	transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
	border-radius: 50%;
}

.aio-admin-wrap .aio-switch input[type="checkbox"]:checked + .aio-slider {
	background-color: #10b981;
}

.aio-admin-wrap .aio-switch input[type="checkbox"]:checked + .aio-slider::before {
	transform: translateX(20px);
}
