/* ===== Map preview (submit forms) ===== */
.wb-map-preview {
	height: 18.75rem;
	border-radius: var(--wb-border-radius, 0.9375rem);
	overflow: hidden;
	margin-top: 0.5rem;
}

/* ===== Address search row ===== */
.wb-address-search {
	display: flex;
	gap: 0.5rem;
}

.wb-address-search input {
	flex: 1;
}

/* ===== Geocode results dropdown ===== */
.wb-geocode-results {
	background: rgba(0, 0, 0, 0.6);
	border-radius: calc(var(--wb-border-radius, 0.9375rem) / 2);
	margin-top: 0.25rem;
	max-height: 12.5rem;
	overflow-y: auto;
}

.wb-geocode-item {
	padding: 0.5rem 0.75rem;
	cursor: pointer;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 0.875rem;
}

.wb-geocode-item:hover {
	background: rgba(255, 255, 255, 0.1);
}

.wb-geocode-item:last-child {
	border-bottom: none;
}

/* ===== Leaflet control color override ===== */
/* Prevent context theme color cascade (.wb-ctx-* span/a) from leaking into map controls */
.leaflet-control *,
.leaflet-control a {
	color: #333 !important;
	text-decoration: none !important;
}
