/* Book Keeper – My Account pages
   (My Devices, Transactions, Transfer Company, Profile, Password, Order Summary)
   Everything is scoped under .bk-acc / .bk-acc-nav so Divi's global styles don't leak in. */

.bk-acc, .bk-acc-nav {
  --bk-green: #15803d;
  --bk-green-d: #0f5f2e;
  --bk-green-50: #effaf2;
  --bk-green-100: #d7f0de;
  --bk-lime: #6fb31f;
  --bk-ink: #1d2433;
  --bk-ink-2: #4b5565;
  --bk-muted: #7a8394;
  --bk-line: #e6e9ee;
  --bk-bg: #f6f8f7;
  --bk-amber: #b45309;
  --bk-amber-50: #fff8eb;
  --bk-red: #b42318;
  --bk-red-50: #fef3f2;
  --bk-blue: #1d5fb8;
  --bk-blue-50: #eff6ff;
  --bk-radius: 14px;
  --bk-shadow: 0 1px 2px rgba(16,24,40,.04), 0 6px 20px rgba(16,24,40,.05);
}
.bk-acc { width: 80%; max-width: 1296px; margin: 0 auto; padding: 24px 0 64px; color: var(--bk-ink); font-size: 15px; line-height: 1.5; text-align: left; }
.bk-acc--inrow { width: 100%; max-width: none; padding: 0; }
.bk-acc *, .bk-acc *::before, .bk-acc *::after, .bk-acc-nav * { box-sizing: border-box; }
.bk-acc h1, .bk-acc h2, .bk-acc h3, .bk-acc h4 { color: var(--bk-ink); padding: 0; line-height: 1.25; font-weight: 700; }
.bk-acc a { color: var(--bk-green); }
.bk-acc p { padding: 0; }
.bk-ico { flex: none; vertical-align: middle; }
.bk-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bk-muted { color: var(--bk-muted); font-size: 13px; }
.bk-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; }
.bk-acc [hidden] { display: none !important; }

/* ---------- green page-title strip (first Divi builder section on account pages) ----------
   Works for both a normal section with a Text module and a Fullwidth Header module:
   all builder paddings/heights are reset and one even padding is applied, so the title
   sits in the middle and the strip is a bit shorter. */
body.bk-acc-page .et-l--post > .et_builder_inner_content > .et_pb_section:first-child, body.bk-acc-page #main-content .entry-content > .et_pb_section:first-child {
  min-height: 0 !important; height: auto !important;
  padding-top: 34px !important; padding-bottom: 34px !important;
  display: flex !important; flex-direction: column; justify-content: center; box-sizing: border-box;
}
/* everything inside: no extra spacing that could push the title up or down */
body.bk-acc-page .et-l--post > .et_builder_inner_content > .et_pb_section:first-child .et_pb_row, body.bk-acc-page #main-content .entry-content > .et_pb_section:first-child .et_pb_row,
body.bk-acc-page .et-l--post > .et_builder_inner_content > .et_pb_section:first-child .et_pb_column, body.bk-acc-page #main-content .entry-content > .et_pb_section:first-child .et_pb_column,
body.bk-acc-page .et-l--post > .et_builder_inner_content > .et_pb_section:first-child .et_pb_module, body.bk-acc-page #main-content .entry-content > .et_pb_section:first-child .et_pb_module {
  padding-top: 0 !important; padding-bottom: 0 !important; margin-top: 0 !important; margin-bottom: 0 !important;
  min-height: 0 !important;
}
body.bk-acc-page .et-l--post > .et_builder_inner_content > .et_pb_section:first-child .et_pb_text_inner > :last-child, body.bk-acc-page #main-content .entry-content > .et_pb_section:first-child .et_pb_text_inner > :last-child { margin-bottom: 0 !important; padding-bottom: 0 !important; }
body.bk-acc-page .et-l--post > .et_builder_inner_content > .et_pb_section:first-child .et_pb_text_inner > :first-child, body.bk-acc-page #main-content .entry-content > .et_pb_section:first-child .et_pb_text_inner > :first-child { margin-top: 0 !important; padding-top: 0 !important; }
body.bk-acc-page .et-l--post > .et_builder_inner_content > .et_pb_section:first-child h1, body.bk-acc-page .et-l--post > .et_builder_inner_content > .et_pb_section:first-child h2, body.bk-acc-page #main-content .entry-content > .et_pb_section:first-child h1, body.bk-acc-page #main-content .entry-content > .et_pb_section:first-child h2 { margin: 0 !important; padding: 0 !important; line-height: 1.2 !important; font-size: 44px !important; }

/* Fullwidth Header module: the green background is on the module, so it gets the padding instead */
body.bk-acc-page .et-l--post > .et_builder_inner_content > .et_pb_section.et_pb_fullwidth_section:first-child { padding-top: 0 !important; padding-bottom: 0 !important; display: block !important; }
body.bk-acc-page .et-l--post > .et_builder_inner_content > .et_pb_section:first-child .et_pb_fullwidth_header {
  padding-top: 34px !important; padding-bottom: 34px !important; min-height: 0 !important; height: auto !important;
  display: flex !important; align-items: center !important;
}
body.bk-acc-page .et-l--post > .et_builder_inner_content > .et_pb_section:first-child .et_pb_fullwidth_header .et_pb_fullwidth_header_container { min-height: 0 !important; display: flex !important; align-items: center !important; padding: 0 !important; }
body.bk-acc-page .et-l--post > .et_builder_inner_content > .et_pb_section:first-child .et_pb_fullwidth_header .header-content-container { align-self: center !important; vertical-align: middle !important; }
body.bk-acc-page .et-l--post > .et_builder_inner_content > .et_pb_section:first-child .et_pb_fullwidth_header .header-content { padding: 0 !important; margin: 0 !important; }
body.bk-acc-page .et-l--post > .et_builder_inner_content > .et_pb_section:first-child .et_pb_fullwidth_header .et_pb_fullwidth_header_subhead, body.bk-acc-page .et-l--post > .et_builder_inner_content > .et_pb_section:first-child .et_pb_fullwidth_header .et_pb_header_content_wrapper { margin: 6px 0 0 !important; padding: 0 !important; }
body.bk-acc-page .et-l--post > .et_builder_inner_content > .et_pb_section:first-child .et_pb_fullwidth_header .et_pb_fullwidth_header_scroll { display: none !important; }

@media (max-width: 980px) {
  body.bk-acc-page .et-l--post > .et_builder_inner_content > .et_pb_section:first-child, body.bk-acc-page #main-content .entry-content > .et_pb_section:first-child, body.bk-acc-page .et-l--post > .et_builder_inner_content > .et_pb_section:first-child .et_pb_fullwidth_header { padding-top: 26px !important; padding-bottom: 26px !important; }
  body.bk-acc-page .et-l--post > .et_builder_inner_content > .et_pb_section.et_pb_fullwidth_section:first-child { padding-top: 0 !important; padding-bottom: 0 !important; }
  body.bk-acc-page .et-l--post > .et_builder_inner_content > .et_pb_section:first-child h1, body.bk-acc-page .et-l--post > .et_builder_inner_content > .et_pb_section:first-child h2, body.bk-acc-page #main-content .entry-content > .et_pb_section:first-child h1, body.bk-acc-page #main-content .entry-content > .et_pb_section:first-child h2 { font-size: 36px !important; }
}
@media (max-width: 720px) {
  body.bk-acc-page .et-l--post > .et_builder_inner_content > .et_pb_section:first-child, body.bk-acc-page #main-content .entry-content > .et_pb_section:first-child, body.bk-acc-page .et-l--post > .et_builder_inner_content > .et_pb_section:first-child .et_pb_fullwidth_header { padding-top: 24px !important; padding-bottom: 24px !important; }
  body.bk-acc-page .et-l--post > .et_builder_inner_content > .et_pb_section.et_pb_fullwidth_section:first-child { padding-top: 0 !important; padding-bottom: 0 !important; }
  body.bk-acc-page .et-l--post > .et_builder_inner_content > .et_pb_section:first-child h1, body.bk-acc-page .et-l--post > .et_builder_inner_content > .et_pb_section:first-child h2, body.bk-acc-page #main-content .entry-content > .et_pb_section:first-child h1, body.bk-acc-page #main-content .entry-content > .et_pb_section:first-child h2 { font-size: 28px !important; }
}

/* ---------- account tab bar ---------- */
.bk-acc-nav { width: 80%; max-width: 1296px; margin: 28px auto 0; background: #fff; border: 1px solid var(--bk-line); border-radius: var(--bk-radius); box-shadow: var(--bk-shadow); position: relative; z-index: 2; }
.bk-acc-nav--inrow { width: 100%; max-width: none; margin: 0 0 24px; }
.bk-acc-nav__inner { padding: 8px; display: flex; align-items: center; gap: 8px 12px; flex-wrap: wrap; }
.bk-acc-nav__list { list-style: none; margin: 0; padding: 0 !important; display: flex; flex-wrap: wrap; gap: 4px; flex: 1 1 auto; min-width: 0; }
.bk-acc-nav__list li { margin: 0; padding: 0; list-style: none; flex: none; }
.bk-acc-nav__list li::before { display: none; }
.bk-acc-nav__link { display: inline-flex; align-items: center; gap: 7px; padding: 9px 13px; border-radius: 10px; font-size: 14px; font-weight: 600; line-height: 1.2; color: var(--bk-ink-2) !important; text-decoration: none; white-space: nowrap; transition: background .15s, color .15s; }
.bk-acc-nav__link .bk-ico { width: 17px; height: 17px; opacity: .8; }
.bk-acc-nav__link:hover { background: var(--bk-green-50); color: var(--bk-green-d) !important; }
.bk-acc-nav__link.is-active { background: var(--bk-green); color: #fff !important; box-shadow: 0 1px 2px rgba(21,128,61,.3); }
.bk-acc-nav__link.is-active .bk-ico { opacity: 1; }
.bk-acc-nav__actions { display: flex; align-items: center; gap: 6px; flex: none; margin-left: auto; }
.bk-acc-nav__cta, .bk-acc-nav__logout { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 700; line-height: 1.2; text-decoration: none; white-space: nowrap; }
.bk-acc-nav__cta { background: var(--bk-green-50); border: 1px solid var(--bk-green-100); color: var(--bk-green-d) !important; }
.bk-acc-nav__cta:hover { background: var(--bk-green-100); }
.bk-acc-nav__logout { border: 1px solid #f4c7c2; color: var(--bk-red) !important; background: #fff; }
.bk-acc-nav__logout:hover { background: var(--bk-red-50); }
.bk-acc-nav__cta .bk-ico, .bk-acc-nav__logout .bk-ico { width: 15px; height: 15px; }

/* tablets: tabs and actions each get their own line */
@media (max-width: 1180px) {
  .bk-acc-nav__list { flex-basis: 100%; }
  .bk-acc-nav__actions { margin-left: 0; padding: 6px 4px 2px; border-top: 1px solid var(--bk-line); width: 100%; justify-content: flex-end; }
}
/* phones: tile grid, everything visible (no hidden horizontal scroll) */
@media (max-width: 720px) {
  .bk-acc-nav__inner { padding: 6px; }
  .bk-acc-nav__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
  .bk-acc-nav__list li { min-width: 0; }
  .bk-acc-nav__link { width: 100%; flex-direction: column; gap: 4px; padding: 10px 4px; font-size: 12px; text-align: center; white-space: normal; }
  .bk-acc-nav__link .bk-ico { width: 20px; height: 20px; }
  .bk-acc-nav__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 8px 2px 2px; }
  .bk-acc-nav__cta, .bk-acc-nav__logout { justify-content: center; border-radius: 10px; padding: 9px 10px; }
}

/* API Balance page: line its content up with the tab bar */
.bk-acc-nav + .bk-topup { width: 80%; max-width: 1296px; padding-left: 0; padding-right: 0; padding-top: 28px; }

.bk-acc-nav + .bk-topup .bk-topup__head { background: linear-gradient(110deg, #effaf2 0%, #f4fbf6 55%, #eef6ff 100%); border: 1px solid var(--bk-green-100); border-radius: var(--bk-radius); padding: 22px 24px; margin-bottom: 22px; align-items: center; }
.bk-acc-nav + .bk-topup .bk-topup__head .bk-chip { background: #fff; }
.bk-acc-nav + .bk-topup .bk-help { text-align: center; padding: 12px 14px !important; line-height: 1.5 !important; margin-top: 14px !important; }
.bk-acc-nav + .bk-topup h3 { font-weight: 700 !important; }

/* ---------- page head ---------- */
.bk-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.bk-head__title { font-size: 22px !important; margin: 0 0 4px !important; }
.bk-head__sub { margin: 0; color: var(--bk-ink-2); }
.bk-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; padding: 5px 11px; border-radius: 999px; background: #fff; border: 1px solid var(--bk-line); color: var(--bk-ink-2); font-weight: 600; }
.bk-chip .bk-ico { width: 14px; height: 14px; }

/* ---------- card ---------- */
.bk-card { background: #fff; border: 1px solid var(--bk-line); border-radius: var(--bk-radius); box-shadow: var(--bk-shadow); }
.bk-card + .bk-card { margin-top: 18px; }
.bk-card__head { display: flex; align-items: flex-start; gap: 14px; padding: 20px 24px; border-bottom: 1px solid var(--bk-line); }
.bk-card__head h2, .bk-card__head h3 { font-size: 17px !important; margin: 0 0 2px !important; }
.bk-card__head p { margin: 0; color: var(--bk-muted); font-size: 13.5px; }
.bk-card__icon { width: 40px; height: 40px; border-radius: 11px; background: var(--bk-green-50); color: var(--bk-green); display: flex; align-items: center; justify-content: center; flex: none; }
.bk-card__icon .bk-ico { width: 20px; height: 20px; }
.bk-card__body { padding: 22px 24px 24px; }
.bk-card__foot { padding: 16px 24px; border-top: 1px solid var(--bk-line); background: #fafbfc; border-radius: 0 0 var(--bk-radius) var(--bk-radius); display: flex; justify-content: flex-end; align-items: center; gap: 12px; flex-wrap: wrap; }

/* ---------- current plan strip ---------- */
.bk-plan { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 14px 18px; margin-bottom: 18px; background: linear-gradient(90deg, #f1f8ff, #f6fbf8); border: 1px solid #dbe8f6; border-radius: var(--bk-radius); }
.bk-plan__icon { width: 38px; height: 38px; border-radius: 10px; background: #fff; color: #c58a0a; display: flex; align-items: center; justify-content: center; border: 1px solid #f0e2bd; flex: none; }
.bk-plan__body { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.bk-plan__label { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--bk-muted); }
.bk-plan__name { font-size: 16px; color: var(--bk-ink); }
.bk-plan__meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 13.5px; color: var(--bk-ink-2); }
.bk-plan__email { display: inline-flex; align-items: center; gap: 6px; padding-left: 12px; border-left: 1px solid #d5e0ec; }
.bk-plan__email .bk-ico { width: 15px; height: 15px; color: var(--bk-muted); }

/* ---------- status pills ---------- */
.bk-status { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.bk-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.bk-status--green { color: var(--bk-green-d); background: var(--bk-green-50); border: 1px solid var(--bk-green-100); }
.bk-status--red { color: var(--bk-red); background: var(--bk-red-50); border: 1px solid #fcd5d1; }
.bk-status--amber { color: var(--bk-amber); background: var(--bk-amber-50); border: 1px solid #fde3b0; }

.bk-pill { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 7px; background: #eef2f6; color: #3d4a5c; white-space: nowrap; letter-spacing: .02em; }
.bk-pill .bk-ico { width: 14px; height: 14px; }
.bk-pill--gold { background: #fdf4dc; color: #8a5a00; }
.bk-pill--silver { background: #eef1f5; color: #4a5568; }
.bk-pill--diamond { background: #e8f1fd; color: #1d5fb8; }
.bk-pill--platinum { background: #efeafe; color: #5b3cc4; }
.bk-pill--android { background: #e7f8ee; color: #128c4b; }
.bk-pill--ios { background: #f0f1f3; color: #1d2433; }
.bk-pill--windows { background: #e8f1fd; color: #1d5fb8; }
.bk-pill--web { background: #fff1e5; color: #b4530f; }

/* ---------- buttons ---------- */
.bk-acc .bk-btn, .bk-acc input.bk-btn, .bk-acc button.bk-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 20px !important; margin: 0;
  border-radius: 10px !important; border: 1px solid transparent !important;
  font: inherit; font-size: 15px !important; font-weight: 700 !important; letter-spacing: 0 !important; line-height: 1.2 !important;
  cursor: pointer; text-decoration: none; text-transform: none; white-space: nowrap;
  transition: background .15s, box-shadow .15s, transform .05s; width: auto; height: auto; float: none;
  -webkit-appearance: none; appearance: none;
}
.bk-acc .bk-btn::after, .bk-acc .bk-btn::before { display: none !important; }
.bk-acc .bk-btn:active { transform: translateY(1px); }
.bk-acc .bk-btn.bk-btn--primary { background: var(--bk-green) !important; color: #fff !important; box-shadow: 0 1px 2px rgba(21,128,61,.25); }
.bk-acc .bk-btn.bk-btn--primary:hover { background: var(--bk-green-d) !important; }
.bk-acc .bk-btn.bk-btn--primary:disabled, .bk-acc .bk-btn.bk-btn--primary[disabled] { background: #9fb8a7 !important; cursor: not-allowed; box-shadow: none; }
.bk-acc .bk-btn.bk-btn--ghost { background: #fff !important; color: var(--bk-ink) !important; border-color: #d5dae1 !important; }
.bk-acc .bk-btn.bk-btn--ghost:hover { border-color: #c9ced6 !important; background: #fafbfc !important; }
.bk-acc .bk-btn.bk-btn--danger { background: #fff !important; color: var(--bk-red) !important; border-color: #f4c7c2 !important; }
.bk-acc .bk-btn.bk-btn--danger:hover { background: var(--bk-red-50) !important; }
.bk-acc .bk-btn.bk-btn--sm { min-height: 34px; padding: 6px 12px !important; font-size: 13px !important; border-radius: 8px !important; }
.bk-acc .bk-btn.bk-btn--block { width: 100%; }
.bk-acc .bk-btn .bk-ico { width: 16px; height: 16px; }
.bk-acc .bk-btn:focus-visible, .bk-acc-nav a:focus-visible { outline: 3px solid rgba(21,128,61,.35); outline-offset: 2px; }

/* ---------- form fields ---------- */
.bk-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.bk-grid-2 > .bk-span-2 { grid-column: 1 / -1; }
.bk-field { margin: 0; position: relative; }
.bk-field > label, .bk-label { display: block; font-size: 13px; font-weight: 700; color: var(--bk-ink-2); margin: 0 0 6px; }
.bk-field .bk-hint { display: block; margin-top: 6px; font-size: 12.5px; color: var(--bk-muted); }
.bk-acc .bk-field input[type="text"], .bk-acc .bk-field input[type="email"], .bk-acc .bk-field input[type="tel"], .bk-acc .bk-field input[type="password"] {
  display: block; width: 100% !important; height: 48px; margin: 0; padding: 0 14px !important;
  background: #fff !important; color: var(--bk-ink) !important;
  border: 1px solid #d5dae1; border-radius: 10px !important;
  font: inherit; font-size: 15px !important; line-height: 46px; box-shadow: none; outline: 0;
  transition: border-color .15s, box-shadow .15s;
}
.bk-acc .bk-field input::placeholder { color: #a3aab5; }
.bk-acc .bk-field input:focus { border-color: var(--bk-green); box-shadow: 0 0 0 3px rgba(21,128,61,.14); }
.bk-acc .bk-field input[disabled], .bk-acc .bk-field input[readonly] { background: #f5f6f8 !important; color: var(--bk-ink-2) !important; }
.bk-acc .bk-field input.error { border-color: var(--bk-red); }
.bk-acc .bk-field label.error { display: block; margin: 6px 0 0; font-size: 12.5px; font-weight: 600; color: var(--bk-red); }

/* password show / hide */
.bk-pw { position: relative; }
.bk-acc .bk-pw input { padding-right: 48px !important; }
.bk-acc .bk-pw__toggle { position: absolute; top: 0; right: 0; width: 46px; height: 48px; display: flex; align-items: center; justify-content: center; background: none !important; border: 0 !important; padding: 0 !important; color: var(--bk-muted); cursor: pointer; }
.bk-acc .bk-pw__toggle:hover { color: var(--bk-ink); }
.bk-acc .bk-pw__toggle.is-on { color: var(--bk-green); }

/* intl-tel-input inside our fields */
.bk-acc .bk-field .intl-tel-input { display: block; width: 100%; }
.bk-acc .bk-field .intl-tel-input input[type="tel"] { padding-left: 52px !important; }
.bk-acc .bk-field .intl-tel-input .flag-container { height: 48px; }
.bk-acc .bk-field .intl-tel-input .selected-flag { border-radius: 10px 0 0 10px; }
.bk-acc .bk-field .intl-tel-input .country-list { z-index: 20; max-width: 320px; white-space: normal; }
.bk-acc #valid-msg, .bk-acc #error-msg { display: inline-block; margin-top: 6px; font-size: 12.5px; font-weight: 600; }
.bk-acc #valid-msg { color: var(--bk-green); }
.bk-acc #error-msg { color: var(--bk-red); }
.bk-acc #valid-msg.hide, .bk-acc #error-msg.hide { display: none; }

.bk-inline { display: flex; gap: 10px; align-items: stretch; }
.bk-inline > input { flex: 1; min-width: 0; }
.bk-acc .bk-inline .bk-btn { min-height: 48px; flex: none; }

.bk-captcha__row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.bk-captcha__q { flex: none; height: 48px; min-width: 96px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; background: repeating-linear-gradient(135deg, #f3f6f4 0 6px, #eaf0ec 6px 12px); border: 1px dashed #c9d6cd; font-weight: 800; font-size: 17px; letter-spacing: .08em; color: var(--bk-ink); user-select: none; }
.bk-acc .bk-captcha__row input[type="text"] { max-width: 140px; }
.bk-captcha label.error { width: 100%; }

/* ---------- notices ---------- */
.bk-note { display: flex; align-items: flex-start; gap: 10px; padding: 12px 16px; border-radius: 11px; font-size: 14px; border: 1px solid var(--bk-line); background: #fafbfc; color: var(--bk-ink-2); margin-bottom: 18px; }
.bk-note .bk-ico { margin-top: 1px; }
.bk-note b, .bk-note a { color: inherit; }
.bk-note--green { background: var(--bk-green-50); border-color: var(--bk-green-100); color: var(--bk-green-d); }
.bk-note--red { background: var(--bk-red-50); border-color: #fcd5d1; color: var(--bk-red); }
.bk-note--blue { background: var(--bk-blue-50); border-color: #d6e6fb; color: #1e4e8c; }
/* messages the existing scripts write into (classes added by their JS) */
.bk-acc .bk-msg:empty { display: none; }
.bk-acc .bk-msg { padding: 12px 16px; border-radius: 11px; font-size: 14px; font-weight: 600; margin-bottom: 18px; border: 1px solid var(--bk-line); }
.bk-acc .bk-msg.alert-success { background: var(--bk-green-50); border-color: var(--bk-green-100); color: var(--bk-green-d); }
.bk-acc .bk-msg.alert-danger { background: var(--bk-red-50); border-color: #fcd5d1; color: var(--bk-red); }

/* ---------- data table (becomes cards on phones) ---------- */
.bk-table-wrap { overflow-x: auto; }
.bk-acc table.bk-table { width: 100%; border-collapse: collapse; border: 0; margin: 0; font-size: 14.5px; }
.bk-acc table.bk-table th { text-align: left; padding: 12px 16px; background: #fafbfc; border: 0; border-bottom: 1px solid var(--bk-line); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--bk-muted); white-space: nowrap; }
.bk-acc table.bk-table td { padding: 15px 16px; border: 0; border-top: 1px solid var(--bk-line); vertical-align: middle; color: var(--bk-ink); }
.bk-acc table.bk-table tbody tr:first-child td { border-top: 0; }
.bk-acc table.bk-table tbody tr { transition: background .15s; }
.bk-acc table.bk-table tbody tr:hover { background: #fafcfb; }
.bk-acc table.bk-table th:first-child, .bk-acc table.bk-table td:first-child { padding-left: 24px; }
.bk-acc table.bk-table th:last-child, .bk-acc table.bk-table td:last-child { padding-right: 24px; }
.bk-acc .bk-right { text-align: right !important; }
.bk-strong { font-weight: 700; }
.bk-sub { display: block; font-size: 12.5px; color: var(--bk-muted); margin-top: 2px; }
.bk-break { word-break: break-all; }

.bk-empty { text-align: center; padding: 48px 24px; }
.bk-empty__icon { width: 54px; height: 54px; border-radius: 16px; margin: 0 auto 14px; background: var(--bk-bg); color: var(--bk-muted); display: flex; align-items: center; justify-content: center; }
.bk-empty__icon .bk-ico { width: 26px; height: 26px; }
.bk-empty h3 { font-size: 17px !important; margin: 0 0 6px !important; }
.bk-empty p { margin: 0 auto 16px; max-width: 420px; color: var(--bk-muted); font-size: 14px; }

/* ---------- side panel (tips) ---------- */
.bk-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: start; }
.bk-tips { padding: 20px 22px; background: var(--bk-bg); border: 1px solid var(--bk-line); border-radius: var(--bk-radius); font-size: 14px; color: var(--bk-ink-2); }
.bk-tips h3 { font-size: 15px !important; margin: 0 0 10px !important; }
.bk-tips ul { margin: 0; padding: 0 0 0 18px !important; }
.bk-tips li { margin: 0 0 8px; line-height: 1.5; padding: 0; }
.bk-tips p { margin: 12px 0 0; }

/* ---------- profile ---------- */
.bk-profile-id { display: flex; align-items: center; gap: 14px; }
.bk-avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--bk-green); color: #fff; font-size: 20px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex: none; text-transform: uppercase; }
.bk-profile-id h2 { font-size: 18px !important; margin: 0 !important; }
.bk-profile-id p { margin: 2px 0 0; color: var(--bk-muted); font-size: 13.5px; word-break: break-all; }
.bk-meta-row { display: flex; gap: 24px; flex-wrap: wrap; margin-left: auto; font-size: 13px; color: var(--bk-muted); }
.bk-meta-row b { display: block; color: var(--bk-ink); font-size: 14px; }

/* ---------- devices ---------- */
.bk-device { display: flex; align-items: center; gap: 12px; }
.bk-device__icon { width: 38px; height: 38px; border-radius: 10px; background: var(--bk-bg); color: var(--bk-ink-2); display: flex; align-items: center; justify-content: center; flex: none; }
.bk-device__icon--android { background: #e7f8ee; color: #128c4b; }
.bk-device__icon--ios { background: #f0f1f3; color: #1d2433; }
.bk-device__icon--windows { background: #e8f1fd; color: #1d5fb8; }
.bk-device__icon--web { background: #fff1e5; color: #b4530f; }
.bk-devid { max-width: 260px; word-break: break-all; color: var(--bk-ink-2); }

/* ---------- transfer company ---------- */
.bk-steps { list-style: none; margin: 0 0 20px; padding: 0 !important; display: flex; gap: 8px; flex-wrap: wrap; counter-reset: s; }
.bk-steps li { counter-increment: s; display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 8px; border-radius: 999px; background: #fff; border: 1px solid var(--bk-line); font-size: 13.5px; font-weight: 600; color: var(--bk-muted); margin: 0; }
.bk-steps li::before { content: counter(s); width: 22px; height: 22px; border-radius: 50%; background: var(--bk-bg); color: var(--bk-muted); font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.bk-steps li.is-current { color: var(--bk-ink); border-color: var(--bk-green-100); background: var(--bk-green-50); }
.bk-steps li.is-current::before { background: var(--bk-green); color: #fff; }
.bk-steps li.is-done::before { content: "✓"; background: var(--bk-green-100); color: var(--bk-green-d); }

.bk-radio-cell { width: 52px; }
.bk-acc .bk-radio { width: 18px; height: 18px; margin: 0; accent-color: var(--bk-green); cursor: pointer; vertical-align: middle; }
.bk-acc table.bk-table tr.bk-selectable { cursor: pointer; }
.bk-acc table.bk-table tr.is-selected, .bk-acc table.bk-table tr.is-selected:hover { background: var(--bk-green-50); }
.bk-acc table.bk-table tr.is-selected td:first-child { box-shadow: inset 3px 0 0 var(--bk-green); }
.bk-company-name { font-weight: 700; cursor: pointer; }
.bk-actionbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 16px 24px; border-top: 1px solid var(--bk-line); background: var(--bk-green-50); border-radius: 0 0 var(--bk-radius) var(--bk-radius); }
.bk-actionbar__txt { font-size: 14px; color: var(--bk-green-d); }
.bk-acc #transfermsg { display: block; }
.bk-acc #transfermsg:not(:empty) { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: 10px; background: var(--bk-amber-50); border: 1px solid #fde3b0; color: #7a3e06; font-size: 14px; font-weight: 600; line-height: 1.5; }
.bk-acc #transfermsg input[type="checkbox"] { width: 18px; height: 18px; margin: 2px 0 0; flex: none; accent-color: var(--bk-green); }
.bk-acc #transfermsg label { cursor: pointer; }
.bk-acc #error-block:not(:empty) { margin-top: 10px; padding: 10px 14px; border-radius: 10px; background: var(--bk-red-50); border: 1px solid #fcd5d1; color: var(--bk-red); font-size: 14px; font-weight: 600; }
.bk-acc #successmsg:not(:empty) { display: flex; gap: 10px; padding: 14px 16px; border-radius: 11px; background: var(--bk-green-50); border: 1px solid var(--bk-green-100); color: var(--bk-green-d) !important; font-weight: 600; margin-bottom: 18px; }

/* =========================================================
   ORDER SUMMARY
   ========================================================= */
.bk-os { padding-top: 32px; }
.bk-os__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.bk-os__titlewrap { display: flex; align-items: center; gap: 12px; }
.bk-os__back { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--bk-line); background: #fff; display: flex; align-items: center; justify-content: center; color: var(--bk-ink) !important; text-decoration: none; }
.bk-os__back:hover { border-color: #c9ced6; }
.bk-os__title { font-size: 26px !important; margin: 0 !important; }
.bk-os .bk-steps { margin: 0; }
.bk-os__grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; }
.bk-os__side { position: sticky; top: 110px; }

/* selected plan */
.bk-planbox { display: flex; align-items: center; gap: 16px; padding: 20px 24px; border-radius: var(--bk-radius) var(--bk-radius) 0 0; background: linear-gradient(120deg, #f4f6f9, #fbfcfd); border-bottom: 1px solid var(--bk-line); }
.bk-planbox.gold-section-plan { background: linear-gradient(120deg, #fff7e0, #fffdf6); }
.bk-planbox.diamond-section-plan { background: linear-gradient(120deg, #e9f2fe, #f8fbff); }
.bk-planbox__icon { width: 52px; height: 52px; border-radius: 14px; background: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 1px 3px rgba(16,24,40,.08); flex: none; }
.bk-planbox__icon img { width: 30px; height: 30px; display: block; }
.bk-planbox__info { flex: 1; min-width: 0; }
.bk-planbox__name { font-size: 20px; font-weight: 800; color: var(--bk-ink); margin: 0 0 6px; }
.bk-planbox__badges { display: flex; gap: 6px; flex-wrap: wrap; }
.bk-planbox__badges .bk-pill { background: #fff; border: 1px solid var(--bk-line); }
.bk-planbox__price { text-align: right; }
.bk-planbox__offer { font-size: 26px; font-weight: 800; color: var(--bk-ink); line-height: 1.1; white-space: nowrap; }
.bk-planbox__mrp { font-size: 14px; color: var(--bk-muted); text-decoration: line-through; margin-top: 4px; }
.bk-planbox__save { display: inline-block; margin-top: 6px; font-size: 12px; font-weight: 700; color: var(--bk-green-d); background: var(--bk-green-50); border: 1px solid var(--bk-green-100); padding: 2px 8px; border-radius: 999px; }
.bk-planbox__tax { display: block; font-size: 12px; color: var(--bk-muted); margin-top: 2px; }

.bk-os__section { padding: 20px 24px; }
.bk-os__section + .bk-os__section { border-top: 1px solid var(--bk-line); }
.bk-os__h { display: flex; align-items: center; gap: 8px; font-size: 15px !important; margin: 0 0 14px !important; }
.bk-os__h .bk-ico { color: var(--bk-green); }

.bk-coupon { display: flex; gap: 10px; }
.bk-coupon .bk-field { flex: 1; }
.bk-acc .bk-coupon button { min-height: 48px; }
.bk-coupon-ok { display: inline-flex; align-items: center; gap: 6px; margin: 10px 0 0 !important; font-size: 13.5px; font-weight: 700; color: var(--bk-green-d); }
.bk-coupon-ok .bk-ico { width: 16px; height: 16px; }

/* GSTIN with Verify inside the field */
.bk-gst { position: relative; }
.bk-acc .bk-gst input { padding-right: 92px !important; text-transform: uppercase; }
.bk-acc .bk-gst input::placeholder { text-transform: none; }
/* neutralise legacy #coupon_form rules from style-static.min.css */
.bk-acc #coupon_form .input_block { margin: 0; float: none; width: auto; }
.bk-acc #coupon_form #error-msg { bottom: auto; position: static; }
.bk-acc .bk-gst .fetch-details { position: absolute; top: 7px; right: 7px; float: none; margin: 0; height: 34px; padding: 0 14px; display: inline-flex; align-items: center; border-radius: 8px; border: 1px solid var(--bk-green-100); background: var(--bk-green-50); color: var(--bk-green-d); font-size: 13px; font-weight: 700; cursor: pointer; line-height: 1; }
.bk-acc .bk-gst .fetch-details:hover { background: var(--bk-green-100); }

.bk-acc .bk-os__billing-h { font-size: 13px !important; text-transform: uppercase; letter-spacing: .05em; color: var(--bk-muted) !important; margin: 4px 0 -4px !important; }

/* price card */
.bk-price { padding: 22px 24px 8px; }
.bk-price h3 { font-size: 17px !important; margin: 0 0 14px !important; }
.bk-price__plan { display: flex; justify-content: space-between; gap: 10px; padding-bottom: 14px; margin-bottom: 12px; border-bottom: 1px solid var(--bk-line); font-size: 14px; color: var(--bk-ink-2); }
.bk-price__plan b { color: var(--bk-ink); }
.bk-price__row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: 14.5px; color: var(--bk-ink-2); font-variant-numeric: tabular-nums; }
.bk-price__row span:last-child { color: var(--bk-ink); font-weight: 600; white-space: nowrap; }
.bk-price__row--discount span:last-child { color: var(--bk-green); }
.bk-price__row--total { margin-top: 8px; padding-top: 14px; border-top: 1px dashed #d5dae1; font-size: 17px; font-weight: 800; color: var(--bk-ink); }
.bk-price__row--total span:last-child { font-size: 20px; font-weight: 800; }
.bk-price__row--final { background: var(--bk-green-50); margin: 10px -12px 0; padding: 10px 12px; border-radius: 10px; border-top: 0; }
.bk-price #razorpay-affordability-widget:not(:empty) { margin-top: 14px; }
.bk-pay { padding: 8px 24px 22px; }
.bk-acc input.razorpay-payment-button.bk-btn { width: 100%; min-height: 54px; font-size: 17px !important; float: none !important; background: var(--bk-green) !important; color: #fff !important; }
.bk-acc input.razorpay-payment-button.bk-btn:hover { background: var(--bk-green-d) !important; }
.bk-acc input.razorpay-payment-button.bk-btn:disabled { background: #7fa98c !important; cursor: wait; }
.bk-secure { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 12px 0 0 !important; font-size: 12.5px; color: var(--bk-muted); text-align: center; }
.bk-secure .bk-ico { width: 15px; height: 15px; color: var(--bk-green); }
.bk-methods { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.bk-methods span { font-size: 11.5px; font-weight: 700; color: var(--bk-ink-2); background: var(--bk-bg); border: 1px solid var(--bk-line); padding: 3px 8px; border-radius: 6px; }
.bk-partner-msg h6 { margin: 8px 0 0; padding: 14px 16px !important; background: var(--bk-amber-50); border: 1px solid #fde3b0; border-radius: 11px; color: #7a3e06; font-size: 14px; font-weight: 600; line-height: 1.6; }
.bk-partner-msg h6 br:first-child { display: none; }
.bk-os__after { margin-top: 14px; padding: 14px 18px; font-size: 13px; color: var(--bk-muted); background: var(--bk-bg); border: 1px solid var(--bk-line); border-radius: var(--bk-radius); }
.bk-os__after b { color: var(--bk-ink-2); }

/* sticky pay bar (phones / tablets only, shown by JS when the Pay button is off-screen) */
.bk-paybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9990; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--bk-line); box-shadow: 0 -6px 20px rgba(16,24,40,.08); }
.bk-paybar__amt span { display: block; font-size: 12px; color: var(--bk-muted); }
.bk-paybar__amt b { font-size: 18px; color: var(--bk-ink); }
.bk-acc .bk-paybar .bk-btn { min-width: 150px; }

/* =========================================================
   FORGOT PASSWORD (logged-out page)
   ========================================================= */
.bk-auth { max-width: 460px; padding: 48px 0 64px; }
.bk-auth__card { padding: 32px 32px 24px; text-align: center; }
.bk-auth__brand img { display: block; margin: 0 auto 26px; max-width: 190px; height: auto; }
.bk-auth__icon { width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 16px; background: var(--bk-green-50); color: var(--bk-green); display: flex; align-items: center; justify-content: center; }
.bk-auth__icon .bk-ico { width: 26px; height: 26px; }
.bk-auth__icon--ok { background: var(--bk-green); color: #fff; border-radius: 50%; }
.bk-acc .bk-auth__title { font-size: 24px !important; margin: 0 0 8px !important; }
.bk-auth__sub { margin: 0 auto 22px !important; color: var(--bk-ink-2); max-width: 340px; }
.bk-auth__email { margin: -14px 0 22px !important; font-weight: 700; color: var(--bk-ink); word-break: break-all; }
.bk-auth #messageBox:empty { display: none; }
.bk-auth #messageBox { text-align: left; }
.bk-auth #messageBox .bk-note { margin-bottom: 18px; align-items: center; }
.bk-acc #messageBox .alert-success, .bk-acc #messageBox .alert-danger { background: none !important; border: 0 !important; padding: 0 !important; margin: 0 !important; color: inherit !important; text-align: left !important; box-shadow: none !important; }
.bk-auth__form { text-align: left; }
.bk-auth__form .bk-field { margin-bottom: 14px; }
.bk-acc .bk-auth__form .bk-btn { min-height: 50px; }
.bk-acc .bk-auth__form .bk-btn .login-button-text { color: inherit !important; }
.bk-acc .bk-btn.is-loading { opacity: .8; cursor: wait; }
.bk-auth__form.is-resend { padding-top: 18px; border-top: 1px solid var(--bk-line); }
.bk-auth__links { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--bk-line); font-size: 14px; font-weight: 600; }
.bk-auth__links a { display: inline-flex; align-items: center; gap: 4px; text-decoration: none; }
.bk-auth__links .bk-ico { width: 16px; height: 16px; }
.bk-auth__help { text-align: center; margin: 18px 0 0 !important; font-size: 13px; color: var(--bk-muted); }

/* =========================================================
   LOGIN / REGISTER popups (front page ?req=loguser / ?req=register)
   Same show/hide classes as before; only the look changes.
   ========================================================= */
section.bk-authm.bk-authm { --g: #15803d; --gd: #0f5f2e; --g50: #effaf2; --g100: #d7f0de; --ink: #1d2433; --ink2: #4b5565; --mut: #7a8394; --line: #e6e9ee; }
section.login-wrapper-container.bk-authm, section.register-wrapper-container.bk-authm { background: rgba(12, 24, 16, .55); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); overflow-y: auto; font-size: 15px; color: var(--ink); }
section.bk-authm.bk-authm .login-wrapper, section.bk-authm.bk-authm .register-wrapper {
  position: relative; top: auto; right: auto; left: auto; height: auto; min-width: 0;
  width: min(920px, calc(100% - 32px)); margin: 6vh auto 40px; border-radius: 20px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,.25);
}
section.bk-authm.bk-authm .login-wrapper.show, section.bk-authm.bk-authm .register-wrapper.show { display: flex; animation: bk-modal-in .28s ease-out; }
@keyframes bk-modal-in { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { section.bk-authm.bk-authm .login-wrapper.show, section.bk-authm.bk-authm .register-wrapper.show { animation: none; } }
section.bk-authm.bk-authm *, section.bk-authm.bk-authm *::before, section.bk-authm.bk-authm *::after { box-sizing: border-box; }

/* close button */
section.bk-authm.bk-authm .login-block { position: absolute; top: 14px; right: 14px; z-index: 3; }
section.bk-authm.bk-authm .login-block .back-btn-login, section.bk-authm.bk-authm .login-block .back-btn-login.show { position: static; display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; padding: 0; border-radius: 50%; background: #f3f5f7; color: var(--ink2); transition: background .15s; }
section.bk-authm.bk-authm .login-block .back-btn-login:hover { background: #e7eaee; color: var(--ink); }

/* brand side */
.bk-authm__side { flex: 0 0 38%; padding: 40px 34px; color: #fff; background: radial-gradient(120% 80% at 0% 0%, #1fb24a 0%, rgba(31,178,74,0) 60%), linear-gradient(160deg, #0b8a2e 0%, #0a6224 55%, #074a1b 100%); position: relative; overflow: hidden; }
.bk-authm__side::after { content: ""; position: absolute; right: -80px; bottom: -80px; width: 240px; height: 240px; border-radius: 50%; border: 36px solid rgba(255,255,255,.07); }
.bk-authm__logo { display: inline-block; background: #fff; border-radius: 12px; padding: 10px 14px; margin-bottom: 34px; box-shadow: 0 6px 16px rgba(0,0,0,.15); }
.bk-authm__logo img { display: block; height: 30px; width: auto; }
.bk-authm__side h2 { color: #fff !important; font-size: 24px !important; line-height: 1.25 !important; font-weight: 800; margin: 0 0 22px !important; padding: 0 !important; }
.bk-authm__side ul { list-style: none; margin: 0; padding: 0 !important; }
.bk-authm__side li { position: relative; padding: 0 0 0 30px !important; margin: 0 0 14px; font-size: 15px; line-height: 1.45; color: rgba(255,255,255,.92); }
.bk-authm__side li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: rgba(255,255,255,.18); color: #fff; font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; }

/* form side */
section.bk-authm.bk-authm .login-wrapper .login-panel, section.bk-authm.bk-authm .register-wrapper .login-panel { flex: 1; min-width: 0; padding: 40px 40px 30px; background: #fff; }
section.bk-authm.bk-authm .login-panel .login-headings { display: inline-flex; gap: 4px; padding: 4px; margin: 0 0 22px; border-radius: 12px; background: #f1f3f5; justify-content: flex-start; }
section.bk-authm.bk-authm .login-panel .login-headings .login-or-new { flex: none; margin: 0; padding: 0; font-size: 14px !important; font-weight: 700; text-align: center !important; }
section.bk-authm.bk-authm .login-panel .login-headings .login-or-new span, section.bk-authm.bk-authm .login-panel .login-headings .login-or-new a { display: block; padding: 8px 18px; border-radius: 9px; color: var(--ink2) !important; text-decoration: none; }
section.bk-authm.bk-authm .login-panel .login-headings .login-head.active span { background: #fff; color: var(--ink) !important; box-shadow: 0 1px 3px rgba(16,24,40,.12); }
section.bk-authm.bk-authm .login-panel .login-headings .login-or-new a:hover { color: var(--g) !important; }
section.bk-authm.bk-authm .login-panel .login-headings .bk-authm__tab-link { order: -1; }
section.bk-authm.bk-authm .bk-authm__title { font-size: 26px !important; font-weight: 800; color: var(--ink) !important; margin: 0 0 6px !important; padding: 0 !important; line-height: 1.2 !important; }
section.bk-authm.bk-authm .bk-authm__sub { margin: 0 0 22px !important; padding: 0 !important; color: var(--mut); font-size: 14.5px; }

section.bk-authm.bk-authm .login-panel .input_block { margin: 0 0 14px; }
section.bk-authm.bk-authm .bk-authm__label { display: block; margin: 0 0 6px; font-size: 13px; font-weight: 700; color: var(--ink2); }
section.bk-authm.bk-authm .bk-authm__label span { font-weight: 500; color: var(--mut); }
section.bk-authm.bk-authm .login-panel .input_block input[type="email"], section.bk-authm.bk-authm .login-panel .input_block input[type="password"], section.bk-authm.bk-authm .login-panel .input_block input[type="tel"], section.bk-authm.bk-authm .login-panel .input_block input[type="text"] {
  height: 48px; padding: 0 14px; border: 1px solid #d5dae1; border-radius: 10px; background: #fff; color: var(--ink); font-size: 15px; line-height: 46px; box-shadow: none; transition: border-color .15s, box-shadow .15s;
}
section.bk-authm.bk-authm .login-panel .input_block input::placeholder { color: #a3aab5; }
section.bk-authm.bk-authm .login-panel .input_block input:focus { outline: 0; border-color: var(--g); box-shadow: 0 0 0 3px rgba(21,128,61,.14); }
section.bk-authm.bk-authm .bk-authm__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }

/* phone + Fetch Details */
section.bk-authm.bk-authm .bk-authm__fetch { position: relative; }
section.bk-authm.bk-authm .bk-authm__fetch input { padding-right: 124px !important; }
section.bk-authm.bk-authm .bk-authm__fetch .fetch-details { position: absolute; top: 7px; right: 7px; float: none; margin: 0; height: 34px; padding: 0 14px; display: inline-flex; align-items: center; border-radius: 8px; border: 1px solid var(--g100); background: var(--g50); color: var(--gd); font-size: 13px; font-weight: 700; cursor: pointer; line-height: 1; }
section.bk-authm.bk-authm .bk-authm__fetch .fetch-details:hover { background: var(--g100); }
section.bk-authm.bk-authm .focus-border { display: none; }

/* intl-tel-input (register) */
section.bk-authm.bk-authm .iti, section.bk-authm.bk-authm .intl-tel-input { display: block; width: 100%; }
section.bk-authm.bk-authm .iti input[type="tel"] { padding-left: 52px !important; }
section.bk-authm.bk-authm .iti__country-list { z-index: 5; max-width: 320px; white-space: normal; }
section.bk-authm.bk-authm .phone-validation span { display: inline-block; margin-top: 6px; font-size: 12.5px; font-weight: 600; }

/* GSTIN: label above, hidden whenever the field is hidden (field comes first in the markup) */
section.bk-authm.bk-authm .bk-authm__gst { display: flex; flex-direction: column-reverse; }
section.bk-authm.bk-authm .bk-authm__gst #tax_no[style*="none"] ~ .bk-authm__label { display: none; }
section.bk-authm.bk-authm .bk-authm__gst #tax_no { text-transform: uppercase; }
section.bk-authm.bk-authm .bk-authm__gst #tax_no::placeholder { text-transform: none; }

/* terms checkbox */
section.bk-authm.bk-authm .register-wrapper .login-panel .input_inline { float: none; width: auto; margin: 4px 0 18px; }
section.bk-authm.bk-authm .register-wrapper .login-panel .checkbox .form-check-label { float: none; display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.5; color: var(--ink2); margin: 0; }
section.bk-authm.bk-authm .register-wrapper .login-panel .input_inline input[type="checkbox"] { float: none; width: 18px; height: 18px; margin: 1px 0 0; flex: none; accent-color: var(--g); }
section.bk-authm.bk-authm .form-check-label a { color: var(--g); }

/* emails found for a phone number */
section.bk-authm.bk-authm .emailids-block:empty, section.bk-authm.bk-authm .error-block:empty, section.bk-authm.bk-authm .successmsg-block:empty, section.bk-authm.bk-authm .success-block:empty { display: none; }
section.bk-authm.bk-authm .emailids-block { margin: 0 0 16px; }
section.bk-authm.bk-authm .emailids-block ul { margin: 0; padding: 0 !important; list-style: none; display: grid; gap: 8px; }
section.bk-authm.bk-authm .emailids-block ul li { margin: 0; padding: 12px 14px; border-radius: 12px; background: #fff; border: 1px solid #d5dae1; color: var(--ink); font-size: 14px; display: flex; align-items: center; cursor: pointer; transition: border-color .15s, background .15s; }
section.bk-authm.bk-authm .emailids-block ul li:hover { border-color: var(--g); background: var(--g50); }
section.bk-authm.bk-authm .emailids-block ul li .email-id { font-weight: 700; word-break: break-all; }
section.bk-authm.bk-authm .emailids-block ul li sub { font-size: 12px; color: var(--mut); vertical-align: baseline; }
section.bk-authm.bk-authm .emailids-block ul li .right-icon::before { content: "›"; font-size: 22px; color: var(--g); }
section.bk-authm.bk-authm .error-block, section.bk-authm.bk-authm .successmsg-block, section.bk-authm.bk-authm .success-block { margin: 0 0 16px; padding: 10px 14px; border-radius: 10px; font-size: 13.5px; font-weight: 600; }
section.bk-authm.bk-authm .error-block { background: #fef3f2; border: 1px solid #fcd5d1; color: #b42318; }
section.bk-authm.bk-authm .successmsg-block, section.bk-authm.bk-authm .success-block { background: var(--g50); border: 1px solid var(--g100); color: var(--gd); }

/* buttons + links */
section.bk-authm.bk-authm .login-panel .user-cred-step .login-btn-wrap { margin-top: 6px; }
section.bk-authm.bk-authm .login-panel .user-cred-step .login-btn-wrap .login-btn, section.bk-authm.bk-authm .login-panel .user-cred-step .login-btn-wrap .register-btn {
  height: 50px; padding: 0 20px; border: 0; border-radius: 10px; background: var(--g); color: #fff; font-size: 16px; font-weight: 700; letter-spacing: 0; line-height: 50px; box-shadow: 0 1px 2px rgba(21,128,61,.3); transition: background .15s;
}
section.bk-authm.bk-authm .login-panel .user-cred-step .login-btn-wrap .login-btn:hover, section.bk-authm.bk-authm .login-panel .user-cred-step .login-btn-wrap .register-btn:hover { background: var(--gd); }
section.bk-authm.bk-authm .login-wrapper .login-panel .user-cred-step .login-btn-wrap .forgot-password { float: none; display: block; text-align: right; margin: 10px 0 0; font-size: 13.5px; font-weight: 600; color: var(--g); text-decoration: none; }
section.bk-authm.bk-authm .bk-authm__switch { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); text-align: center; }
section.bk-authm.bk-authm .login-using-email, section.bk-authm.bk-authm .login-using-mobile { display: inline-block; margin: 0; padding: 8px 14px; border-radius: 999px; border: 1px solid #d5dae1; font-size: 13.5px; font-weight: 600; color: var(--ink2); text-decoration: none; }
section.bk-authm.bk-authm .login-using-email:hover, section.bk-authm.bk-authm .login-using-mobile:hover { border-color: var(--g); color: var(--g); }
section.bk-authm.bk-authm .bk-authm__foot { margin: 22px 0 0 !important; padding: 0 !important; text-align: center; font-size: 14px; color: var(--mut); }
section.bk-authm.bk-authm .bk-authm__foot a { color: var(--g); font-weight: 700; text-decoration: none; }

@media (max-width: 820px) {
  section.bk-authm.bk-authm .login-wrapper, section.bk-authm.bk-authm .register-wrapper { width: 100%; min-height: 100%; margin: 0; border-radius: 0; box-shadow: none; }
  section.bk-authm.bk-authm .login-wrapper.show, section.bk-authm.bk-authm .register-wrapper.show { flex-direction: column; }
  .bk-authm__side { flex: none; padding: 22px 20px 20px; }
  .bk-authm__side::after, .bk-authm__side ul { display: none; }
  .bk-authm__logo { margin-bottom: 12px; padding: 7px 10px; }
  .bk-authm__logo img { height: 24px; }
  .bk-authm__side h2 { font-size: 18px !important; margin: 0 !important; padding-right: 40px !important; }
  section.bk-authm.bk-authm .login-block .back-btn-login, section.bk-authm.bk-authm .login-block .back-btn-login.show { background: rgba(255,255,255,.2); color: #fff; }
  section.bk-authm.bk-authm .login-wrapper .login-panel, section.bk-authm.bk-authm .register-wrapper .login-panel { padding: 24px 20px 28px; }
  section.bk-authm.bk-authm .bk-authm__row { grid-template-columns: 1fr; }
  section.bk-authm.bk-authm .bk-authm__title { font-size: 22px !important; }
}

/* =========================================================
   PAYMENT SUCCESS (thank-you page)
   ========================================================= */
.bk-ps { max-width: 980px; padding-top: 40px; }
.bk-ps__hero { text-align: center; padding: 40px 32px 32px; position: relative; overflow: hidden; }
.bk-ps__hero::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: linear-gradient(90deg, #0a9a2f, #0b5a1f); }
.bk-ps__check { width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 50%; background: var(--bk-green); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 10px var(--bk-green-50), 0 8px 24px rgba(21,128,61,.3); animation: bk-pop .5s cubic-bezier(.2,1.4,.4,1) both; }
.bk-ps__check .bk-ico { width: 38px; height: 38px; stroke-width: 2.6; }
@keyframes bk-pop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .bk-ps__check { animation: none; } }
.bk-acc .bk-ps__title { font-size: 30px !important; margin: 0 0 8px !important; color: var(--bk-ink) !important; }
.bk-ps__lead { margin: 0 auto 26px !important; max-width: 560px; color: var(--bk-ink-2); font-size: 16px; }
.bk-ps__facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1px; background: var(--bk-line); border: 1px solid var(--bk-line); border-radius: 12px; overflow: hidden; text-align: left; margin-bottom: 26px; }
.bk-ps__fact { background: #fafbfc; padding: 14px 16px; }
.bk-ps__fact span { display: block; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--bk-muted); margin-bottom: 3px; }
.bk-ps__fact b { color: var(--bk-ink); font-size: 15px; }
.bk-ps__actions { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.bk-ps__grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 18px; margin-top: 18px; }
.bk-ps__grid .bk-card + .bk-card { margin-top: 0; }
.bk-ps__next, .bk-ps__help { padding: 22px 24px; }
.bk-acc .bk-ps__h { font-size: 16px !important; margin: 0 0 12px !important; }
.bk-ps__steps { margin: 0; padding: 0 0 0 20px !important; color: var(--bk-ink-2); list-style: decimal outside !important; }
.bk-ps__steps li { margin: 0 0 8px; line-height: 1.5; }
.bk-ps__help p { margin: 0 0 6px !important; color: var(--bk-ink-2); }
.bk-ps__invoice { margin-top: 18px; }
.bk-ps__invhead { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 24px; border-bottom: 1px solid var(--bk-line); }
.bk-ps__invhead .bk-ps__h { margin: 0 !important; }
.bk-ps__invbody { padding: 20px 24px; overflow-x: auto; font-size: 14px; }
.bk-ps__invbody table { max-width: 100%; }
@media (max-width: 720px) {
  .bk-ps { padding-top: 20px; }
  .bk-ps__hero { padding: 32px 18px 24px; }
  .bk-acc .bk-ps__title { font-size: 24px !important; }
  .bk-ps__grid { grid-template-columns: 1fr; }
  .bk-ps__actions .bk-btn { width: 100%; }
  .bk-ps__invhead, .bk-ps__invbody { padding-left: 16px; padding-right: 16px; }
}
@media print {
  #main-header, #top-header, #main-footer, .et-l--header, .et-l--footer, .bk-ps__hero, .bk-ps__grid, .bk-ps__invhead .bk-btn { display: none !important; }
  .bk-ps__invoice { border: 0; box-shadow: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .bk-acc, .bk-acc-nav { width: 90%; }
  .bk-acc--inrow, .bk-acc-nav--inrow { width: 100%; }
  .bk-acc-nav + .bk-topup { width: 90%; }
  .bk-os__grid, .bk-layout { grid-template-columns: 1fr; }
  .bk-os__side { position: static; }
}
@media (max-width: 720px) {
  .bk-acc { width: auto; padding: 20px 16px 48px; font-size: 14.5px; }
  .bk-acc--inrow { padding: 0; }
  .bk-acc-nav + .bk-topup { width: auto; padding: 20px 16px 48px; }
  .bk-auth { padding: 28px 16px 48px; }
  .bk-auth__card { padding: 24px 18px 18px; }
  .bk-acc-nav { width: auto; margin: 16px 16px 0; }
  .bk-acc-nav--inrow { margin: 0 0 18px; }
  .bk-card__head, .bk-card__body, .bk-os__section, .bk-price, .bk-pay, .bk-card__foot, .bk-actionbar { padding-left: 16px; padding-right: 16px; }
  .bk-grid-2 { grid-template-columns: 1fr; }
  .bk-plan__email { padding-left: 0; border-left: 0; }
  .bk-plan__meta { width: 100%; padding-left: 52px; }
  .bk-meta-row { margin-left: 0; width: 100%; }
  .bk-profile-id { flex-wrap: wrap; }
  .bk-os__title { font-size: 22px !important; }
  .bk-os .bk-steps { display: none; }
  .bk-os { padding-bottom: 96px; }
  .bk-planbox { flex-wrap: wrap; padding: 18px 16px; }
  .bk-planbox__price { text-align: left; width: 100%; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
  .bk-planbox__mrp, .bk-planbox__save { margin-top: 0; }
  .bk-card__foot .bk-btn { width: 100%; }

  /* tables → stacked cards */
  .bk-acc table.bk-table, .bk-acc table.bk-table tbody, .bk-acc table.bk-table tr, .bk-acc table.bk-table td { display: block; width: 100%; }
  .bk-acc table.bk-table thead { display: none; }
  .bk-acc table.bk-table tr { padding: 14px 16px; border-top: 1px solid var(--bk-line); position: relative; }
  .bk-acc table.bk-table tbody tr:first-child { border-top: 0; }
  .bk-acc table.bk-table td, .bk-acc table.bk-table td:first-child, .bk-acc table.bk-table td:last-child { padding: 4px 0; border: 0; display: flex; justify-content: space-between; gap: 12px; text-align: right; }
  .bk-acc table.bk-table td[data-label]::before { content: attr(data-label); color: var(--bk-muted); font-size: 12.5px; font-weight: 600; text-align: left; flex: none; }
  .bk-acc table.bk-table td.bk-td-main { text-align: left; justify-content: flex-start; padding-bottom: 8px; }
  .bk-acc table.bk-table td.bk-td-main::before { display: none; }
  .bk-acc table.bk-table td.bk-td-action { justify-content: flex-start; padding-top: 10px; }
  .bk-acc table.bk-table td.bk-td-action::before { display: none; }
  .bk-acc table.bk-table td.bk-td-action .bk-btn { width: 100%; }
  .bk-acc table.bk-table td:empty { display: none; }
  .bk-devid { max-width: 210px; text-align: right; }
  .bk-acc table.bk-table td.bk-radio-cell { position: absolute; top: 16px; right: 16px; width: auto; padding: 0; }
  .bk-acc table.bk-table tr.is-selected td:first-child { box-shadow: none; }
  .bk-acc table.bk-table tr.is-selected { box-shadow: inset 3px 0 0 var(--bk-green); }
}
