/* Shriram Villaments — OTP verification block (injected under the phone field by js/sc-lead.js) */
.sc-otp {
  display: none;
  margin: 6px 0 10px;
  padding: 12px 12px 10px;
  border: 1px solid rgba(0, 0, 0, .25);
  border-radius: 8px;
  background: rgba(255, 255, 255, .55);
  text-align: left;
}
.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;
  padding-left: 10px;
  padding-right: 10px;
  letter-spacing: normal;            /* spacing only once digits are typed, so the placeholder centres correctly */
  font-weight: 600;
  text-align: center;
  font-size: 18px;
}
.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: 15px; }
.sc-otp-verify {
  flex: 1 1 auto;
  min-height: 40px;
  padding: 8px 16px;
  border: 0;
  border-radius: 6px;
  background: #c15946;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
}
.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: #c15946;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
}
.sc-otp-foot button:disabled { color: #777; text-decoration: none; cursor: default; }
.sc-otp .sc-err { display: block; margin-top: 4px; }
.sc-otp-status { font-size: 12px; color: #2e7d32; margin: 0; }
.sc-otp-status.is-err { color: #c62828; }
input[name="phone"].sc-otp-locked { background: #f1efe9; pointer-events: none; }
.enq-form .sc-otp-verified {
  font-size: 12px;
  color: #2e7d32;
  margin: -4px 0 8px;
  text-align: left;
}

/* Budget dropdown: match the text inputs and keep a visible caret */
.enq-form select.sc-budget {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' 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");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  color: #212529;
  cursor: pointer;
}
.enq-form select.sc-budget:invalid,
.enq-form select.sc-budget option[value=""] { color: #6c757d; }
.enq-form select.sc-budget option { color: #212529; }

/* OTP box under the phone; no buttons (auto-send on leaving the phone field, auto-verify on the last digit) */
.sc-otp-row .sc-otp-input { flex: 1 1 100%; }
.sc-otp-note { font-size: 12px; color: #555; margin: -4px 0 4px; text-align: left; }

/* OTP box, simplified (2026-09-28): just the field with the links under it; no heading, border or padding */
.enq-form .sc-otp { padding: 0; border: 0; background: none; margin: 0; }
.enq-form .sc-otp .sc-otp-msg { display: none; }
.enq-form .sc-otp .sc-otp-foot { margin-top: 6px; }
.enq-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: 10px; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 24px; height: 24px; padding: 0; border: 0; background: none; color: #c15946;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.sc-otp-edit:hover { color: #a94a39; }
.sc-otp-edit:focus { outline: none; }
.sc-otp-edit:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; border-radius: 4px; }
.enq-form input[name="phone"].sc-otp-locked { padding-right: 38px; }
