/* Flight ticket + hotel voucher popups (opened from a "Booked Done!" booking card). */
.bk-card.bk-click{cursor:pointer;transition:box-shadow .2s,transform .2s}
.bk-card.bk-click:hover{box-shadow:0 8px 24px rgba(12,56,102,.14);transform:translateY(-2px)}
.bk-view{margin-top:12px;display:inline-flex;align-items:center;gap:6px;color:#1075BA;font-weight:800;font-size:14px}
.tk-ov{position:fixed;inset:0;z-index:99999;background:rgba(9,20,45,.66);backdrop-filter:blur(3px);display:flex;align-items:flex-start;justify-content:center;overflow:auto;padding:18px 12px}
.tk-modal{width:100%;max-width:860px;margin:auto;animation:tkIn .25s ease}
@keyframes tkIn{from{opacity:0;transform:translateY(14px) scale(.98)}to{opacity:1;transform:none}}
.tk-bar{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px}
.tk-dl,.tk-x{border:0;font-family:Manrope,Arial,sans-serif;font-weight:800;cursor:pointer;border-radius:99px}
.tk-dl{background:linear-gradient(135deg,#d9a21b,#b97c0c);color:#fff;padding:10px 20px;font-size:14.5px;display:inline-flex;align-items:center;gap:8px;box-shadow:0 4px 14px rgba(185,124,12,.4)}
.tk-dl:disabled{opacity:.7;cursor:wait}
.tk-x{background:#fff;color:#0c3866;width:40px;height:40px;font-size:22px;line-height:1}
.tk-scroll{overflow-x:auto;border-radius:18px}
/* ---- shared sheet ---- */
.tk{width:820px;max-width:none;margin:0 auto;background:#fff;color:#14223b;font-family:Manrope,Arial,sans-serif;border-radius:18px;overflow:hidden;position:relative;box-sizing:border-box}
.tk *{box-sizing:border-box}
.tk-head{display:flex;justify-content:space-between;align-items:center;padding:16px 26px;background:linear-gradient(120deg,#0a2a52,#0c3866 55%,#12559a);color:#fff}
.tk-logo{background:#fff;border-radius:12px;padding:5px 12px;display:flex;align-items:center}
.tk-logo img{height:46px;width:auto;display:block}
.tk-title{text-align:right}
.tk-title small{display:block;font-size:11px;letter-spacing:2px;text-transform:uppercase;color:#f0c55c;font-weight:800}
.tk-title b{font-size:21px;font-weight:800}
.tk-ok{display:inline-block;margin-top:4px;background:#169447;color:#fff;border-radius:99px;font-size:11.5px;font-weight:800;padding:3px 12px}
.tk-body{display:flex}
.tk-main{flex:1;padding:22px 26px;min-width:0}
.tk-stub{width:218px;border-left:2px dashed #c9d6e6;padding:22px 20px;position:relative;background:#f7faff}
.tk-stub:before,.tk-stub:after{content:"";position:absolute;left:-12px;width:22px;height:22px;border-radius:50%;background:#7d8ca5}
.tk-stub:before{top:-12px}.tk-stub:after{bottom:-12px}
.tk-route{display:flex;align-items:center;gap:14px;margin-bottom:18px}
.tk-city{flex:0 0 auto;min-width:96px}
.tk-city.r{text-align:right}
.tk-code{font-size:44px;font-weight:800;color:#0c3866;line-height:1;letter-spacing:1px}
.tk-name{font-size:13px;color:#64748b;font-weight:700;margin-top:4px}
.tk-mid{flex:1;text-align:center;color:#b97c0c}
.tk-line{display:flex;align-items:center;gap:6px}
.tk-line i{flex:1;border-top:2px dashed #d9a21b}
.tk-line svg{width:30px;height:30px;fill:#0c3866}
.tk-dur{font-size:12px;font-weight:800;color:#64748b;margin-top:4px}
.tk-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px 16px;padding-top:16px;border-top:1px solid #e1e8f1}
.tk-f span{display:block;font-size:10.5px;text-transform:uppercase;letter-spacing:1px;color:#8493ab;font-weight:800}
.tk-f b{display:block;font-size:15px;font-weight:800;color:#14223b;margin-top:2px;word-break:break-word}
.tk-f.big b{font-size:18px;color:#0c3866}
.tk-pax{margin-top:16px;padding:12px 14px;background:#f3f7fd;border-radius:10px;border-left:4px solid #d9a21b}
.tk-note{margin-top:14px;font-size:11.5px;color:#64748b;line-height:1.55}
.tk-bar-code{display:block;margin:10px auto 6px;width:100%;height:70px}
.tk-ref{text-align:center;font-size:12px;font-weight:800;color:#0c3866;letter-spacing:1px;word-break:break-all}
.tk-seat{background:#0c3866;color:#fff;border-radius:10px;padding:10px;text-align:center;margin-bottom:12px}
.tk-seat small{display:block;color:#f0c55c;font-size:10px;letter-spacing:1.5px;font-weight:800}
.tk-seat b{font-size:22px}
.tk-foot{background:#0a2a52;color:#cfe0f5;font-size:12px;padding:11px 26px;display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap}
.tk-foot b{color:#f0c55c}
/* ---- hotel voucher ---- */
.hv-hero{height:210px;background:#0c3866 center/cover no-repeat;position:relative}
.hv-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(10,42,82,.1),rgba(10,42,82,.82))}
.hv-hero>div{position:absolute;left:26px;right:26px;bottom:16px;z-index:1;color:#fff}
.hv-hero h2{margin:0;font-size:28px;font-weight:800;line-height:1.15}
.hv-hero p{margin:4px 0 0;font-size:14px;color:#f0c55c;font-weight:700}
.hv-dates{display:grid;grid-template-columns:1fr auto 1fr;gap:12px;align-items:center;background:#f3f7fd;border-radius:14px;padding:16px 20px;margin:20px 26px 0}
.hv-dates .c{text-align:center}
.hv-dates small{display:block;font-size:10.5px;letter-spacing:1.2px;color:#8493ab;font-weight:800;text-transform:uppercase}
.hv-dates b{display:block;font-size:20px;color:#0c3866;margin-top:2px}
.hv-dates em{font-style:normal;font-size:11.5px;color:#64748b;font-weight:700}
.hv-n{background:#0c3866;color:#fff;border-radius:99px;padding:8px 16px;text-align:center;font-weight:800;font-size:13px}
.hv-sec{padding:18px 26px 4px}
.hv-sec h4{margin:0 0 10px;font-size:12px;text-transform:uppercase;letter-spacing:1.5px;color:#b97c0c;font-weight:800}
.hv-tot{display:flex;justify-content:space-between;align-items:center;margin:16px 26px 0;padding:14px 18px;border-radius:12px;background:linear-gradient(120deg,#0a2a52,#12559a);color:#fff}
.hv-tot b{font-size:24px;color:#f0c55c}
.hv-bot{display:flex;gap:18px;align-items:center;padding:16px 26px 20px}
.hv-bot .tk-bar-code{margin:0;width:200px;flex:0 0 auto}
.hv-bot .tk-note{margin:0;flex:1}
@media(max-width:560px){.tk-ov{padding:10px 6px}.tk-dl{padding:9px 14px;font-size:13px}}
/* print / Save as PDF fallback */
@media print{
  body.tk-printing > *:not(.tk-ov){display:none!important}
  body.tk-printing .tk-ov{position:static;background:none;padding:0;overflow:visible;backdrop-filter:none}
  body.tk-printing .tk-bar{display:none}
  body.tk-printing .tk-scroll{overflow:visible}
  body.tk-printing .tk{box-shadow:none;-webkit-print-color-adjust:exact;print-color-adjust:exact}
  @page{size:A4 landscape;margin:8mm}
}
