/* Mobile verification page. Loaded only on index.php?m=lsverify */
html.ls-verify-page body.ls-t21 {
  background: #f4f7f8;
}
html.ls-verify-page #main-body {
  padding-top: 8px;
}
html.ls-verify-page .primary-content {
  max-width: none;
}
.ls-verify {
  max-width: 560px;
  margin: 0 auto 48px;
}
.ls-verify-hero {
  text-align: center;
  padding: 12px 8px 22px;
}
.ls-verify-hero span {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 12px;
  border-radius: 999px;
  background: #e6f2f1;
  color: #19615c;
  font-size: 12px;
  font-weight: 800;
}
.ls-verify-hero h1 {
  margin: 0 0 10px;
  color: #1a2332;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.35;
}
.ls-verify-hero p {
  margin: 0 auto;
  color: #5c6b7a;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.9;
}
.ls-verify-flash {
  margin: 0 0 14px;
}
.ls-verify-flash .alert {
  margin: 0;
  border-radius: 14px;
}
.ls-verify-msg {
  margin: 0 0 14px;
}
.ls-verify-msg .alert {
  margin: 0;
  border-radius: 14px;
}
.ls-verify-card {
  padding: 22px 22px 20px;
  border: 1px solid #d5dee3;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(26, 35, 50, 0.05);
}
.ls-verify-card h2 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 800;
  color: #19615c;
}
.ls-verify-label {
  display: block;
  margin: 12px 0 6px;
  font-size: 13px;
  font-weight: 800;
  color: #1a2332;
}
.ls-verify-hint,
.ls-verify-note {
  display: block;
  margin: 8px 0 0;
  color: #5c6b7a;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.7;
}
.ls-verify-phone {
  margin: 8px 0 14px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #19615c;
  text-align: center;
}
.ls-verify-code {
  text-align: center;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.24em;
}
.ls-verify-btn,
a.ls-verify-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 46px;
  margin-top: 16px;
  border: 0;
  border-radius: 12px;
  background: #19615c;
  color: #fff !important;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(25, 97, 92, 0.18);
}
.ls-verify-btn:hover,
a.ls-verify-btn:hover {
  background: #134a47;
  color: #fff !important;
}
.ls-verify-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.ls-verify-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
}
.ls-verify-link {
  border: 0;
  background: transparent;
  color: #19615c;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
}
.ls-verify-link:disabled {
  color: #8a99a6;
  cursor: not-allowed;
}
.ls-verify-wait {
  margin: 12px 0 0;
  color: #b45309;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}
.ls-verify-empty {
  text-align: center;
  padding: 48px 16px;
}
.ls-verify-back {
  display: inline-flex;
  margin-top: 16px;
  color: #19615c;
  font-weight: 700;
}
.ls-verify-banner .alert {
  margin-bottom: 0;
}
@media (max-width: 640px) {
  .ls-verify-hero h1 {
    font-size: 24px;
  }
}

/* ================================================================
   Register flow (register.php via clientregister.tpl)
   ================================================================ */
/* page chrome: hide the WHMCS "Already Registered" sidebar and center
   the flow; the sidebar content is replaced by the login button below */
html.ls-register-page .col-lg-4.col-xl-3 {
  display: none !important;
}
html.ls-register-page #main-body > .container > .row {
  display: block;
}
html.ls-register-page #main-body > .container > .row > [class*="col-"] {
  width: 100% !important;
  max-width: none !important;
  float: none !important;
  padding: 0 !important;
}
html.ls-register-page #main-body > .container {
  max-width: 720px;
}
html.ls-register-page .ls-verify {
  max-width: 560px;
}
html.ls-register-page .primary-content {
  max-width: none;
}
.ls-verify-phone-row .form-control {
  min-height: 48px;
  border: 1px solid #d5dee3;
  background: #f8fbfa;
  border-radius: 14px;
  box-shadow: none;
  font-weight: 700;
  font-size: 15px;
  color: #14212e;
}
.ls-verify-phone-row .form-control:focus {
  border-color: #19615c;
  box-shadow: 0 0 0 3px rgba(25, 97, 92, 0.12);
}
.ls-verify-capbar {
  display: flex;
  align-items: stretch;
  gap: 8px;
  margin-top: 14px;
}
.ls-verify-capimg {
  height: 48px;
  border-radius: 12px;
  border: 1px solid #d5dee3;
  background: #fff;
  cursor: pointer;
  transition: opacity 0.2s ease;
}
.ls-verify-capimg.ls-verify-cap-highlight {
  box-shadow: 0 0 0 3px rgba(217, 149, 44, 0.35);
  border-color: #d9952c;
}
.ls-verify-capcode {
  flex: 1 1 auto;
  min-height: 48px;
  border: 1px solid #d5dee3;
  background: #f8fbfa;
  border-radius: 12px;
  box-shadow: none;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.14em;
}
.ls-verify-caprefresh {
  flex: 0 0 48px;
  height: 48px;
  border: 1px solid #d5dee3;
  border-radius: 12px;
  background: #f4faf8;
  color: #19615c;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ls-verify-caprefresh svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}
.ls-verify-otprow {
  display: flex;
  justify-content: center;
  flex-direction: row-reverse;
  gap: 10px;
  margin: 8px 0 4px;
}
.ls-verify-otpbox {
  width: 52px;
  height: 60px;
  text-align: center;
  border: 1px solid #d5dee3;
  background: #f8fbfa;
  border-radius: 14px;
  font-size: 24px;
  font-weight: 800;
  color: #14212e;
  box-shadow: none;
}
.ls-verify-otpbox:focus {
  border-color: #19615c;
  box-shadow: 0 0 0 3px rgba(25, 97, 92, 0.12);
  outline: 0;
}
.ls-verify-label svg {
  width: 15px;
  height: 15px;
  margin-inline-end: 6px;
  vertical-align: -2px;
  color: #23957f;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ls-verify-eye {
  float: left;
  border: 0;
  background: none;
  padding: 0 4px;
  color: #8a99a6;
  cursor: pointer;
}
.ls-verify-eye svg {
  width: 16px;
  height: 16px;
}
.ls-reg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px 16px;
}
.ls-reg-field {
  min-width: 0;
}
.ls-reg-field .form-control {
  min-height: 48px;
  border: 1px solid #d5dee3;
  background: #f8fbfa;
  border-radius: 14px;
  box-shadow: none;
  font-weight: 600;
  color: #14212e;
}
.ls-reg-field .form-control:focus {
  border-color: #19615c;
  outline: 0;
  box-shadow: 0 0 0 3px rgba(25, 97, 92, 0.12);
}
.ls-reg-hint {
  margin: 6px 0 0;
  color: #66757f;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.7;
}
.ls-reg-err {
  margin: 6px 0 0;
  color: #a8393a;
  font-size: 12px;
  font-weight: 700;
}
.ls-reg-meter {
  height: 6px;
  margin: 8px 0 0;
  border-radius: 999px;
  background: #e6efec;
  overflow: hidden;
}
.ls-reg-meter span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: 999px;
  background: var(--lsv-meter-color, #2f9c82);
  transition: width 0.25s ease;
}
.ls-reg-check {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  color: #47565d;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.9;
}
.ls-reg-foot {
  margin: 14px 0 0;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
}
.ls-reg-foot a {
  color: #19615c;
}
.ls-reg-captcha-row {
  display: flex;
  align-items: stretch;
  gap: 8px;
  margin-top: 14px;
  max-width: 360px;
}
.ls-reg-captcha-row .ls-verify-capimg {
  flex: none;
}
.ls-reg-captcha-row .ls-verify-capcode {
  flex: 1 1 auto;
  text-align: center;
}
/* pwreset: stock strength bar double-renders with our meter — hide it,
   the stock JS (match check + submit lock) keeps running */
#lsvPwReset #passwordStrengthBar {
  display: none !important;
}
.ls-hide {
  display: none !important;
}
#lsvRegForm .ls-verify-label svg {
  display: inline;
}
.ls-reg-custom {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}
/* ================= toast messages (rm of alert boxes) ================ */
.ls-toast-wrap {
  position: fixed;
  bottom: 20px;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 99999;
  pointer-events: none;
}
.ls-toast {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  max-width: min(92vw, 460px);
  padding: 10px 14px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e2ebe8;
  box-shadow: 0 16px 34px -18px rgba(14, 43, 39, 0.35);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.7;
  color: #243f3a;
  animation: lsToastIn 0.28s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}
.ls-toast.ls-toast-danger {
  border-color: #f3cfcf;
  background: #fdecec;
  color: #a8393a;
}
.ls-toast.ls-toast-success {
  border-color: #bfe3d5;
  background: #e6f7f0;
  color: #157a5f;
}
.ls-toast.ls-toast-warning {
  border-color: #ecd9a9;
  background: #fff6e5;
  color: #8a6a1f;
}
.ls-toast.ls-toast-info {
  border-color: #cfe0ec;
  background: #eef4f9;
  color: #3d5a55;
}
.ls-toast-ico {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.08);
}
.ls-toast-ico svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ls-toast-ico svg.fill {
  fill: currentColor;
  stroke: none;
}
.ls-toast-text {
  flex: 1 1 auto;
  min-width: 0;
}
.ls-toast-close {
  flex: none;
  border: 0;
  background: rgba(0, 0, 0, 0.08);
  color: inherit;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
}
.ls-toast-out {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.24s ease, transform 0.24s ease;
}
@keyframes lsToastIn {
  from { opacity: 0; transform: translateY(14px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .ls-toast {
    animation: none;
  }
}
.ls-verify-switchrow {
  margin: 14px auto 48px;
  max-width: 560px;
}
.ls-verify-ghostbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  border: 1px solid #d5dee3;
  border-radius: 12px;
  background: #fff;
  color: #19615c !important;
  font-weight: 800;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.ls-verify-ghostbtn:hover {
  background: #e9f5ef;
  border-color: #bcd9cf;
  text-decoration: none;
}
@media (max-width: 640px) {
  .ls-verify-otprow {
    gap: 7px;
  }
  .ls-verify-otpbox {
    width: 44px;
    height: 54px;
    font-size: 20px;
  }
  .ls-reg-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ================= login submit: lock + processing animation ========= */
.ls-verify-loginbtn {
  position: relative;
  overflow: hidden;
  gap: 9px;
  transition: transform .16s ease, box-shadow .25s ease, filter .25s ease;
}
.ls-verify-loginbtn .lsbtn-loader {
  display: none;
  width: 18px;
  height: 18px;
  flex: none;
  border-radius: 50%;
  border: 2.4px solid rgba(255, 255, 255, .32);
  border-top-color: #fff;
  animation: lsvSpin .65s linear infinite;
}
.ls-verify-loginbtn.is-loading {
  cursor: progress;
  filter: saturate(1.06);
  box-shadow: 0 14px 26px -10px rgba(25, 97, 92, .45);
}
.ls-verify-loginbtn.is-loading .lsbtn-loader { display: inline-block; }
.ls-verify-loginbtn.is-loading .lsbtn-label { animation: lsvLabelPulse 1.5s ease-in-out infinite; }
.ls-verify-loginbtn.is-loading::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 28%, rgba(255, 255, 255, .22) 48%, rgba(255, 255, 255, .05) 58%, transparent 75%);
  transform: translateX(-120%);
  animation: lsvSheen 1.25s ease-in-out infinite;
  pointer-events: none;
}
@keyframes lsvSpin { to { transform: rotate(360deg); } }
@keyframes lsvSheen { to { transform: translateX(120%); } }
@keyframes lsvLabelPulse { 0%, 100% { opacity: 1; } 50% { opacity: .72; } }

/* indeterminate progress line across the top of the login card */
.lsv-login-scope .ls-verify-card { position: relative; overflow: hidden; }
.lsv-login-progress {
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  opacity: 0;
  overflow: hidden;
  background: rgba(35, 119, 110, .09);
  transition: opacity .2s ease;
  pointer-events: none;
}
.lsv-login-progress span {
  display: block;
  width: 42%;
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, rgba(25, 97, 92, 0) 0%, #1e6d66 34%, #2fb59b 62%, rgba(47, 181, 155, 0) 100%);
  box-shadow: 0 0 12px rgba(47, 181, 155, .5);
  transform: translateX(-110%);
}
.ls-verify-card.is-busy .lsv-login-progress { opacity: 1; }
.ls-verify-card.is-busy .lsv-login-progress span { animation: lsvBar 1.05s ease-in-out infinite; }
@keyframes lsvBar {
  0% { transform: translateX(-110%); }
  100% { transform: translateX(360%); }
}

@media (prefers-reduced-motion: reduce) {
  .ls-verify-loginbtn.is-loading::after,
  .ls-verify-loginbtn.is-loading .lsbtn-label { animation: none; }
  .ls-verify-card.is-busy .lsv-login-progress span { animation-duration: 2s; }
}