/* PinSwitch User Switcher admin bar panel — scoped to beat #wpadminbar .quicklinks a rules */

#wpadminbar #wp-admin-bar-pinswitch-menu > .ab-sub-wrapper {
	display: none !important;
}

#wpadminbar #wp-admin-bar-pinswitch-menu {
	position: relative;
}

#wpadminbar #wp-admin-bar-pinswitch-menu .pinswitch-panel {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 999999;
	width: 380px;
	max-width: calc(100vw - 24px);
	background: #1d2327;
	border: 1px solid #3c434a;
	border-radius: 0 0 8px 8px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
	color: #f0f0f1;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	text-align: left;
	float: none !important;
	margin: 0 !important;
	padding: 0 !important;
	line-height: 1.3 !important;
	height: auto !important;
	min-height: 0 !important;
	box-sizing: border-box !important;
}

#wpadminbar #wp-admin-bar-pinswitch-menu .pinswitch-panel.is-open {
	display: flex !important;
	flex-direction: column;
}

#wpadminbar #wp-admin-bar-pinswitch-menu .pinswitch-panel,
#wpadminbar #wp-admin-bar-pinswitch-menu .pinswitch-panel * {
	box-sizing: border-box !important;
}

#wpadminbar #wp-admin-bar-pinswitch-menu .pinswitch-panel__tabs {
	display: flex !important;
	flex-direction: row !important;
	gap: 0;
	border-bottom: 1px solid #3c434a;
	padding: 0 6px;
	float: none !important;
	height: auto !important;
}

#wpadminbar #wp-admin-bar-pinswitch-menu .pinswitch-panel__tab {
	flex: 1 1 auto;
	appearance: none;
	background: transparent !important;
	border: 0 !important;
	border-bottom: 2px solid transparent !important;
	border-radius: 0 !important;
	color: #a7aaad !important;
	cursor: pointer;
	display: block !important;
	font-size: 11px !important;
	font-weight: 600 !important;
	line-height: 1 !important;
	margin: 0 !important;
	padding: 8px 6px 6px !important;
	height: auto !important;
	min-height: 0 !important;
	min-width: 0 !important;
	white-space: nowrap !important;
	box-shadow: none !important;
}

#wpadminbar #wp-admin-bar-pinswitch-menu .pinswitch-panel__tab:hover,
#wpadminbar #wp-admin-bar-pinswitch-menu .pinswitch-panel__tab:focus {
	color: #fff !important;
	outline: none !important;
	background: transparent !important;
}

#wpadminbar #wp-admin-bar-pinswitch-menu .pinswitch-panel__tab.is-active {
	color: #fff !important;
	border-bottom-color: #72aee6 !important;
}

#wpadminbar #wp-admin-bar-pinswitch-menu .pinswitch-panel__search {
	display: block !important;
	padding: 6px 8px;
	border-bottom: 1px solid #3c434a;
	float: none !important;
	height: auto !important;
}

#wpadminbar #wp-admin-bar-pinswitch-menu .pinswitch-panel__search input[type="search"] {
	width: 100% !important;
	height: 28px !important;
	padding: 0 8px !important;
	border: 1px solid #3c434a !important;
	border-radius: 4px !important;
	background: #2c3338 !important;
	color: #f0f0f1 !important;
	font-size: 12px !important;
	line-height: 28px !important;
	box-shadow: none !important;
	margin: 0 !important;
	min-width: 0 !important;
	float: none !important;
	display: block !important;
}

#wpadminbar #wp-admin-bar-pinswitch-menu .pinswitch-panel__search input::placeholder {
	color: #8c8f94;
}

#wpadminbar #wp-admin-bar-pinswitch-menu .pinswitch-panel__search input:focus {
	border-color: #72aee6 !important;
	outline: none !important;
}

#wpadminbar #wp-admin-bar-pinswitch-menu .pinswitch-panel__list {
	display: block !important;
	height: 320px !important;
	max-height: 320px !important;
	overflow-y: auto !important;
	overflow-x: hidden !important;
	-webkit-overflow-scrolling: touch;
	float: none !important;
	padding: 0 !important;
	margin: 0 !important;
}

#wpadminbar #wp-admin-bar-pinswitch-menu .pinswitch-panel__list.is-loading-only {
	display: flex !important;
	align-items: center;
	justify-content: center;
}

#wpadminbar #wp-admin-bar-pinswitch-menu .pinswitch-panel__list.is-loading-only .pinswitch-panel__loading {
	width: 100%;
}

#wpadminbar #wp-admin-bar-pinswitch-menu .pinswitch-panel__empty,
#wpadminbar #wp-admin-bar-pinswitch-menu .pinswitch-panel__loading,
#wpadminbar #wp-admin-bar-pinswitch-menu .pinswitch-panel__end {
	display: block !important;
	padding: 16px 12px !important;
	text-align: center;
	color: #a7aaad !important;
	font-size: 11px !important;
	line-height: 1.4 !important;
	height: auto !important;
	float: none !important;
}

#wpadminbar #wp-admin-bar-pinswitch-menu .pinswitch-user-row {
	display: flex !important;
	flex-direction: row !important;
	align-items: stretch !important;
	border-bottom: 1px solid #2c3338 !important;
	float: none !important;
	height: auto !important;
	min-height: 0 !important;
}

#wpadminbar #wp-admin-bar-pinswitch-menu a.pinswitch-user__main {
	display: flex !important;
	flex-direction: row !important;
	align-items: flex-start !important;
	flex: 1 1 auto !important;
	gap: 8px;
	padding: 6px 8px !important;
	margin: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	text-decoration: none !important;
	color: #f0f0f1 !important;
	background: transparent !important;
	box-shadow: none !important;
	height: auto !important;
	min-height: 0 !important;
	line-height: 1.25 !important;
	white-space: normal !important;
	float: none !important;
	min-width: 0 !important;
	width: auto !important;
}

#wpadminbar #wp-admin-bar-pinswitch-menu a.pinswitch-user__main:hover,
#wpadminbar #wp-admin-bar-pinswitch-menu a.pinswitch-user__main:focus {
	background: #2c3338 !important;
	color: #f0f0f1 !important;
	outline: none !important;
}

#wpadminbar #wp-admin-bar-pinswitch-menu .pinswitch-user__actions {
	display: flex !important;
	flex: 0 0 auto !important;
	align-items: flex-start !important;
	gap: 4px;
	padding: 12px 6px 0 0 !important;
	float: none !important;
	height: auto !important;
}

#wpadminbar #wp-admin-bar-pinswitch-menu a.pinswitch-user__pin-link,
#wpadminbar #wp-admin-bar-pinswitch-menu a.pinswitch-user__unpin-link,
#wpadminbar #wp-admin-bar-pinswitch-menu a.pinswitch-user__switch-link {
	display: inline-block !important;
	padding: 2px 6px !important;
	margin: 0 !important;
	border: 1px solid #3c434a !important;
	border-radius: 3px !important;
	font-size: 10px !important;
	font-weight: 600 !important;
	line-height: 1.2 !important;
	text-decoration: none !important;
	white-space: nowrap !important;
	float: none !important;
	height: auto !important;
	box-shadow: none !important;
}

#wpadminbar #wp-admin-bar-pinswitch-menu a.pinswitch-user__pin-link {
	color: #a7aaad !important;
	background: transparent !important;
}

#wpadminbar #wp-admin-bar-pinswitch-menu a.pinswitch-user__pin-link:hover,
#wpadminbar #wp-admin-bar-pinswitch-menu a.pinswitch-user__pin-link:focus {
	color: #f0c33c !important;
	border-color: #f0c33c !important;
	background: #2c3338 !important;
	outline: none !important;
}

#wpadminbar #wp-admin-bar-pinswitch-menu a.pinswitch-user__unpin-link {
	color: #a7aaad !important;
	background: transparent !important;
}

#wpadminbar #wp-admin-bar-pinswitch-menu a.pinswitch-user__unpin-link:hover,
#wpadminbar #wp-admin-bar-pinswitch-menu a.pinswitch-user__unpin-link:focus {
	color: #f87171 !important;
	border-color: #f87171 !important;
	background: #2c3338 !important;
	outline: none !important;
}

#wpadminbar #wp-admin-bar-pinswitch-menu a.pinswitch-user__switch-link {
	color: #72aee6 !important;
	background: transparent !important;
}

#wpadminbar #wp-admin-bar-pinswitch-menu a.pinswitch-user__switch-link:hover,
#wpadminbar #wp-admin-bar-pinswitch-menu a.pinswitch-user__switch-link:focus {
	color: #9ec2e6 !important;
	border-color: #72aee6 !important;
	background: #2c3338 !important;
	outline: none !important;
}

#wpadminbar #wp-admin-bar-pinswitch-menu .pinswitch-user__avatar {
	display: block !important;
	flex: 0 0 28px;
	width: 28px !important;
	height: 28px !important;
	border-radius: 50%;
	overflow: hidden;
	background: #3c434a;
	float: none !important;
	margin-top: 1px;
}

#wpadminbar #wp-admin-bar-pinswitch-menu .pinswitch-user__avatar img {
	display: block !important;
	width: 28px !important;
	height: 28px !important;
	max-width: 28px !important;
	border: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	float: none !important;
}

#wpadminbar #wp-admin-bar-pinswitch-menu .pinswitch-user__meta {
	display: block !important;
	flex: 1 1 auto;
	min-width: 0;
	float: none !important;
	height: auto !important;
}

#wpadminbar #wp-admin-bar-pinswitch-menu .pinswitch-user__name-row {
	display: flex !important;
	align-items: center !important;
	gap: 6px;
	min-width: 0;
	float: none !important;
	height: auto !important;
}

#wpadminbar #wp-admin-bar-pinswitch-menu .pinswitch-user__name {
	display: block !important;
	flex: 1 1 auto;
	min-width: 0;
	font-size: 12px !important;
	font-weight: 600 !important;
	color: #fff !important;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	line-height: 1.25 !important;
	height: auto !important;
	float: none !important;
}

#wpadminbar #wp-admin-bar-pinswitch-menu .pinswitch-user__login,
#wpadminbar #wp-admin-bar-pinswitch-menu .pinswitch-user__email {
	display: block !important;
	font-size: 10px !important;
	line-height: 1.3 !important;
	height: auto !important;
	float: none !important;
	white-space: normal !important;
	overflow: visible !important;
	text-overflow: clip !important;
	word-break: break-word;
}

#wpadminbar #wp-admin-bar-pinswitch-menu .pinswitch-user__login {
	margin-top: 1px;
	color: #8c8f94 !important;
}

#wpadminbar #wp-admin-bar-pinswitch-menu .pinswitch-user__email {
	margin-top: 1px;
	color: #a7aaad !important;
}

#wpadminbar #wp-admin-bar-pinswitch-menu .pinswitch-user__role {
	display: inline-block !important;
	flex: 0 0 auto;
	padding: 0 5px !important;
	border-radius: 3px;
	background: #3c434a !important;
	color: #c3c4c7 !important;
	font-size: 9px !important;
	font-weight: 600 !important;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	line-height: 16px !important;
	height: 16px !important;
	float: none !important;
	white-space: nowrap;
}

#wpadminbar #wp-admin-bar-pinswitch-menu .pinswitch-user__pin {
	color: #f0c33c !important;
	margin-right: 1px;
}

#wpadminbar #wp-admin-bar-pinswitch-menu.hover > .ab-item,
#wpadminbar #wp-admin-bar-pinswitch-menu > .ab-item:focus {
	background: #2c3338;
}
