/* VTD Venue Hotel 3D Map */

.vtd-vh-map-wrapper {
	margin: 30px 0;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	overflow: hidden;
}

.vtd-vh-map-heading {
	font-size: 24px;
	font-weight: 700;
	margin: 0 0 20px 0;
	padding-bottom: 10px;
	border-top: 2px solid #000;
}

.vtd-vh-map-content {
	display: flex;
	flex-direction: row;
	gap: 0;
	min-height: 500px;
}

/* Sidebar */
.vtd-vh-map-sidebar {
	width: 30%;
	min-width: 220px;
	max-height: 600px;
	overflow-y: auto;
	border-top: 1px solid #ddd;
}

.vtd-vh-map-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 16px;
	border-bottom: 1px solid #ddd;
	cursor: pointer;
	transition: background-color 0.15s;
}

.vtd-vh-map-item:hover {
	background-color: #f5f5f5;
}

.vtd-vh-map-item.active {
	background-color: #eee;
	font-weight: 700;
}

.vtd-vh-map-item-name {
	font-size: 15px;
	line-height: 1.3;
	flex: 1;
	padding-right: 10px;
}

.vtd-vh-map-item-arrow {
	font-size: 10px;
	color: #333;
	flex-shrink: 0;
}

/* Main map area */
.vtd-vh-map-main {
	flex: 1;
	display: flex;
	flex-direction: column;
	min-width: 0;
}

/* Tabs */
.vtd-vh-map-tabs {
	display: flex;
}

.vtd-vh-map-tab {
	flex: 1;
	padding: 12px 20px;
	border: none;
	background: #f0f0f0;
	font-size: 15px;
	font-weight: 400;
	cursor: pointer;
	transition: background-color 0.15s;
	text-align: center;
}

.vtd-vh-map-tab:hover {
	background: #e5e5e5;
}

.vtd-vh-map-tab.active {
	background: #fff;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 4px;
}

/* Map container */
#vtd-vh-map {
	flex: 1;
	min-height: 400px;
	width: 100%;
}


/* Popups */
.vtd-vh-map-popup {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-size: 13px;
	line-height: 1.4;
}

.vtd-vh-map-popup-img {
	width: 100%;
	height: 120px;
	object-fit: cover;
	border-radius: 4px;
	margin-bottom: 8px;
	display: block;
}

.vtd-vh-map-popup strong {
	display: block;
	font-size: 14px;
	margin-bottom: 4px;
}

.vtd-vh-map-popup p {
	margin: 0 0 6px 0;
	color: #555;
	font-size: 12px;
}

.vtd-vh-map-popup a {
	color: #2563eb;
	text-decoration: none;
	font-weight: 600;
	font-size: 13px;
}

.vtd-vh-map-popup a:hover {
	text-decoration: underline;
}

/* Notice (no token / no items) */
.vtd-vh-map-notice {
	color: #666;
	font-style: italic;
	padding: 20px;
}

/* Marker pulse effect (uses box-shadow, not transform, to avoid conflicting with Mapbox positioning) */
.vtd-vh-map-marker-pulse {
	box-shadow: 0 0 0 8px rgba(37, 99, 235, 0.4), 0 1px 4px rgba(0,0,0,0.4) !important;
}

/* Mobile responsive */
@media (max-width: 768px) {
	.vtd-vh-map-content {
		flex-direction: column;
	}

	.vtd-vh-map-sidebar {
		width: 100%;
		max-height: 200px;
		min-width: unset;
	}

	.vtd-vh-map-main {
		width: 100%;
	}

	#vtd-vh-map {
		min-height: 350px;
	}

	.vtd-vh-map-item {
		padding: 12px 14px;
	}

	.vtd-vh-map-item-name {
		font-size: 14px;
	}
}
