/* Naaz stall map — BookMyShow style (no background image) */

.naaz-stall-selector {
	margin: 1rem 0 1.5rem;
}

.naaz-stall-selector__label {
	display: block;
	font-weight: 600;
	margin-bottom: 0.35rem;
}

.naaz-stall-selector__input {
	width: 100%;
	max-width: 420px;
	padding: 0.65rem 0.85rem;
	border: 1px solid #c8c8c8;
	border-radius: 6px;
	background: #fff;
	cursor: pointer;
}

.naaz-price-box {
	margin-top: 0.75rem;
	max-width: 420px;
	padding: 0.75rem 1rem;
	background: #f7f4ef;
	border-radius: 8px;
}

.naaz-price-box__row {
	display: flex;
	justify-content: space-between;
	margin: 0.25rem 0;
	font-size: 0.95rem;
}

.naaz-stall-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	background: rgba(20, 16, 12, 0.55);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
}

.naaz-stall-modal[hidden] {
	display: none !important;
}

.naaz-stall-modal__dialog {
	position: relative;
	background: #fff;
	width: min(920px, 96vw);
	max-height: 92vh;
	overflow: auto;
	border-radius: 12px;
	padding: 1.25rem 1.25rem 1.5rem;
	box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
}

.naaz-stall-modal__close {
	position: absolute;
	top: 0.5rem;
	right: 0.75rem;
	border: 0;
	background: transparent;
	font-size: 1.75rem;
	line-height: 1;
	cursor: pointer;
	color: #444;
}

.naaz-stall-modal__meta {
	margin: 0.25rem 0 0.75rem;
	color: #666;
	font-size: 0.9rem;
}

.naaz-stall-legend {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.25rem;
	margin-bottom: 0.75rem;
	font-size: 0.85rem;
}

.naaz-legend::before {
	content: "";
	display: inline-block;
	width: 12px;
	height: 12px;
	margin-right: 0.35rem;
	border-radius: 2px;
	vertical-align: -1px;
}

.naaz-legend--available::before {
	background: #2f9e44;
}

.naaz-legend--booked::before {
	background: #c92a2a;
}

.naaz-legend--selected::before {
	background: #1c7ed6;
}

.naaz-stall-map-scroll {
	overflow: auto;
	max-height: 75vh;
	border: 1px solid #e5e5e5;
	border-radius: 8px;
	background: #1a1a1a;
	padding: 1rem;
}

.naaz-stall-map {
	margin: 0 auto;
	min-height: 200px;
}

.naaz-stall-map--bms {
	background: transparent;
	width: 100%;
	max-width: 780px;
}

.naaz-stall-map__hint,
.naaz-stall-map__loading,
.naaz-stall-map__error {
	padding: 2rem 1rem;
	text-align: center;
	color: #ccc;
}

/* —— BookMyShow layout shell —— */

.naaz-bms {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	padding: 0.5rem 0 1rem;
	color: #eee;
}

.naaz-bms-section {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	width: 100%;
}

.naaz-bms-separator {
	width: min(100%, 640px);
	height: 3px;
	margin: 8px 0;
	border-radius: 2px;
	background: linear-gradient(90deg, transparent, #868e96 15%, #868e96 85%, transparent);
}

.naaz-bms-separator__label {
	text-align: center;
	font-size: 11px;
	color: #adb5bd;
	margin-top: 4px;
}

.naaz-bms-gate {
	align-self: flex-start;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.06em;
	color: #adb5bd;
	padding: 4px 8px;
	border: 1px dashed #868e96;
	border-radius: 4px;
	margin-left: 4%;
}

.naaz-bms-h-body {
	display: flex;
	justify-content: center;
	align-items: flex-start;
	gap: 16px;
	width: 100%;
}

.naaz-bms-h-right {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
}

.naaz-bms-col--alcove {
	margin-top: 4px;
}

.naaz-bms-row--h-bottom {
	margin-top: 4px;
}

.naaz-bms-body {
	display: flex;
	align-items: stretch;
	justify-content: center;
	gap: 14px;
	width: 100%;
}

.naaz-bms-side {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	flex: 0 0 auto;
}

.naaz-bms-col {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.naaz-bms-center {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	flex: 1 1 auto;
	min-width: 0;
}

.naaz-bms-row {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
}

.naaz-bms-row--top {
	margin-bottom: 2px;
}

.naaz-bms-row--subtop {
	margin-bottom: 4px;
	justify-content: flex-start;
	padding-left: 12%;
	width: 100%;
	max-width: 520px;
}

.naaz-bms-aisle {
	width: 100%;
	max-width: 420px;
	height: 8px;
	margin: 4px 0;
	border-radius: 4px;
	background: repeating-linear-gradient(
		90deg,
		#333 0 8px,
		#222 8px 16px
	);
	opacity: 0.7;
}

.naaz-bms-aisle--soft {
	height: 5px;
	opacity: 0.45;
}

.naaz-bms-stage {
	margin-top: 8px;
	padding: 18px 10px;
	min-width: 52px;
	text-align: center;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: #f1f3f5;
	background: #495057;
	border-radius: 6px;
	writing-mode: vertical-rl;
	transform: rotate(180deg);
}

.naaz-bms-stage--wide {
	writing-mode: horizontal-tb;
	transform: none;
	width: min(100%, 560px);
	padding: 12px 16px;
	margin: 0 0 8px;
	font-size: 12px;
	background: linear-gradient(180deg, #5c6770, #3b4248);
}

.naaz-bms-entry {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: #adb5bd;
	padding: 6px 10px;
	border: 1px dashed #868e96;
	border-radius: 4px;
}

.naaz-bms-entry--end {
	align-self: flex-end;
	margin-right: 8%;
}

/* —— Seat / stall buttons —— */

.naaz-seat {
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 36px;
	padding: 0 6px;
	border: 0;
	border-radius: 6px 6px 4px 4px;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	transition: transform 0.1s ease, box-shadow 0.1s ease, filter 0.1s ease;
	box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.18);
}

.naaz-bms-col .naaz-seat {
	min-width: 48px;
}

.naaz-seat.is-available {
	background: #2f9e44;
	color: #fff;
}

.naaz-seat.is-available:hover {
	transform: translateY(-2px);
	filter: brightness(1.08);
	box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.18), 0 4px 10px rgba(47, 158, 68, 0.35);
}

.naaz-seat.is-booked {
	background: #c92a2a;
	color: #fff;
	cursor: not-allowed;
	opacity: 0.85;
}

.naaz-seat.is-selected {
	background: #1c7ed6;
	color: #fff;
	box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.2), 0 0 0 2px #fff, 0 0 0 4px #1c7ed6;
}

.naaz-seat.is-missing {
	background: #495057;
	color: #adb5bd;
	cursor: not-allowed;
	opacity: 0.5;
}

@media (max-width: 640px) {
	.naaz-stall-modal__dialog {
		padding: 1rem;
	}

	.naaz-seat {
		min-width: 34px;
		height: 28px;
		font-size: 9px;
	}

	.naaz-bms-body,
	.naaz-bms-h-body {
		gap: 8px;
	}

	.naaz-bms-stage {
		padding: 12px 6px;
		font-size: 9px;
	}
}
