/* King Life — OTP verification block (injected under the phone field by js/sc-lead.js) */
.sc-otp {
  display: none;
  margin: 6px 0 4px;
  padding: 12px 12px 10px;
  border: 1px solid rgba(196, 150, 58, .35);
  border-radius: 8px;
  background: #fff;
  font-family: 'Jost', sans-serif;
  text-align: left;
  box-sizing: border-box;
}
.sc-otp.is-open { display: block; }
.sc-otp-msg { font-size: 12px; line-height: 1.45; margin: 0 0 8px; color: #333; text-align: left; }
.sc-otp-msg b { white-space: nowrap; }
.sc-otp-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: stretch; }
.sc-otp-row .sc-otp-input {
  flex: 1 1 120px;
  min-width: 120px;
  height: 40px;
  padding: 0 10px;
  border: 1px solid rgba(196, 150, 58, .3);
  border-radius: 8px;
  background: #fff;
  color: #333;
  letter-spacing: normal;            /* spacing only once digits are typed, so the placeholder centres correctly */
  font-family: 'Jost', sans-serif;
  font-weight: 600;
  text-align: center;
  font-size: 18px;
  outline: none;
  box-sizing: border-box;
}
.sc-otp-row .sc-otp-input:focus { border-color: #C4963A; }
.sc-otp-row .sc-otp-input:not(:placeholder-shown) { letter-spacing: .3em; }
.sc-otp-row .sc-otp-input::placeholder { letter-spacing: normal; font-weight: 400; font-size: 13px; color: #aaa; }
.sc-otp-verify {
  flex: 1 1 auto;
  min-height: 40px;
  padding: 8px 16px;
  border: 0;
  border-radius: 8px;
  background: #C4963A;
  color: #fff;
  font-family: 'Jost', sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: background .25s ease;
}
.sc-otp-verify:hover { background: #b8882a; }
.sc-otp-verify:disabled { opacity: .6; cursor: not-allowed; }
.sc-otp-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 6px 10px;
  margin-top: 8px;
  font-size: 12px;
}
.sc-otp-foot button {
  white-space: nowrap;
  background: none;
  border: 0;
  padding: 0;
  color: #b8882a;
  font: inherit;
  font-weight: 500;
  cursor: pointer;
  text-decoration: underline;
}
.sc-otp-foot button:disabled { color: #888; text-decoration: none; cursor: default; }
.sc-otp .sc-err { display: none; margin-top: 4px; }
.sc-otp .sc-err.show { display: block; }
.sc-otp-status { font-size: 12px; color: #2e7d32; margin: 6px 0 0; }
.sc-otp-status:empty { display: none; }
.sc-otp-status.is-err { color: #c62828; }
input[name="phone"].sc-otp-locked { opacity: .75; pointer-events: none; }
.sc-otp-verified {
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  color: #2e7d32;
  margin: 2px 0 0;
  text-align: left;
}

/* Desktop sticky bar (dark) — the box spans the full width under the field row */
.sc-stickybar .sc-otp {
  margin: 8px 0 0;
  padding: 8px 10px;
  border-color: rgba(245, 239, 228, .35);
  background: rgba(255, 255, 255, .06);
}
.sc-stickybar .sc-otp-msg { color: #F5EFE4; margin-bottom: 6px; }
.sc-stickybar .sc-otp-row { flex-wrap: nowrap; }
.sc-stickybar .sc-otp-row .sc-otp-input {
  flex: 0 1 180px;
  background: transparent;
  color: #fff;
  border-color: rgba(245, 239, 228, .55);
}
.sc-stickybar .sc-otp-row .sc-otp-input::placeholder { color: rgba(245, 239, 228, .7); }
.sc-stickybar .sc-otp-verify { flex: 0 0 auto; color: #1D1B33; font-weight: 700; letter-spacing: .04em; text-transform: none; font-size: 14px; padding: 0 24px; }
.sc-stickybar .sc-otp-verify:hover { background: #D4AA55; }
.sc-stickybar .sc-otp-foot { margin-top: 6px; margin-left: auto; justify-content: flex-start; font-size: 11px; }
.sc-stickybar .sc-otp-foot button { color: #C4963A; }
.sc-stickybar .sc-otp-foot button:disabled { color: rgba(245, 239, 228, .6); }
.sc-stickybar .sc-otp-status { color: #8fd18f; font-size: 11px; }
.sc-stickybar .sc-otp-status.is-err { color: #ff9a9a; }
.sc-stickybar .sc-otp .sc-err { color: #ff9a9a; }
.sc-stickybar .sc-cell .sc-otp-verified { color: #8fd18f; font-size: 11px; margin: 4px 0 0 2px; white-space: nowrap; }

/* Sticky bar — OTP cell sits right after the phone cell; every other cell (Submit included) stays visible */
.sc-stickybar .sc-otp.sc-otp-compact { display: none; flex: 0.8; min-width: 0; margin: 0; padding: 0; border: 0; background: none; }
.sc-stickybar .sc-otp.sc-otp-compact.is-open { display: block; }
.sc-stickybar .sc-otp-compact .sc-otp-row { flex-wrap: nowrap; gap: 0; }
.sc-stickybar .sc-otp-compact .sc-otp-row .sc-otp-input {
  flex: 1 1 auto; width: 100%; min-width: 0; height: 40px; padding: 0 12px;
  letter-spacing: .2em; font-size: 15px; text-align: left; border-radius: 6px;
}
.sc-stickybar .sc-otp-compact .sc-otp-row .sc-otp-input::placeholder { font-size: 14px; letter-spacing: normal; }
.sc-stickybar .sc-otp-compact .sc-otp-msg { display: none; }
.sc-stickybar .sc-otp-compact .sc-otp-status:empty { display: none; }
/* The links and any notice sit under a narrow cell, so let them run on one line into the space to the right */
.sc-stickybar .sc-otp-compact .sc-otp-foot { margin: 3px 0 0 2px; font-size: 11px; gap: 4px 12px; justify-content: flex-start; flex-wrap: nowrap; width: max-content; }
.sc-stickybar .sc-otp-compact .sc-otp-status { margin: 3px 0 0 2px; font-size: 11px; white-space: nowrap; }
.sc-stickybar .sc-otp-compact .sc-err { margin: 3px 0 0 2px; font-size: 11px; white-space: nowrap; }
@media (max-width: 1360px) { .sc-stickybar .sc-otp.sc-otp-compact { flex: 0.6; } }   /* keep room for the budget placeholder */

/* Budget dropdown (added 2026-09-28): styled like the text inputs of each form, with a visible caret */
select.sc-budget {
  appearance: none; -webkit-appearance: none; cursor: pointer; width: 100%; box-sizing: border-box;
  background-repeat: no-repeat; background-position: right 12px center; padding-right: 34px !important;
}
.invite-form select.sc-budget {
  padding: 11px 14px; border-radius: 8px; border: 1px solid rgba(196,150,58,0.3); background-color: #fff;
  font-family: 'Jost', sans-serif; font-size: 12px; font-weight: 300; color: #333; outline: none; transition: border-color .2s;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M2 5l6 6 6-6'/%3E%3C/svg%3E");
}
.invite-form select.sc-budget:focus { border-color: #C4963A; }
.invite-form select.sc-budget:invalid { color: #aaa; }
.invite-form select.sc-budget option { color: #333; }
.sc-stickybar select.sc-budget {
  height: 40px; background-color: transparent; color: #fff; border: 1px solid rgba(245,239,228,.55); border-radius: 6px;
  padding: 0 12px; font-size: 14px; outline: none; font-family: inherit;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23C4963A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M2 5l6 6 6-6'/%3E%3C/svg%3E");
}
.sc-stickybar select.sc-budget:focus { border-color: #C4963A; }
.sc-stickybar select.sc-budget:invalid { color: rgba(245,239,228,.7); }
.sc-stickybar select.sc-budget option { color: #1D1B33; background: #fff; }
/* All bar cells are 40px tall, so top-aligning changes nothing normally but keeps the row straight when an error line appears under a cell */
.sc-stickybar form.sc-ajax-form .sc-fields { align-items: flex-start; } /* beats the later inline .sc-stickybar .sc-fields rule */

/* Locked India-only phone widget (separateDialCode): the +91 must look exactly like the text typed in the field */
.invite-form .iti__selected-dial-code { font-family: 'Jost', sans-serif; font-size: 12px; font-weight: 300; color: #333; }
.sc-stickybar .iti__selected-dial-code { font-family: Arial, Helvetica, sans-serif; font-size: 14px; font-weight: 400; color: #fff; }

/* Popup: OTP box under the phone (above email); "Sending OTP…" note in the same place */
.invite-form .sc-otp { margin: 0; }
.invite-form .sc-otp-verified { margin: -4px 0 0; }
.invite-form .sc-otp-row .sc-otp-input { flex: 1 1 100%; }
.sc-otp-note { font-family: 'Jost', sans-serif; font-size: 12px; color: #666; margin: 2px 0 0; text-align: left; }
.invite-form .sc-otp-note { margin: -4px 0 0; }
.sc-stickybar .sc-cell .sc-otp-note { color: rgba(245,239,228,.8); font-size: 11px; margin: 4px 0 0 2px; white-space: nowrap; }


/* Popup OTP box, simplified (2026-09-28): just the field with the links under it; no heading, border or padding */
.invite-form .sc-otp { padding: 0; border: 0; background: none; }
.invite-form .sc-otp .sc-otp-msg { display: none; }
.invite-form .sc-otp .sc-otp-foot { margin-top: 6px; }
.invite-form .sc-otp .sc-otp-status:empty { display: none; }

/* Pencil inside the phone field while the OTP is pending (replaces the "Change number" link) */
.sc-otp-edit {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 24px; height: 24px; padding: 0; border: 0; background: none; color: #C4963A;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.sc-otp-edit:hover { color: #b8882a; }
.sc-otp-edit:focus { outline: none; }
.sc-otp-edit:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; border-radius: 4px; }
.sc-stickybar .sc-otp-edit:hover { color: #D4AA55; }
/* the bar's own inline rule has the same specificity and comes later, so qualify these */
.sc-stickybar input[name="phone"].sc-otp-locked,
.invite-form input[name="phone"].sc-otp-locked { padding-right: 38px; }
