/* Prop Firm Marketers · live booking card (17 Nov 2026), Style C.
   Everything here is scoped to .bkx, which assets/js/booking.js adds once it has turned a .bkw[data-booking] card into the working
   flow. The static card (.bkw / .bk-* in site.css) is what no-JS and ?static show, and nothing in this file touches it.
   Loaded on the home page and /book-a-call/ only. */

.bkx{position:relative}
.bkx button{-webkit-tap-highlight-color:transparent}
.bkx :focus-visible{outline:3px solid var(--cobalt);outline-offset:2px}
.bkx [tabindex="-1"]:focus{outline:none}
.bkx-vh{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.bkx em{font-style:normal;color:var(--tomato)}

/* preview sticker on the card's top edge */
.bkx-prev{position:absolute;top:-17px;right:24px;z-index:2;box-shadow:3px 3px 0 var(--ink)}

/* steps: Day · Time · Your details */
.bkx-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-top:16px;padding:4px;border:2px solid var(--ink);border-radius:999px;list-style:none}
.bkx-steps li{display:flex;align-items:center;justify-content:center;gap:7px;height:34px;border-radius:999px;font-size:12.5px;font-weight:700;color:var(--ink-3);white-space:nowrap;transition:background-color .3s ease,color .3s ease}
.bkx-steps i{display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:var(--cream-2);font-style:normal;font-size:11px;color:var(--ink);transition:background-color .3s ease}
.bkx-steps i svg{width:12px;height:12px}
.bkx-steps .on{background:var(--ink);color:#fff}
.bkx-steps .on i{background:var(--butter)}

/* the stage holds one view at a time; the extra 8px keep hard shadows visible while its height animates */
.bkx-stage{position:relative;padding:0 8px 8px 0;margin:0 -8px -8px 0}

/* ---------- step 1: month, days, times ---------- */
.bkx-mh{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:22px}
.bkx-month{font-family:var(--display);font-weight:400;font-size:30px;line-height:1;letter-spacing:.01em;text-transform:uppercase;padding-top:3px}
.bkx-nav{display:flex;gap:8px}
.bkx-nav button{display:grid;place-items:center;width:40px;height:40px;padding:0;border:2px solid var(--ink);border-radius:11px;background:#fff;color:var(--ink);cursor:pointer;transition:background-color .18s,box-shadow .18s,transform .18s}
.bkx-nav button:hover:not(:disabled){background:var(--butter);box-shadow:3px 3px 0 var(--ink);transform:translate(-1px,-1px)}
.bkx-nav button:active:not(:disabled){transform:translate(1px,1px);box-shadow:none}
.bkx-nav button:disabled{opacity:.28;cursor:default}
.bkx-nav svg{width:17px;height:17px}
.bkx-dw,.bkx-days{display:grid;grid-template-columns:repeat(7,1fr);gap:6px}
.bkx-dw{margin-top:16px}
.bkx-dw span{text-align:center;font-size:11px;font-weight:700;color:var(--ink-4);letter-spacing:.04em}
.bkx-days{margin-top:8px}
.bkx-days>*{position:relative;display:grid;place-items:center;height:42px;padding:0;border:0;border-radius:11px;font-size:14px;font-weight:600;color:#BDB5A8}
.bkx-days>.e{visibility:hidden}
.bkx-days>.av{background:var(--cream);color:var(--ink);font-weight:700;cursor:pointer;transition:background-color .18s,color .18s,box-shadow .18s}
.bkx-days>.av:hover{background:var(--butter)}
.bkx-days>.sel,.bkx-days>.sel:hover{background:var(--ink);color:#fff;box-shadow:3px 3px 0 var(--tomato)}
.bkx-days>.today::after{content:"";position:absolute;left:50%;bottom:6px;width:4px;height:4px;margin-left:-2px;border-radius:50%;background:currentColor}
.bkx-times{margin-top:20px;padding-top:18px;border-top:2px dashed var(--line-2)}
.bkx-th{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:4px 14px}
.bkx-tday{font-size:15px;font-weight:700}
.bkx-tday span{color:var(--ink-3)}
.bkx-tz{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:600;color:var(--ink-3)}
.bkx-tz svg{width:15px;height:15px}
.bkx-slots{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:12px}
.bkx-slots>button{height:44px;padding:0 4px;border:2px solid var(--ink);border-radius:12px;background:#fff;color:var(--ink);font-size:14px;font-weight:700;white-space:nowrap;cursor:pointer;transition:background-color .18s,box-shadow .18s}
.bkx-slots>button:hover{background:var(--cream)}
.bkx-slots>button.on{background:var(--butter);box-shadow:3px 3px 0 var(--ink)}
.bkx .bkx-go{width:100%;margin-top:22px}

/* buttons: real ones (motion.js's magnet only knows the buttons that existed at load, so these lift on their own) */
.bkx .btn{cursor:pointer;font-family:var(--sans)}
.bkx .btn:not(:disabled){transition:transform .18s ease,box-shadow .18s ease}
.bkx .btn:not(:disabled):hover{transform:translate(-2px,-2px);box-shadow:6px 6px 0 var(--ink)}
.bkx .btn:not(:disabled):active{transform:translate(2px,2px);box-shadow:1px 1px 0 var(--ink)}
.bkx .btn:disabled{border-style:dashed;background:var(--cream);color:var(--ink-3);box-shadow:none;cursor:not-allowed;transform:none}
.bkx .btn:disabled .ar{background:var(--cream-2);color:var(--ink-3)}
.bkx .btn.is-busy{pointer-events:none}
.bkx-spin{display:block;width:18px;height:18px;border:2.5px solid rgba(255,255,255,.35);border-top-color:#fff;border-radius:50%;animation:bkx-spin .7s linear infinite}
@keyframes bkx-spin{to{transform:rotate(360deg)}}

/* loading: skeleton cells */
.bkx-sk i{display:block;height:42px;border-radius:11px;background:linear-gradient(90deg,var(--cream) 0%,var(--cream-2) 50%,var(--cream) 100%);background-size:200% 100%;animation:bkx-sk 1.3s linear infinite}
.bkx-slots.bkx-sk i{height:44px;border-radius:12px}
@keyframes bkx-sk{from{background-position:100% 0}to{background-position:-100% 0}}

/* warnings and errors */
.bkx-warn,.bkx-err{display:flex;align-items:flex-start;gap:10px;margin-top:14px;padding:12px 14px;border:2px solid var(--ink);border-radius:12px;font-size:14px;font-weight:600;line-height:1.45}
.bkx-warn{background:var(--butter-2)}
.bkx-err{margin-top:20px;background:var(--tomato-2)}
.bkx-warn svg,.bkx-err svg{width:20px;height:20px;flex:none}
.bkx-err a{font-weight:700;text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:3px}

/* ---------- messages and the end screens ---------- */
.bkx-msg,.bkx-done{display:flex;flex-direction:column;align-items:center;text-align:center;padding:30px 0 4px}
.bkx-badge{display:grid;place-items:center;width:76px;height:76px;border:2px solid var(--ink);border-radius:22px;box-shadow:var(--pop)}
.bkx-badge svg{width:36px;height:36px}
.bkx-badge-t{background:var(--tomato)}
.bkx-badge-b{background:var(--butter)}
.bkx-t{margin-top:22px;font-family:var(--display);font-weight:400;font-size:44px;line-height:1.02;letter-spacing:.005em}
.bkx-p{max-width:410px;margin-top:14px;font-size:16px;line-height:1.55;color:var(--ink-2)}
.bkx-p b{color:var(--ink)}
.bkx-btns{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin-top:26px}
.bkx .bkx-btns .btn{width:auto;margin-top:0}
.bkx-btns .btn-w svg{width:18px;height:18px}
.bkx-when2{display:inline-flex;align-items:center;gap:8px;margin-top:16px;padding:8px 16px 8px 12px;border:2px solid var(--ink);border-radius:999px;background:var(--butter-2);font-size:15.5px;font-weight:700}
.bkx-when2 svg{width:18px;height:18px}
.bkx-sum{width:100%;margin-top:22px;padding:4px 18px;border:2px solid var(--ink);border-radius:var(--r2);background:var(--cream);text-align:left}
.bkx-sum>div{display:grid;grid-template-columns:128px 1fr;gap:12px;padding:10px 0;border-top:1.5px dashed var(--line-2)}
.bkx-sum>div:first-child{border-top:0}
.bkx-sum dt{padding-top:2px;font-size:11.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-3)}
.bkx-sum dd{font-size:15px;font-weight:600;line-height:1.45;overflow-wrap:anywhere}

/* ---------- step 2: questions ---------- */
.bkx-form{padding-top:22px}
.bkx-form .bkx-t{margin-top:0;font-size:38px}
.bkx-when{display:flex;align-items:center;gap:12px;margin-top:16px;padding:10px 10px 10px 12px;border:2px solid var(--ink);border-radius:var(--r2);background:var(--butter-2)}
.bkx-wi{display:grid;place-items:center;flex:none;width:40px;height:40px;border:2px solid var(--ink);border-radius:11px;background:#fff}
.bkx-wi svg{width:19px;height:19px}
.bkx-wt{display:flex;flex-direction:column;min-width:0;line-height:1.3}
.bkx-wt b{font-size:16px}
.bkx-wt small{font-size:12.5px;font-weight:600;color:var(--ink-3)}
.bkx-chg{display:inline-flex;align-items:center;gap:4px;flex:none;height:40px;margin-left:auto;padding:0 14px 0 9px;border:2px solid var(--ink);border-radius:999px;background:#fff;color:var(--ink);font-size:14px;font-weight:700;cursor:pointer;transition:background-color .18s,box-shadow .18s}
.bkx-chg:hover:not(:disabled){background:var(--butter);box-shadow:3px 3px 0 var(--ink)}
.bkx-chg svg{width:16px;height:16px}
.bkx-req{margin-top:16px;font-size:13px;font-weight:600;color:var(--ink-3)}
.bkx-q{margin:18px 0 0;padding:0;border:0;min-width:0}
.bkx-q legend,.bkx-f>label{display:block;padding:0;margin-bottom:9px;font-size:14.5px;font-weight:700;line-height:1.3}
.bkx-q legend small,.bkx-f>label small{margin-left:4px;font-size:12.5px;font-weight:600;color:var(--ink-3)}
.bkx-chips{display:flex;flex-wrap:wrap;gap:8px}
.bkx-chips label{position:relative;cursor:pointer}
.bkx-chips input{position:absolute;left:0;top:0;width:1px;height:1px;margin:0;opacity:0}
.bkx-chips span{display:inline-flex;align-items:center;gap:8px;height:40px;padding:0 14px 0 12px;border:2px solid var(--ink);border-radius:999px;background:#fff;font-size:14px;font-weight:600;white-space:nowrap;transition:background-color .18s,color .18s,box-shadow .18s}
.bkx-chips span::before{content:"";flex:none;width:12px;height:12px;border:2px solid currentColor;border-radius:50%;transition:background-color .18s,border-color .18s}
.bkx-chips input[type=checkbox]+span::before{border-radius:4px}
.bkx-chips label:hover span{background:var(--cream)}
.bkx-chips input:checked+span{background:var(--ink);color:#fff;box-shadow:3px 3px 0 var(--tomato)}
.bkx-chips input:checked+span::before{background:var(--butter);border-color:var(--butter)}
.bkx-chips input:focus-visible+span{outline:3px solid var(--cobalt);outline-offset:2px}
.bkx-chips input:disabled+span{opacity:.6;cursor:default}
.bkx-f{display:flex;flex-direction:column;min-width:0;margin-top:18px}
.bkx-f input,.bkx-f textarea{width:100%;min-width:0;padding:11px 14px;border:2px solid var(--ink);border-radius:12px;background:#fff;color:var(--ink);font:inherit;font-size:16px;font-weight:500;transition:box-shadow .18s,background-color .18s}
.bkx-f input{height:50px}
.bkx-f textarea{display:block;min-height:96px;line-height:1.45;resize:vertical}
.bkx-f input::placeholder,.bkx-f textarea::placeholder{color:var(--ink-4)}
.bkx-f input:hover,.bkx-f textarea:hover{background:var(--paper)}
.bkx-f input:focus,.bkx-f textarea:focus{outline:none;background:#fff;box-shadow:4px 4px 0 var(--cobalt)}
.bkx-f input:disabled,.bkx-f textarea:disabled{opacity:.6}
.bkx-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}
.bkx-sub{margin-top:26px;padding-top:20px;border-top:2px dashed var(--line-2);font-family:var(--display);font-size:24px;line-height:1;text-transform:uppercase}
.bkx-q.bad .bkx-chips span{border-color:var(--tomato);background:var(--tomato-2)}
.bkx-f.bad input,.bkx-f.bad textarea{border-color:var(--tomato);background:var(--tomato-2)}
.bkx-f.bad input:focus,.bkx-f.bad textarea:focus{box-shadow:4px 4px 0 var(--tomato)}
.bkx-fe{display:flex;align-items:center;gap:6px;margin-top:8px;font-size:13px;font-weight:700}
.bkx-fe[hidden]{display:none}
.bkx-fe svg{width:16px;height:16px;color:var(--tomato)}
.bkx-hp{position:absolute!important;left:-9999px!important;top:auto;width:1px;height:1px;overflow:hidden}
.bkx-foot{margin-top:24px}
.bkx-foot .bkx-go{margin-top:0}
.bkx-note{margin-top:14px;font-size:13px;font-weight:500;line-height:1.45;color:var(--ink-3);text-align:center}
.bkx-note-pv{display:flex;align-items:flex-start;gap:8px;padding:9px 12px;border:2px dashed var(--ink);border-radius:12px;background:var(--butter-2);color:var(--ink);font-weight:600;text-align:left}
.bkx-note-pv svg{flex:none;width:17px;height:17px;margin-top:1px}

/* entering view without GSAP (GSAP does it when it is on the page); html.static switches every animation off in site.css */
.bkx-in{animation:bkx-in .34s cubic-bezier(.2,.8,.2,1)}
@keyframes bkx-in{from{opacity:0;transform:translateX(16px)}}
@media (prefers-reduced-motion:reduce){.bkx-in,.bkx-sk i,.bkx-spin{animation:none}}

/* ---------- phone ---------- */
@media (max-width:760px){
  .bkx-prev{top:-15px;right:14px;height:28px;padding:0 10px;font-size:12px;gap:6px}
  .bkx-prev svg{width:14px;height:14px}
  .bkx-steps{grid-template-columns:1fr 1fr 1.4fr;gap:4px}
  .bkx-steps li{gap:5px;font-size:11.5px}
  .bkx-month{font-size:26px}
  .bkx-nav button{width:44px;height:44px}
  .bkx-dw,.bkx-days{gap:4px}
  .bkx-days>*{height:42px;border-radius:9px}
  .bkx-th{flex-direction:column;align-items:flex-start}
  .bkx-slots{grid-template-columns:repeat(3,1fr)}
  .bkx-t{font-size:36px}
  .bkx-form .bkx-t{font-size:32px}
  .bkx-wi{display:none}
  .bkx-when{padding:10px 8px 10px 14px}
  .bkx-chips span{height:44px}
  .bkx-grid{grid-template-columns:1fr}
  .bkx-msg,.bkx-done{padding-top:24px}
  .bkx-sum{padding:4px 14px}
  .bkx-sum>div{grid-template-columns:1fr;gap:2px}
  .bkx-btns{flex-direction:column;align-items:stretch;width:100%}
  .bkx .bkx-btns .btn{width:100%}
}
