/* koltuk-secim-v2: eski seat-new-svg.js / sinemaseat.js DOM kancaları için tasarım köprüsü (.seat-v2 kapsamında). */

/* ---- Harita alanı: eski view'lerin ürettiği içerik map-panel içinde kayar ---- */
.seat-v2 .map-stage{flex:1;min-height:0;overflow:auto;padding:0 20px 12px;display:flex;flex-direction:column;scrollbar-width:thin;scrollbar-color:#d7d8dc transparent}
.seat-v2 .map-stage>*{flex-shrink:0}
.seat-v2 .acilis-error,.seat-v2 .acilis-warning{margin:0 0 12px;border-radius:10px;font-size:13px;line-height:1.5;padding:12px 14px}
.seat-v2 .koltukSecimi,.seat-v2 .split-view{margin:0 auto;max-width:100%}

/* ---- Eski script'in #floatSummary kancası: site CSS'i bu id'ye kutu/gölge/konum veriyor; sıfırla ---- */
.seat-v2 #floatSummary{position:static;inset:auto;display:block;width:auto;max-width:none;height:auto;max-height:none;border:0;border-radius:0;background:none;box-shadow:none;color:inherit;margin:0;padding:0}
.seat-v2 #floatSummary .ticket_cart_new{display:flex;flex-flow:row wrap;align-content:flex-start;gap:6px;width:100%;max-width:none;max-height:132px;margin:0;padding:0;overflow-y:auto}
.seat-v2 #floatSummary.closed .ticket_cart_new{max-height:132px}

/* ---- Seçili koltuk kutuları (script .cart-seat üretir) → prototipin .selected-card görünümü ---- */
.seat-v2 #floatSummary .cart-seat,.seat-v2 .ticket_cart_new .cart-seat{position:relative;display:inline-flex;align-items:center;flex:0 0 auto;gap:7px;min-width:0;height:auto;min-height:32px;margin:0;padding:5px 32px 5px 10px;border:1px solid #e0e2e5;border-radius:8px;background:#fff;color:#202124;font-size:12px;font-weight:500;line-height:17px;white-space:nowrap}
.seat-v2 #floatSummary .cart-seat.love-seat{border-color:#b9d3f5;background:#f3f8ff}
.seat-v2 #floatSummary .cart-seat .deleteItem{position:absolute;top:50%;right:6px;left:auto;width:20px;height:20px;margin-top:-10px;border-radius:5px;opacity:.85;cursor:pointer;background:transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2333363c' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h16M9 7V4h6v3M6 7l1 13h10l1-13M10 10v7m4-7v7'/%3E%3C/svg%3E") center/15px no-repeat}
@media (hover:hover){.seat-v2 #floatSummary .cart-seat .deleteItem:hover{background-color:#fff2f3;opacity:1}}
.seat-v2 #floatSummary .cart-seat .toolTip{display:none}

/* ---- Toplam / devam: id (#ticketPrice, #btnBuy) site CSS'ine bağlı değil; yalnızca küçük ayarlar ---- */
.seat-v2 .summary-note{margin:6px 0 10px;font-size:11px;line-height:1.5;color:var(--muted)}
.seat-v2 .total strong{display:flex;gap:4px;align-items:baseline}
.seat-v2 #seatForm{margin:0;padding:0}
.seat-v2 #btnBuy{width:100%}
/* Eski ekrandaki ödeme düğmesi: sarı, ortalı, büyük harf; seçim yokken gri 'KOLTUK SEÇİNİZ', seçimden sonra 'ÖDEME YAP'. */
.seat-v2 #btnBuy,.seat-v2 #btnSendTickets{justify-content:center;text-align:center;text-transform:uppercase;white-space:nowrap}
.seat-v2 #btnBuy:disabled,.seat-v2 #btnSendTickets:disabled{background:lightgray;color:#000}
.seat-v2 #btnBuy:disabled .pay-ready,.seat-v2 #btnBuy:not(:disabled) .pay-idle,.seat-v2 #btnSendTickets:disabled .pay-ready,.seat-v2 #btnSendTickets:not(:disabled) .pay-idle{display:none}
@media(max-width:1024px){.seat-v2 #btnBuy{min-width:150px;width:auto}}

/* ---- Zaman sayacı (#time) ---- */
.seat-v2 .timer-bar #time .fa{display:none}

/* ---- Etkinlik kartı linkleri ---- */
.seat-v2 .event-info a{color:inherit}
.seat-v2 .event-info h2 a:hover{text-decoration:underline}
.seat-v2 .event-info .event_rules{display:inline-block;margin-top:6px;font-size:11px;color:#6a6220;text-decoration:underline;cursor:pointer}

/* ---- Koltuk durum renkleri: legend ile aynı (dolu/başka sepette = gri; eski kırmızı kaldırıldı) ---- */
.seat-v2 .koltuklar .koltuk_tek.disabled-seat,.seat-v2 .koltuklar .koltuk_tek.closed-seat,.seat-v2 #seat-floor a.seat-item.dis{background:#dce1df;border-color:#dce1df;color:#8d9197;cursor:not-allowed}

@media(max-width:1024px){
 .seat-v2 .summary-note{display:none}
}

/* ---- Koltuksuz (NoSeat V2) ---- */
.seat-v2 .no-seat-container{padding-top:8px}
.seat-v2 .no-seat-title{max-width:780px;margin:0 auto 14px;font-size:18px;font-weight:600;letter-spacing:-.3px}
.seat-v2 .no-seat-container>.acilis-warning,.seat-v2 .no-seat-container>.acilis-error{max-width:780px;margin:0 auto 14px}
.seat-v2 .ticket-rules li.ticket-last{color:#b3402f;font-weight:600}
.seat-v2 .ticket-rules li.ticket-last::before{background:#e1573f}
.seat-v2 .ticket-rules li.ticket-campaign{color:#1f7a3f;font-weight:600}
.seat-v2 .ticket-rules li.ticket-campaign::before{background:#3dbb6d}
.seat-v2 #ticket-select-form{margin:0}
.seat-v2 .no-seat-help{max-width:780px;margin:24px auto 0;padding:0;list-style:none;display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}
.seat-v2 .no-seat-help li{background:#fff;border:1px solid #e0e2e6;border-radius:12px;padding:16px}
.seat-v2 .no-seat-help h3{font-size:13px;font-weight:600;margin-bottom:6px}
.seat-v2 .no-seat-help p{font-size:11px;line-height:1.6;color:var(--muted)}
.seat-v2 .summary-lines{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.seat-v2 .summary-lines li{display:flex;justify-content:space-between;gap:12px;font-size:12px}
.seat-v2 .summary-lines li span{color:var(--muted)}
.seat-v2 .summary-lines li strong{font-weight:500;white-space:nowrap}
.seat-v2 #seatDiscountRow strong{color:#74650b}
.seat-v2 #btnSendTickets{width:100%}
.seat-v2[data-mode="koltuksuz"] .map-stage{padding:12px 0 12px}
.seat-v2 .ticket-option-actions .is-limit{opacity:.55;cursor:not-allowed}

/* ---- Tam salon (JsonData / seat-convert) koltuk durumları ---- */
.seat-v2 #SaloonDetail .circle-item.seatSold{background:#dce1df;border-color:#dce1df;color:#8d9197;cursor:not-allowed}
.seat-v2 .rules-clamp.is-clamped{max-height:9.6em;overflow:hidden;-webkit-mask-image:linear-gradient(#000 70%,transparent);mask-image:linear-gradient(#000 70%,transparent)}
.seat-v2 .rules-more{margin-top:8px;padding:0;border:0;background:none;color:#6a6220;font-size:12px;font-weight:600;text-decoration:underline;cursor:pointer}
