/**
 * The button.
 *
 * Reads the host theme's custom properties where they exist and falls back to
 * plain values where they do not, so this looks deliberate on a site that has
 * never heard of it. Add a class of your own through the shortcode to match a
 * theme's buttons exactly.
 */
.mbgl-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	padding: 11px 18px;
	border: 1px solid var(--line-strong, #dadce0);
	border-radius: var(--radius-sm, 8px);
	background: #fff;
	font-family: var(--display, system-ui, -apple-system, sans-serif);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	color: var(--ink, #3c4043);
	text-decoration: none;
	cursor: pointer;
	transition: background .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.mbgl-btn:hover,
.mbgl-btn:focus-visible {
	background: var(--paper-2, #f8f9fa);
	border-color: var(--line-strong, #c6c8ca);
	color: var(--ink, #3c4043);
	box-shadow: 0 1px 3px rgba(60, 64, 67, .2);
}

.mbgl-btn:focus-visible {
	outline: 2px solid var(--accent, #1a73e8);
	outline-offset: 2px;
}

.mbgl-btn svg {
	flex: 0 0 auto;
}

@media (prefers-reduced-motion: reduce) {
	.mbgl-btn {
		transition: none;
	}
}
