/* Location picker inside the "Add a post" form — matches the existing
   gpc-submit-* form styling so it doesn't look bolted on. */
.gpc-map-picker {
	margin: 10px 0 14px;
}

.gpc-map-picker-row {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	margin-bottom: 8px;
}
.gpc-map-picker-btn {
	flex: 1;
	padding: 8px 12px;
	font-size: 12.5px;
	white-space: nowrap;
}

.gpc-map-picker-hint {
	margin: 0 0 8px;
}

.gpc-map-picker-map {
	width: 100%;
	height: 220px;
	border-radius: 12px;
	border: 2px solid #e2e2e2;
	overflow: hidden;
	background: #f2f2f2;
}

/* Leaflet injects its own tile/control markup inside this container —
   just make sure it fills the rounded box above cleanly. */
.gpc-map-picker-map .leaflet-container {
	width: 100%;
	height: 100%;
	border-radius: 10px;
	font-family: inherit;
}

@media (max-width: 480px) {
	.gpc-map-picker-map { height: 180px; }
	.gpc-map-picker-btn { font-size: 11.5px; padding: 8px 10px; }
}
