/* Recherche utilisateur forfait — typeahead */
.wptotem-user-picker {
	position: relative;
	max-width: 480px;
	margin-bottom: 12px;
}

.wptotem-user-picker__label {
	display: block;
	font-weight: 600;
	margin-bottom: 6px;
}

.wptotem-user-picker__search {
	width: 100%;
	box-sizing: border-box;
	padding: 8px 10px;
	font-size: 14px;
	line-height: 1.4;
	border: 1px solid #8c8f94;
	border-radius: 4px;
	background: #fff;
}

.wptotem-user-picker__search:focus {
	border-color: #2271b1;
	box-shadow: 0 0 0 1px #2271b1;
	outline: none;
}

.wptotem-user-picker__filter {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-top: 8px;
	font-size: 13px;
	color: #50575e;
}

.wptotem-user-picker__results {
	display: none;
	position: absolute;
	left: 0;
	right: 0;
	top: auto;
	z-index: 1000;
	margin: 0;
	padding: 0;
	list-style: none;
	max-height: 280px;
	overflow-y: auto;
	background: #fff;
	border: 1px solid #8c8f94;
	border-radius: 0 0 4px 4px;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.wptotem-user-picker__results.is-open {
	display: block;
}

.wptotem-user-picker__result {
	display: block;
	width: 100%;
	text-align: left;
	padding: 10px 12px;
	border: 0;
	border-bottom: 1px solid #f0f0f1;
	background: #fff;
	cursor: pointer;
	font-size: 14px;
	color: #1d2327;
}

.wptotem-user-picker__result:hover,
.wptotem-user-picker__result.is-active {
	background: #f0f6fc;
}

.wptotem-user-picker__result-name {
	font-weight: 600;
}

.wptotem-user-picker__result-meta {
	margin-top: 2px;
	font-size: 12px;
	color: #646970;
}

.wptotem-user-picker__result-days {
	color: #2271b1;
	font-weight: 600;
}

.wptotem-user-picker__result-days.is-zero {
	color: #b32d2e;
}

.wptotem-user-picker__empty,
.wptotem-user-picker__loading {
	padding: 12px;
	font-size: 13px;
	color: #646970;
}

.wptotem-user-picker__selected {
	display: none;
	margin-top: 10px;
	padding: 10px 12px;
	background: #f6f7f7;
	border-left: 3px solid #2271b1;
	font-size: 13px;
}

.wptotem-user-picker__selected.is-visible {
	display: block;
}

.wptotem-user-picker__clear {
	margin-left: 8px;
	padding: 0;
	border: 0;
	background: none;
	color: #b32d2e;
	cursor: pointer;
	text-decoration: underline;
	font-size: 12px;
}

select.wptotem-user-picker__native {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}
