.foodord-admin-nav {
	margin: 16px 0 20px;
	width: 100%;
	position: relative;
	z-index: 101;
	clear: both;
}

.foodord-admin-nav__wrapper {
	display: flex;
	width: 100%;
	align-items: center;
	padding: 10px;
	background: #fff;
	border: 1px solid #dcdcde;
	border-radius: 12px;
	position: relative;
	box-sizing: border-box;
	min-height: 56px;
}

.foodord-admin-nav__list {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
	flex: 1;
	min-width: 0;
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	-ms-overflow-style: none;
	max-height: 38px;
}

.foodord-admin-nav__list::-webkit-scrollbar {
	display: none;
	width: 0;
	height: 0;
}

.foodord-admin-nav__toggle-wrap {
	margin-left: 12px;
	position: relative;
	flex-shrink: 0;
	display: block;
	visibility: hidden;
	pointer-events: none;
}

.foodord-admin-nav.is-ready:not(.is-collapsible) .foodord-admin-nav__toggle-wrap {
	display: none;
}

.foodord-admin-nav.is-collapsible .foodord-admin-nav__toggle-wrap {
	display: block;
}

.foodord-admin-nav.is-ready.is-collapsible .foodord-admin-nav__toggle-wrap {
	visibility: visible;
	pointer-events: auto;
}

.foodord-admin-nav__dropdown {
	position: absolute;
	top: calc(100% + 12px);
	right: 0;
	z-index: 1000;
	min-width: 200px;
	background: #fff;
	border: 1px solid #dcdcde;
	border-radius: 12px;
	padding: 8px;
	margin: 0;
	list-style: none;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
	pointer-events: none;
}

.foodord-admin-nav.is-expanded .foodord-admin-nav__dropdown {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	pointer-events: auto;
}

.foodord-admin-nav__dropdown .foodord-admin-nav__item {
	width: 100%;
	display: block;
}

.foodord-admin-nav__dropdown .foodord-admin-nav__link {
	display: flex;
	width: 100%;
	padding: 10px 16px;
	background: transparent;
	border-radius: 8px;
	font-size: 13px;
	color: #1d2327;
}

.foodord-admin-nav__dropdown .foodord-admin-nav__link:hover {
	background: #f0f0f1;
	color: var(--wp-admin-theme-color, #2271b1);
}

.foodord-admin-nav__dropdown .foodord-admin-nav__link.is-active {
	background: rgba(34, 113, 177, 0.08);
	color: var(--wp-admin-theme-color, #2271b1);
	font-weight: 700;
}

.foodord-admin-nav__item {
	margin: 0;
	padding: 0;
	flex-shrink: 0;
	border-radius: 999px;
}

.foodord-admin-nav__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 14px;
	border: 1px solid transparent;
	border-radius: 999px;
	box-sizing: border-box;
	background-clip: padding-box;
	text-decoration: none;
	font-weight: 600;
	font-size: 13px;
	line-height: 1.2;
	color: #1d2327;
	background: #f6f7f7;
	overflow: hidden;
	-webkit-tap-highlight-color: transparent;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.foodord-admin-nav__link:hover,
.foodord-admin-nav__link:active {
	border-color: transparent;
	border-radius: 999px;
	background: var(--wp-admin-theme-color, #2271b1);
	color: #ffffff;
	text-decoration: none;
}

.foodord-admin-nav__link:focus,
.foodord-admin-nav__link:focus-visible {
	border-color: transparent;
	border-radius: 999px;
	outline: none;
	box-shadow: none;
	text-decoration: none;
}

.foodord-admin-nav__link.is-active,
.foodord-admin-nav__link.is-active:active,
.foodord-admin-nav__link.is-active:focus {
	border-color: transparent;
	border-radius: 999px;
	background: var(--wp-admin-theme-color, #2271b1);
	color: #fff;
}

.foodord-admin-nav__toggle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 16px;
	border-radius: 999px;
	border: 1px solid #dcdcde;
	background: #fff;
	color: #1d2327;
	cursor: pointer;
	font-weight: 600;
	font-size: 13px;
	line-height: 1;
	transition: all 0.2s ease;
	white-space: nowrap;
}

.foodord-admin-nav__toggle:hover {
	background: #f6f7f7;
	border-color: #c3c4c7;
}

.foodord-admin-nav.is-expanded .foodord-admin-nav__toggle .dashicons {
	transform: rotate(180deg);
}

.foodord-admin-nav__link .foodord-admin-badge {
	display: inline-flex;
	align-items: center;
	padding: 2px 8px;
	border-radius: 5px;
	font-size: 10px;
	font-weight: 700;
	background: rgba(0, 0, 0, 0.08);
}

.foodord-admin-nav__link .foodord-admin-badge--pro {
	background: #3858e9;
	color: #ffffff;
}

.foodord-admin-nav__link:hover .foodord-admin-badge--pro,
.foodord-admin-nav__link:active .foodord-admin-badge--pro,
.foodord-admin-nav__link.is-active .foodord-admin-badge--pro {
	background: #ffffff;
	color: #3858e9;
}

.foodord-admin-nav__link.is-active .foodord-admin-badge {
	background: rgba(255, 255, 255, 0.22);
}

.foodord-admin-nav__link.is-active .foodord-admin-badge--pro {
	background: #ffffff;
	color: #3858e9;
}

@media (max-width: 782px) {
	.foodord-admin-nav__wrapper {
		padding: 8px;
		gap: 6px;
	}

	.foodord-admin-nav__link {
		padding: 7px 11px;
		font-size: 12px;
	}
}

.wrap>.foodord-admin-nav:first-child {
	margin-top: 50px;
}
