.tfp-city-autocomplete {
	position: relative;
	width: 100%;
}

.tfp-city-input {
	text-transform: none;
}

.tfp-city-hint {
	display: block;
	margin-top: 6px;
	color: #64748b;
	font-size: 12px;
	line-height: 1.35;
}

.tfp-city-dropdown {
	position: absolute;
	left: 0;
	right: 0;
	top: calc(100% + 8px);
	z-index: 1200;
	max-height: 280px;
	overflow-y: auto;
	padding: 8px;
	border: 1px solid rgba(203, 213, 225, 0.95);
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.98);
	box-shadow: 0 22px 60px rgba(15, 23, 42, 0.18);
	backdrop-filter: blur(14px);
}

.tfp-city-dropdown[hidden] {
	display: none !important;
}

.tfp-city-dropdown__title {
	padding: 6px 8px 8px;
	color: #64748b;
	font-size: 10px;
	font-weight: 900;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.tfp-city-option {
	width: 100%;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 10px;
	padding: 10px 11px;
	border: 0;
	border-radius: 13px;
	background: transparent;
	cursor: pointer;
	text-align: left;
}

.tfp-city-option:hover,
.tfp-city-option:focus-visible {
	outline: none;
	background: #eef6ff;
}

.tfp-city-option__name {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	color: #0f172a;
	font-size: 13px;
	font-weight: 900;
}

.tfp-city-option__region {
	flex: 0 0 auto;
	padding: 5px 8px;
	border-radius: 999px;
	background: #eff6ff;
	color: #2563eb;
	font-size: 10px;
	font-weight: 900;
	white-space: nowrap;
}

.tfp-city-empty {
	display: grid;
	gap: 3px;
	padding: 12px;
	color: #64748b;
	font-size: 12px;
	text-align: center;
}

.tfp-city-empty strong {
	color: #0f172a;
	font-size: 12px;
}

@media (max-width: 560px) {
	.tfp-city-dropdown {
		max-height: 240px;
		border-radius: 16px;
	}

	.tfp-city-option {
		grid-template-columns: 1fr;
		gap: 5px;
		padding: 10px;
	}

	.tfp-city-option__region {
		width: fit-content;
		font-size: 9px;
	}
}
