.bw-mm-admin-fields {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
	align-items: flex-end;
	margin-bottom: 8px;
}

.bw-mm-admin-fields label {
	display: flex;
	flex-direction: column;
	font-size: 13px;
	font-weight: 600;
}

.bw-mm-admin-fields label span {
	margin-bottom: 4px;
	color: #1d2327;
}

.bw-mm-admin-fields input[type="text"],
.bw-mm-admin-fields input[type="search"] {
	min-width: 200px;
}

.bw-mm-search-wrap {
	flex: 1 1 280px;
	flex-direction: row !important;
	align-items: flex-end;
	gap: 8px;
}

.bw-mm-search-wrap span {
	width: 100%;
}

.bw-mm-search-wrap input {
	flex: 1 1 auto;
}

#bw-mm-admin-map .bw-mm-marker {
	background: #2563eb;
	color: #fff;
	border: 2px solid #fff;
	border-radius: 50%;
	width: 28px;
	height: 28px;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 6px rgba(15, 23, 42, 0.35);
}

/* Google Maps URL fetcher. */
.bw-mm-gmaps-row {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 10px;
	margin-top: 12px;
	padding: 12px;
	background: #f0f6fc;
	border: 1px solid #c5d9ed;
	border-radius: 6px;
}

.bw-mm-gmaps-label {
	flex: 1 1 360px;
	display: flex;
	flex-direction: column;
	font-size: 13px;
	font-weight: 600;
	min-width: 0;
}

.bw-mm-gmaps-label span {
	margin-bottom: 4px;
	color: #1d2327;
}

.bw-mm-gmaps-label input {
	width: 100%;
}

.bw-mm-gmaps-status {
	flex: 1 1 100%;
	font-size: 13px;
	min-height: 1.2em;
	color: #50575e;
}

.bw-mm-gmaps-status.is-loading { color: #50575e; font-style: italic; }
.bw-mm-gmaps-status.is-success { color: #1e7e34; font-weight: 600; }
.bw-mm-gmaps-status.is-error   { color: #c2410c; font-weight: 600; }

/* Category icon picker. */
.bw-mm-term-icon-field .bw-mm-icon-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
	gap: 8px;
	margin: 8px 0 4px;
	max-width: 720px;
}

.bw-mm-icon-tile {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	padding: 10px 6px;
	background: #fff;
	border: 1px solid #ccd0d4;
	border-radius: 6px;
	cursor: pointer;
	color: #1d2327;
	font-size: 11px;
	transition: border-color 120ms ease, box-shadow 120ms ease, transform 120ms ease, background-color 120ms ease;
}

.bw-mm-icon-tile:hover {
	border-color: #2271b1;
	background: #f6f7f7;
}

.bw-mm-icon-tile.is-active {
	border-color: #2271b1;
	background: #2271b1;
	color: #fff;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.2);
}

.bw-mm-icon-tile .bw-mm-icon {
	width: 22px;
	height: 22px;
}

.bw-mm-icon-tile-label {
	line-height: 1.2;
	text-align: center;
}

/* Term list column. */
.column-bw_mm_icon { width: 60px; }
.column-bw_mm_icon .bw-mm-icon { color: #2563eb; }
