@import url('/css/shared/production-surface.css');

/* =========================================================
   login.css  –  Customer Login Page (3-Step Card)
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --lp-bg:          #f4f7fb;
  --lp-primary:     #1f4f9f;
  --lp-primary-h:   #173f81;
  --lp-side-from:   #1f4f9f;
  --lp-side-to:     #173f81;
  --lp-success:     #22c55e;
  --lp-success-bg:  #dcfce7;
  --lp-danger:      #ef4444;
  --lp-danger-bg:   #fef2f2;
  --lp-danger-bdr:  #fecaca;
  --lp-text:        #1e293b;
  --lp-muted:       #64748b;
  --lp-border:      #d5deea;
  --lp-card-bg:     #ffffff;
  --lp-input-bg:    #ffffff;
  --lp-shadow:      0 12px 28px rgba(17, 39, 80, .09);
  --lp-radius:      16px;
  --lp-radius-sm:   12px;
}

html, body {
  height: 100%;
  font-family: 'Manrope', 'Segoe UI', Arial, sans-serif;
  background: var(--lp-bg);
  color: var(--lp-text);
  -webkit-text-size-adjust: 100%;
}

/* ══════════════════════════════════════════
   SHELL
   ══════════════════════════════════════════ */
.lp-shell {
  min-height: 100vh;
  min-height: 100dvh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}

/* ══════════════════════════════════════════
   STEP WRAPPER
   ══════════════════════════════════════════ */
.lp-step {
  width: 100%;
  max-width: 442px;
  animation: none;
}

@keyframes lpFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ══════════════════════════════════════════
   CARD BASE
   ══════════════════════════════════════════ */
.lp-card {
  background: var(--lp-card-bg);
  border-radius: var(--lp-radius);
  box-shadow: var(--lp-shadow);
  border: 0 !important;
  overflow: hidden;
}

.lp-card::before,
.lp-card::after,
.lp-card-split::before,
.lp-card-split::after {
  content: none !important;
  display: none !important;
}

/* Split card — step 1 */
.lp-card-split {
  display: block;
  min-height: auto;
}

/* Center card — step 2 & 3 */
.lp-card-center {
  max-width: 440px;
  margin: 0 auto;
  padding: 52px 44px;
  text-align: center;
}

/* ══════════════════════════════════════════
   SIDE PANEL  (left — step 1)
   ══════════════════════════════════════════ */
.lp-side-panel { display: none; }

.lp-side-deco {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.07);
  pointer-events: none;
}
.lp-side-deco-1 { width: 260px; height: 260px; top: -80px; right: -90px; }
.lp-side-deco-2 { width: 180px; height: 180px; bottom: -50px; left: -60px; }

.lp-side-icon-wrap {
  position: relative;
  width: 100px;
  height: 100px;
  background: rgba(255,255,255,.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  z-index: 1;
}

.lp-side-shield { font-size: 46px; color: rgba(255,255,255,.95); }

.lp-side-lock-badge {
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 30px;
  height: 30px;
  background: rgba(255,255,255,.92);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lp-primary);
  font-size: 13px;
  border: 2px solid rgba(255,255,255,.5);
}

.lp-side-title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.lp-side-sub {
  font-size: 13.5px;
  opacity: .85;
  line-height: 1.65;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

.lp-side-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  position: relative;
  z-index: 1;
}

.lp-side-btn-primary {
  background: rgba(255,255,255,.2);
  border: 1.5px solid rgba(255,255,255,.5);
  color: #fff;
  border-radius: 10px;
  padding: 11px 0;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background .2s;
  width: 100%;
}
.lp-side-btn-primary:hover { background: rgba(255,255,255,.3); }

.lp-side-btn-outline {
  display: block;
  background: transparent;
  border: 1.5px solid rgba(255,255,255,.4);
  color: rgba(255,255,255,.9);
  border-radius: 10px;
  padding: 11px 0;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.lp-side-btn-outline:hover {
  border-color: rgba(255,255,255,.8);
  background: rgba(255,255,255,.08);
  color: #fff;
}

/* ══════════════════════════════════════════
   FORM PANEL  (right — step 1)
   ══════════════════════════════════════════ */
.lp-form-panel {
  width: 100%;
  padding: 18px 18px 12px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: visible;
}

.lp-brand-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.lp-brand-logo {
  width: 30px;
  height: 30px;
  object-fit: contain;
  display: block;
}

.lp-brand-text {
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #33465f;
}

.lp-form-head { margin-bottom: 14px; }

.lp-form-title {
  font-size: 1.55rem;
  font-weight: 800;
  color: #1e3658;
  margin-bottom: 4px;
}

.lp-form-sub {
  font-size: .86rem;
  color: var(--lp-muted);
}

/* ── Field ── */
.lp-field { margin-bottom: 20px; }

.lp-label {
  display: block;
  font-size: .88rem;
  font-weight: 700;
  color: #304767;
  margin-bottom: 7px;
}

.lp-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.lp-input-icon {
  position: absolute;
  left: 14px;
  color: var(--lp-muted);
  font-size: 15px;
  pointer-events: none;
}

.lp-input {
  width: 100%;
  height: 41px;
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-radius-sm);
  padding: 0 14px 0 44px;
  font-size: .85rem;
  font-family: inherit;
  color: var(--lp-text);
  background: var(--lp-input-bg);
  outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.lp-input:focus {
  border-color: var(--lp-primary);
  box-shadow: 0 0 0 3px rgba(79,110,247,.14);
  background: #fff;
}
.lp-input::placeholder { color: #b0bec5; }

/* ── Primary button ── */
.lp-btn-primary {
  width: 100%;
  height: 43px;
  background: var(--lp-primary);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: .95rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background .2s, transform .12s, box-shadow .2s;
}
.lp-btn-primary:hover:not(:disabled) {
  background: var(--lp-primary-h);
  box-shadow: 0 6px 22px rgba(79,110,247,.36);
}
.lp-btn-primary:active:not(:disabled) { transform: scale(.98); }
.lp-btn-primary:disabled { opacity: .6; cursor: not-allowed; }

/* ── Toast alerts ── */
.lp-toast {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 16px;
}
.lp-toast-danger  { background: var(--lp-danger-bg);  color: #b91c1c; border: 1px solid var(--lp-danger-bdr); }
.lp-toast-success { background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }
.lp-toast-info    { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }

/* ── Signup link ── */
.lp-signup-link {
  text-align: center;
  font-size: .83rem;
  color: var(--lp-muted);
  margin-top: 10px;
}
.lp-signup-link a {
  color: var(--lp-primary);
  font-weight: 600;
  text-decoration: none;
}
.lp-signup-link a:hover { text-decoration: underline; }

/* ── Footer ── */
.lp-footer {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #e8eef6;
  font-size: 12px;
  color: var(--lp-muted);
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.lp-sep { opacity: .4; }
.lp-footer a { color: var(--lp-muted); text-decoration: none; }
.lp-footer a:hover { color: var(--lp-primary); }

/* ══════════════════════════════════════════
   OTP STEP  (step 2)
   ══════════════════════════════════════════ */
.lp-verify-illu {
  display: flex;
  justify-content: center;
  margin-bottom: 22px;
}

.lp-illu-circle {
  width: 96px;
  height: 96px;
  background: #eef2ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: var(--lp-primary);
  position: relative;
}

.lp-illu-badge {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 30px;
  height: 30px;
  background: var(--lp-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 13px;
  border: 2px solid #fff;
}

.lp-verify-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--lp-text);
  margin-bottom: 6px;
}

.lp-verify-sub {
  font-size: 14px;
  color: var(--lp-muted);
  margin-bottom: 2px;
}

.lp-verify-phone {
  font-size: 16px;
  font-weight: 700;
  color: var(--lp-primary);
  margin-bottom: 24px;
}

/* OTP digit row */
.lp-otp-row {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 16px;
}

.otp-digit-inline {
  width: 52px;
  height: 58px;
  border: 2px solid var(--lp-border);
  border-radius: 12px;
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  font-family: inherit;
  color: var(--lp-text);
  background: var(--lp-input-bg);
  outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
  caret-color: var(--lp-primary);
}
.otp-digit-inline:focus {
  border-color: var(--lp-primary);
  box-shadow: 0 0 0 3px rgba(79,110,247,.14);
  background: #fff;
}
.otp-digit-inline.filled {
  border-color: var(--lp-primary);
  background: #eef2ff;
}

.lp-otp-timer {
  font-size: 13px;
  color: var(--lp-muted);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.lp-otp-timer span { font-weight: 700; color: var(--lp-text); }

.lp-btn-verify { margin-bottom: 18px; }

.lp-otp-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

.lp-link-btn {
  background: none;
  border: none;
  font-size: 13px;
  color: var(--lp-muted);
  cursor: pointer;
  font-family: inherit;
  padding: 4px 0;
  line-height: 1.5;
  transition: color .2s;
}
.lp-link-btn:hover:not(:disabled) { color: var(--lp-primary); }
.lp-link-btn:disabled { opacity: .5; cursor: not-allowed; }
.lp-link-btn strong { color: var(--lp-primary); }
.lp-link-back { color: var(--lp-muted); }

/* ══════════════════════════════════════════
   SUCCESS STEP  (step 3)
   ══════════════════════════════════════════ */
.lp-success-icon {
  width: 96px;
  height: 96px;
  background: var(--lp-success-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 42px;
  color: var(--lp-success);
  animation: lpSuccessPop .5s cubic-bezier(.34,1.56,.64,1) both;
}

@keyframes lpSuccessPop {
  0%   { transform: scale(0); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.lp-success-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--lp-text);
  margin-bottom: 8px;
}

.lp-success-sub {
  font-size: 14px;
  color: var(--lp-muted);
  margin-bottom: 28px;
  line-height: 1.6;
}

html[data-theme="dark"] {
  --lp-bg: #142132;
  --lp-primary: #66a7ff;
  --lp-primary-h: #4c93ff;
  --lp-side-from: #16355f;
  --lp-side-to: #1d4d86;
  --lp-success: #34d399;
  --lp-success-bg: rgba(52, 211, 153, 0.16);
  --lp-danger: #fb7185;
  --lp-danger-bg: rgba(251, 113, 133, 0.16);
  --lp-danger-bdr: rgba(251, 113, 133, 0.28);
  --lp-text: #e7eef9;
  --lp-muted: #9ab0ca;
  --lp-border: #39516b;
  --lp-card-bg: #1d2d41;
  --lp-input-bg: #22364d;
  --lp-shadow: 0 26px 60px rgba(2, 6, 23, .42), 0 4px 16px rgba(2, 6, 23, .18);
}

@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) {
    --lp-bg: #142132;
    --lp-primary: #66a7ff;
    --lp-primary-h: #4c93ff;
    --lp-side-from: #16355f;
    --lp-side-to: #1d4d86;
    --lp-success: #34d399;
    --lp-success-bg: rgba(52, 211, 153, 0.16);
    --lp-danger: #fb7185;
    --lp-danger-bg: rgba(251, 113, 133, 0.16);
    --lp-danger-bdr: rgba(251, 113, 133, 0.28);
    --lp-text: #e7eef9;
    --lp-muted: #9ab0ca;
    --lp-border: #39516b;
    --lp-card-bg: #1d2d41;
    --lp-input-bg: #22364d;
    --lp-shadow: 0 26px 60px rgba(2, 6, 23, .42), 0 4px 16px rgba(2, 6, 23, .18);
  }
}

/* ══════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════ */
@media (max-width: 700px) {
  .lp-form-panel { padding: 16px 14px 12px; }
  .lp-form-title { font-size: 1.35rem; }
  .lp-card-center { padding: 40px 24px; }
  .otp-digit-inline { width: 46px; height: 54px; font-size: 20px; }
}

@media (max-width: 400px) {
  .lp-otp-row { gap: 7px; }
  .otp-digit-inline { width: 40px; height: 48px; font-size: 18px; border-radius: 10px; }
  .lp-card-center { padding: 36px 18px; }
}

@media (min-width: 901px) {
  :root {
    --lp-bg: #edf3fb;
    --lp-primary: #2563eb;
    --lp-primary-h: #1d4ed8;
    --lp-border: #d7e2f0;
    --lp-shadow: 0 28px 70px rgba(30, 64, 120, 0.16), 0 8px 22px rgba(30, 64, 120, 0.08);
  }

  html, body {
    background:
      radial-gradient(circle at 10% 15%, rgba(96, 165, 250, 0.2), transparent 28%),
      radial-gradient(circle at 90% 85%, rgba(45, 212, 191, 0.14), transparent 26%),
      var(--lp-bg);
  }

  .lp-shell {
    padding: 42px 32px;
  }

  .lp-step {
    max-width: 980px;
    animation: lpFadeUp .42s cubic-bezier(.22, 1, .36, 1) both;
  }

  .lp-card-split {
    display: grid;
    grid-template-columns: minmax(320px, .88fr) minmax(390px, 1.12fr);
    min-height: 560px;
    border: 1px solid rgba(255, 255, 255, .78) !important;
  }

  .lp-side-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 54px 46px;
    color: #fff;
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, #123d82 0%, #1d5fc4 54%, #0f8b9a 100%);
  }

  .lp-side-panel::before,
  .lp-side-panel::after {
    content: '';
    position: absolute;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 50%;
    pointer-events: none;
  }

  .lp-side-panel::before { width: 360px; height: 360px; right: -180px; top: -120px; }
  .lp-side-panel::after { width: 260px; height: 260px; left: -150px; bottom: -130px; }

  .lp-side-panel > * { position: relative; z-index: 1; }

  .lp-side-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 7px 11px;
    margin-bottom: 34px;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 999px;
    background: rgba(255, 255, 255, .1);
    color: rgba(255, 255, 255, .9);
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
  }

  .lp-side-icon-wrap {
    width: 76px;
    height: 76px;
    margin-bottom: 25px;
    border-radius: 22px;
    background: rgba(255, 255, 255, .16);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 14px 28px rgba(4, 32, 77, .18);
  }

  .lp-side-shield { font-size: 31px; }

  .lp-side-icon-wrap .lp-illu-badge {
    width: 25px;
    height: 25px;
    right: -5px;
    bottom: -5px;
    background: #34d399;
    border-width: 3px;
    font-size: 10px;
  }

  .lp-side-title {
    max-width: 360px;
    margin-bottom: 15px;
    font-size: clamp(1.75rem, 3vw, 2.4rem);
    line-height: 1.13;
    letter-spacing: -.035em;
  }

  .lp-side-sub {
    max-width: 350px;
    margin-bottom: 28px;
    color: rgba(255, 255, 255, .78);
    font-size: .92rem;
    line-height: 1.65;
  }

  .lp-side-feature-list {
    display: grid;
    gap: 13px;
    max-width: 350px;
  }

  .lp-side-feature-list div {
    display: flex;
    align-items: center;
    gap: 11px;
    color: rgba(255, 255, 255, .9);
    font-size: .8rem;
    line-height: 1.35;
  }

  .lp-side-feature-list i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    border-radius: 9px;
    background: rgba(255, 255, 255, .13);
    color: #a7f3d0;
    font-size: .76rem;
  }

  .lp-side-footnote {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 30px;
    color: rgba(255, 255, 255, .62);
    font-size: .72rem;
  }

  .lp-form-panel {
    justify-content: center;
    padding: 54px 60px 42px;
  }

  .lp-brand-row { margin-bottom: 42px; }
  .lp-brand-logo { width: 38px; height: 38px; }
  .lp-brand-text { font-size: .78rem; color: #52657f; }
  .lp-form-head { margin-bottom: 26px; }
  .lp-form-title { font-size: 2rem; letter-spacing: -.035em; }
  .lp-form-sub { font-size: .9rem; }
  .lp-field { margin-bottom: 22px; }
  .lp-input { height: 50px; font-size: .94rem; }
  .lp-btn-primary { height: 50px; border-radius: 13px; }
  .lp-footer { margin-top: 28px; }

  .lp-card-center {
    max-width: 520px;
    padding: 62px 66px;
    border: 1px solid rgba(255, 255, 255, .78) !important;
  }
}

@media (min-width: 901px) and (max-width: 1080px) {
  .lp-card-split { grid-template-columns: minmax(290px, .82fr) minmax(370px, 1.18fr); }
  .lp-side-panel { padding: 42px 34px; }
  .lp-form-panel { padding-inline: 44px; }
}

:root {
  --lp-bg: #f4f6f9;
  --lp-primary: #1f4f9f;
  --lp-primary-h: #173f81;
  --lp-border: #d7dee8;
  --lp-shadow: 0 24px 64px rgba(16, 24, 40, .1);
}

body {
  background:
    radial-gradient(ellipse at 92% 8%, rgba(37, 99, 235, .08), transparent 34%),
    var(--lp-bg);
}

.lp-shell {
  padding: 24px 16px;
}

.lp-step {
  max-width: 460px;
}

.lp-card,
.lp-card-split,
.lp-card-center {
  border: 1px solid var(--lp-border) !important;
  border-radius: 20px;
  box-shadow: var(--lp-shadow);
}

.lp-card-split {
  display: block !important;
  min-height: 0;
}

.lp-brand-panel {
  display: none;
}

.lp-panel-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.lp-panel-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.lp-business-visual {
  position: relative;
  display: grid;
  min-height: 300px;
  flex: 1;
  place-items: center;
  overflow: hidden;
}

.lp-visual-grid {
  position: absolute;
  inset: 6%;
  background-image:
    linear-gradient(rgba(255, 255, 255, .1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .1) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: radial-gradient(ellipse at center, #000 10%, transparent 76%);
  opacity: .45;
}

.lp-visual-ring {
  position: absolute;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 50%;
}

.lp-visual-ring-one {
  width: min(76%, 340px);
}

.lp-visual-ring-two {
  width: min(56%, 250px);
  border-style: dashed;
  border-color: rgba(255, 255, 255, .2);
}

.lp-visual-line {
  position: absolute;
  z-index: 1;
  width: 42%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(153, 221, 255, .8), transparent);
}

.lp-visual-line-one {
  transform: rotate(32deg) translateY(-35px);
}

.lp-visual-line-two {
  transform: rotate(-38deg) translateY(40px);
}

.lp-visual-node {
  position: absolute;
  z-index: 2;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 20px;
  background: rgba(255, 255, 255, .11);
  color: rgba(255, 255, 255, .92);
  box-shadow: 0 16px 36px rgba(3, 19, 45, .2);
  backdrop-filter: blur(12px);
  font-size: 19px;
}

.lp-mascot {
  position: relative;
  z-index: 3;
  display: block;
  width: 190px;
  height: 160px;
  transform-origin: center bottom;
  animation: lpRobotPatrol 8s ease-in-out infinite alternate;
}

.lp-mascot-character {
  position: relative;
  width: 120px;
  height: 156px;
  margin: 0 auto;
  transform-origin: center bottom;
  animation: lpRobotIdle 2.4s ease-in-out infinite;
}

.lp-mascot-antenna {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 50%;
  width: 4px;
  height: 18px;
  transform: translateX(-50%);
  border-radius: 4px;
  background: #8195b1;
}

.lp-mascot-antenna i {
  position: absolute;
  top: -5px;
  left: -4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #74d8f2;
  box-shadow: 0 0 12px rgba(116, 216, 242, .72);
  animation: lpRobotSignal 1.8s ease-in-out infinite;
}

.lp-mascot-side {
  position: absolute;
  z-index: 2;
  top: 48px;
  width: 18px;
  height: 27px;
  border: 2px solid #1a304d;
  border-radius: 8px;
  background: linear-gradient(145deg, #3c7196, #24445f);
}

.lp-mascot-side-left {
  left: 5px;
}

.lp-mascot-side-right {
  right: 5px;
}

.lp-mascot-head {
  position: absolute;
  z-index: 4;
  top: 15px;
  left: 14px;
  width: 92px;
  height: 76px;
  border: 4px solid #1c3554;
  border-radius: 28px;
  background: linear-gradient(145deg, #e6f8fc, #a9d8e5);
  box-shadow: inset 0 -5px 0 rgba(55, 112, 142, .12), 0 9px 18px rgba(0, 0, 0, .24);
}

.lp-mascot-eyes {
  display: flex;
  position: absolute;
  top: 23px;
  left: 0;
  width: 100%;
  justify-content: space-evenly;
}

.lp-mascot-eye {
  position: relative;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #f8fdff;
  box-shadow: 0 1px 3px rgba(13, 37, 58, .25);
}

.lp-mascot-eye::after {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #16304c;
  content: "";
  transition: transform .18s ease;
}

.lp-mascot-mouth {
  position: absolute;
  bottom: 13px;
  left: 50%;
  width: 18px;
  height: 4px;
  transform: translateX(-50%);
  border-radius: 4px;
  background: #247a9b;
  transition: width .18s ease, border-radius .18s ease, transform .18s ease;
}

.lp-mascot-body {
  position: absolute;
  z-index: 2;
  bottom: 19px;
  left: 50%;
  display: grid;
  width: 78px;
  height: 59px;
  transform: translateX(-50%);
  place-items: center;
  border: 3px solid #1b3553;
  border-radius: 23px 23px 17px 17px;
  background: linear-gradient(145deg, #315e80, #18314f);
  box-shadow: inset 0 3px 0 rgba(255, 255, 255, .1), 0 8px 15px rgba(0, 0, 0, .2);
}

.lp-mascot-signal {
  color: #78d7ef;
  filter: drop-shadow(0 0 5px rgba(120, 215, 239, .55));
  font-size: 20px;
}

.lp-mascot-arm {
  position: absolute;
  z-index: 1;
  top: 83px;
  width: 15px;
  height: 43px;
  transform-origin: top center;
  border: 2px solid #1b3553;
  border-radius: 10px;
  background: linear-gradient(145deg, #3d7396, #244766);
}

.lp-mascot-arm::after {
  position: absolute;
  bottom: -5px;
  left: -3px;
  width: 17px;
  height: 12px;
  border-radius: 7px;
  background: #d6b45f;
  content: "";
}

.lp-mascot-arm-left {
  left: 10px;
  transform: rotate(15deg);
  animation: lpRobotStep .72s ease-in-out infinite alternate;
}

.lp-mascot-arm-right {
  right: 10px;
  transform: rotate(-15deg);
  animation: lpRobotStep .72s ease-in-out infinite alternate-reverse;
}

.lp-mascot-leg {
  position: absolute;
  z-index: 1;
  bottom: 1px;
  width: 17px;
  height: 25px;
  transform-origin: top center;
  border: 2px solid #1b3553;
  border-radius: 9px 9px 6px 6px;
  background: linear-gradient(145deg, #315d7c, #1a3451);
}

.lp-mascot-leg::after {
  position: absolute;
  bottom: -3px;
  left: -5px;
  width: 25px;
  height: 9px;
  border-radius: 7px;
  background: #142942;
  content: "";
}

.lp-mascot-leg-left {
  left: 38px;
  animation: lpRobotStep .72s ease-in-out infinite alternate-reverse;
}

.lp-mascot-leg-right {
  right: 38px;
  animation: lpRobotStep .72s ease-in-out infinite alternate;
}

.lp-mascot.is-otp {
  animation-name: lpRobotPatrolOtp;
  animation-duration: 5s;
}

.lp-mascot.is-waving .lp-mascot-arm-right {
  animation: lpRobotWave .5s ease-in-out 6 alternate;
}

.lp-mascot.is-typing .lp-mascot-eye::after,
.lp-mascot.is-otp .lp-mascot-eye::after {
  transform: translateX(var(--mascot-gaze-x, 0));
}

.lp-mascot.is-ready .lp-mascot-head {
  animation: lpRobotNod .38s ease-in-out 2 alternate;
}

.lp-mascot.is-ready .lp-mascot-arm-right {
  animation: lpRobotWave .42s ease-in-out 4 alternate;
}

.lp-mascot.is-loading {
  animation: lpRobotBusy .55s ease-in-out infinite alternate;
}

.lp-mascot.is-loading .lp-mascot-character {
  animation: lpRobotNod .36s ease-in-out infinite alternate;
}

.lp-mascot.is-loading .lp-mascot-arm-left,
.lp-mascot.is-loading .lp-mascot-arm-right {
  animation: lpRobotStep .24s ease-in-out infinite alternate;
}

.lp-mascot.is-error {
  animation: lpMascotShake .36s ease-in-out;
}

.lp-mascot.is-error .lp-mascot-mouth {
  width: 14px;
  transform: translateX(-50%) rotate(180deg);
}

@keyframes lpRobotPatrol {
  from { transform: translateX(-58px); }
  to { transform: translateX(58px); }
}

@keyframes lpRobotPatrolOtp {
  from { transform: translateX(-34px); }
  to { transform: translateX(34px); }
}

@keyframes lpRobotIdle {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-4px) rotate(1deg); }
}

@keyframes lpRobotWave {
  from { transform: rotate(-15deg); }
  to { transform: rotate(-132deg); }
}

@keyframes lpRobotStep {
  from { transform: rotate(-18deg); }
  to { transform: rotate(20deg); }
}

@keyframes lpRobotNod {
  from { transform: translateY(0) rotate(-1deg); }
  to { transform: translateY(3px) rotate(1deg); }
}

@keyframes lpRobotBusy {
  from { transform: translateX(-5px) translateY(0); }
  to { transform: translateX(5px) translateY(-3px); }
}

@keyframes lpRobotSignal {
  0%, 100% { opacity: .65; transform: scale(.9); }
  50% { opacity: 1; transform: scale(1.15); }
}

@keyframes lpMascotShake {
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

@media (prefers-reduced-motion: reduce) {
  .lp-mascot,
  .lp-mascot *,
  .lp-mascot.is-waving .lp-mascot-arm-right,
  .lp-mascot.is-loading .lp-mascot-arm-left,
  .lp-mascot.is-loading .lp-mascot-arm-right {
    animation: none !important;
    transition: none !important;
  }
}

.lp-mascot {
  width: 210px;
  height: 180px;
  overflow: visible;
  animation: lpTechPatrol 7.5s ease-in-out infinite alternate;
}

.lp-technician-figure {
  display: block;
  width: 180px;
  height: 180px;
  margin: 0 auto;
  overflow: visible;
  filter: drop-shadow(0 12px 15px rgba(0, 0, 0, .24));
}

.lp-tech-shadow {
  fill: rgba(0, 0, 0, .22);
  transform-box: fill-box;
  transform-origin: center;
  animation: lpTechShadow .72s ease-in-out infinite alternate;
}

.lp-tech-arm,
.lp-tech-leg {
  transform-box: view-box;
  transition: transform .2s ease;
}

.lp-tech-arm-left {
  transform-origin: 68px 86px;
  animation: lpTechStride .72s ease-in-out infinite alternate;
}

.lp-tech-arm-right {
  transform-origin: 112px 86px;
  animation: lpTechStride .72s ease-in-out infinite alternate-reverse;
}

.lp-tech-leg-left {
  transform-origin: 84px 134px;
  animation: lpTechStride .72s ease-in-out infinite alternate-reverse;
}

.lp-tech-leg-right {
  transform-origin: 96px 134px;
  animation: lpTechStride .72s ease-in-out infinite alternate;
}

.lp-tech-pupils {
  transition: transform .2s ease;
}

.lp-mascot.is-typing .lp-tech-pupils,
.lp-mascot.is-otp .lp-tech-pupils {
  transform: translateX(var(--mascot-gaze-x, 0));
}

.lp-mascot.is-otp {
  animation-name: lpTechPatrolOtp;
  animation-duration: 5.2s;
}

.lp-mascot.is-waving .lp-tech-arm-right {
  animation: lpTechWave .48s ease-in-out 6 alternate;
}

.lp-mascot.is-ready .lp-tech-arm-right {
  animation: lpTechWave .48s ease-in-out 4 alternate;
}

.lp-mascot.is-ready .lp-tech-head {
  transform-box: view-box;
  transform-origin: 90px 60px;
  animation: lpTechNod .4s ease-in-out 2 alternate;
}

.lp-mascot.is-loading {
  animation: lpTechBusy .48s ease-in-out infinite alternate;
}

.lp-mascot.is-loading .lp-tech-arm-left,
.lp-mascot.is-loading .lp-tech-arm-right,
.lp-mascot.is-loading .lp-tech-leg-left,
.lp-mascot.is-loading .lp-tech-leg-right {
  animation-duration: .24s;
}

.lp-mascot.is-loading .lp-tech-head {
  transform-box: view-box;
  transform-origin: 90px 60px;
  animation: lpTechNod .36s ease-in-out infinite alternate;
}

.lp-mascot.is-error {
  animation: lpTechShake .36s ease-in-out;
}

.lp-mascot.is-error .lp-mascot-mouth {
  stroke: #b05c55;
  transform: translateY(2px);
}

@keyframes lpTechPatrol {
  from { transform: translateX(-58px); }
  to { transform: translateX(58px); }
}

@keyframes lpTechPatrolOtp {
  from { transform: translateX(-34px); }
  to { transform: translateX(34px); }
}

@keyframes lpTechStride {
  from { transform: rotate(-13deg); }
  to { transform: rotate(15deg); }
}

@keyframes lpTechWave {
  from { transform: rotate(0); }
  to { transform: rotate(-118deg); }
}

@keyframes lpTechNod {
  from { transform: translateY(0) rotate(-1deg); }
  to { transform: translateY(3px) rotate(1deg); }
}

@keyframes lpTechBusy {
  from { transform: translateX(-4px) translateY(0); }
  to { transform: translateX(4px) translateY(-3px); }
}

@keyframes lpTechShadow {
  from { opacity: .2; transform: scaleX(.94); }
  to { opacity: .32; transform: scaleX(1.08); }
}

@keyframes lpTechShake {
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

.lp-visual-node-one {
  top: 19%;
  right: 12%;
}

.lp-visual-node-two {
  bottom: 17%;
  left: 12%;
}

.lp-form-panel {
  justify-content: center;
  padding: 38px 40px 28px;
}

.lp-brand-row {
  justify-content: flex-start;
  margin: 0 0 32px;
}

.lp-brand-logo {
  width: 42px;
  height: 42px;
}

.lp-brand-text {
  color: var(--lp-text);
  font-size: .76rem;
  letter-spacing: .075em;
}

.lp-form-head {
  margin-bottom: 25px;
  text-align: left;
}

.lp-form-title {
  margin-bottom: 7px;
  color: var(--lp-text);
  font-size: clamp(1.7rem, 4vw, 1.9rem);
  line-height: 1.15;
  letter-spacing: -.04em;
}

.lp-form-sub {
  max-width: 100%;
  margin: 0;
  color: var(--lp-muted);
  font-size: .86rem;
  line-height: 1.6;
}

.lp-label {
  color: var(--lp-text);
  font-size: .82rem;
}

.lp-field {
  margin-bottom: 17px;
}

.lp-input {
  height: 54px;
  border-radius: 14px;
  font-size: .94rem;
}

.lp-input:focus {
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .12);
}

.lp-btn-primary {
  height: 54px;
  border-radius: 14px;
  background: var(--lp-primary);
  box-shadow: 0 7px 16px rgba(31, 79, 159, .16);
}

.lp-btn-primary:hover:not(:disabled) {
  background: var(--lp-primary-h);
  box-shadow: 0 9px 20px rgba(31, 79, 159, .22);
}

.lp-signup-link {
  margin-top: 16px;
  text-align: left;
}

.lp-footer {
  justify-content: flex-start;
  margin-top: 20px;
  padding-top: 15px;
  text-align: left;
}

.lp-card-center {
  max-width: 460px;
  padding: 44px 40px;
  border-radius: 20px;
  background: var(--lp-card-bg);
}

.lp-verify-illu {
  margin-bottom: 20px;
}

.lp-illu-circle {
  box-shadow: 0 12px 28px rgba(37, 99, 235, .14);
}

.lp-verify-title {
  color: var(--lp-text);
  letter-spacing: -.035em;
}

.lp-verify-sub {
  line-height: 1.6;
}

.lp-otp-row {
  gap: 9px;
}

.otp-digit-inline {
  border-radius: 14px;
}

html[data-theme="dark"] body {
  background:
    radial-gradient(ellipse at 92% 8%, rgba(37, 99, 235, .14), transparent 34%),
    var(--lp-bg);
}

html[data-theme="dark"] .lp-btn-primary {
  background: var(--lp-primary);
}

@media (max-width: 700px) {
  .lp-step {
    max-width: 460px;
  }

  .lp-card-split {
    display: block !important;
    min-height: 0;
  }

  .lp-brand-panel {
    display: none;
  }

  .lp-brand-row {
    display: inline-flex;
  }

  .lp-shell {
    padding: 18px 14px;
  }

  .lp-form-panel {
    padding: 34px 28px 24px;
  }

  .lp-brand-row {
    margin-bottom: 25px;
  }

  .lp-form-head {
    margin-bottom: 25px;
  }

  .lp-card-center {
    padding: 38px 28px;
  }
}

@media (min-width: 701px) {
  .lp-brand-row {
    display: inline-flex;
  }
}

@media (min-width: 901px) {
  .lp-step {
    max-width: 1040px;
  }

  .lp-card-split {
    display: grid !important;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    min-height: 590px;
  }

  .lp-brand-panel {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
    padding: 42px;
    overflow: hidden;
    color: #fff;
    background:
      radial-gradient(circle at 18% 78%, rgba(45, 212, 191, .24), transparent 34%),
      linear-gradient(145deg, #102b52 0%, #17477d 58%, #11677a 100%);
  }

  .lp-brand-row {
    display: none;
  }

  .lp-form-panel {
    padding: 54px 64px 46px;
  }
}

@media (max-width: 400px) {
  .lp-form-panel {
    padding: 30px 20px 22px;
  }

  .lp-otp-row {
    gap: 6px;
  }

  .otp-digit-inline {
    width: clamp(34px, 11vw, 40px);
    height: 46px;
    font-size: 18px;
  }

  .lp-card-center {
    padding: 36px 18px;
  }
}

:root,
html[data-theme="dark"],
html[data-theme="light"] {
  --lp-bg: #070b16;
  --lp-primary: #3b82f6;
  --lp-primary-h: #2563eb;
  --lp-border: rgba(176, 193, 224, .17);
  --lp-text: #f3f6ff;
  --lp-muted: #9aa8bd;
  --lp-card-bg: rgba(12, 18, 35, .94);
  --lp-shadow: 0 28px 80px rgba(0, 0, 0, .48);
}

html,
body {
  min-height: 100%;
}

body,
html[data-theme="dark"] body {
  position: relative;
  isolation: isolate;
  overflow-x: hidden;
  background: #070b16;
  color: var(--lp-text);
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 18%, rgba(43, 94, 177, .22), transparent 38%),
    radial-gradient(ellipse at 8% 88%, rgba(17, 135, 157, .11), transparent 34%),
    linear-gradient(rgba(177, 195, 224, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(177, 195, 224, .025) 1px, transparent 1px);
  background-size: auto, auto, 44px 44px, 44px 44px;
  content: "";
  pointer-events: none;
}

.lp-shell {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  padding: 26px 18px;
}

.lp-step {
  width: 100%;
  max-width: 440px !important;
  margin-inline: auto;
}

.lp-auth-stack {
  position: relative;
  width: 100%;
}

.lp-mascot-stage {
  position: relative;
  z-index: 2;
  display: flex;
  height: 176px;
  align-items: flex-end;
  justify-content: center;
  margin-bottom: -20px;
  overflow: visible;
}

.lp-mascot {
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, .28));
}

.lp-card,
.lp-card-split,
.lp-card-center {
  position: relative;
  z-index: 1;
  border: 1px solid var(--lp-border) !important;
  border-top-color: rgba(214, 180, 95, .42) !important;
  border-radius: 24px;
  background: var(--lp-card-bg);
  box-shadow: var(--lp-shadow);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.lp-card-split {
  display: block !important;
  min-height: 0;
}

.lp-form-panel {
  display: block;
  padding: 29px 34px 24px;
}

.lp-brand-row {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 0 25px;
}

.lp-brand-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.lp-brand-text {
  color: #dce5f4;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.lp-form-head {
  margin: 0 0 23px;
  text-align: left;
}

.lp-form-title {
  margin: 0 0 7px;
  color: var(--lp-text);
  font-size: 1.85rem;
  font-weight: 750;
  letter-spacing: -.045em;
  line-height: 1.2;
}

.lp-form-sub {
  margin: 0;
  color: var(--lp-muted);
  font-size: .88rem;
  line-height: 1.55;
}

.lp-label {
  color: #dce5f4;
  font-size: .82rem;
  font-weight: 650;
}

.lp-field {
  margin-bottom: 18px;
}

.lp-input-wrap {
  border: 1px solid rgba(173, 192, 222, .2);
  border-radius: 14px;
  background: rgba(255, 255, 255, .045);
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.lp-input-wrap:focus-within {
  border-color: rgba(83, 151, 255, .78);
  background: rgba(255, 255, 255, .065);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, .14);
}

.lp-input-icon {
  color: #8da6ca;
}

.lp-input {
  height: 52px;
  border: 0;
  background: transparent;
  color: #f3f6ff;
  font-size: .95rem;
}

.lp-input::placeholder {
  color: #75849c;
  opacity: 1;
}

.lp-input:focus {
  border: 0;
  background: transparent;
  box-shadow: none;
  color: #fff;
}

.lp-btn-primary {
  min-height: 52px;
  border: 1px solid rgba(133, 180, 255, .34);
  border-radius: 14px;
  background: linear-gradient(110deg, #2563eb, #3184e8);
  box-shadow: 0 12px 28px rgba(37, 99, 235, .24);
  color: #fff;
  font-weight: 700;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.lp-btn-primary:hover:not(:disabled) {
  transform: translateY(-1px);
  background: linear-gradient(110deg, #3173f3, #4194f3);
  box-shadow: 0 16px 34px rgba(37, 99, 235, .32);
}

.lp-btn-primary:disabled {
  cursor: not-allowed;
  opacity: .58;
}

.lp-signup-link {
  color: var(--lp-muted);
}

.lp-signup-link a,
.lp-link-btn strong {
  color: #83b9ff;
}

.lp-footer {
  margin-top: 23px;
  padding-top: 16px;
  border-top: 1px solid rgba(173, 192, 222, .12);
  color: #75849c;
  font-size: .72rem;
  text-align: center;
}

.lp-toast-danger,
.lp-toast-success {
  border: 1px solid rgba(248, 113, 113, .25);
  border-radius: 12px;
  background: rgba(127, 29, 29, .22);
  color: #fecaca;
}

.lp-toast-success {
  border-color: rgba(74, 222, 128, .25);
  background: rgba(20, 83, 45, .24);
  color: #bbf7d0;
}

.lp-card-center {
  max-width: 440px;
  padding: 36px 32px 30px;
  text-align: center;
}

.lp-verify-illu {
  margin: 0 0 17px;
}

.lp-illu-circle {
  border: 1px solid rgba(112, 166, 255, .22);
  background: rgba(37, 99, 235, .15);
  box-shadow: 0 14px 32px rgba(37, 99, 235, .16);
  color: #9bc5ff;
}

.lp-illu-badge {
  border: 2px solid #0c1223;
  background: #d6b45f;
  color: #172033;
}

.lp-verify-title {
  margin-bottom: 8px;
  color: var(--lp-text);
  font-size: 1.55rem;
  letter-spacing: -.035em;
}

.lp-verify-sub {
  margin-bottom: 5px;
  color: var(--lp-muted);
  font-size: .86rem;
  line-height: 1.55;
}

.lp-verify-phone {
  margin: 0 0 22px;
  color: #e2c774;
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .04em;
}

.lp-otp-row {
  display: flex;
  justify-content: center;
  gap: clamp(4px, 1.6vw, 9px);
  margin: 24px 0 14px;
}

.otp-digit-inline {
  flex: 1 1 0;
  width: auto;
  min-width: 0;
  max-width: 48px;
  height: 54px;
  border: 1px solid rgba(173, 192, 222, .2);
  border-radius: 13px;
  background: rgba(255, 255, 255, .045);
  color: #f3f6ff;
  font-size: 1.2rem;
  font-weight: 700;
  text-align: center;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.otp-digit-inline:focus {
  border-color: rgba(83, 151, 255, .85);
  outline: 0;
  background: rgba(59, 130, 246, .1);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, .15);
}

.otp-digit-inline:disabled {
  opacity: .55;
}

.lp-otp-timer {
  margin: 8px 0 19px;
  color: var(--lp-muted);
  font-size: .8rem;
}

.lp-otp-timer span {
  color: #dce5f4;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

.lp-btn-verify {
  width: 100%;
}

.lp-otp-links {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-top: 20px;
}

.lp-link-btn {
  border: 0;
  background: transparent;
  color: #9aa8bd;
  font-size: .8rem;
}

.lp-link-btn:hover:not(:disabled) {
  color: #dce5f4;
}

.lp-link-btn:disabled {
  opacity: .62;
}

.lp-link-back {
  align-self: center;
  color: #83b9ff;
}

.lp-mascot.is-error .lp-mascot-mouth {
  border-top-color: #f87171;
}

.lp-copy-change {
  animation: lpCopyChange .22s ease both;
}

@keyframes lpCopyChange {
  from {
    opacity: .45;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 480px) {
  .lp-shell {
    padding: 20px 14px;
  }

  .lp-mascot-stage {
    height: 162px;
    margin-bottom: -18px;
  }

  .lp-form-panel {
    padding: 27px 24px 21px;
  }

  .lp-brand-row {
    margin-bottom: 21px;
  }

  .lp-card-center {
    padding: 32px 22px 26px;
  }
}

@media (max-width: 360px) {
  .lp-form-panel {
    padding-inline: 19px;
  }

  .lp-card-center {
    padding-inline: 17px;
  }

  .lp-otp-row {
    gap: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lp-mascot,
  .lp-mascot *,
  .lp-btn-primary,
  .otp-digit-inline,
  .lp-copy-change {
    animation: none !important;
    transition: none !important;
  }
}
