/* =========================================================
   Morganti Ju-Jitsu — Combobox de mestre (busca)
   ========================================================= */
.mgen-combo {
	position: relative;
	display: block;
	width: 100%;
}
.mgen-combo-input {
	width: 100% !important;
	padding-right: 30px !important;
	box-sizing: border-box;
	cursor: text;
}
.mgen-combo-seta {
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
	color: #8a8285;
	font-size: 12px;
	pointer-events: auto;
	cursor: pointer;
}
.mgen-combo-lista {
	display: none;
	position: absolute;
	z-index: 100000;
	left: 0;
	right: 0;
	top: calc(100% + 3px);
	max-height: 240px;
	overflow-y: auto;
	background: #fff;
	border: 1px solid #c9c2c3;
	border-radius: 8px;
	box-shadow: 0 10px 26px rgba(0, 0, 0, .18);
	padding: 4px;
	-webkit-overflow-scrolling: touch;
}
.mgen-combo-aberto .mgen-combo-lista { display: block; }

.mgen-combo-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 8px 10px;
	border-radius: 6px;
	cursor: pointer;
	font-size: 14px;
	color: #1c1d1f;
}
.mgen-combo-item:hover { background: #f5ebec; }
.mgen-combo-item.sel { background: #f3e0e2; font-weight: 600; }
.mgen-combo-item-vazio { color: #6b6668; font-style: italic; }
.mgen-combo-nome { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mgen-combo-badge {
	flex: 0 0 auto;
	min-width: 22px;
	height: 20px;
	padding: 0 6px;
	border-radius: 20px;
	background: #9c1622;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.mgen-combo-nada {
	padding: 10px;
	color: #8a8285;
	font-size: 13px;
	font-style: italic;
	text-align: center;
}
