@import url("fonts.css");
/* =========================================================
   Login page — split card layout
   ========================================================= */
:root{
  --lp-bg:#dcecf6;
  --lp-sky:#0ea5e9;         /* primary: sky blue */
  --lp-sky-dark:#0284c7;
  --lp-orange:#f97316;      /* accent: orange (actions) */
  --lp-orange-dark:#ea580c;
  --lp-ink:#0f1f3d;
  --lp-text:#3a4456;
  --lp-muted:#6b7688;
  --lp-border:#e1e5eb;
  --lp-input-bg:#f7f9fb;
}

*{box-sizing:border-box}
html,body{height:100%}
.lp-body{
  margin:0;
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:40px;
  background:url("../images/himalaya-bg.svg") center bottom / 100% auto no-repeat, linear-gradient(180deg, #eaf6fd 0%, var(--lp-bg) 100%);
  background-attachment:fixed;
  font-family:var(--font-base);
  color:var(--lp-text);
}

/* Card */
.lp-card{
  width:100%;
  max-width:1440px;
  min-height:min(900px, calc(100vh - 80px));
  display:flex;
  flex-direction:row-reverse; /* form (.lp-left) shows on the right, illustration (.lp-right) on the left */
  border-radius:16px;
  overflow:hidden;
  background:#fff;
  box-shadow:0 30px 60px -20px rgba(15,31,61,.25), 0 10px 20px -10px rgba(15,31,61,.12);
}

/* ---------- Left panel ---------- */
.lp-left{
  flex:1 1 50%;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:48px 32px;
}
.lp-form-wrap{width:100%; max-width:404px}

.lp-brand{display:inline-flex; align-items:center; gap:12px; text-decoration:none; margin-bottom:38px}
.lp-brand-mark{
  width:48px; height:48px; border-radius:10px; overflow:hidden; flex:0 0 auto;
  background:#fff; box-shadow:0 0 0 1px var(--lp-border), 0 2px 6px rgba(2,132,199,.12);
  display:inline-flex; align-items:center; justify-content:center; padding:3px;
}
.lp-brand-mark img{width:100%; height:100%; object-fit:contain}
.lp-brand-text{display:flex; flex-direction:column; line-height:1.25}
.lp-brand-name{font-size:19px; font-weight:700; color:var(--lp-sky-dark)}
.lp-brand-sub{font-size:12.5px; color:var(--lp-muted); margin-top:2px}
.lp-brand-sub::after{content:""; display:block; width:36px; height:3px; border-radius:3px; background:var(--lp-orange); margin-top:6px}

.lp-title{font-size:31px; font-weight:700; color:var(--lp-ink); letter-spacing:-.5px; margin:0 0 14px}
.lp-subtitle{font-size:14.5px; color:var(--lp-muted); margin:0 0 32px}

/* Social buttons */
.lp-social{display:grid; grid-template-columns:1fr 1fr; gap:16px}
.lp-social-btn{
  height:56px;
  display:flex; align-items:center; justify-content:center; gap:12px;
  background:#fff;
  border:1px solid var(--lp-border);
  border-radius:6px;
  box-shadow:0 1px 2px rgba(15,31,61,.05);
  font-size:16px; font-weight:500; color:var(--lp-ink);
  transition:border-color .15s, box-shadow .15s;
}
.lp-social-btn img{width:20px; height:20px}
.lp-social-btn:hover{border-color:#c9d3df; box-shadow:0 3px 8px rgba(15,31,61,.08)}

/* Divider */
.lp-divider{display:flex; align-items:center; gap:16px; margin:36px 0 22px}
.lp-divider::before, .lp-divider::after{content:""; flex:1; height:1px; background:var(--lp-border)}
.lp-divider span{font-size:12px; color:var(--lp-muted); white-space:nowrap}

/* Inputs */
.lp-field{position:relative; margin-bottom:16px}
.lp-field-icon{
  position:absolute; left:18px; top:50%; transform:translateY(-50%);
  font-size:18px; color:#8a94a6; pointer-events:none;
}
.lp-input{
  width:100%; height:48px;
  padding:0 48px 0 52px;
  background:var(--lp-input-bg);
  border:1px solid var(--lp-border);
  border-radius:6px;
  font-size:16px; color:var(--lp-ink);
  outline:none;
  transition:border-color .15s, box-shadow .15s, background .15s;
}
.lp-input::placeholder{color:#8a94a6}
.lp-input:focus{background:#fff; border-color:var(--lp-sky); box-shadow:0 0 0 3px rgba(14,165,233,.18)}
.lp-input.is-invalid{border-color:#e5484d; box-shadow:0 0 0 3px rgba(229,72,77,.12)}
.lp-eye{
  position:absolute; right:10px; top:50%; transform:translateY(-50%);
  width:34px; height:34px; border:0; background:transparent;
  color:#8a94a6; font-size:19px; border-radius:6px;
  display:flex; align-items:center; justify-content:center;
}
.lp-eye:hover{color:var(--lp-ink)}

/* Remember / forgot row */
.lp-row{display:flex; align-items:center; justify-content:space-between; margin:18px 0 42px}
.lp-check{display:inline-flex; align-items:center; gap:12px; font-size:14px; color:var(--lp-muted); cursor:pointer; user-select:none; margin:0}
.lp-check input{position:absolute; opacity:0; pointer-events:none}
.lp-check-box{
  width:20px; height:20px; border-radius:4px;
  border:1.5px solid #c3cbd6; background:#fff;
  display:inline-flex; align-items:center; justify-content:center;
  color:#fff; font-size:14px;
  transition:background .15s, border-color .15s;
}
.lp-check-box i{opacity:0}
.lp-check input:checked + .lp-check-box{background:var(--lp-orange); border-color:var(--lp-orange)}
.lp-check input:checked + .lp-check-box i{opacity:1}
.lp-check input:focus-visible + .lp-check-box{box-shadow:0 0 0 3px rgba(249,115,22,.25)}

.lp-link{color:var(--lp-orange-dark); font-size:14px; font-weight:500; text-decoration:none}
.lp-link:hover{color:#c2410c; text-decoration:underline}

/* Submit */
.lp-submit{
  width:100%; height:48px;
  border:0; border-radius:6px;
  background:var(--lp-orange);
  color:#fff; font-size:16px; font-weight:500;
  box-shadow:0 2px 4px rgba(249,115,22,.3);
  transition:background .15s, transform .05s;
}
.lp-submit:hover{background:var(--lp-orange-dark)}
.lp-submit:active{transform:translateY(1px)}

.lp-signup{text-align:center; font-size:14px; color:var(--lp-text); margin:42px 0 0}
.lp-signup .lp-link{margin-left:6px}

.lp-help{text-align:center; font-size:14px; color:var(--lp-text); margin:32px 0 0}
.lp-help i{color:var(--lp-sky-dark); margin-right:4px}
.lp-help .lp-link{margin-left:4px}
.lp-copy{text-align:center; font-size:12px; color:var(--lp-muted); margin:10px 0 0}

/* ---------- Right panel ---------- */
.lp-right{
  flex:1 1 50%;
  background:linear-gradient(160deg, #38bdf8 0%, var(--lp-sky) 45%, var(--lp-sky-dark) 100%);
  color:#fff;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:138px 32px 70px;
  position:relative;
  overflow:hidden;
}

.lp-stage-wrap{width:520px; height:460px; margin-bottom:90px; flex:0 0 auto}
.lp-stage{position:relative; width:520px; height:460px; transform-origin:top left}

.lp-circle{
  position:absolute; left:32px; top:0; width:456px; height:456px; border-radius:50%;
  background:rgba(255,255,255,.12);
}
.lp-circle-inner{
  position:absolute; left:120px; top:64px; width:392px; height:392px; border-radius:50%;
  border:1px solid rgba(255,255,255,.12);
}
.lp-lines{position:absolute; inset:0; width:100%; height:100%}

.lp-node{
  position:absolute; width:80px; height:80px; margin:-40px 0 0 -40px;
  border-radius:50%;
  background:rgba(255,255,255,.22);
  display:flex; align-items:center; justify-content:center;
}
.lp-node::before{
  content:""; position:absolute; inset:7px; border-radius:50%; background:#fff;
  box-shadow:0 6px 14px rgba(3,80,130,.25);
}
.lp-node > i{position:relative; font-size:28px; line-height:1}
.lp-node-orange > i{color:var(--lp-orange)}
.lp-node-sky > i{color:var(--lp-sky-dark)}
.lp-node-main span{
  position:relative; width:38px; height:38px; border-radius:10px; overflow:hidden;
  background:#fff; box-shadow:0 0 0 2px var(--lp-sky);
  display:flex; align-items:center; justify-content:center;
}
.lp-node-main span img{width:100%; height:100%; object-fit:contain}

/* Mock DIPR dashboard window */
.lp-window{
  position:absolute; left:246px; top:124px; width:290px; height:274px;
  background:#f3f7fa; border-radius:8px; overflow:hidden;
  box-shadow:0 20px 40px -12px rgba(3,70,120,.4);
  color:var(--lp-ink); text-align:left;
}
.lp-window-bar{height:34px; display:flex; align-items:center; gap:6px; padding:0 14px; background:#fff; border-bottom:1px solid #e6eaf0}
.lp-window-bar i{width:9px; height:9px; border-radius:50%}
.lp-window-bar span{margin-left:auto; font-size:11px; font-weight:700; color:var(--lp-sky-dark); letter-spacing:.3px}
.lp-window-body{padding:14px}
.lp-tabs{display:flex; gap:8px; margin-bottom:10px}
.lp-tabs span{flex:1; height:26px; border-radius:4px; display:flex; align-items:center; justify-content:center; font-size:11px; font-weight:600; color:var(--lp-muted)}
.lp-tabs span.active{background:var(--lp-sky); color:#fff}
.lp-list-item{
  display:flex; align-items:center; gap:9px;
  background:#fff; border:1px solid #e6eaf0; border-radius:5px;
  height:56px; padding:0 9px; margin-bottom:8px;
}
.lp-list-item em{
  flex:0 0 30px; width:30px; height:30px; border-radius:7px;
  display:flex; align-items:center; justify-content:center; font-size:15px; font-style:normal;
}
.lp-list-item em.t-orange{background:#fff1e6; color:var(--lp-orange-dark)}
.lp-list-item em.t-sky{background:#e0f2fe; color:var(--lp-sky-dark)}
.lp-list-item div{flex:1; min-width:0; display:flex; flex-direction:column; gap:2px}
.lp-list-item strong{font-size:10.5px; font-weight:700; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.lp-list-item small{font-size:9.5px; color:var(--lp-muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.lp-list-item mark{flex:0 0 auto; padding:2px 6px; border-radius:10px; font-size:9px; font-weight:600}
.lp-list-item mark.ok{background:#e6f6ee; color:#15803d}
.lp-list-item mark.wait{background:#fff1e6; color:var(--lp-orange-dark)}
.lp-list-item mark.info{background:#e0f2fe; color:var(--lp-sky-dark)}

/* Government badge + Himalaya silhouette */
.lp-gov-badge{
  position:absolute; top:24px; left:28px; z-index:2;
  display:inline-flex; align-items:center; gap:8px;
  padding:6px 14px; border-radius:20px;
  background:rgba(255,255,255,.16); border:1px solid rgba(255,255,255,.25);
  font-size:12.5px; font-weight:500; color:#fff;
}
.lp-gov-badge i{color:#fed7aa}
.lp-hills{
  position:absolute; left:0; right:0; bottom:0; height:46%; z-index:0; pointer-events:none;
  background:url("../images/himalaya-panel.svg") center bottom / cover no-repeat;
}
.lp-stage-wrap, .lp-slides, .lp-dots{position:relative; z-index:1}

/* Slides */
.lp-slides{position:relative; width:100%; max-width:520px; min-height:78px; text-align:center}
.lp-slide{position:absolute; inset:0; opacity:0; transform:translateY(8px); transition:opacity .45s, transform .45s; pointer-events:none}
.lp-slide.active{opacity:1; transform:none; pointer-events:auto}
.lp-slide h2{font-size:24px; font-weight:700; margin:0 0 16px; letter-spacing:-.3px; color:#fff}
.lp-slide p{font-size:15.5px; margin:0; color:rgba(255,255,255,.78)}

.lp-dots{display:flex; gap:16px; margin-top:44px}
.lp-dots button{width:8px; height:8px; padding:0; border:0; border-radius:50%; background:rgba(255,255,255,.35); transition:background .2s, transform .2s, width .25s}
.lp-dots button.active{background:var(--lp-orange); width:22px; border-radius:4px}
.lp-dots button:hover{transform:scale(1.25)}

/* ---------- OTP verification page ---------- */
.lp-otp-icon{
  width:56px; height:56px; border-radius:14px; margin-bottom:18px;
  display:flex; align-items:center; justify-content:center;
  background:#fff1e6; color:var(--lp-orange); font-size:28px;
}
.lp-subtitle strong{color:var(--lp-ink); white-space:nowrap}
.lp-login-id{
  display:flex; align-items:center; gap:8px;
  padding:10px 14px; margin-bottom:22px;
  background:#f0f9ff; border:1px solid #d6eefb; border-radius:6px;
  font-size:14px; color:var(--lp-text);
}
.lp-login-id i{color:var(--lp-sky-dark); font-size:17px}
.lp-login-id strong{color:var(--lp-ink); overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
.lp-login-id .lp-link{margin-left:auto}

.lp-otp-inputs{display:grid; grid-template-columns:repeat(6, 1fr); gap:12px}
.otp-box{
  width:100%; height:58px; min-width:0;
  text-align:center; font-size:22px; font-weight:700; color:var(--lp-ink);
  background:var(--lp-input-bg); border:1px solid var(--lp-border); border-radius:8px;
  outline:none; transition:border-color .15s, box-shadow .15s, background .15s;
}
.otp-box:focus{background:#fff; border-color:var(--lp-sky); box-shadow:0 0 0 3px rgba(14,165,233,.18)}
.otp-box.filled{background:#fff; border-color:#7dd3fc}
.otp-box.is-invalid{border-color:#e5484d; box-shadow:0 0 0 3px rgba(229,72,77,.12)}

.lp-error{margin-top:14px; padding:9px 12px; border-radius:6px; background:#fdecec; color:#b42318; font-size:13.5px}
.lp-error::before{content:"\F33A"; font-family:"bootstrap-icons"; margin-right:6px; vertical-align:-2px}

.lp-timer{font-size:14px; color:var(--lp-muted)}
.lp-timer i{margin-right:4px}
.lp-timer strong{color:var(--lp-ink); font-variant-numeric:tabular-nums}
.lp-link-btn{background:none; border:0; padding:0}
.lp-link-btn:disabled{color:#a8b3c3; cursor:not-allowed; text-decoration:none}

/* Phone + SMS illustration */
.lp-phone{
  position:absolute; left:300px; top:62px; width:196px; height:368px;
  background:#0f2a44; border-radius:30px; padding:10px;
  box-shadow:0 24px 44px -14px rgba(3,70,120,.5);
}
.lp-phone-notch{position:absolute; top:10px; left:50%; transform:translateX(-50%); width:70px; height:16px; border-radius:0 0 10px 10px; background:#0f2a44; z-index:1}
.lp-phone-screen{
  height:100%; border-radius:22px; background:#f3f7fa; color:var(--lp-ink);
  display:flex; flex-direction:column; align-items:center; padding:48px 14px 0; text-align:center;
}
.lp-phone-shield{
  width:54px; height:54px; border-radius:50%; margin-bottom:14px;
  display:flex; align-items:center; justify-content:center;
  background:#e0f2fe; color:var(--lp-sky-dark); font-size:26px;
}
.lp-phone-screen strong{font-size:13px}
.lp-phone-screen small{font-size:9.5px; color:var(--lp-muted); margin-top:3px}
.lp-phone-otp{display:flex; gap:5px; margin:18px 0 20px}
.lp-phone-otp span{
  width:22px; height:28px; border-radius:5px; background:#fff; border:1px solid #7dd3fc;
  display:flex; align-items:center; justify-content:center; font-size:13px; font-weight:700;
}
.lp-phone-otp span.empty{border-color:#e1e5eb}
.lp-phone-btn{width:100%; height:32px; border-radius:6px; background:var(--lp-orange); color:#fff; font-size:12px; font-weight:600; display:flex; align-items:center; justify-content:center}

.lp-sms{
  position:absolute; left:262px; top:8px; width:240px; z-index:2;
  display:flex; align-items:center; gap:10px; text-align:left;
  padding:10px 12px; border-radius:12px;
  background:rgba(255,255,255,.96); color:var(--lp-ink);
  box-shadow:0 14px 28px -10px rgba(3,70,120,.45);
  animation:lp-sms-in .6s ease-out .3s both;
}
.lp-sms em{flex:0 0 32px; height:32px; border-radius:8px; display:flex; align-items:center; justify-content:center; background:var(--lp-orange); color:#fff; font-style:normal; font-size:15px}
.lp-sms div{display:flex; flex-direction:column; line-height:1.3}
.lp-sms strong{font-size:11.5px}
.lp-sms small{font-size:11px; color:var(--lp-muted)}
@keyframes lp-sms-in{from{opacity:0; transform:translateY(-10px)} to{opacity:1; transform:none}}

/* ---------- Responsive ---------- */
@media (max-height:860px){
  .lp-body{padding:24px}
  .lp-card{min-height:calc(100vh - 48px)}
  .lp-brand{margin-bottom:28px}
  .lp-subtitle{margin-bottom:28px}
  .lp-divider{margin:26px 0 18px}
  .lp-row{margin:14px 0 28px}
  .lp-signup{margin-top:28px}
  .lp-right{padding:48px 32px 60px}
  .lp-stage-wrap{width:416px; height:368px; margin-bottom:60px}
  .lp-stage{transform:scale(.8)}
}

@media (max-width:1200px){
  .lp-stage-wrap{width:416px; height:368px; margin-bottom:60px}
  .lp-stage{transform:scale(.8)}
}

@media (max-width:991.98px){
  .lp-stage-wrap{width:338px; height:299px; margin-bottom:44px}
  .lp-stage{transform:scale(.65)}
  .lp-slide h2{font-size:20px}
  .lp-slide p{font-size:14px}
}

@media (max-width:767.98px){
  .lp-body{padding:16px; align-items:flex-start}
  .lp-card{min-height:auto}
  .lp-right{display:none}
  .lp-left{padding:36px 20px}
  .lp-title{font-size:26px}
  .lp-social{gap:12px}
  .lp-social-btn{height:50px; font-size:15px}
}

@media (max-width:380px){
  .lp-social{grid-template-columns:1fr}
  .lp-row{flex-wrap:wrap; gap:10px}
}

@media (max-width:420px){
  .lp-otp-inputs{gap:8px}
  .otp-box{height:50px; font-size:19px}
}
