.tml-combo {
	position: relative;
	margin-top: 4px;
}

.tml-combo-trigger {
	position: relative;
	padding: 14px 40px 14px 16px;
	border: 1px solid #ddd;
	border-radius: 4px;
	background: #f7f7f5;
	color: #6b7280;
	font-family: inherit;
	font-size: 15px;
	font-weight: 400;
	cursor: pointer;
	user-select: none;
}

.tml-combo-trigger::after {
	content: '';
	position: absolute;
	right: 16px;
	top: 50%;
	width: 0;
	height: 0;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-top: 6px solid #999;
	transform: translateY(-50%);
}

.tml-combo-trigger:hover {
	border-color: #c9a227;
}

.tml-combo-panel {
	position: absolute;
	top: calc(100% + 4px);
	left: 0;
	right: 0;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 4px;
	max-height: 280px;
	overflow-y: auto;
	z-index: 9999;
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.tml-combo-group-label {
	padding: 8px 16px;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #999;
	background: #fafafa;
}

.tml-combo-option {
	padding: 11px 16px;
	font-size: 15px;
	cursor: pointer;
	color: #333;
}

.tml-combo-option:hover {
	background: #f5efdc;
}

.tml-combo-manual-toggle {
	border-top: 1px solid #eee;
	color: #b8860b;
	font-weight: 400;
}

.tml-combo-manual-box {
	padding: 12px 16px;
	border-top: 1px solid #eee;
	background: #fafafa;
}

.tml-combo-trigger-input {
	width: 100%;
	box-sizing: border-box;
	font-family: inherit;
	outline: none;
}

.tml-combo-trigger-input::placeholder {
	color: #999;
}

.tml-combo-input-row {
	display: flex;
	align-items: center;
	border: 1px solid #ddd;
	border-radius: 4px;
	background: #f7f7f5;
	padding: 0 4px 0 16px;
}

.tml-combo-input-row .tml-combo-trigger-input {
	border: none;
	background: transparent;
	padding: 14px 8px 14px 0;
	font-size: 15px;
	font-weight: 400;
	color: #333;
	flex: 1;
}

.tml-combo-back-btn {
	padding: 8px 10px;
	color: #999;
	cursor: pointer;
	font-size: 14px;
	border-radius: 3px;
}

.tml-combo-back-btn:hover {
	background: #ece7d8;
	color: #b8860b;
}
