/* Scoped exclusively to the FooEvents dialog on product 8432. */
.dft50-popup-dialog{max-width:96vw!important;width:min(1200px,96vw)!important}
.dft50-popup-dialog .ui-dialog-content{max-height:80vh!important;overflow:auto!important}
#fooevents_seating_dialog .seat_container.dft50-popup-active{width:1200px!important;max-width:none!important;position:relative;margin:12px auto;overflow:visible}
#fooevents_seating_dialog .dft50-popup-canvas{position:relative;width:1200px;height:1650px;background:#f5f7fb;border:1px solid #d9e1eb;border-radius:8px;box-sizing:border-box}
#fooevents_seating_dialog .dft50-popup-stage{position:absolute;top:16px;left:20%;width:60%;height:42px;background:#293c55;color:white;text-align:center;line-height:42px;font-weight:700;border-radius:6px}
#fooevents_seating_dialog .dft50-popup-table{position:absolute!important;width:70px!important;height:120px!important;box-sizing:border-box!important;margin:0!important;padding:0!important;float:none!important;display:block!important;background:transparent!important;border:0!important;transform:translateX(-50%)}
#fooevents_seating_dialog .dft50-popup-table .dft50-popup-title{position:absolute!important;top:-22px;left:-35px;width:140px;height:20px;text-align:center;font-size:11px;font-weight:bold;white-space:nowrap;background:transparent!important;padding:0!important;margin:0!important}
#fooevents_seating_dialog .dft50-popup-seatwrap{position:relative!important;width:70px!important;height:120px!important;display:block!important;background:transparent!important;padding:0!important;margin:0!important}
#fooevents_seating_dialog .dft50-popup-desk{position:absolute;inset:0;background:#e8eef7;border:2px solid #3a5478;border-radius:5px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;box-sizing:border-box;text-align:center;font-size:11px;line-height:1.2}
#fooevents_seating_dialog .dft50-popup-desk small{font-size:10px;color:#3b4c63}
#fooevents_seating_dialog .dft50-popup-side{position:absolute;top:3px;bottom:3px;display:flex;flex-direction:column;justify-content:space-around;gap:2px;width:25px}
#fooevents_seating_dialog .dft50-popup-left{left:-29px}#fooevents_seating_dialog .dft50-popup-right{right:-29px}
#fooevents_seating_dialog .dft50-popup-deco{width:23px;height:23px;border-radius:50%;background:#dbe3ee;border:1px solid #73839a;display:block;box-sizing:border-box}
#fooevents_seating_dialog span.dft50-popup-seat{position:static!important;display:flex!important;align-items:center;justify-content:center;width:24px!important;height:24px!important;min-width:24px!important;min-height:24px!important;border-radius:50%;font-size:11px;cursor:pointer;box-sizing:border-box;margin:0!important}
#fooevents_seating_dialog span.dft50-popup-whole{position:static!important;width:58px!important;height:28px!important;border-radius:5px;font-size:9px;line-height:1.1}
#fooevents_seating_dialog span.dft50-popup-seat.unavailable,#fooevents_seating_dialog span.dft50-popup-seat.fe-blocked{cursor:not-allowed;opacity:.6}

#fooevents_seating_dialog .dft50-popup-placeholder{opacity:.48;pointer-events:none}
#fooevents_seating_dialog .dft50-popup-notice{position:absolute;top:65px;left:60px;right:60px;background:#fff3d7;border:1px solid #b18b35;border-radius:5px;padding:9px;text-align:center;font-size:13px;z-index:2}

/* v1.4.4: FooEvents' native round-table decorations must not overlay the DF table. */
#fooevents_seating_dialog .dft50-popup-active > .row_container:not(.dft50-popup-table){display:none!important}
#fooevents_seating_dialog .dft50-popup-table .fooevents_seating_chart_view_row_name.dft50-popup-title{border:0!important;box-shadow:none!important;border-radius:0!important;line-height:20px!important;min-width:0!important;max-width:none!important}
#fooevents_seating_dialog .dft50-popup-table .dft50-popup-seatwrap{border:0!important;box-shadow:none!important;float:none!important;min-width:0!important;max-width:none!important}
#fooevents_seating_dialog .dft50-popup-table .dft50-popup-desk{z-index:1;overflow:visible}
#fooevents_seating_dialog .dft50-popup-table .dft50-popup-side{z-index:2}
#fooevents_seating_dialog .dft50-popup-table span.dft50-popup-seat{position:relative!important;top:auto!important;left:auto!important;right:auto!important;bottom:auto!important;float:none!important;transform:none!important;box-shadow:none!important;text-indent:0!important;padding:0!important;line-height:1!important;opacity:1}
#fooevents_seating_dialog .dft50-popup-table span.dft50-popup-seat:before,#fooevents_seating_dialog .dft50-popup-table span.dft50-popup-seat:after{content:none!important;display:none!important}
#fooevents_seating_dialog .dft50-popup-table span.dft50-popup-whole{background:#439b35!important;color:#fff!important;border:0!important;z-index:4;cursor:pointer}
#fooevents_seating_dialog .dft50-popup-table span.dft50-popup-whole.selected{background:#b33c26!important}
#fooevents_seating_dialog .dft50-popup-table span.dft50-popup-whole.unavailable,#fooevents_seating_dialog .dft50-popup-table span.dft50-popup-whole.fe-blocked,#fooevents_seating_dialog .dft50-popup-table span.dft50-popup-whole.unavailable_selected{background:#a7adb5!important;color:#fff!important;cursor:not-allowed}
#fooevents_seating_dialog .dft50-popup-table .dft50-popup-clickable{cursor:pointer}
#fooevents_seating_dialog .dft50-popup-table.dft50-popup-single span.dft50-popup-seat.available{background:#439b35!important;color:#fff!important}
#fooevents_seating_dialog .dft50-popup-table.dft50-popup-single span.dft50-popup-seat.selected{background:#b33c26!important;color:#fff!important}
#fooevents_seating_dialog .dft50-popup-table.dft50-popup-single span.dft50-popup-seat.unavailable,#fooevents_seating_dialog .dft50-popup-table.dft50-popup-single span.dft50-popup-seat.fe-blocked{background:#a7adb5!important;color:#fff!important}
/* Footer sits AFTER the entire 1,650px plan, not floated at its left edge. */
#fooevents_seating_dialog .seat_container.dft50-popup-active{float:none!important;display:block!important;clear:both!important}
#fooevents_seating_dialog .seat_container.dft50-popup-active + #fooevents_seating_select_seats{display:block!important;float:none!important;clear:both!important;margin:22px 0 24px auto!important;position:relative!important;left:auto!important;right:auto!important;bottom:auto!important;width:max-content!important;max-width:100%!important}

/* v1.4.5: Layout-only fixes. No changes to FooEvents booking handlers. */
#fooevents_seating_dialog .dft50-popup-canvas{height:auto;min-height:350px}
#fooevents_seating_dialog .dft50-popup-active{display:flow-root!important;float:none!important;clear:both!important;height:auto!important;min-height:0!important}
#fooevents_seating_dialog .dft50-popup-footer{position:relative!important;display:flex!important;justify-content:flex-end!important;align-items:center!important;clear:both!important;float:none!important;width:100%!important;box-sizing:border-box!important;padding:18px 24px 22px!important;background:#f5f7fb!important;border:1px solid #d9e1eb!important;border-top:0!important}
#fooevents_seating_dialog .dft50-popup-footer #fooevents_seating_select_seats{position:static!important;inset:auto!important;display:inline-block!important;float:none!important;clear:none!important;transform:none!important;margin:0!important;width:auto!important;max-width:100%!important;z-index:auto!important}
/* Table number already appears inside the desk: avoid a second copy above. */
#fooevents_seating_dialog .dft50-popup-table .dft50-popup-title{display:none!important}
/* Native chart rows are retained for FooEvents but hidden from visual flow. */
#fooevents_seating_dialog .seat_container.dft50-popup-active > .row_container:not(.dft50-popup-table){display:none!important}

/* v1.4.6: normalized canvas and safe inactive tables in both price variations. */
#fooevents_seating_dialog .dft50-popup-canvas{margin:0!important;clear:both!important;float:none!important;}
#fooevents_seating_dialog .dft50-popup-placeholder{opacity:1!important;pointer-events:none!important;}
#fooevents_seating_dialog .dft50-popup-placeholder .dft50-popup-desk{background:#e3e6eb!important;border-color:#a8b1bf!important;color:#8b939e!important;}
#fooevents_seating_dialog .dft50-popup-placeholder .dft50-popup-desk small{color:#8b939e!important;}
#fooevents_seating_dialog .dft50-popup-placeholder .dft50-popup-deco{background:#e4e7ec!important;border-color:#bdc5d0!important;}
#fooevents_seating_dialog .dft50-popup-footer{margin:0!important;}

/* v1.4.8: centered native seat selection button */
#fooevents_seating_dialog .dft50-popup-footer{justify-content:center!important;}
#fooevents_seating_dialog .dft50-popup-footer #fooevents_seating_select_seats{margin:0 auto!important;min-height:46px!important;padding:10px 24px!important;font-size:15px!important;font-weight:700!important;}
