/**
 * تصاویر محلی عناصر چیدمان — بدون CDN (فایل‌های SVG افزونه).
 */

.nobex-venue-palette__item::before {
	width: 40px;
	height: 40px;
	border-radius: 8px;
	background-color: #f8fafc;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}

.nobex-venue-item__art {
	display: block;
	flex: 1 1 auto;
	width: 100%;
	height: 100%;
	min-height: 0;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	filter: drop-shadow(0 2px 6px rgba(15, 23, 42, 0.14));
	pointer-events: none;
}

.nobex-venue-item--grass .nobex-venue-item__art {
	background-size: cover;
	border-radius: 10px;
	filter: none;
}

.nobex-venue-item--grass {
	border-radius: 10px;
	overflow: hidden;
}

.nobex-venue-item {
	background: transparent;
	border: 2px solid transparent;
	box-shadow: none;
	padding: 0;
	overflow: visible;
}

.nobex-venue-item.is-selected {
	border-color: #2563eb;
	border-radius: 10px;
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
	z-index: 6;
}

.nobex-venue-item__label {
	position: absolute;
	left: 50%;
	bottom: -2px;
	transform: translate(-50%, 100%);
	padding: 1px 6px;
	border-radius: 4px;
	background: rgba(15, 23, 42, 0.85);
	color: #fff;
	font-size: 9px;
	font-weight: 700;
	line-height: 1.3;
	max-width: 140%;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	z-index: 2;
	pointer-events: none;
}

.nobex-venue-item.is-blocked .nobex-venue-item__art {
	filter: grayscale(1) opacity(0.45);
}

.nobex-venue-item__resize {
	position: absolute;
	right: -5px;
	bottom: -5px;
	width: 14px;
	height: 14px;
	border: 2px solid #fff;
	border-radius: 4px;
	background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
	cursor: nwse-resize;
	pointer-events: auto;
	z-index: 8;
	box-shadow: 0 1px 4px rgba(15, 23, 42, 0.25);
}

.nobex-venue-item__resize:hover {
	transform: scale(1.08);
}

.nobex-venue-item--aisle {
	border-style: dashed;
	border-color: rgba(148, 163, 184, 0.55);
	border-radius: 6px;
	background: rgba(241, 245, 249, 0.55);
}

.nobex-venue-item--aisle .nobex-venue-item__label {
	background: rgba(100, 116, 139, 0.92);
}

.nobex-venue-palette__item[data-palette-type="seat"]::before,
.nobex-venue-item--seat .nobex-venue-item__art {
	background-image: url('../images/venue/seat.svg');
}

.nobex-venue-palette__item[data-palette-type="table_round"]::before,
.nobex-venue-item--table_round .nobex-venue-item__art {
	background-image: url('../images/venue/table-round.svg');
}

.nobex-venue-palette__item[data-palette-type="table_square"]::before,
.nobex-venue-item--table_square .nobex-venue-item__art {
	background-image: url('../images/venue/table-square.svg');
}

.nobex-venue-palette__item[data-palette-type="table"]::before,
.nobex-venue-item--table .nobex-venue-item__art {
	background-image: url('../images/venue/table-rect.svg');
}

.nobex-venue-palette__item[data-palette-type="plant"]::before,
.nobex-venue-item--plant .nobex-venue-item__art {
	background-image: url('../images/venue/plant.svg');
}

.nobex-venue-palette__item[data-palette-type="tree"]::before,
.nobex-venue-item--tree .nobex-venue-item__art {
	background-image: url('../images/venue/tree.svg');
}

.nobex-venue-palette__item[data-palette-type="tree_palm"]::before,
.nobex-venue-item--tree_palm .nobex-venue-item__art {
	background-image: url('../images/venue/tree-palm.svg');
}

.nobex-venue-palette__item[data-palette-type="tree_pine"]::before,
.nobex-venue-item--tree_pine .nobex-venue-item__art {
	background-image: url('../images/venue/tree-pine.svg');
}

.nobex-venue-palette__item[data-palette-type="bush"]::before,
.nobex-venue-item--bush .nobex-venue-item__art {
	background-image: url('../images/venue/bush.svg');
}

.nobex-venue-palette__item[data-palette-type="grass"]::before,
.nobex-venue-item--grass .nobex-venue-item__art {
	background-image: url('../images/venue/grass.svg');
}

.nobex-venue-palette__item[data-palette-type="flowerbed"]::before,
.nobex-venue-item--flowerbed .nobex-venue-item__art {
	background-image: url('../images/venue/flowerbed.svg');
}

.nobex-venue-palette__item[data-palette-type="stage"]::before,
.nobex-venue-item--stage .nobex-venue-item__art {
	background-image: url('../images/venue/stage.svg');
}

.nobex-venue-palette__item[data-palette-type="aisle"]::before,
.nobex-venue-item--aisle .nobex-venue-item__art {
	background-image: url('../images/venue/aisle.svg');
	opacity: 0.85;
}

.nobex-venue-palette__item[data-palette-type="bar"]::before,
.nobex-venue-item--bar .nobex-venue-item__art {
	background-image: url('../images/venue/bar.svg');
}

.nobex-venue-palette__item[data-palette-type="entrance"]::before,
.nobex-venue-item--entrance .nobex-venue-item__art {
	background-image: url('../images/venue/entrance.svg');
}

.nobex-venue-editor__resize-hint {
	margin: 0 0 8px;
	font-size: 11px;
	color: #64748b;
	line-height: 1.45;
}

.nobex-venue-item__price {
	position: absolute;
	top: 2px;
	right: 2px;
	padding: 1px 5px;
	border-radius: 999px;
	background: rgba(15, 23, 42, 0.82);
	color: #fef08a;
	font-size: 9px;
	font-weight: 700;
	line-height: 1.3;
	z-index: 3;
	pointer-events: none;
	white-space: nowrap;
}

.nobex-venue-picker .nobex-venue-item__price {
	background: rgba(22, 101, 52, 0.9);
	color: #fff;
}
