.badgehub-map-wrapper {
	display: flex;
	gap: 24px;
	flex-wrap: wrap;
	align-items: flex-start;
	direction: rtl;
	font-family: inherit;
}

.badgehub-map-svg-holder {
	flex: 1 1 420px;
	min-width: 280px;
	max-width: 560px;
}

.badgehub-map-svg-holder svg {
	width: 100%;
	height: auto;
	display: block;
}

.badgehub-province {
	fill: #d9d2ab;
	stroke: #8a8262;
	stroke-width: 1;
	cursor: pointer;
	transition: fill 0.15s ease;
	outline: none;
}

.badgehub-province:hover,
.badgehub-province:focus {
	fill: #e8a33d;
}

.badgehub-province.badgehub-province-active {
	fill: #2271b1;
	stroke: #14415f;
}

.badgehub-map-panel {
	flex: 1 1 300px;
	min-width: 260px;
	border: 1px solid #dcdcde;
	border-radius: 8px;
	padding: 16px;
	background: #fff;
}

.badgehub-map-panel h3 {
	margin-top: 0;
	margin-bottom: 12px;
	font-size: 17px;
}

.badgehub-map-placeholder {
	color: #666;
	font-size: 14px;
}

.badgehub-map-agency-card {
	border: 1px solid #eee;
	border-radius: 6px;
	padding: 10px 12px;
	margin-bottom: 10px;
}

.badgehub-map-agency-card .badgehub-map-agency-name {
	font-weight: 700;
	font-size: 15px;
	margin-bottom: 2px;
}

.badgehub-map-agency-card .badgehub-map-agency-meta {
	font-size: 13px;
	color: #555;
	margin-bottom: 6px;
	line-height: 1.6;
}

.badgehub-map-status {
	display: inline-block;
	padding: 2px 9px;
	border-radius: 12px;
	font-size: 11px;
	color: #fff;
	margin-inline-start: 6px;
}

.badgehub-map-status-active {
	background: #00a32a;
}

.badgehub-map-status-expired {
	background: #d63638;
}

.badgehub-map-status-inactive {
	background: #787c82;
}

.badgehub-map-view-link {
	display: inline-block;
	margin-top: 4px;
	padding: 5px 14px;
	background: #2271b1;
	color: #fff !important;
	border-radius: 4px;
	font-size: 13px;
	text-decoration: none !important;
}

.badgehub-map-view-link:hover {
	opacity: 0.9;
}

.badgehub-map-loading {
	color: #666;
	font-size: 14px;
}

@media (max-width: 600px) {
	.badgehub-map-wrapper {
		flex-direction: column;
	}
	.badgehub-map-svg-holder {
		max-width: 100%;
	}
}
