.wcdb-location {
	margin: 0 0 1.5em;
}

.wcdb-label {
	display: block;
	margin-bottom: 0.4em;
	font-weight: 600;
}

.wcdb-location gmp-place-autocomplete {
	width: 100%;
	color-scheme: light;
}

.wcdb-status {
	margin-top: 0.75em;
	padding: 0.75em 1em;
	border-left: 4px solid #6b7280;
	background: #f3f4f6;
	color: #1f2937;
}

.wcdb-status--clear {
	border-left-color: #15803d;
	background: #f0fdf4;
}

.wcdb-status--limited {
	border-left-color: #b45309;
	background: #fffbeb;
}

.wcdb-status--restricted,
.wcdb-status--unknown,
.wcdb-status--outside,
.wcdb-status--error {
	border-left-color: #b91c1c;
	background: #fef2f2;
}

.wcdb-status a {
	font-weight: 600;
	white-space: nowrap;
}

.wcdb-map-panel {
	margin-top: 0.75em;
}

.wcdb-map {
	width: 100%;
	height: 320px;
}

/* Two classes to beat the list padding in Divi's content styles. */
.wcdb-location .wcdb-legend {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25em 1em;
	margin: 0.5em 0 0;
	padding: 0;
	list-style: none;
	font-size: 0.85em;
}

.wcdb-location .wcdb-legend li {
	display: flex;
	align-items: center;
	padding: 0;
}

.wcdb-swatch {
	width: 12px;
	height: 12px;
	margin-right: 0.4em;
	border-radius: 2px;
}

/* Keep in step with COLORS in booking-location.js. */
.wcdb-swatch--0 {
	background: #dc2626;
}

.wcdb-swatch--100 {
	background: #ea580c;
}

.wcdb-swatch--250 {
	background: #eab308;
}

.wcdb-swatch--400 {
	background: #16a34a;
}
