.ltlms-google-map-block {
	--ltlms-map-height: 400px;
	margin: 1.25em 0;
}

.ltlms-google-map-block__canvas {
	width: 100%;
	height: var(--ltlms-map-height);
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	overflow: hidden;
	background: #f0f0f1;
}

.ltlms-google-map-block__embed-wrap {
	position: relative;
	width: 100%;
	height: var(--ltlms-map-height);
	overflow: hidden;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
}

.ltlms-google-map-block__iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

.ltlms-google-map-block__label {
	margin: 0.5em 0 0;
	font-weight: 600;
}

.ltlms-google-map-block__address {
	font-weight: 400;
	color: #50575e;
}

.ltlms-google-map-block__link {
	margin: 0.35em 0 0;
	font-size: 0.95em;
}

/* No Leaflet / tile attribution on course maps */
.ltlms-google-map-block .leaflet-control-attribution {
	display: none !important;
}

/* Google-style map type / layer picker (bottom-left) */
.ltlms-google-map-block--google_leaflet .leaflet-bottom.leaflet-left {
	margin-bottom: 10px;
	margin-left: 10px;
}

.ltlms-google-map-block--google_leaflet .leaflet-control-layers {
	border: none;
	border-radius: 2px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.ltlms-google-map-block--google_leaflet .leaflet-control-layers-toggle {
	width: 40px;
	height: 40px;
	background-size: 24px 24px;
}

.ltlms-google-map-block--google_leaflet .leaflet-control-layers-expanded {
	padding: 6px 10px 6px 6px;
	font-size: 13px;
	line-height: 1.4;
	background: #fff;
}

.ltlms-google-map-block--google_leaflet .leaflet-control-layers-list label {
	margin-bottom: 4px;
}

.ltlms-google-map-block__attribution {
	display: none;
}

.ltlms-google-map-block__notice {
	margin: 0;
	padding: 1em;
	background: #fcf9e8;
	border-left: 4px solid #dba617;
	color: #1d2327;
}

.ltlms-google-map-editor {
	margin: 0;
}

.ltlms-google-map-editor__preview {
	--ltlms-map-height: 400px;
	margin: 0;
}

.ltlms-google-map-editor__preview .ltlms-google-map-block__canvas,
.ltlms-google-map-editor__preview .ltlms-google-map-block__embed-wrap {
	height: var(--ltlms-map-height);
	min-height: 200px;
}

.ltlms-google-map-editor__preview--empty {
	padding: 0;
}

.ltlms-google-map-editor__preview--empty .ltlms-google-map-block__notice {
	margin: 0;
}

.ltlms-google-map-editor__status {
	margin: 0 0 8px;
	font-size: 13px;
}

.ltlms-google-map-block--ltlms-pin .ltlms-map-pin-icon {
	width: 32px;
	height: 42px;
	margin-left: -16px;
	margin-top: -42px;
}

.ltlms-google-map-block__notice--inline {
	margin: 0.5em 0 0;
	padding: 0.65em 0.85em;
	font-size: 0.9em;
	background: #f0f6fc;
	border-left: 4px solid #2271b1;
}

.ltlms-google-map-editor__pin-media {
	margin-top: 8px;
}

.ltlms-google-map-editor__pin-preview {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: 8px;
}

.ltlms-google-map-editor__pin-preview img {
	display: block;
	border: 1px solid #c3c4c7;
	border-radius: 2px;
	background: #fff;
}

.ltlms-google-map-editor__pin-size {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	margin-top: 8px;
}

.ltlms-map-pin-icon--custom {
	background: transparent;
	border: 0;
}
