/* Търсачка над списъка с фондове в прозореца за запазване (insurers-dropdown.js; plain CSS, no build). */
.insurers-search {
	position: relative;
	padding: 0.5rem;
	border-bottom: 1px solid var(--wp--preset--color--footer-border-light);
	background: var(--wp--preset--color--white);
}

.insurers-search__icon {
	position: absolute;
	top: 50%;
	left: 1.25rem;
	transform: translateY(-50%);
	color: var(--wp--preset--color--base-dark);
	pointer-events: none;
}

.insurers-search input.insurers-search__input {
	box-sizing: border-box;
	width: 100%;
	margin: 0;
	padding: 0.625rem 0.875rem 0.625rem 2.5rem;
	border: 1px solid var(--wp--preset--color--footer-border-light);
	border-radius: 999px;
	background: var(--wp--preset--color--surface-muted);
	color: var(--wp--preset--color--primary);
	font: inherit;
	font-size: 1rem; /* 16px — no zoom-on-focus in iOS Safari */
	line-height: 1.4;
	-webkit-appearance: none;
	appearance: none;
}

.insurers-search input.insurers-search__input::placeholder {
	color: var(--wp--preset--color--base-dark);
}

.insurers-search input.insurers-search__input:focus {
	outline: none;
	border-color: var(--wp--preset--color--third);
	background: var(--wp--preset--color--white);
}

.insurers-search input.insurers-search__input::-webkit-search-cancel-button {
	cursor: pointer;
}

.custom-dropdown__option[hidden] {
	display: none;
}

.insurers-search__empty {
	margin: 0;
	padding: 1rem;
	color: var(--wp--preset--color--base-dark);
	font-size: 0.875rem;
}

.insurers-search__empty[hidden] {
	display: none;
}

/* The menu has a fixed max height (custom-dropdown.scss); leave room for the search row. */
.insurers-search + .custom-dropdown__menu-inner {
	max-height: 15rem;
}
