/**
 * Admin Tom Select — aspect pe un rând (formulare legacy înguste).
 * Placeholder = data-placeholder pe <select>; option value="" rămâne fără text.
 * Font ~13.33px ca selectul nativ (Chrome pe form controls), nu 11pt/14.67px din body.
 */
.ts-wrapper.js-tom-select,
.ts-wrapper.single {
	min-width: 211px;
	max-width: 100%;
	display: inline-block;
	vertical-align: middle;
}

.ts-wrapper .ts-control,
.ts-wrapper .ts-control input,
.ts-dropdown,
.ts-dropdown .option,
.ts-dropdown .optgroup-header {
	font-size: 14px;
	line-height: 1.3;
}

.ts-wrapper.js-tom-select-wide {
	width: 100%;
	min-width: 320px;
	max-width: 520px;
}

.ts-wrapper .ts-control {
	min-height: 28px;
	padding: 4px 8px;
	flex-wrap: nowrap;
	align-items: center;
	overflow: hidden;
}

.ts-wrapper.single .ts-control {
	display: flex;
	flex-wrap: nowrap;
}

.ts-wrapper .ts-control > input {
	min-width: 4rem !important;
	width: auto !important;
	flex: 1 1 auto;
	line-height: 1.3;
	margin: 0 !important;
}

.ts-wrapper .ts-control .item {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 100%;
	line-height: 1.3;
}

.ts-wrapper .ts-control input::placeholder {
	white-space: nowrap;
	opacity: 0.65;
}

/* Placeholder când nu e selectat nimic (Tom Select pune textul în control) */
.ts-wrapper.single.input-active .ts-control .item,
.ts-wrapper.single .ts-control > div:not(.clear-button) {
	white-space: nowrap;
}

/* Opțiuni lungi (email user) pe un singur rând în dropdown */
.ts-dropdown .option {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
