/* DaData address suggestions dropdown */

.cdek-suggest-dropdown {
	position: absolute;
	z-index: 999999;
	background: #fff;
	border: 1px solid #ddd;
	border-top: none;
	border-radius: 0 0 4px 4px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
	max-height: 280px;
	overflow-y: auto;
	box-sizing: border-box;
}

.cdek-suggest-item {
	padding: 10px 14px;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	border-bottom: 1px solid #f0f0f0;
	transition: background-color 0.15s ease;
}

.cdek-suggest-item:last-child {
	border-bottom: none;
}

.cdek-suggest-item:hover,
.cdek-suggest-item--active {
	background-color: #f0f7ff;
}

.cdek-suggest-value {
	flex: 1;
	font-size: 14px;
	line-height: 1.4;
	color: #333;
}

.cdek-suggest-postcode {
	flex-shrink: 0;
	font-size: 12px;
	color: #888;
	background: #f5f5f5;
	padding: 2px 8px;
	border-radius: 3px;
	font-family: monospace;
}

/* Ensure input has relative positioning for dropdown alignment */
input[data-cdek-suggest] {
	position: relative;
}
