/**
 * CPT Countries Map - jsVectorMap custom styling
 */

.cptcm-map-wrapper {
	width: 100%;
	position: relative;
	margin: 0 auto;
}

/* Cursor pointer op landen met data (voor klikbaarheid) */
.cptcm-map-wrapper .jvm-region {
	transition: fill 0.15s ease;
}

/* Tooltip - BOVEN alle landen */
.jvm-tooltip {
	background: rgba(17, 24, 39, 0.94);
	color: #fff;
	padding: 8px 12px;
	border-radius: 6px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-size: 13px;
	line-height: 1.4;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
	border: none;
	max-width: 280px;
	z-index: 100000 !important;
	position: absolute;
	pointer-events: none;
}

.jvm-tooltip .cptcm-tooltip-single {
	font-weight: 600;
	font-size: 14px;
}

.jvm-tooltip .cptcm-tooltip-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.jvm-tooltip .cptcm-tooltip-list li {
	padding: 2px 0;
	font-weight: 500;
}

/* Legende onder de kaart */
.cptcm-legend {
	margin: 16px 0 0;
}

.cptcm-legend-items {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
	margin: 0;
	padding: 0;
	list-style: none;
	justify-content: center;
}

.cptcm-legend-item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: #374151;
}

.cptcm-legend-swatch {
	display: inline-block;
	width: 16px;
	height: 16px;
	border-radius: 3px;
	border: 1px solid rgba(0, 0, 0, 0.15);
	flex-shrink: 0;
}

.cptcm-legend-label {
	font-weight: 500;
}

/* Landenlijst onder de kaart */
.cptcm-list {
	margin: 24px 0 0;
	font-family: inherit;
}

.cptcm-list-items {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cptcm-list-item {
	display: flex;
	flex-direction: column;
	padding: 12px 16px;
	background: #f9fafb;
	border: 1px solid #e5e7eb;
	border-radius: 6px;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.cptcm-list-item:hover {
	border-color: #9ca3af;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.cptcm-list-title {
	font-weight: 600;
	font-size: 15px;
	color: #111827;
	text-decoration: none;
	margin-bottom: 4px;
}

.cptcm-list-title:hover {
	text-decoration: underline;
}

.cptcm-list-term {
	font-size: 12px;
	color: #6b7280;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	font-weight: 500;
}

.jvm-tooltip a {
	color: #93c5fd;
	text-decoration: none;
}

.jvm-tooltip a:hover {
	text-decoration: underline;
}

/* Zoom controls */
.jvm-zoom-btn {
	background: #fff;
	border: 1px solid #d1d5db;
	color: #374151;
	width: 28px;
	height: 28px;
	border-radius: 4px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
	transition: all 0.15s ease;
	z-index: 10;
}

.jvm-zoom-btn:hover {
	background: #f3f4f6;
	border-color: #9ca3af;
}
