/* piaDropdown.css — Styles for the PIA features dropdown component */

/* ------------------------------------------------------------------ */
/* Trigger button — compact, icon-only                                 */
/* ------------------------------------------------------------------ */
.pia-dropdown-trigger-btn {
	padding: 2px 7px !important;
	min-width: 0 !important;
	display: inline-flex !important;
	align-items: center !important;
	gap: 3px;
	vertical-align: middle;
	cursor: pointer;
	white-space: nowrap;
	line-height: 1;
}

/* Prevent the primary_floating ::after star from appearing (that class is not used,
   but guard in case it leaks in via cascade) */
.pia-dropdown-trigger-btn::after {
	content: none !important;
}

/* Suppress the ::before PIA icon injected by .generate-text-label in sve7.css
   (that rule adds an absolute-positioned ia.png at right:10px — we use our own <img> instead) */
label.pia-dropdown-trigger-wrap::before {
	content: none !important;
}

.pia-dropdown-trigger-btn .ia-icon-style,
.pia-dropdown-trigger-btn .pia-dropdown-icon {
	display: inline-block;
	width: 18px;
	height: 18px;	
	margin: 0 !important;
	vertical-align: middle;
	pointer-events: none;
	flex-shrink: 0;
}

.pia-dropdown-icon-fallback {
	font-size: 14px;
	line-height: 1;
	vertical-align: middle;
	pointer-events: none;
}

/* .pia-dropdown-chevron removed — trigger shows icon-only (no chevron) */

/* ------------------------------------------------------------------ */
/* Floating panel                                                       */
/* ------------------------------------------------------------------ */
.pia-dropdown-panel {
	background: #ffffff;
	border: 1px solid #d0d0d0;
	border-radius: 6px;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
	min-width: 210px;
	max-width: 340px;
	overflow: hidden;
	padding: 4px 0;
	/* z-index set inline by JS to 99999 */
}

/* ------------------------------------------------------------------ */
/* Panel items                                                          */
/* ------------------------------------------------------------------ */
.pia-dropdown-item {
	padding: 9px 16px;
	font-size: 13px;
	color: #333333;
	cursor: pointer;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	transition: background-color 0.10s ease, color 0.10s ease;
}

.pia-dropdown-item:hover {
	background-color: #eef2ff;
	color: #1a1acc;
}

.pia-dropdown-item:active {
	background-color: #d8e0ff;
}