.zdv-wrapper {
	max-width: 100%;
	margin: 20px 0;
}

.zdv-meta-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 16px;
}

.zdv-counter {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #eef6ff;
	border: 1px solid #cfe3fb;
	border-radius: 20px;
	padding: 6px 16px;
	font-weight: 600;
	color: #1e88e5;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.zdv-counter.zdv-counter-complete {
	background: #edfaef;
	border-color: #b7e4bd;
	color: #1e5b26;
}

.zdv-hint-btn {
	padding: 8px 16px;
	border: 1px solid #f5a623;
	background: #fff8e1;
	color: #8a6100;
	border-radius: 20px;
	font-weight: 600;
	cursor: pointer;
}

.zdv-hint-btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.zdv-reset-btn {
	padding: 6px 14px;
	border-radius: 20px;
	border: 1px solid #ccc;
	background: #fff;
	color: #555;
	font-weight: 600;
	cursor: pointer;
	font-size: 13px;
}

.zdv-reset-btn:hover {
	background: #f5f5f5;
	color: #222;
}

.zdv-zoom-controls {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 16px;
}

.zdv-zoom-btn {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	border: 1px solid #ccc;
	background: #fff;
	font-size: 18px;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #333;
}

.zdv-zoom-btn:hover {
	background: #f0f0f0;
}

.zdv-zoom-slider {
	width: 140px;
}

.zdv-zoom-value {
	font-size: 13px;
	color: #555;
	min-width: 42px;
}

.zdv-zoom-viewport {
	max-width: 100%;
	overflow: auto;
	touch-action: none;
}

.zdv-zoom-outer {
	display: inline-block;
	transform-origin: top left;
	transition: transform 0.12s ease;
}

.zdv-images-row {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
}

.zdv-image-stage {
	position: relative;
	flex: 1 1 300px;
	max-width: 480px;
	border-radius: 8px;
	overflow: hidden;
	border: 2px solid #333;
}

.zdv-image {
	width: 100%;
	height: auto;
	display: block;
	cursor: crosshair;
	-webkit-user-select: none;
	user-select: none;
}

.zdv-marker-layer {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
}

.zdv-found-marker {
	position: absolute;
	width: 30px;
	height: 30px;
	border: 3px solid #43a047;
	border-radius: 50%;
	background: rgba( 67, 160, 71, 0.25 );
	transform: translate(-50%, -50%);
	animation: zdv-pop 0.3s ease;
}

.zdv-miss-marker {
	position: absolute;
	width: 20px;
	height: 20px;
	border: 3px solid #e53935;
	border-radius: 50%;
	transform: translate(-50%, -50%);
	opacity: 0.8;
}

.zdv-hint-marker {
	position: absolute;
	width: 40px;
	height: 40px;
	border: 3px solid #f5a623;
	border-radius: 50%;
	transform: translate(-50%, -50%);
	animation: zdv-pulse 1s ease-in-out infinite;
}

@keyframes zdv-pop {
	from { transform: translate(-50%, -50%) scale(0.5); opacity: 0; }
	to { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}

@keyframes zdv-pulse {
	0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
	50% { transform: translate(-50%, -50%) scale(1.3); opacity: 0.5; }
}

.zdv-feedback {
	margin-top: 12px;
	font-weight: 600;
	min-height: 20px;
}

.zdv-feedback.zdv-feedback-success {
	color: #1e5b26;
}

.zdv-feedback.zdv-feedback-miss {
	color: #b32d2e;
}

/* Admin markeertool */
.zdv-marker-dot {
	position: absolute;
	width: 24px;
	height: 24px;
	background: #e53935;
	color: #fff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	font-weight: 700;
	transform: translate(-50%, -50%);
	cursor: pointer;
	border: 2px solid #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}
