/* Sanor016 — shared booking popup (booking.js) */
/* ---------- booking popup ---------- */
html.bk-lock, html.bk-lock body { overflow: hidden; }
.bk {
  width: min(460px, calc(100vw - 24px)); max-height: min(92vh, 860px); padding: 0; margin: auto;
  border: 1px solid rgba(245,170,3,.35); border-radius: 24px; background: #0c0c0e; color: #ececee;
  box-shadow: 0 40px 100px -20px rgba(0,0,0,.9); overflow: hidden;
}
.bk::backdrop { background: rgba(0,0,0,.72); backdrop-filter: blur(4px); }
.bk[open] { display: flex; animation: bk-in .32s cubic-bezier(.16,1,.3,1); }
@keyframes bk-in { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.bk__form { display: flex; flex-direction: column; width: 100%; max-height: inherit; min-height: 0; }
.bk__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid rgba(255,255,255,.07); }
.bk__head h2 { margin: 0; font-size: 18px; font-weight: 700; color: #fff; }
.bk__x { width: 36px; height: 36px; border: 0; border-radius: 11px; background: rgba(255,255,255,.06); color: #fff; cursor: pointer; display: grid; place-items: center; }
.bk__x svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.bk__body { flex: 1; min-height: 0; overflow-y: auto; padding: 6px 20px 8px; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #3a3a40 transparent; }
.bk__body::-webkit-scrollbar { width: 8px; }
.bk__body::-webkit-scrollbar-thumb { background: #3a3a40; border-radius: 8px; }
.bk__body::-webkit-scrollbar-track { background: transparent; }
.bk__sec { padding: 14px 0; display: grid; gap: 12px; }
.bk__sec + .bk__sec { border-top: 1px solid rgba(255,255,255,.07); }
.bk__sec h3 { margin: 0; display: flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 700; color: #fff; }
.bk__sec h3 .en { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; font-size: 12.5px; color: #0b0b0b; background: linear-gradient(180deg, #ffd24d, #f5aa03); }
.bk__field { display: grid; gap: 6px; }
.bk__field > span { font-size: 13px; font-weight: 500; color: #d4d4d7; }
.bk__field small { font-weight: 400; color: #77777c; margin-inline-start: 4px; }
.bk__field input {
  width: 100%; height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid rgba(255,255,255,.12);
  background: #141416; color: #fff; font: inherit; font-size: 16px; outline: none; transition: border-color .2s, box-shadow .2s;
}
.bk__field input[dir=ltr] { text-align: left; }
.bk__field input:focus { border-color: #f5aa03; box-shadow: 0 0 0 3px rgba(245,170,3,.18); }
/* keep browser autofill dark */
.bk__field input:-webkit-autofill, .bk__field input:-webkit-autofill:hover, .bk__field input:-webkit-autofill:focus {
  -webkit-text-fill-color: #fff; caret-color: #fff; -webkit-box-shadow: 0 0 0 40px #141416 inset; transition: background-color 9999s;
}
.bk__field em, .bk__err { font-style: normal; font-size: 12.5px; color: #ff6b6b; }
.bk__field em:empty, .bk__err:empty { display: none; }
.bk__field.has-err input { border-color: #ff6b6b; }

/* calendar */
.cal { padding: 12px; border-radius: 16px; background: #141416; border: 1px solid rgba(255,255,255,.08); }
.cal.has-err { border-color: rgba(255,107,107,.6); }
.cal__nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cal__month { font-size: 15px; color: #fff; }
.cal__btn { width: 34px; height: 34px; border-radius: 10px; border: 1px solid rgba(255,255,255,.1); background: transparent; color: #fff; cursor: pointer; display: grid; place-items: center; }
.cal__btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.cal__btn:disabled { opacity: .25; cursor: default; }
.cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; text-align: center; }
.cal__wd { padding: 4px 0 6px; font-size: 12px; color: #77777c; }
.cal__wd.is-sat { color: #ffd24d; }
.cal__d { height: 38px; display: grid; place-items: center; border-radius: 10px; font-family: var(--font-wix); font-size: 14px; color: #4a4a50; border: 1px solid transparent; background: none; }
button.cal__d { cursor: pointer; color: #fff; font-weight: 700; border-color: rgba(245,170,3,.55); background: rgba(245,170,3,.08); transition: background .15s, transform .15s; }
button.cal__d:hover { background: rgba(245,170,3,.18); transform: translateY(-1px); }
.cal__d.is-sess { color: #ffd24d; background: rgba(245,170,3,.12); border-color: transparent; }
.cal__d.is-sel { color: #0b0b0b; background: linear-gradient(180deg, #ffd24d, #f5aa03); border-color: transparent; }
.cal__legend { margin: 10px 0 0; display: flex; align-items: center; gap: 7px; font-size: 12px; color: #77777c; }
.cal__legend i { width: 12px; height: 12px; border-radius: 4px; border: 1px solid rgba(245,170,3,.55); background: rgba(245,170,3,.08); }
.bk__picked { margin: 0; padding: 10px 12px; border-radius: 12px; font-size: 13.5px; color: #cfcfd2; background: rgba(245,170,3,.07); border: 1px solid rgba(245,170,3,.25); }
.bk__picked b { color: #ffd24d; }

.bk__foot { padding: 14px 20px 18px; border-top: 1px solid rgba(255,255,255,.07); background: #0a0a0b; }
.bk__foot .lc-btn[disabled] { opacity: .7; cursor: progress; }
.bk__msg { margin: 10px 0 0; font-size: 13px; line-height: 1.8; color: #ffb4b4; }
.bk__msg a { color: #ffd24d; }
.lc-price__safe { text-align: center; }
.lc-price .lc-btn--block { margin-top: 4px; }

@media (max-width: 560px) {
  .bk { width: 100%; max-width: 100%; max-height: 100%; height: 100%; border-radius: 0; border: 0; }
  .bk__body { padding-inline: 16px; }
  .bk__foot { padding: 12px 16px calc(14px + env(safe-area-inset-bottom)); }
}

/* ---------- start date: one tap per month ---------- */
.bk__hint { margin: -4px 0 0; font-size: 13px; color: #8d8d92; }
.pick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pick.has-err .pick__opt { border-color: rgba(255,107,107,.6); }
.pick__opt {
  display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 14px 6px 12px; border-radius: 16px; cursor: pointer;
  background: #141416; border: 1.5px solid rgba(255,255,255,.12); color: #fff; font: inherit; transition: border-color .15s, background .15s, transform .15s;
}
.pick__opt:hover { border-color: rgba(245,170,3,.6); transform: translateY(-1px); }
.pick__opt b { font-size: 17px; font-weight: 700; line-height: 1.4; }
.pick__opt span { font-size: 13px; color: #ffd24d; }
.pick__opt small { font-size: 11.5px; color: #77777c; }
.pick__opt.is-on { background: linear-gradient(180deg, #ffd24d, #f5aa03); border-color: transparent; color: #0b0b0b; }
.pick__opt.is-on span, .pick__opt.is-on small { color: #3a2a00; }
.pick__opt:focus-visible { outline: 3px solid rgba(245,170,3,.4); outline-offset: 2px; }
.cal .cal__month { display: block; text-align: center; margin-bottom: 8px; font-size: 14px; }
.cal .cal__d { height: 32px; cursor: default; }

/* shared pieces (were in liveclasses.css) */
.bk .en { font-family: var(--font-wix, "Rubik", sans-serif); }
.bk { font-family: var(--font, "Rubik", system-ui, sans-serif); direction: rtl; text-align: right; }
.bk[hidden], .bk [hidden] { display: none !important; }
.bk__kicker { display: block; font-size: 12px; color: #ffd24d; margin-bottom: 1px; }
.bk__hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bk__go {
  width: 100%; height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 0; border-radius: 14px; cursor: pointer;
  font: 700 15.5px var(--font, "Rubik", sans-serif); color: #0b0b0b; text-decoration: none;
  background: linear-gradient(180deg, #ffd24d, #f5aa03); box-shadow: inset 0 1px 0 rgba(255,255,255,.5);
}
.bk__go svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bk__go[disabled] { opacity: .7; cursor: progress; }
.bk__done { width: 100%; padding: 34px 24px 26px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.bk__done h2 { margin: 6px 0 0; font-size: 21px; color: #fff; }
.bk__done p { margin: 0; font-size: 14.5px; color: #d4d4d7; }
.bk__done .bk__muted { color: #8d8d92; font-size: 13.5px; line-height: 1.9; max-width: 320px; }
.bk__id { font-family: var(--font-wix, sans-serif); color: #ffd24d; font-size: 17px; letter-spacing: .04em; }
.bk__check { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-size: 30px; color: #0b0b0b; background: linear-gradient(180deg, #7ee2a0, #2bd576); }
.bk__done .bk__go { margin-top: 10px; max-width: 340px; }
.bk__link { border: 0; background: none; color: #8d8d92; font: inherit; font-size: 13.5px; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 560px) { .bk__done { justify-content: center; min-height: 100%; } }

/* any day can be picked: plain days, gold for the chosen one */
.cal button.cal__d { cursor: pointer; color: #e6e6e9; font-weight: 500; border-color: transparent; background: transparent; }
.cal button.cal__d:hover { background: rgba(255,255,255,.07); transform: none; }
.cal button.cal__d.is-sess { color: #ffd24d; background: rgba(245,170,3,.12); }
.cal button.cal__d.is-sel { color: #0b0b0b; font-weight: 700; background: linear-gradient(180deg, #ffd24d, #f5aa03); }
.cal .cal__d { height: 36px; }

/* limited seats badge */
.seat { display: flex; align-items: center; justify-content: center; gap: 7px; width: fit-content; max-width: 100%; margin: 0 auto 10px; padding: 5px 12px; border-radius: 999px;
  font-size: 13px; line-height: 1.5; color: #ff6b6b; background: rgba(255,70,70,.1); border: 1px solid rgba(255,80,80,.45); }
.seat b { font-weight: 800; font-size: 14px; }
.seat i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex-shrink: 0; animation: seatPulse 1.6s ease-in-out infinite; }
.seat--low { color: #ff5252; background: rgba(255,60,60,.16); border-color: rgba(255,70,70,.6); }
.seat--full { color: #c9c9ce; background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.15); }
.pkd-live .seat { color: #fff; background: rgba(0,0,0,.28); border-color: rgba(255,255,255,.3); }
@keyframes seatPulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .seat i { animation: none; } }
.course__foot { flex-wrap: wrap; }
.course__foot .seat { flex: 1 1 100%; white-space: nowrap; }
