/* Harta sălii — previzualizare + overlay fullscreen cu zoom și pan.
   Limbajul vizual e aliniat cu lightbox-ul existent al site-ului (.nl-lb). */

.wdt-seatmap {
	--wdt-auriu: #e1c093;
	--wdt-accent: #be116d;

	margin: 0 0 24px;
}

.wdt-seatmap__link {
	position: relative;
	display: block;
	line-height: 0;
	overflow: hidden;
	cursor: zoom-in;
}

.wdt-seatmap__img {
	display: block;
	width: 100%;
	height: auto;
	transition: transform .4s ease, opacity .3s ease;
}

.wdt-seatmap__link:hover .wdt-seatmap__img,
.wdt-seatmap__link:focus-visible .wdt-seatmap__img {
	transform: scale(1.02);
	opacity: .9;
}

.wdt-seatmap__link:focus-visible {
	outline: 2px solid var(--wdt-auriu);
	outline-offset: 3px;
}

.wdt-seatmap__indiciu {
	position: absolute;
	right: 12px;
	bottom: 12px;
	padding: 7px 12px;
	background: rgba(10, 0, 8, .78);
	color: #fff;
	font-size: 13px;
	line-height: 1.2;
	letter-spacing: .02em;
	opacity: 0;
	transform: translateY(6px);
	transition: opacity .25s ease, transform .25s ease;
}

.wdt-seatmap__link:hover .wdt-seatmap__indiciu,
.wdt-seatmap__link:focus-visible .wdt-seatmap__indiciu {
	opacity: 1;
	transform: none;
}

.wdt-seatmap__legenda {
	margin-top: 10px;
	color: rgba(242, 236, 239, .7);
	font-size: 14px;
	text-align: center;
}

.wdt-seatmap__eroare {
	padding: 12px 16px;
	border-left: 3px solid var(--wdt-accent);
	background: rgba(190, 17, 109, .12);
}

/* ------------------------------------------------------------- overlay */

.wdt-smap[hidden] {
	display: none !important;
}

.wdt-smap {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(10, 0, 8, .94);
	opacity: 0;
	transition: opacity .25s ease;
	overscroll-behavior: contain;
	touch-action: none;
}

.wdt-smap.este-deschis {
	opacity: 1;
}

.wdt-smap__scena {
	position: absolute;
	inset: 0;
	overflow: hidden;
	cursor: grab;
}

.wdt-smap__scena.trage {
	cursor: grabbing;
}

.wdt-smap__img {
	position: absolute;
	top: 0;
	left: 0;
	max-width: none;
	transform-origin: 0 0;
	will-change: transform;
	user-select: none;
	-webkit-user-drag: none;
}

.wdt-smap.anima .wdt-smap__img {
	transition: transform .22s ease-out;
}

/* butoane */

.wdt-smap button {
	position: absolute;
	padding: 12px;
	border: 0;
	background: transparent;
	color: #fff;
	cursor: pointer;
	font-size: 32px;
	line-height: 1;
	opacity: .75;
	transition: opacity .2s ease;
}

.wdt-smap button:hover,
.wdt-smap button:focus-visible {
	opacity: 1;
}

.wdt-smap button:focus-visible {
	outline: 2px solid var(--wdt-auriu, #e1c093);
	outline-offset: 2px;
}

.wdt-smap__inchide {
	top: 6px;
	right: 10px;
	font-size: 40px;
}

.wdt-smap__unelte {
	position: absolute;
	right: 0;
	bottom: 18px;
	left: 0;
	display: flex;
	justify-content: center;
	gap: 6px;
	pointer-events: none;
}

.wdt-smap__unelte button {
	position: static;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, .28);
	background: rgba(10, 0, 8, .6);
	font-size: 22px;
	pointer-events: auto;
}

.wdt-smap__nivel {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 68px;
	height: 46px;
	padding: 0 10px;
	border: 1px solid rgba(255, 255, 255, .28);
	background: rgba(10, 0, 8, .6);
	color: rgba(255, 255, 255, .85);
	font-size: 13px;
	font-variant-numeric: tabular-nums;
	letter-spacing: .04em;
	pointer-events: none;
}

.wdt-smap__ajutor {
	position: absolute;
	top: 14px;
	left: 0;
	right: 0;
	color: rgba(255, 255, 255, .62);
	font-size: 13px;
	text-align: center;
	pointer-events: none;
}

html.wdt-smap-blocat {
	overflow: hidden;
}

@media (max-width: 640px) {
	.wdt-smap__ajutor {
		display: none;
	}

	.wdt-smap__unelte button,
	.wdt-smap__nivel {
		height: 42px;
	}

	.wdt-smap__unelte button {
		width: 42px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.wdt-smap,
	.wdt-smap.anima .wdt-smap__img,
	.wdt-seatmap__img,
	.wdt-seatmap__indiciu {
		transition: none !important;
	}
}
