/* City multi-select dropdown (see includes/js/city-multiselect.js) */
.wjp-city-ms {
	position: relative;
	width: 100%;
	box-sizing: border-box;
	text-align: left;
}
.wjp-city-ms *,
.wjp-city-ms *::before,
.wjp-city-ms *::after {
	box-sizing: border-box;
}
.wjp-city-ms .wjp-city-ms-toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	width: 100%;
	min-height: 48px;
	margin: 0;
	padding: 11px 14px;
	border: 1px solid #d5e0e7;
	border-radius: 10px;
	background: #fbfcfd;
	color: #8290a1;
	font: inherit;
	font-size: 14px;
	line-height: 24px;
	text-align: left;
	text-transform: none;
	letter-spacing: normal;
	box-shadow: none;
	cursor: pointer;
}
.wjp-city-ms.has-value .wjp-city-ms-toggle {
	color: #33455b;
}
.wjp-city-ms .wjp-city-ms-toggle:hover {
	background: #fff;
}
.wjp-city-ms .wjp-city-ms-toggle:focus-visible,
.wjp-city-ms.is-open .wjp-city-ms-toggle {
	outline: 0;
	border-color: #3baeda;
	background: #fff;
	box-shadow: 0 0 0 3px rgba(59, 174, 218, .14);
}
.wjp-city-ms.has-error .wjp-city-ms-toggle {
	border-color: #e05252;
}
.wjp-city-ms .wjp-city-ms-summary {
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}
.wjp-city-ms .wjp-city-ms-caret {
	flex: 0 0 auto;
	width: 8px;
	height: 8px;
	margin-top: -4px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	transition: transform .15s ease;
}
.wjp-city-ms.is-open .wjp-city-ms-caret {
	margin-top: 4px;
	transform: rotate(-135deg);
}

.wjp-city-ms .wjp-city-ms-panel {
	display: none;
	position: absolute;
	z-index: 1000;
	top: calc(100% + 6px);
	left: 0;
	right: 0;
	padding: 8px;
	border: 1px solid #d5e0e7;
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 12px 28px rgba(34, 55, 76, .14);
}
.wjp-city-ms.is-open .wjp-city-ms-panel {
	display: block;
}
.wjp-city-ms .wjp-city-ms-filter {
	display: block;
	width: 100%;
	min-height: 0;
	margin: 0 0 6px;
	padding: 8px 10px;
	border: 1px solid #d5e0e7;
	border-radius: 8px;
	background: #fbfcfd;
	font-size: 14px;
	line-height: 20px;
}
.wjp-city-ms .wjp-city-ms-filter:focus {
	outline: 0;
	border-color: #3baeda;
	background: #fff;
}
.wjp-city-ms .wjp-city-ms-options {
	max-height: 240px;
	margin: 0;
	padding: 0;
	overflow-y: auto;
	list-style: none;
}
.wjp-city-ms .wjp-city-ms-option {
	margin: 0;
	padding: 0;
	list-style: none;
}
.wjp-city-ms .wjp-city-ms-option.is-filtered {
	display: none;
}
.wjp-city-ms .wjp-city-ms-option label {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 8px 10px;
	border-radius: 6px;
	color: #33455b;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.35;
	cursor: pointer;
}
.wjp-city-ms .wjp-city-ms-option label:hover {
	background: #eaf7fc;
}
.wjp-city-ms .wjp-city-ms-option input[type="checkbox"] {
	flex: 0 0 auto;
	width: 16px;
	height: 16px;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	accent-color: #3baeda;
}
.wjp-city-ms .wjp-city-ms-empty {
	display: none;
	margin: 0;
	padding: 8px 10px;
	color: #8290a1;
	font-size: 13px;
}
.wjp-city-ms.no-results .wjp-city-ms-empty {
	display: block;
}

.wjp-city-ms .wjp-city-ms-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.wjp-city-ms.has-value .wjp-city-ms-chips {
	margin-top: 8px;
}
.wjp-city-ms .wjp-city-ms-chip {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin: 0;
	padding: 3px 4px 3px 10px;
	border-radius: 999px;
	background: #eaf7fc;
	color: #1f6f8f;
	font-size: 13px;
	line-height: 20px;
}
.wjp-city-ms .wjp-city-ms-chip-remove {
	display: inline-grid;
	place-items: center;
	width: 20px;
	height: 20px;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: inherit;
	font-size: 15px;
	line-height: 1;
	box-shadow: none;
	cursor: pointer;
}
.wjp-city-ms .wjp-city-ms-chip-remove:hover,
.wjp-city-ms .wjp-city-ms-chip-remove:focus-visible {
	outline: 0;
	background: rgba(31, 111, 143, .14);
}
.wjp-city-ms .wjp-city-ms-error {
	display: none;
	margin: 6px 0 0;
	color: #b91c1c;
	font-size: 13px;
}
.wjp-city-ms.has-error .wjp-city-ms-error {
	display: block;
}
