.rd-seatmap { position: relative; direction: rtl; --rd-seat-sold: #9ca3af; --rd-seat-held: #d1d5db; --rd-seat-blocked: #374151; --rd-seat-selected: #111827; }
.rd-seatmap__canvas { border: 1px solid #e2e4e7; border-radius: 10px; background: #fafafa; overflow: hidden; touch-action: none; }
.rd-seatmap__canvas svg { display: block; width: 100%; height: auto; max-height: 70vh; margin: 0 auto; user-select: none; -webkit-user-select: none; }
.rd-seatmap__toolbar { position: absolute; top: 10px; left: 10px; z-index: 2; display: flex; flex-direction: column; gap: 6px; }
.rd-seatmap .rd-seatmap__toolbar button { box-sizing: border-box; display: flex; align-items: center; justify-content: center; width: 36px !important; height: 36px !important; min-width: 0 !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important; border-radius: 8px; border: 1px solid #d1d5db; background: #fff !important; color: #111827 !important; box-shadow: 0 1px 2px rgba(0,0,0,.06); cursor: pointer; line-height: 1; text-transform: none; letter-spacing: 0; }
.rd-seatmap .rd-seatmap__toolbar button:hover { background: #f3f4f6 !important; }
.rd-seatmap__toolbar svg { width: 18px; height: 18px; display: block; }
.rd-seatmap:fullscreen, .rd-seatmap.is-full { background: #fff; padding: 12px; display: flex; flex-direction: column; overflow: auto; }
.rd-seatmap.is-full { position: fixed; inset: 0; z-index: 100000; }
.rd-seatmap:fullscreen .rd-seatmap__canvas, .rd-seatmap.is-full .rd-seatmap__canvas { flex: 1; display: flex; align-items: center; }
.rd-seatmap:fullscreen .rd-seatmap__canvas svg, .rd-seatmap.is-full .rd-seatmap__canvas svg { max-height: calc(100vh - 120px); height: 100%; }
html.rd-no-scroll { overflow: hidden; }
.rd-seatmap__stage { fill: #1f2937; }
.rd-seatmap__stage-label { fill: #fff; font-size: 18px; font-weight: bold; }
.rd-seatmap__area { fill-opacity: .18; stroke-width: 2; stroke-dasharray: 6 4; stroke: currentColor; }
.rd-seatmap__area-label { font-size: 15px; font-weight: bold; fill: #374151; }
.rd-seatmap__area-cap, .rd-seatmap__label { font-size: 13px; fill: #6b7280; }
.rd-seatmap__rows text { font-size: 11px; fill: #6b7280; }
.rd-seat { cursor: pointer; outline: none; }
.rd-seat circle { stroke: #fff; stroke-width: 1.5; transition: transform .1s; }
.rd-seat:hover circle, .rd-seat:focus circle { stroke: #111827; stroke-width: 2.5; }
.rd-seat__flag { font-size: 10px; fill: #fff; pointer-events: none; }
.rd-seat.is-sold circle { fill: var(--rd-seat-sold); }
.rd-seat.is-held circle { fill: var(--rd-seat-held); }
.rd-seat.is-blocked circle { fill: var(--rd-seat-blocked); }
.rd-seat.is-unavailable circle { fill: #e5e7eb; }
.rd-seat.is-sold, .rd-seat.is-held, .rd-seat.is-unavailable { cursor: not-allowed; }
.rd-seat.is-selected circle { stroke: var(--rd-seat-selected); stroke-width: 4; }
.rd-seatmap__info { min-height: 1.6em; margin: 8px 0; font-size: .92em; }
.rd-seatmap__legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .85em; color: #4b5563; }
.rd-seatmap__legend span { display: inline-flex; align-items: center; gap: 6px; }
.rd-seatmap__legend-price { color: #6b7280; }
.rd-seatmap__legend-price::before { content: "·"; margin-inline-end: 4px; }
.rd-seatmap__legend i { display: inline-block; width: 14px; height: 14px; border-radius: 50%; background: #94a3b8; }
.rd-seatmap__legend i.is-sold { background: var(--rd-seat-sold); }
.rd-seatmap__legend i.is-held { background: var(--rd-seat-held); }
.rd-seatmap__legend i.is-blocked { background: var(--rd-seat-blocked); }
.rd-seatmap__legend i.is-selected { background: #fff; border: 3px solid var(--rd-seat-selected); box-sizing: border-box; }
.rd-seat.is-disabled circle { fill: transparent; stroke: #9ca3af; stroke-dasharray: 2 2; }
.rd-seat.is-disabled .rd-seat__flag { fill: #9ca3af; }

/* Row label / seat number toggles */
.rd-seatmap .rd-seatmap__toolbar button.rd-seatmap__toggle { padding: 0 !important; font-size: 9.5px !important; font-family: inherit !important; font-weight: 700; }
.rd-seatmap .rd-seatmap__toolbar button.rd-seatmap__toggle.is-on { background: #1d4ed8 !important; border-color: #1d4ed8; color: #fff !important; }
.rd-seatmap--no-rows .rd-seatmap__rows { display: none; }
.rd-seat__num { display: none; font-size: 8.5px; font-weight: 700; fill: #fff; pointer-events: none; font-variant-numeric: tabular-nums; }
.rd-seatmap--nums .rd-seat__num { display: block; }
.rd-seatmap--nums .rd-seat:has(.rd-seat__flag) .rd-seat__num { display: none; }
.rd-seat.is-disabled .rd-seat__num { fill: #9ca3af; }
/* Level tabs (ground floor, balconies). */
.rd-seatmap .rd-seatmap__levels { display: flex !important; flex-wrap: wrap; gap: 6px; margin: 0 0 8px !important; padding: 0 !important; }
.rd-seatmap .rd-seatmap__levels[hidden] { display: none !important; }
.rd-seatmap .rd-seatmap__levels button { display: inline-flex !important; align-items: center; gap: 6px; box-sizing: border-box; min-height: 34px !important; height: auto !important; width: auto !important; margin: 0 !important; padding: 4px 14px !important; border: 1px solid #d1d5db !important; border-radius: 999px !important; background: #fff !important; color: #374151 !important; font: inherit !important; font-size: .9em !important; line-height: 1.4 !important; text-transform: none !important; letter-spacing: 0 !important; box-shadow: none !important; cursor: pointer; }
.rd-seatmap .rd-seatmap__levels button:hover { border-color: #9ca3af !important; }
.rd-seatmap .rd-seatmap__levels button.is-on { background: #111827 !important; border-color: #111827 !important; color: #fff !important; }
.rd-seatmap .rd-seatmap__levels button b { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: #2563eb; color: #fff; font-size: .8em; font-weight: 700; }
.rd-seatmap .rd-seatmap__levels button.is-on b { background: #fff; color: #111827; }
.rd-seatmap--levels .rd-seatmap__toolbar { top: 52px; }
