/* VGT Maps – frontend */
.vgt-map-wrap { position: relative; }
.vgt-map { width: 100%; border-radius: 12px; z-index: 0; }

/* Hotel name + address, centered above single-hotel maps */
.vgt-map-heading { text-align: center; margin: 0 0 12px; }
.vgt-map-heading-title { font-size: 18px; font-weight: 700; color: #1a2233; line-height: 1.3; }
.vgt-map-heading-address { font-size: 14px; color: #666; margin-top: 3px; }

/* Markers */
.vgt-marker-wrap { background: transparent; border: none; }
.vgt-marker {
	display: flex; align-items: center; justify-content: center;
	width: 34px; height: 34px;
	border-radius: 50% 50% 50% 0;
	transform: rotate(-45deg);
	box-shadow: 0 3px 8px rgba(0,0,0,.35);
	border: 2px solid #fff;
}
.vgt-marker svg { width: 17px; height: 17px; transform: rotate(45deg); }

/* Cluster */
.vgt-cluster span {
	display: flex; align-items: center; justify-content: center;
	width: 40px; height: 40px; border-radius: 50%;
	color: #fff; font-weight: 700; font-size: 14px;
	border: 3px solid rgba(255,255,255,.85);
	box-shadow: 0 3px 8px rgba(0,0,0,.3);
}

/* Popup card */
.vgt-popup .leaflet-popup-content-wrapper { padding: 0; border-radius: 12px; overflow: hidden; box-shadow: 0 8px 24px rgba(0,0,0,.22); }
.vgt-popup .leaflet-popup-content { margin: 0; width: 240px !important; }
.vgt-card-img { height: 120px; background-size: cover; background-position: center; }
.vgt-card-body { padding: 12px 14px 14px; }
.vgt-card-title { font-weight: 700; font-size: 15px; line-height: 1.3; margin-bottom: 10px; color: #1a2233; }
.vgt-card-btn {
	display: inline-block; padding: 8px 16px; border-radius: 999px;
	background: var(--vgt-primary, #2CC374); color: #fff !important;
	font-size: 13px; font-weight: 600; text-decoration: none !important;
	transition: background .15s ease;
}
.vgt-card-btn:hover { background: var(--vgt-hover, #1BA25B); }

/* Region pills */
.vgt-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.vgt-pill {
	border: 1.5px solid var(--vgt-primary, #2CC374);
	background: transparent; color: var(--vgt-primary, #2CC374);
	border-radius: 999px; padding: 7px 16px; font-size: 13px; font-weight: 600;
	cursor: pointer; transition: all .15s ease;
}
.vgt-pill:hover { background: var(--vgt-primary, #2CC374); color: #fff; }
.vgt-pill.is-active { background: var(--vgt-primary, #2CC374); color: #fff; }

/* Legend */
.vgt-legend { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 12px; font-size: 13px; color: #444; }
.vgt-legend-item { display: inline-flex; align-items: center; gap: 7px; }
.vgt-legend-dot {
	display: inline-flex; align-items: center; justify-content: center;
	width: 22px; height: 22px; border-radius: 50%;
}
.vgt-legend-dot svg { width: 12px; height: 12px; }

/* Airports / golf courses use the same generic .vgt-marker shape with an inline color */
.vgt-airport-tip.leaflet-tooltip {
	background: #1a2233; color: #fff; border: none; border-radius: 6px;
	font-size: 12px; font-weight: 600; padding: 4px 9px;
}
.vgt-airport-tip.leaflet-tooltip::before { border-top-color: #1a2233; }

.vgt-card-desc { font-size: 13px; color: #555; line-height: 1.4; margin-top: 4px; }
.vgt-course-more {
	display: inline-block; margin-top: 8px; background: none; border: none;
	color: var(--vgt-primary, #2CC374); font-size: 12px; font-weight: 700;
	text-decoration: underline; cursor: pointer; padding: 0;
}
.vgt-course-more:hover { color: var(--vgt-hover, #1BA25B); }

/* Full-description modal (independent of the hover popup so it stays open) */
.vgt-course-modal-overlay {
	position: fixed; inset: 0; background: rgba(20,26,38,.55);
	display: flex; align-items: center; justify-content: center;
	opacity: 0; pointer-events: none; transition: opacity .15s ease;
	z-index: 100000; padding: 20px;
}
.vgt-course-modal-overlay.is-open { opacity: 1; pointer-events: auto; }
.vgt-course-modal {
	position: relative; background: #fff; border-radius: 14px; overflow: hidden;
	max-width: 480px; width: 100%; max-height: 85vh; display: flex; flex-direction: column;
	box-shadow: 0 20px 50px rgba(0,0,0,.3);
}
.vgt-course-modal-img { height: 200px; background-size: cover; background-position: center; flex-shrink: 0; }
.vgt-course-modal-body { padding: 18px 22px 22px; overflow-y: auto; }
.vgt-course-modal-title { font-size: 19px; font-weight: 700; color: #1a2233; margin-bottom: 8px; }
.vgt-course-modal-desc { font-size: 14px; line-height: 1.6; color: #444; white-space: pre-line; }
.vgt-course-modal-close {
	position: absolute; top: 10px; right: 12px; width: 30px; height: 30px;
	border-radius: 50%; border: none; background: rgba(255,255,255,.9);
	font-size: 20px; line-height: 1; cursor: pointer; color: #333;
	box-shadow: 0 2px 6px rgba(0,0,0,.2);
}
.vgt-course-modal-close:hover { background: #fff; }

/* "Other hotels" / "golf courses" toggles */
.vgt-toggle-group { display: flex; flex-direction: row; flex-wrap: wrap; gap: 8px 20px; margin-top: 12px; }
.vgt-nearby-toggle {
	display: flex; align-items: center; gap: 8px;
	font-size: 13px; color: #444; cursor: pointer;
}
.vgt-nearby-toggle input { cursor: pointer; }
.vgt-nearby-status { margin-left: 10px; font-size: 12px; color: #888; font-style: italic; }

/* Satellite/street toggle button */
.vgt-sat-toggle {
	background: #fff; border: none; border-radius: 4px;
	padding: 7px 12px; font-size: 12px; font-weight: 600; color: #333;
	box-shadow: 0 1px 5px rgba(0,0,0,.4); cursor: pointer;
	font-family: inherit;
}
.vgt-sat-toggle:hover { background: #f4f4f4; }

/* Required OpenStreetMap/CARTO attribution — kept per tile usage terms, styled to be unobtrusive */
.vgt-map .leaflet-control-attribution {
	font-size: 9px;
	line-height: 1.3;
	background: rgba(255,255,255,.55);
	padding: 1px 5px;
	border-radius: 4px 0 0 0;
	opacity: .75;
}
.vgt-map .leaflet-control-attribution:hover { opacity: 1; }
