/* =====================================================================
   BOOKING FLOW  (prefix: bk-)  ·  Nunito + Montserrat · sunset glass
   ===================================================================== */

:root {
  --bk-cream: #fef0cd;
  --bk-gold: #f3da9a;
  --bk-ink: #1b1c1e;
  --bk-accent: #e9b949;
  --bk-green: #22c55e;
  --bk-green-d: #16a34a;
  --bk-text: #1f2422;
  --bk-muted: #6b716d;
  --bk-line: rgba(27, 28, 30, 0.1);
  --bk-glass: rgba(255, 255, 255, 0.6);
  --bk-stroke: rgba(255, 255, 255, 0.8);
  --bk-head: 'Nunito', system-ui, sans-serif;
  --bk-body: 'Montserrat', system-ui, sans-serif;
  --bk-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html, body.bk-page { max-width: 100%; overflow-x: hidden; }
body.bk-page {
  margin: 0;
  min-height: 100vh;
  font-family: var(--bk-body);
  color: var(--bk-text);
  background: radial-gradient(120% 90% at 50% 0%, #1a1c20 0%, #0b0c0f 60%, #050608 100%);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.bk-page * { max-width: 100%; }

.bk-page img { max-width: 100%; display: block; }
.bk-page a { text-decoration: none; color: inherit; }
.bk-page input, .bk-page select, .bk-page button { font-family: inherit; }

.bk-eyebrow {
  display: inline-block;
  font-family: var(--bk-body);
  font-weight: 600; font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--bk-green-d);
  margin-bottom: 8px;
}

/* ---------- futuristic background ---------- */
.bk-bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
#bkNet { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.bk-bg__glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.6; }
.bk-bg__glow--a { width: 620px; height: 620px; left: -200px; top: -200px; background: rgba(34,197,94,0.22); animation: bk-orb 16s ease-in-out infinite; }
.bk-bg__glow--b { width: 560px; height: 560px; right: -180px; bottom: -200px; background: rgba(233,185,73,0.2); animation: bk-orb 16s ease-in-out infinite -8s; }
@keyframes bk-orb { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(30px,24px) scale(1.06); } }

.bk-float { position: absolute; inset: 0; }
.bk-float__ic {
  position: absolute; left: var(--x); top: var(--y);
  width: calc(46px * var(--s)); height: calc(46px * var(--s));
  border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: calc(1.05rem * var(--s)); color: rgba(255,255,255,0.75);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.12), 0 0 24px rgba(34,197,94,0.12);
  animation: bk-float 14s ease-in-out infinite;
  animation-delay: var(--t);
}
.bk-float__ic i { filter: drop-shadow(0 0 8px rgba(34,197,94,0.5)); }
@keyframes bk-float {
  0%,100% { transform: translate(0,0) rotate(0deg); }
  25%     { transform: translate(14px,-18px) rotate(6deg); }
  50%     { transform: translate(-10px,-30px) rotate(-4deg); }
  75%     { transform: translate(-16px,-12px) rotate(3deg); }
}

/* ---------- shell ---------- */
.bk-shell {
  position: relative; z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  padding: 32px 20px;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  min-height: 100vh;
}

/* ---------- left: stepper card ---------- */
.bk-side {
  position: sticky;
  top: 40px;
  padding: 28px 26px;
  border-radius: 28px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.14);
}

.bk-side__logo img { height: 30px; width: auto; margin-bottom: 26px; }
.bk-side__head { margin-bottom: 28px; }
.bk-side__title { font-family: var(--bk-head); font-weight: 900; font-size: 1.6rem; letter-spacing: -0.02em; margin: 0 0 8px; color: #fff; }
.bk-side__title em { font-style: normal; color: var(--bk-green); }
.bk-side__sub { font-size: 0.86rem; line-height: 1.6; color: rgba(255,255,255,0.55); margin: 0; }

.bk-steps { list-style: none; margin: 0 0 26px; padding: 0; position: relative; }

.bk-step {
  position: relative;
  display: flex; align-items: center; gap: 14px;
  padding: 10px 0;
}
/* connecting line */
.bk-step::before {
  content: "";
  position: absolute; left: 19px; top: 40px; bottom: -2px; width: 2px;
  background: rgba(255,255,255,0.12);
  z-index: 0;
}
.bk-step:last-child::before { display: none; }
.bk-step.is-done::before { background: var(--bk-accent); }

.bk-step__mark {
  position: relative; z-index: 1;
  flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.85rem; color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.06);
  border: 2px solid rgba(255,255,255,0.14);
  transition: background 0.4s var(--bk-ease), color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s var(--bk-ease);
}
.bk-step__txt { display: flex; flex-direction: column; line-height: 1.2; }
.bk-step__txt small { font-size: 0.62rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.45); }
.bk-step__txt b { font-family: var(--bk-head); font-weight: 800; font-size: 0.92rem; color: rgba(255,255,255,0.85); transition: color 0.3s ease; }

.bk-step.is-active .bk-step__mark {
  color: #0b0c0f; background: var(--bk-green); border-color: var(--bk-green);
  box-shadow: 0 0 0 5px rgba(34,197,94,0.18), 0 10px 26px rgba(34,197,94,0.35);
  transform: scale(1.05);
}
.bk-step.is-active .bk-step__mark { animation: bk-mark-pulse 2.4s ease-in-out infinite; }
@keyframes bk-mark-pulse {
  0%,100% { box-shadow: 0 0 0 5px rgba(34,197,94,0.18), 0 10px 26px rgba(34,197,94,0.35); }
  50%     { box-shadow: 0 0 0 11px rgba(34,197,94,0), 0 10px 26px rgba(34,197,94,0.35); }
}
.bk-step.is-done .bk-step__mark { color: #0b0c0f; background: var(--bk-accent); border-color: var(--bk-accent); animation: none; box-shadow: 0 8px 18px rgba(233,185,73,0.35); }
.bk-step.is-done .bk-step__mark i::before { content: "\f00c"; } /* check */

.bk-help {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; border-radius: 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  transition: transform 0.4s var(--bk-ease), background 0.3s ease;
}
.bk-help:hover { transform: translateY(-2px); background: rgba(255,255,255,0.1); }
.bk-help__q { width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--bk-ink); background: var(--bk-accent); }
.bk-help__txt { display: flex; flex-direction: column; line-height: 1.2; }
.bk-help__txt small { font-size: 0.68rem; color: rgba(255,255,255,0.5); }
.bk-help__txt b { font-family: var(--bk-head); font-weight: 800; font-size: 0.9rem; color: #fff; }

/* ---------- right: main ---------- */
.bk-main {
  position: relative;
  padding: 26px 28px 30px;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid rgba(255,255,255,0.7);
  box-shadow: 0 40px 100px rgba(0,0,0,0.55), 0 0 0 1px rgba(34,197,94,0.15);
}
.bk-main::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px;
  background: linear-gradient(135deg, rgba(34,197,94,0.6), transparent 40%, transparent 60%, rgba(233,185,73,0.6));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}

.bk-topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.bk-secure-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px; border-radius: 999px;
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.04em;
  color: var(--bk-green-d); background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.3);
}
.bk-progress { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 200px; }
.bk-progress__bar { flex: 1; height: 6px; border-radius: 999px; background: rgba(27,28,30,0.08); overflow: hidden; }
.bk-progress__bar span { display: block; height: 100%; width: 20%; border-radius: 999px; background: linear-gradient(90deg, var(--bk-green), #7ee0a0); transition: width 0.6s var(--bk-ease); }
.bk-progress__label { font-family: var(--bk-head); font-weight: 800; font-size: 0.74rem; color: var(--bk-muted); white-space: nowrap; }

.bk-panel { display: none; }
.bk-panel.is-active { display: block; animation: bk-panel-in 0.6s var(--bk-ease); }
@keyframes bk-panel-in { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }

/* split: profile + form */
.bk-split { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 22px; align-items: start; }

/* ---------- live profile card ---------- */
.bk-profile {
  position: sticky; top: 24px;
  min-width: 0; max-width: 100%; overflow: hidden;
  text-align: center;
  padding: 26px 18px 20px;
  border-radius: 22px;
  background: linear-gradient(180deg, #f7f8f7, #f0f2f0);
  border: 1px solid rgba(27,28,30,0.06);
  animation: bk-reveal 0.6s var(--bk-ease) both;
  box-sizing: border-box;
}
.bk-profile__avatar { position: relative; width: 110px; height: 110px; margin: 0 auto 14px; }
.bk-profile__ring {
  position: absolute; inset: -4px; border-radius: 50%;
  background: conic-gradient(from 0deg, var(--bk-green), var(--bk-accent), var(--bk-green));
  animation: bk-spin 6s linear infinite;
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px));
}
@keyframes bk-spin { to { transform: rotate(360deg); } }
.bk-profile__initials {
  position: absolute; inset: 0; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--bk-head); font-weight: 900; font-size: 2rem; color: #fff;
  background: linear-gradient(135deg, var(--bk-ink), #3a3d42);
  box-shadow: 0 12px 28px rgba(0,0,0,0.25);
  transition: transform 0.4s var(--bk-ease);
}
.bk-profile__initials i { font-size: 1.6rem; color: rgba(255,255,255,0.6); }
.bk-profile__initials.is-pop { animation: bk-pop 0.45s var(--bk-ease); }
@keyframes bk-pop { 0% { transform: scale(0.85); } 60% { transform: scale(1.08); } 100% { transform: scale(1); } }
.bk-profile__badge {
  position: absolute; right: 0; bottom: 2px;
  width: 28px; height: 28px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.7rem; color: #fff; background: var(--bk-green);
  border: 3px solid #f3f4f3;
  animation: bk-pop 0.45s var(--bk-ease);
}
.bk-profile__name { font-family: var(--bk-head); font-weight: 900; font-size: 1.1rem; color: var(--bk-ink); margin: 0 0 2px; min-height: 1.3em; transition: color 0.3s ease; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bk-profile__name.is-empty { color: #b3b8b4; }
.bk-profile__role { font-size: 0.78rem; color: var(--bk-muted); margin: 0 0 16px; min-height: 1.2em; }
.bk-profile__role.is-empty { color: #c2c6c3; }

.bk-profile__list { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 8px; text-align: left; }
.bk-profile__list li {
  display: flex; align-items: center; gap: 9px;
  min-width: 0; box-sizing: border-box;
  padding: 9px 11px; border-radius: 11px;
  font-size: 0.74rem; color: var(--bk-text);
  background: #fff; border: 1px solid rgba(27,28,30,0.05);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.bk-profile__list li i { flex: 0 0 auto; color: var(--bk-green-d); width: 14px; text-align: center; font-size: 0.72rem; }
.bk-profile__list li span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bk-profile__list li span.is-empty { color: #b3b8b4; }
.bk-profile__list li.is-flash { background: rgba(34,197,94,0.12); box-shadow: inset 3px 0 0 var(--bk-green); }
.bk-profile__list li em { flex: 0 0 auto; font-style: normal; font-size: 0.56rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--bk-green-d); background: rgba(34,197,94,0.14); padding: 3px 7px; border-radius: 999px; animation: bk-pop 0.4s var(--bk-ease); }

.bk-profile__plan { padding: 10px 12px; border-radius: 12px; background: var(--bk-ink); color: #fff; text-align: left; margin-bottom: 14px; }
.bk-profile__plan small { display: block; font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.5); }
.bk-profile__plan b { font-family: var(--bk-head); font-weight: 800; font-size: 0.86rem; }

.bk-profile__meter { height: 6px; border-radius: 999px; background: rgba(27,28,30,0.08); overflow: hidden; }
.bk-profile__meter span { display: block; height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--bk-green), var(--bk-accent)); transition: width 0.5s var(--bk-ease); }
.bk-profile__hint { display: block; margin-top: 6px; font-size: 0.66rem; color: var(--bk-muted); }

/* ---------- form (clean, like reference) ---------- */
.bk-form { display: grid; gap: 14px; }
.bk-form__head { margin-bottom: 4px; }
.bk-form__title { font-family: var(--bk-head); font-weight: 900; font-size: 1.35rem; letter-spacing: -0.02em; color: var(--bk-ink); margin: 0 0 4px; }
.bk-form__sub { font-size: 0.82rem; color: var(--bk-muted); margin: 0; }

.bk-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bk-field { display: grid; gap: 6px; }
.bk-field label { font-size: 0.74rem; font-weight: 500; color: var(--bk-muted); }

.bk-input {
  position: relative;
  display: flex; align-items: center; gap: 10px;
  padding: 0 14px;
  height: 46px;
  border-radius: 11px;
  background: #f4f6f4;
  border: 1.5px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.bk-input:focus-within { background: #fff; border-color: var(--bk-green); box-shadow: 0 0 0 4px rgba(34,197,94,0.12); }
.bk-input.is-bad { border-color: #ef4444; background: #fff; }
.bk-input.is-ok { border-color: var(--bk-green); }
.bk-input input { flex: 1 1 0; width: 100%; border: 0; outline: none; background: transparent; font-size: 0.9rem; color: var(--bk-text); min-width: 0; }
.bk-input input::placeholder { color: #aab0ab; }
.bk-input__chev { color: var(--bk-muted); font-size: 0.7rem; pointer-events: none; }

.bk-input__action {
  flex: 0 0 auto; border: 0; cursor: pointer;
  padding: 7px 13px; border-radius: 8px;
  font-family: var(--bk-head); font-weight: 800; font-size: 0.74rem;
  color: #fff; background: var(--bk-green);
  transition: background 0.3s ease, transform 0.3s ease;
}
.bk-input__action:hover { background: var(--bk-green-d); transform: translateY(-1px); }
.bk-input__action.is-done { background: rgba(34,197,94,0.15); color: var(--bk-green-d); pointer-events: none; }
.bk-err { font-size: 0.7rem; color: #ef4444; }

/* ---- country code picker ---- */
.bk-cc__menu[hidden], .bk-select__menu[hidden], .bk-otp[hidden] { display: none !important; }
.bk-input--phone { overflow: visible; }
.bk-field.is-open, .bk-row.is-open { position: relative; z-index: 400; }
.bk-input.bk-select, .bk-input--phone { position: relative; }
.bk-cc {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px;
  border: 0; background: transparent; cursor: pointer; padding: 0 10px 0 0;
  border-right: 1.5px solid var(--bk-line);
  font-family: var(--bk-head); font-weight: 800; font-size: 0.86rem; color: var(--bk-ink);
}
.bk-cc__flag { font-size: 1.1rem; line-height: 1; }
.bk-cc i { font-size: 0.6rem; color: var(--bk-muted); transition: transform 0.3s var(--bk-ease); }
.bk-cc[aria-expanded="true"] i { transform: rotate(180deg); }

.bk-cc__menu {
  position: absolute; left: 0; top: calc(100% + 8px); z-index: 500;
  width: 300px; max-height: 300px;
  display: flex; flex-direction: column;
  border-radius: 16px; overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 24px 60px rgba(0,0,0,0.3), 0 2px 8px rgba(0,0,0,0.1);
  animation: bk-menu-in 0.3s var(--bk-ease);
}
@keyframes bk-menu-in { from { opacity: 0; transform: translateY(-8px) scale(0.98); } to { opacity: 1; transform: none; } }
.bk-cc__search { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-bottom: 1px solid var(--bk-line); }
.bk-cc__search i { color: var(--bk-muted); font-size: 0.8rem; }
.bk-cc__search input { flex: 1; border: 0; outline: none; background: transparent; font-size: 0.86rem; }
.bk-cc__list { list-style: none; margin: 0; padding: 6px; overflow-y: auto; scrollbar-width: thin; }
.bk-cc__list li {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 10px; border-radius: 10px; cursor: pointer;
  font-size: 0.84rem; color: var(--bk-text);
  transition: background 0.2s ease;
}
.bk-cc__list li:hover, .bk-cc__list li.is-hi { background: rgba(34,197,94,0.12); }
.bk-cc__list li .f { font-size: 1.1rem; }
.bk-cc__list li .n { flex: 1; }
.bk-cc__list li .c { font-family: var(--bk-head); font-weight: 800; color: var(--bk-muted); font-size: 0.8rem; }

/* ---- custom glassy select ---- */
.bk-select { overflow: visible; cursor: pointer; }
.bk-select__btn { flex: 1; text-align: left; border: 0; background: transparent; padding: 0; font-size: 0.92rem; color: var(--bk-text); cursor: pointer; }
.bk-select__btn .is-placeholder { color: #aab0ab; }
.bk-select .bk-input__chev { transition: transform 0.3s var(--bk-ease); }
.bk-select.is-open .bk-input__chev { transform: rotate(180deg); }
.bk-select__menu {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 500;
  list-style: none; margin: 0; padding: 6px;
  max-height: 170px; overflow-y: auto;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 24px 60px rgba(0,0,0,0.3), 0 2px 8px rgba(0,0,0,0.1);
  animation: bk-menu-in 0.3s var(--bk-ease);
  scrollbar-width: thin; scrollbar-color: rgba(34,197,94,0.4) transparent;
}
.bk-select__menu::-webkit-scrollbar { width: 6px; }
.bk-select__menu::-webkit-scrollbar-thumb { background: rgba(34,197,94,0.4); border-radius: 999px; }
.bk-select__menu li {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 12px; border-radius: 11px; cursor: pointer;
  font-size: 0.86rem; color: var(--bk-text);
  transition: background 0.2s ease, transform 0.2s ease;
}
.bk-select__menu li i { width: 18px; text-align: center; color: var(--bk-green-d); }
.bk-select__menu li:hover { background: rgba(34,197,94,0.12); transform: translateX(2px); }
.bk-select__menu li.is-sel { background: rgba(34,197,94,0.16); font-weight: 600; }

/* OTP */
.bk-otp {
  margin-top: 10px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(34,197,94,0.06);
  border: 1px dashed rgba(34,197,94,0.4);
  animation: bk-otp-in 0.4s var(--bk-ease);
}
@keyframes bk-otp-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.bk-otp__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.bk-otp__head span { font-size: 0.74rem; color: var(--bk-muted); }
.bk-otp__head i { color: var(--bk-green-d); margin-right: 4px; }
.bk-otp__resend { border: 0; background: transparent; cursor: pointer; font-family: var(--bk-head); font-weight: 800; font-size: 0.74rem; color: var(--bk-green-d); text-decoration: underline; text-underline-offset: 2px; }
.bk-otp__boxes { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; width: 100%; }
.bk-otp__boxes input {
  width: 100%; min-width: 0; height: 52px; text-align: center; padding: 0;
  border-radius: 12px; border: 1.5px solid var(--bk-line); background: #fff;
  font-family: var(--bk-head); font-weight: 900; font-size: 1.25rem; color: var(--bk-ink);
  outline: none; transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s var(--bk-ease), background 0.25s ease;
}
.bk-otp__boxes input:focus { border-color: var(--bk-green); box-shadow: 0 0 0 4px rgba(34,197,94,0.14); transform: translateY(-2px); }
.bk-otp__boxes input.is-filled { border-color: var(--bk-green); background: rgba(34,197,94,0.06); animation: bk-otp-pop 0.3s var(--bk-ease); }
@keyframes bk-otp-pop { 0%{ transform:scale(0.85);} 60%{ transform:scale(1.08);} 100%{ transform:scale(1);} }

/* verifying: green wave */
.bk-otp__boxes.is-verifying input { border-color: var(--bk-green); background: rgba(34,197,94,0.12); animation: bk-otp-wave 0.6s var(--bk-ease) both; }
.bk-otp__boxes.is-verifying input:nth-child(1){ animation-delay:0s; }
.bk-otp__boxes.is-verifying input:nth-child(2){ animation-delay:0.06s; }
.bk-otp__boxes.is-verifying input:nth-child(3){ animation-delay:0.12s; }
.bk-otp__boxes.is-verifying input:nth-child(4){ animation-delay:0.18s; }
.bk-otp__boxes.is-verifying input:nth-child(5){ animation-delay:0.24s; }
.bk-otp__boxes.is-verifying input:nth-child(6){ animation-delay:0.30s; }
@keyframes bk-otp-wave { 0%{ transform:translateY(0);} 40%{ transform:translateY(-8px); box-shadow:0 8px 18px rgba(34,197,94,0.35);} 100%{ transform:translateY(0);} }

/* verified: all green solid + collapse to a tick */
.bk-otp__boxes.is-ok input { border-color:var(--bk-green); background:var(--bk-green); color:#fff; animation:bk-otp-pop 0.35s var(--bk-ease); }

/* error: red shake */
.bk-otp__boxes.is-bad input { border-color:#ef4444; background:rgba(239,68,68,0.08); }
.bk-otp__boxes.is-bad { animation:bk-otp-shake 0.4s ease; }
@keyframes bk-otp-shake { 0%,100%{ transform:translateX(0);} 20%{ transform:translateX(-8px);} 40%{ transform:translateX(8px);} 60%{ transform:translateX(-5px);} 80%{ transform:translateX(5px);} }

/* success tick that appears over boxes */
.bk-otp__ok { display:none; align-items:center; justify-content:center; gap:10px; height:52px; }
.bk-otp__boxes.is-ok + .bk-otp__ok, .bk-otp.is-verified .bk-otp__ok { display:flex; }
.bk-otp.is-verified .bk-otp__boxes { display:none; }
.bk-otp__ok-tick { width:40px; height:40px; border-radius:50%; background:var(--bk-green); color:#fff; display:inline-flex; align-items:center; justify-content:center; font-size:1rem; box-shadow:0 10px 24px rgba(34,197,94,0.4); animation:bk-pop 0.5s var(--bk-ease); }
.bk-otp__ok-txt { font-family:var(--bk-head); font-weight:800; color:var(--bk-green-d); font-size:0.95rem; }
.bk-otp__msg { display: block; margin-top: 10px; font-size: 0.74rem; }
.bk-otp__msg.is-ok { color: var(--bk-green-d); }
.bk-otp__msg.is-err { color: #ef4444; }

/* checkbox */
.bk-check { display: flex; align-items: flex-start; gap: 11px; cursor: pointer; margin-top: 4px; }
.bk-check input { position: absolute; opacity: 0; width: 0; height: 0; }
.bk-check__box {
  flex: 0 0 auto; width: 22px; height: 22px; border-radius: 7px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 2px solid var(--bk-line); background: #fff;
  font-size: 0.6rem; color: #fff;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s var(--bk-ease);
}
.bk-check__box i { opacity: 0; transform: scale(0.4); transition: opacity 0.2s ease, transform 0.3s var(--bk-ease); }
.bk-check input:checked + .bk-check__box { background: var(--bk-green); border-color: var(--bk-green); }
.bk-check input:checked + .bk-check__box i { opacity: 1; transform: none; }
.bk-check__txt { font-size: 0.8rem; line-height: 1.5; color: var(--bk-muted); }
.bk-check__txt a { color: var(--bk-green-d); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* actions */
.bk-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; }
.bk-btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 22px; border: 0; border-radius: 14px; cursor: pointer;
  font-family: var(--bk-head); font-weight: 800; font-size: 0.9rem;
  transition: transform 0.4s var(--bk-ease), box-shadow 0.3s ease, background 0.3s ease;
}
.bk-btn i { font-size: 0.8rem; transition: transform 0.4s var(--bk-ease); }
.bk-btn--ghost { color: var(--bk-text); background: rgba(27,28,30,0.05); }
.bk-btn--ghost:hover { background: rgba(27,28,30,0.1); }
.bk-btn--primary { color: #fff; background: var(--bk-green); box-shadow: 0 16px 34px rgba(34,197,94,0.35); }
.bk-btn--primary:hover { transform: translateY(-2px); background: var(--bk-green-d); box-shadow: 0 22px 44px rgba(34,197,94,0.45); }
.bk-btn--primary:hover i.fa-arrow-right { transform: translateX(4px); }
.bk-btn--primary:disabled { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }

/* reveal */
.bk-reveal { opacity: 0; transform: translateY(14px); animation: bk-reveal 0.6s var(--bk-ease) forwards; animation-delay: var(--d, 0ms); }
@keyframes bk-reveal { to { opacity: 1; transform: none; } }

/* placeholder panels */
.bk-placeholder { text-align: center; padding: 70px 20px; color: var(--bk-muted); }
.bk-placeholder i { font-size: 2.4rem; color: var(--bk-accent); margin-bottom: 16px; }
.bk-placeholder h3 { font-family: var(--bk-head); font-weight: 900; font-size: 1.3rem; color: var(--bk-ink); margin: 0 0 6px; }
.bk-placeholder p { font-size: 0.9rem; margin: 0; }

/* ---------- responsive ---------- */
@media (max-width: 1150px) {
  .bk-shell { grid-template-columns: 280px minmax(0, 1fr); }
  .bk-split { grid-template-columns: 1fr; }
  .bk-profile { position: static; display: grid; grid-template-columns: auto 1fr; gap: 16px; text-align: left; align-items: center; }
  .bk-profile__avatar { margin: 0; }
  .bk-profile__list, .bk-profile__plan, .bk-profile__meter, .bk-profile__hint { grid-column: 1 / -1; }
  .bk-profile__name, .bk-profile__role { text-align: left; }
}

@media (max-width: 900px) {
  .bk-shell { grid-template-columns: 1fr; gap: 14px; padding: 20px 14px; }
  .bk-side { position: static; }
  .bk-side__head { margin-bottom: 18px; }
  .bk-steps { display: flex; gap: 4px; overflow-x: auto; margin-bottom: 4px; padding-bottom: 6px; }
  .bk-steps::-webkit-scrollbar { display: none; }
  .bk-step { flex-direction: column; text-align: center; gap: 8px; padding: 6px 10px; flex: 0 0 auto; }
  .bk-step::before { display: none; }
  .bk-step__txt small { display: none; }
  .bk-step__txt b { font-size: 0.72rem; white-space: nowrap; }
  .bk-help { display: none; }
  .bk-topbar { gap: 10px; }
}

@media (max-width: 640px) {
  .bk-main { padding: 20px 14px 22px; border-radius: 22px; }
  .bk-row { grid-template-columns: 1fr; }
  .bk-profile { display: block; text-align: center; }
  .bk-profile__avatar { margin: 0 auto 12px; }
  .bk-profile__name, .bk-profile__role { text-align: center; }
  .bk-form__title { font-size: 1.2rem; }
  .bk-otp__boxes { gap: 6px; }
  .bk-otp__boxes input { height: 46px; font-size: 1.05rem; }
  .bk-actions { flex-direction: column-reverse; }
  .bk-btn { width: 100%; justify-content: center; }
  .bk-cc__menu { width: min(280px, 78vw); }
  .bk-secure-pill { font-size: 0.62rem; padding: 6px 10px; }
}

@media (max-width: 380px) {
  .bk-cc__menu { width: 72vw; }
  .bk-otp__boxes { gap: 5px; }
  .bk-otp__boxes input { height: 42px; font-size: 0.95rem; }
}

@media (prefers-reduced-motion: reduce) {
  .bk-bg__glow, .bk-float__ic, .bk-step.is-active .bk-step__mark, .bk-profile__ring { animation: none; }
  .bk-reveal { opacity: 1; transform: none; animation: none; }
  .bk-panel.is-active { animation: none; }
}

/* ============ STEP 2 — PAYMENT ============ */
.bk-pay { display: grid; grid-template-columns: 300px minmax(0,1fr); gap: 22px; align-items: start; }

/* left: summary */
.bk-pay__summary {
  padding: 20px 18px;
  border-radius: 20px;
  background: var(--bk-ink);
  color: #fff;
}
.bk-pay__label { display:block; font-size:0.62rem; letter-spacing:0.16em; text-transform:uppercase; color:rgba(255,255,255,0.5); margin-bottom:12px; }
.bk-pay__plan b { font-family:var(--bk-head); font-weight:900; font-size:1.05rem; color:#fff; display:block; }
.bk-pay__plan span { font-size:0.72rem; color:rgba(255,255,255,0.55); }
.bk-pay__lines { list-style:none; margin:14px 0; padding:14px 0; border-top:1px solid rgba(255,255,255,0.1); border-bottom:1px solid rgba(255,255,255,0.1); display:grid; gap:8px; }
.bk-pay__lines:empty { display:none; }
.bk-pay__lines li { display:flex; justify-content:space-between; gap:10px; font-size:0.78rem; color:rgba(255,255,255,0.7); }
.bk-pay__lines li b { color:#fff; font-weight:600; }
.bk-pay__row { display:flex; justify-content:space-between; align-items:center; font-size:0.8rem; color:rgba(255,255,255,0.7); margin-top:8px; }
.bk-pay__row b { color:#fff; font-family:var(--bk-head); font-weight:800; }
.bk-pay__row--save b { color:#7ee0a0; }
.bk-pay__row--total { margin-top:12px; padding-top:12px; border-top:1px solid rgba(255,255,255,0.1); font-size:0.86rem; }
.bk-pay__row--total b { font-size:1.15rem; }
.bk-pay__token { display:flex; justify-content:space-between; align-items:center; margin-top:14px; padding:12px 14px; border-radius:12px; background:rgba(233,185,73,0.14); border:1px solid rgba(233,185,73,0.35); font-size:0.8rem; }
.bk-pay__token i { color:var(--bk-accent); margin-right:6px; }
.bk-pay__token b { font-family:var(--bk-head); font-weight:900; font-size:1.15rem; color:var(--bk-accent); }
.bk-pay__note { display:flex; gap:8px; margin:14px 0 0; font-size:0.68rem; line-height:1.5; color:rgba(255,255,255,0.5); }
.bk-pay__note i { color:var(--bk-accent); margin-top:2px; }

/* right: qr box */
.bk-pay__box { position:relative; padding:24px; border-radius:20px; background:#f4f6f4; border:1px solid rgba(27,28,30,0.06); text-align:center; }
.bk-qr__frame {
  position:relative; width:220px; height:220px; margin:0 auto 14px; padding:14px;
  border-radius:20px; background:#fff;
  box-shadow:0 16px 40px rgba(0,0,0,0.12), inset 0 0 0 2px rgba(34,197,94,0.15);
  overflow:hidden;
}
.bk-qr__img { width:100%; height:100%; display:flex; align-items:center; justify-content:center; }
.bk-qr__img img { width:100%; height:100%; object-fit:contain; }
.bk-qr__load { font-size:1.6rem; color:var(--bk-muted); }
.bk-qr__scan {
  position:absolute; left:14px; right:14px; top:14px; height:3px; border-radius:3px;
  background:linear-gradient(90deg, transparent, var(--bk-green), transparent);
  box-shadow:0 0 14px rgba(34,197,94,0.8);
  animation:bk-scan 2.2s ease-in-out infinite;
}
@keyframes bk-scan { 0%,100%{ transform:translateY(0);} 50%{ transform:translateY(190px);} }
.bk-qr__amt { font-family:var(--bk-head); font-weight:700; font-size:0.9rem; color:var(--bk-text); }
.bk-qr__amt b { color:var(--bk-green-d); font-weight:900; }
.bk-qr__timer { margin-top:6px; font-size:0.72rem; color:var(--bk-muted); }
.bk-qr__timer i { color:var(--bk-accent); margin-right:4px; }
.bk-qr__timer b { font-variant-numeric:tabular-nums; color:var(--bk-text); }

.bk-pay__apps { margin-top:18px; }
.bk-pay__apps-lbl { display:block; font-size:0.66rem; letter-spacing:0.1em; text-transform:uppercase; color:var(--bk-muted); margin-bottom:10px; }
.bk-pay__apps-row { display:flex; flex-wrap:wrap; justify-content:center; gap:8px; }
.bk-pay__app {
  display:inline-flex; align-items:center; gap:6px;
  padding:10px 14px; border-radius:11px; cursor:pointer;
  border:1px solid rgba(27,28,30,0.1); background:#fff;
  font-family:var(--bk-head); font-weight:700; font-size:0.78rem; color:var(--bk-text);
  transition:transform 0.3s var(--bk-ease), border-color 0.3s ease, background 0.3s ease;
}
.bk-pay__app i { font-size:1rem; color:var(--bk-ink); }
.bk-pay__app:hover { transform:translateY(-2px); border-color:var(--bk-green); background:rgba(34,197,94,0.06); }

.bk-pay__status { display:inline-flex; align-items:center; gap:9px; margin-top:18px; padding:9px 16px; border-radius:999px; background:rgba(233,185,73,0.12); font-size:0.78rem; font-weight:600; color:var(--bk-text); }
.bk-pay__dot { width:9px; height:9px; border-radius:50%; background:var(--bk-accent); animation:bk-blink 1.2s ease-in-out infinite; }
@keyframes bk-blink { 50%{ opacity:0.3; } }

/* success overlay */
.bk-paid[hidden]{display:none!important;}
.bk-paid { position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:10px; border-radius:20px; background:rgba(244,246,244,0.96); backdrop-filter:blur(6px); animation:bk-panel-in 0.4s var(--bk-ease); }
.bk-paid__tick { width:72px; height:72px; border-radius:50%; display:inline-flex; align-items:center; justify-content:center; font-size:1.8rem; color:#fff; background:var(--bk-green); box-shadow:0 14px 34px rgba(34,197,94,0.4); animation:bk-pop 0.5s var(--bk-ease); }
.bk-paid h3 { font-family:var(--bk-head); font-weight:900; font-size:1.3rem; color:var(--bk-ink); margin:0; }
.bk-paid p { font-size:0.86rem; color:var(--bk-muted); margin:0; }

.bk-pay__secure { display:inline-flex; align-items:center; gap:7px; font-size:0.72rem; color:var(--bk-muted); }
.bk-pay__secure i { color:var(--bk-green-d); }

@media (max-width: 820px) {
  .bk-pay { grid-template-columns:1fr; }
}
@media (max-width: 440px) {
  .bk-qr__frame { width:190px; height:190px; }
  @keyframes bk-scan { 0%,100%{ transform:translateY(0);} 50%{ transform:translateY(160px);} }
}

/* ---- sticky toast ---- */
.bk-toast {
  position: fixed; top: 20px; right: 20px; z-index: 10000;
  display: flex; align-items: center; gap: 10px;
  padding: 13px 18px; border-radius: 14px;
  background: #1b1c1e; color: #fff;
  font-family: var(--bk-body); font-size: 0.86rem; font-weight: 500;
  box-shadow: 0 18px 44px rgba(0,0,0,0.4);
  transform: translateX(140%); opacity: 0;
  transition: transform 0.4s var(--bk-ease), opacity 0.4s ease;
  max-width: 90vw;
}
.bk-toast.is-in { transform: none; opacity: 1; }
.bk-toast__ic { width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 0.8rem; color: #fff; background: var(--bk-green); flex: 0 0 auto; }
.bk-toast.is-err { border: 1px solid rgba(239,68,68,0.4); }
.bk-toast.is-err .bk-toast__ic { background: #ef4444; }
@media (max-width: 560px) { .bk-toast { top: auto; bottom: 16px; right: 16px; left: 16px; } }

/* ---- OTP scan sweep ---- */
.bk-otp__boxes.is-scan { position: relative; }
.bk-otp__boxes.is-scan input { border-color: var(--bk-green); background: rgba(34,197,94,0.08); }
.bk-otp__boxes.is-scan::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, transparent, var(--bk-green), transparent);
  box-shadow: 0 0 16px rgba(34,197,94,0.9);
  animation: bk-otp-scan 1.05s ease-in-out;
}
@keyframes bk-otp-scan {
  0%   { top: 0; opacity: 0; }
  15%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* ---- toast: timer line + close ---- */
.bk-toast { position: fixed; overflow: hidden; padding-right: 40px; }
.bk-toast__msg { flex: 1; }
.bk-toast__x {
  position: absolute; top: 10px; right: 10px;
  width: 22px; height: 22px; border-radius: 50%; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.62rem; color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.12);
  transition: background 0.25s ease, color 0.25s ease;
}
.bk-toast__x:hover { background: rgba(255,255,255,0.25); color: #fff; }
.bk-toast__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,0.12); }
.bk-toast__bar i { display: block; height: 100%; width: 100%; background: var(--bk-green); }
.bk-toast.is-err .bk-toast__bar i { background: #ef4444; }

/* small hint lock icon on locked inputs */

/* ---- per-digit lit scan (each box glows in sequence) ---- */
.bk-otp__boxes.is-scan input { border-color: rgba(34,197,94,0.35); background: #fff; transition: all 0.3s var(--bk-ease); }
.bk-otp__boxes.is-scan input.is-lit {
  border-color: var(--bk-green);
  color: var(--bk-green-d);
  background: rgba(34,197,94,0.14);
  transform: translateY(-6px) scale(1.06);
  box-shadow: 0 10px 22px rgba(34,197,94,0.35);
}
/* rainbow-ish per position accent */
.bk-otp__boxes.is-scan input:nth-child(1).is-lit { box-shadow: 0 10px 22px rgba(34,197,94,0.4); }
.bk-otp__boxes.is-scan input:nth-child(2).is-lit { border-color:#3bcf8e; box-shadow: 0 10px 22px rgba(59,207,142,0.4); }
.bk-otp__boxes.is-scan input:nth-child(3).is-lit { border-color:#5ad1c0; box-shadow: 0 10px 22px rgba(90,209,192,0.4); }
.bk-otp__boxes.is-scan input:nth-child(4).is-lit { border-color:#7cc6e8; box-shadow: 0 10px 22px rgba(124,198,232,0.4); }
.bk-otp__boxes.is-scan input:nth-child(5).is-lit { border-color:#a7b6e0; box-shadow: 0 10px 22px rgba(167,182,224,0.4); }
.bk-otp__boxes.is-scan input:nth-child(6).is-lit { border-color:#e9b949; color:#b8860b; box-shadow: 0 10px 22px rgba(233,185,73,0.45); }

/* responsive otp: slightly bigger tap targets on phone */
@media (max-width: 480px) {
  .bk-otp__boxes { max-width: 100%; }
  .bk-otp__boxes input { height: 48px; font-size: 1.15rem; }
}

/* ---- locked (phone onwards, until email verified) ---- */
.bk-input.is-locked-field, .bk-select.is-locked-field, .bk-check.is-locked-field {
  opacity: 0.55; filter: grayscale(0.2); pointer-events: auto; cursor: not-allowed; position: relative;
}
.bk-input.is-locked-field input, .bk-input.is-locked-field .bk-cc, .bk-select.is-locked-field .bk-select__btn { pointer-events: none; }
.bk-input.is-locked-field::after {
  content: "\f023"; font-family: "Font Awesome 6 Free"; font-weight: 900;
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  font-size: 0.72rem; color: #b3b8b4;
}
.bk-check.is-locked-field { pointer-events: auto; }
.bk-check.is-locked-field input { pointer-events: none; }
.bk-btn--primary:disabled { opacity: 0.45; cursor: not-allowed; filter: grayscale(0.3); box-shadow: none; }

/* verify button nudge */
.bk-input__action.is-nudge { animation: bk-nudge 0.6s ease; }
@keyframes bk-nudge { 0%,100%{ transform:translateX(0);} 25%{ transform:translateX(-4px);} 50%{ transform:translateX(4px);} 75%{ transform:translateX(-2px);} }

/* ===== hard responsive clamp — nothing goes off-screen ===== */
html, body.bk-page { max-width: 100%; overflow-x: hidden; }
.bk-page *, .bk-page *::before, .bk-page *::after { min-width: 0; box-sizing: border-box; }

.bk-shell, .bk-main, .bk-side, .bk-split,
.bk-panel, .bk-form, .bk-brief, .bk-sec,
.bk-row, .bk-field, .bk-input, .bk-select,
.bk-profile, .bk-profile__list, .bk-profile__list li,
.bk-topbar, .bk-progress, .bk-pay, .bk-pay__summary, .bk-pay__box,
.bk-otp, .bk-otp__boxes { max-width: 100%; min-width: 0; }

.bk-profile__list li span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

@media (max-width: 1150px) {
  .bk-shell { grid-template-columns: 1fr; }
  .bk-side { position: static; }
  .bk-split { grid-template-columns: 1fr; }
  .bk-profile { position: static; }
}

@media (max-width: 920px) {
  .bk-shell { padding: 16px 12px; gap: 14px; }
  .bk-steps { display: flex; gap: 4px; overflow-x: auto; padding-bottom: 6px; }
  .bk-steps::-webkit-scrollbar { display: none; }
  .bk-step { flex: 0 0 auto; flex-direction: column; text-align: center; gap: 8px; padding: 6px 10px; }
  .bk-step::before { display: none; }
  .bk-step__txt small { display: none; }
  .bk-help { display: none; }
  .bk-pay { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .bk-main { padding: 18px 14px 22px; }
  .bk-row { grid-template-columns: 1fr; }
  .bk-actions { flex-direction: column-reverse; gap: 10px; }
  .bk-actions .bk-btn, .bk-actions__right { width: 100%; }
  .bk-actions__right { flex-direction: column-reverse; }
  .bk-actions__right .bk-btn { width: 100%; justify-content: center; }
}