/* =====================================================================
 |  login.css - Login / Forgot password
 |  Mpangilio wa mtindo wa mobile-banking: nembo juu kushoto, lugha juu kulia,
 |  maelezo + kadi ya kuingia katikati, mstari wa chini. Skrini moja (bila kuscroll).
 ===================================================================== */
body.login-page{
  --accent:#22a85a; --accent-strong:#12853f;
  --fh:clamp(46px,6.9vh,60px);          /* urefu wa kisanduku/kitufe (hufuata urefu wa skrini) */
  --gap:clamp(12px,2.3vh,22px);
  --lp-ink:#111216; --lp-sub:#3b3d44; --lp-mut:#5d6068;
  --lp-card:rgba(247,243,241,.93); --lp-card-line:rgba(255,255,255,.75);
  --lp-field:#fbf9f8; --lp-field-line:#cdc7c4; --lp-field-ink:#111216;
  --lp-btn:var(--accent-strong); --lp-btn-h:var(--accent);
  --lp-link:var(--accent-strong); --lp-line:rgba(0,0,0,.10);
  min-height:100vh; min-height:100dvh; margin:0; display:flex; flex-direction:column;
  font-family:'Inter',-apple-system,'Segoe UI',Arial,sans-serif; color:var(--lp-ink);
  background:linear-gradient(180deg,#d9dade 0%,#e6dedc 46%,#f1e2db 100%) !important; position:relative; overflow-x:hidden;
}
body.login-page::before,body.login-page::after{ display:none !important; }
.lp-bg{ position:fixed; inset:0; z-index:0; pointer-events:none; }
.lp-bg svg{ position:absolute; inset:0; width:100%; height:100%; }
.lp-wrap{ position:relative; z-index:2; width:100%; max-width:1150px; margin:0 auto; padding-left:20px; padding-right:20px; box-sizing:border-box; }
body.login-page *{ box-sizing:border-box; }

/* ---- kichwa: nembo kushoto, lugha kulia ---- */
.lp-head{ display:flex; align-items:center; justify-content:space-between; padding-top:clamp(14px,4.4vh,40px); }
.lp-top{ display:flex; align-items:center; gap:14px; min-width:0; }
.lp-top img{ max-height:clamp(44px,8vh,76px); max-width:150px; object-fit:contain; }
.lp-top .lp-brand{ font-family:'Poppins',sans-serif; font-weight:700; font-size:clamp(17px,2.4vh,21px); letter-spacing:.2px; line-height:1.2; color:var(--lp-ink); }
.lp-top .lp-brand small{ display:block; font-family:'Inter',sans-serif; font-weight:500; font-size:12.5px; color:var(--lp-mut); letter-spacing:.2px; margin-top:2px; }
.lp-lang{ display:flex; align-items:center; gap:9px; font-size:15.5px; color:#2b2d33; white-space:nowrap; cursor:default; }
.lp-lang svg{ width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; opacity:.8; }
.lp-lang .chev{ width:16px; height:16px; }

/* ---- sehemu kuu ---- */
.lp-stage{ flex:1; display:flex; align-items:flex-end; justify-content:space-between; gap:clamp(30px,5vw,80px); padding-top:clamp(8px,2vh,24px); padding-bottom:clamp(28px,13.7vh,110px); }
.lp-stage.center{ justify-content:center; }
.lp-left{ flex:0 1 480px; min-width:0; }
.lp-left h1{ font-family:'Poppins',sans-serif; font-weight:600; font-size:clamp(26px,4.6vh,36px); line-height:1.22; margin:0 0 clamp(8px,1.6vh,14px); color:var(--lp-ink); letter-spacing:-.4px; }
.lp-left p.lead{ font-size:clamp(14px,1.9vh,16.5px); color:var(--lp-sub); margin:0 0 clamp(14px,2.6vh,24px); line-height:1.5; max-width:520px; }
.lp-feats{ display:flex; align-items:center; margin-bottom:clamp(14px,3vh,28px); }
.lp-feat{ display:flex; align-items:center; gap:12px; font-weight:600; font-size:15px; color:#1c1e24; padding:0 24px; border-left:1px solid #cdc4c0; }
.lp-feat:first-child{ padding-left:0; border-left:0; }
.lp-feat svg{ width:46px; height:46px; padding:10px; border-radius:14px; background:#e5f3ea; fill:none; stroke:#1f9d55; stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round; flex:0 0 auto; box-sizing:border-box; }
.lp-feat:nth-child(2) svg{ background:#e6edfb; stroke:#3b63d9; } .lp-feat:nth-child(3) svg{ background:#fdeadb; stroke:#e8731c; }

.lp-slides{ display:grid; grid-template-columns:170px 1fr; gap:12px; padding:10px; border-radius:28px; background:rgba(255,255,255,.72); border:1px solid rgba(255,255,255,.9); box-shadow:0 18px 40px -26px rgba(80,60,50,.45); backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px); height:clamp(150px,27vh,190px); }
.ls-text{ position:relative; padding:6px 2px 0 6px; display:flex; flex-direction:column; }
.ls-item{ display:none; } .ls-item.on{ display:block; animation:lsIn .35s ease; }
.ls-item b{ display:block; font-size:15px; line-height:1.25; color:var(--lp-ink); margin-bottom:8px; }
.ls-item p{ margin:0; font-size:13.5px; line-height:1.45; color:var(--lp-mut); }
.ls-dots{ position:absolute; left:6px; bottom:4px; display:flex; gap:7px; }
.ls-dots i{ width:8px; height:8px; border-radius:8px; background:#cfc8c5; cursor:pointer; transition:width .2s,background .2s; }
.ls-dots i.on{ width:24px; background:var(--accent-strong); }
.ls-img{ border-radius:20px; overflow:hidden; background:radial-gradient(circle at 30% 20%,var(--accent) 0%,var(--accent-strong) 50%,#0a2e1f 100%); display:flex; align-items:center; justify-content:center; }
.ls-img svg{ width:100%; height:100%; display:block; }
.ls-pic{ display:none; width:100%; height:100%; } .ls-pic.on{ display:block; animation:lsIn .4s ease; }
@keyframes lsIn{ from{ opacity:0; transform:translateY(4px);} to{ opacity:1; transform:none;} }

/* ---- kadi ya kuingia ---- */
.lp-right{ flex:0 0 min(470px,100%); display:flex; flex-direction:column; align-items:stretch; }
.lp-stage.center .lp-right{ flex-basis:min(470px,100%); }
.lp-card{ background:var(--lp-card); border:1px solid var(--lp-card-line); border-radius:30px; padding:clamp(22px,5vh,46px) clamp(26px,3.2vw,52px) clamp(20px,4vh,34px); box-shadow:0 24px 50px -34px rgba(70,50,45,.45); backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px); }
.lp-card h2{ margin:0; text-align:center; font-family:'Poppins',sans-serif; font-weight:700; font-size:clamp(25px,4.2vh,34px); color:var(--lp-ink); }
.lp-greet{ text-align:center; color:var(--lp-sub); margin:clamp(2px,.8vh,6px) 0 clamp(14px,3.2vh,28px); font-size:clamp(14px,2vh,17px); }
.lp-group{ margin-bottom:var(--gap); }
.lp-lab{ display:block; font-size:14.5px; color:var(--lp-mut); font-weight:400; margin:0 0 clamp(5px,1vh,8px) 2px; }
.lp-field,.pwd-wrap{ position:relative; display:block; }
.lp-in{ display:block; width:100%; height:var(--fh); border:1px solid var(--lp-field-line); background:var(--lp-field); color:var(--lp-field-ink); border-radius:16px; font-size:16px; padding:0 58px 0 20px; box-shadow:none; outline:none; transition:border-color .15s, box-shadow .15s; }
.lp-in:focus{ border-color:var(--accent-strong); box-shadow:0 0 0 3px rgba(18,133,63,.14); }
.lp-in::placeholder{ color:#a6a09d; }
.lp-in:-webkit-autofill{ -webkit-box-shadow:0 0 0 100px var(--lp-field) inset; -webkit-text-fill-color:var(--lp-field-ink); }
.lp-ico,.pwd-eye{ position:absolute; top:0; right:0; width:58px; height:var(--fh); display:flex; align-items:center; justify-content:center; color:#2c2e34; }
.lp-ico svg{ width:24px; height:24px; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.pwd-eye{ cursor:pointer; font-size:19px; z-index:5; }
.pwd-eye:hover{ color:var(--accent-strong); }
.pwd-wrap > .lp-in{ padding-right:58px; }

/* kitufe laini (tambarare, bila mng'ao) */
.btn-login{ display:block; width:100%; height:var(--fh); margin-top:clamp(6px,1.4vh,12px); border:0; border-radius:14px; background:var(--lp-btn); color:#fff; font-size:17px; font-weight:500; letter-spacing:.2px; box-shadow:none; filter:none; transition:background .15s; cursor:pointer; }
.btn-login:hover,.btn-login:focus{ background:var(--lp-btn-h); color:#fff; outline:none; }
.btn-login:active{ transform:translateY(1px); }

.lp-links{ display:flex; align-items:center; justify-content:center; margin-top:clamp(12px,2.4vh,20px); }
.lp-links > a,.lp-links > label{ flex:1; text-align:center; color:var(--lp-link); font-size:15.5px; font-weight:400; margin:0; cursor:pointer; text-decoration:none; }
.lp-links > a:hover{ text-decoration:none; opacity:.8; }
.lp-links .sep{ width:1px; height:24px; background:#cfc8c5; flex:0 0 1px; }
.lp-links.one > a{ flex:1; }
.lp-rem{ display:flex; align-items:center; justify-content:center; gap:9px; }
.lp-rem input{ appearance:none; -webkit-appearance:none; width:18px; height:18px; margin:0; border:1.5px solid #9d9894; border-radius:5px; background:#fff; cursor:pointer; position:relative; flex:0 0 auto; }
.lp-rem input:checked{ background:var(--accent-strong); border-color:var(--accent-strong); }
.lp-rem input:checked::after{ content:""; position:absolute; left:5px; top:1.5px; width:5px; height:10px; border:solid #fff; border-width:0 2px 2px 0; transform:rotate(45deg); }

.lp-alert{ border-radius:14px; font-size:14px; padding:11px 14px; margin:0 0 var(--gap); }
.lp-alert.err{ background:#fdecec; color:#9b1c1c; border:1px solid #f6c9c9; } .lp-alert.ok{ background:#e9f8ee; color:#176a35; border:1px solid #bfe7cc; }

.lp-support{ display:flex; align-items:center; justify-content:center; gap:10px; margin-top:clamp(12px,2.6vh,24px); color:var(--lp-sub); font-size:14.5px; text-align:center; }
.lp-support svg{ width:22px; height:22px; flex:0 0 auto; fill:none; stroke:currentColor; stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round; }

/* ---- mstari wa chini ---- */
.lp-foot{ display:flex; justify-content:space-between; flex-wrap:wrap; gap:6px 20px; padding-top:clamp(10px,2vh,18px); padding-bottom:clamp(12px,2.4vh,22px); border-top:1px solid var(--lp-line); font-size:14px; color:#3e4047; margin-top:auto; max-width:1150px; padding-left:0; padding-right:0; width:calc(100% - 80px); }

/* ---- skrini ndogo kwa urefu ---- */
@media (max-height:700px){ .lp-slides{ height:clamp(120px,22vh,150px); grid-template-columns:150px 1fr; padding:9px; border-radius:22px; } .ls-item b{ font-size:14px; margin-bottom:5px; } .ls-item p{ font-size:12.5px; line-height:1.35; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; } .ls-text{ padding-bottom:22px; } .lp-feats{ margin-bottom:14px; } .lp-support{ display:none; } }
@media (max-height:600px){ .ls-item p{ display:none; } .lp-left p.lead{ display:none; } .lp-feats{ margin-bottom:10px; } .lp-top .lp-brand small{ display:none; } }

/* ---- tablet / simu: kadi peke yake ---- */
@media (max-height:500px){ .lp-slides{ display:none; } }
@media (max-width:1000px){
  .lp-wrap{ padding-left:22px; padding-right:22px; } .lp-foot{ width:calc(100% - 44px); }
  .lp-left{ display:none; }
  .lp-stage{ justify-content:center; } .lp-right{ flex:0 1 470px; }
}

/* ---- Simu: rangi sawa na desktop (nyepesi, kadi nyeupe, kitufe cha kijani) ---- */
@media (max-width:700px){
  body.login-page{
    --fh:clamp(48px,6.6vh,56px);
    --lp-card:rgba(255,255,255,.96);
  }
  .lp-bg svg{ opacity:.9; }
  .lp-wrap{ padding-left:20px; padding-right:20px; } .lp-foot{ width:calc(100% - 40px); }
  /* Jina + maelezo viko katikati, juu kidogo ya kadi; lugha juu kulia */
  /* Kadi iko katikati kamili ya skrini: safu 3 (juu | kadi | chini), juu na chini ni sawa */
  body.login-page{ display:grid; grid-template-rows:minmax(0,1fr) auto minmax(0,1fr); }
  .lp-foot{ align-self:end; margin-top:0; }
  .lp-head{ display:flex; flex-direction:column; align-items:center; justify-content:flex-end; padding-top:calc(46px + env(safe-area-inset-top)); padding-bottom:clamp(10px,2vh,20px); }
  .lp-lang{ position:absolute; top:calc(clamp(14px,2.6vh,24px) + env(safe-area-inset-top)); right:20px; color:#2b2d33; font-size:14.5px; z-index:3; }
  .lp-top{ flex-direction:column; text-align:center; gap:8px; justify-content:center; }
  .lp-top img{ max-height:clamp(34px,5.6vh,52px); }
  .lp-top{ gap:6px; }
  .lp-top .lp-brand{ font-size:21px; text-align:center; } .lp-top .lp-brand small{ margin-top:3px; }
  .lp-stage{ align-items:center; padding-top:0; padding-bottom:0; }
  .lp-right{ flex:1 1 100%; }
  .lp-card{ border-radius:28px; padding:clamp(20px,3.6vh,32px) 22px clamp(18px,3vh,26px); box-shadow:0 24px 50px -30px rgba(70,50,45,.5); }
  .lp-lab{ font-size:14px; } .lp-in{ font-size:16px; border-radius:16px; padding:0 54px 0 18px; }
  .btn-login{ border-radius:14px; }
  .lp-links > a,.lp-links > label{ font-size:14.5px; }
  .lp-support{ font-size:13.5px; flex-direction:column; gap:6px; }
  .lp-foot{ justify-content:center; text-align:center; color:#2b2f3a; text-shadow:0 0 6px rgba(255,250,244,.95),0 0 12px rgba(255,250,244,.9); font-size:12.5px; padding-bottom:calc(clamp(12px,2.4vh,20px) + env(safe-area-inset-bottom)); }
}

@media (max-width:700px) and (max-height:740px){ .lp-top img{ max-height:34px; } .lp-top .lp-brand{ font-size:18px; } .lp-top .lp-brand small{ display:none; } .lp-head{ padding-top:calc(40px + env(safe-area-inset-top)); } }

/* ---- kubadili lugha ---- */
.lp-langbox{ position:relative; }
.lp-lang{ background:none; border:0; padding:6px 4px; font-family:inherit; cursor:pointer; }
.lp-lang:hover{ color:var(--accent-strong); }
.lp-lang .chev{ transition:transform .2s; } .lp-langbox.open .chev{ transform:rotate(180deg); }
.lp-langmenu{ display:none; position:absolute; right:0; top:calc(100% + 6px); min-width:170px; background:#fff; border:1px solid #e3dcd8; border-radius:14px; box-shadow:0 18px 40px -18px rgba(60,40,35,.45); padding:6px; z-index:20; }
.lp-langbox.open .lp-langmenu{ display:block; }
.lp-langmenu a{ display:flex; align-items:center; justify-content:space-between; gap:14px; padding:10px 12px; border-radius:10px; color:#24262c; font-size:15px; text-decoration:none; }
.lp-langmenu a:hover{ background:#f3eeec; }
.lp-langmenu a.on{ font-weight:600; color:var(--accent-strong); }
.lp-langmenu a.on::after{ content:"\2713"; }

.lp-head{ position:relative; z-index:30; }
.lp-foot{ padding-left:20px; padding-right:20px; }

.lp-langmenu .ln{ display:flex; align-items:center; gap:12px; } .lp-langmenu .fl{ width:26px; height:18px; border-radius:3px; flex:0 0 auto; box-shadow:0 0 0 1px rgba(0,0,0,.12); display:block; }
.lp-langmenu a{ padding:10px 14px; }

/* ---- hali ya "Loading" baada ya kubonyeza Ingia (kama NMB) ---- */
.lp-card{ position:relative; }
.lp-card.is-loading .lp-in{ background:#d9d4d1; border-color:#cbc5c2; color:#5d5a58; pointer-events:none; }
.lp-card.is-loading .lp-ico,.lp-card.is-loading .pwd-eye,.lp-card.is-loading .lp-lab{ opacity:.55; pointer-events:none; }
.lp-card.is-loading .btn-login{ background:#cdc8c6; color:#6b6866; pointer-events:none; }
.lp-card.is-loading .lp-links{ opacity:.6; pointer-events:none; }
.lp-ring{ position:fixed; left:50%; top:50%; width:84px; height:84px; margin:-42px 0 0 -42px; border-radius:50%; z-index:100001; pointer-events:none;
  background:conic-gradient(from 0deg,#f7931e,#e8467c,#9a7cf5,#3b82f6,#f7931e);
  -webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 3px),#000 calc(100% - 2.5px)); mask:radial-gradient(farthest-side,transparent calc(100% - 3px),#000 calc(100% - 2.5px));
  animation:lpSpin .9s linear infinite; }
@keyframes lpSpin{ to{ transform:rotate(360deg); } }
@media (max-width:700px){
  .lp-langbox{ position:absolute; top:calc(clamp(14px,2.6vh,24px) + env(safe-area-inset-top)); right:20px; z-index:30; }
  .lp-langbox .lp-lang{ position:static; color:#fff; font-size:14.5px; padding:4px 2px; }
  .lp-langmenu{ min-width:160px; }
}

@media (min-width:701px){ .lp-card{ background:rgba(255,255,255,.96); } .lp-top .lp-brand{ color:#0b1230; } .lp-lab{ font-weight:500; color:#2b2f3a; } .lp-in::placeholder{ color:#9a9fa9; } }

/* ---- v2: kama picha ya mfano ---- */
.lp-logo{ width:52px; height:52px; border-radius:14px; background:linear-gradient(145deg,#2bb866,#12853f); display:flex; align-items:center; justify-content:center; box-shadow:0 10px 20px -12px rgba(18,133,63,.8); flex:0 0 auto; }
.lp-logo svg{ width:30px; height:30px; fill:none; stroke:#fff; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.lp-top .lp-brand{ font-size:clamp(20px,3vh,26px); }
.lp-left h1{ font-weight:700; font-size:clamp(28px,4.9vh,40px); line-height:1.12; color:#0b1230; letter-spacing:-.8px; }
.lp-left p.lead{ font-size:clamp(15px,2.2vh,19px); color:#4a4f5c; }
.lp-feat{ font-size:clamp(14px,2vh,17px); font-weight:700; color:#0b1230; }
.lp-feat svg{ width:clamp(42px,6.4vh,54px); height:clamp(42px,6.4vh,54px); padding:11px; }
.lp-slides{ border-radius:30px; box-shadow:0 24px 50px -30px rgba(40,30,20,.45); }
.ls-item b{ font-size:16.5px; color:#0b1230; } .ls-item p{ color:#5a5f6c; }
.ls-dots i.on{ background:var(--accent-strong); }
.lp-in.has-l{ padding-left:56px; }
.lp-ico.l{ right:auto; left:0; width:54px; color:#3a3f4b; }
.lp-ico.l svg{ width:22px; height:22px; }
.lp-greet{ display:flex; align-items:center; justify-content:center; gap:10px; }
.lp-greet .gi svg{ width:26px; height:26px; fill:none; stroke:#f5b300; stroke-width:2; stroke-linecap:round; display:block; }
.btn-login{ background:linear-gradient(180deg,#1f9d55,#12853f); font-weight:700; font-size:18px; box-shadow:0 12px 22px -14px rgba(18,133,63,.9); display:flex; align-items:center; justify-content:center; gap:10px; }
.btn-login:hover,.btn-login:focus{ background:linear-gradient(180deg,#22a85a,#0f7a39); }
.btn-login svg{ width:20px; height:20px; fill:none; stroke:#fff; stroke-width:2.2; stroke-linecap:round; stroke-linejoin:round; }
.lp-links a{ font-weight:600; }
.lp-lab{ font-weight:500; }
@media (max-width:700px){ .lp-in.has-l{ padding-left:52px; } .lp-logo{ width:46px; height:46px; } .lp-top .lp-brand{ color:#0b1230; } }
@media (min-width:701px){ .lp-foot{ color:#2b2f3a; text-shadow:0 0 6px rgba(255,250,244,.95),0 0 12px rgba(255,250,244,.9); font-weight:500; } }
@media (max-width:700px){ .lp-langbox .lp-lang,.lp-lang{ color:#2b2d33 !important; } .lp-bg svg{ opacity:1; } }

/* ---- mandharinyuma ya picha ---- */
.lp-bg picture,.lp-bg img{ position:absolute; inset:0; width:100%; height:100%; display:block; }
.lp-bg img{ object-fit:cover; object-position:30% 50%; }
.lp-veil{ position:absolute; inset:0; background:linear-gradient(180deg,rgba(255,252,246,.85) 0,rgba(255,252,246,0) 150px),linear-gradient(0deg,rgba(255,252,246,.92) 0,rgba(255,252,246,0) 120px),linear-gradient(90deg,rgba(255,252,246,.95) 0%,rgba(255,252,246,.88) 42%,rgba(255,252,246,.30) 66%,rgba(255,252,246,0) 100%); }
@media (max-width:700px){
  .lp-bg img{ object-position:50% 50%; }
  .lp-veil{ background:linear-gradient(180deg,rgba(255,252,246,.9) 0%,rgba(255,252,246,.6) 25%,rgba(255,252,246,.22) 45%,rgba(255,252,246,.22) 65%,rgba(255,252,246,.9) 100%); }
}

/* ---- simu: picha juu (kichwa) + kadi inayopishana ---- */
@media (max-width:700px){
  body.login-page{ background:#f7f1e8 !important; grid-template-rows:auto auto 1fr; }
  .lp-bg{ bottom:auto; height:clamp(270px,38vh,340px); }
  .lp-bg img{ object-position:45% 40%; }
  .lp-veil{ background:linear-gradient(180deg,rgba(255,252,246,.82) 0%,rgba(255,252,246,.45) 55%,rgba(247,241,232,.0) 78%,#f7f1e8 100%); }
  .lp-head{ justify-content:flex-start; padding-top:calc(54px + env(safe-area-inset-top)); padding-bottom:clamp(40px,7vh,60px); }
  .lp-stage{ align-items:flex-start; margin-top:-30px; }
  .lp-foot{ align-self:end; padding-top:14px; text-shadow:none; }
  .lp-card{ box-shadow:0 22px 44px -24px rgba(40,60,45,.45); border:1px solid rgba(255,255,255,.9); }
}
@media (max-width:700px){
  .lp-card{ background:#fff; backdrop-filter:none; -webkit-backdrop-filter:none; }
  .lp-bg{ height:clamp(300px,42vh,370px); }
  .lp-veil{ background:linear-gradient(180deg,rgba(255,252,246,.9) 0%,rgba(255,252,246,.8) 38%,rgba(255,252,246,.25) 62%,rgba(247,241,232,0) 80%,#f7f1e8 100%); }
  .lp-top .lp-brand small{ color:#3b3f4a; font-weight:600; }
}
/* ---- usomekaji: nembo + jina kwenye kifuko cha kioo ---- */
@media (max-width:700px){
  .lp-veil{ background:linear-gradient(180deg,rgba(255,252,246,.12) 0%,rgba(255,252,246,.05) 45%,rgba(247,241,232,0) 72%,#f7f1e8 100%); }
  .lp-top{ background:rgba(255,255,255,.86); backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px); border-radius:22px; padding:12px 22px 14px; box-shadow:0 14px 30px -18px rgba(30,40,30,.5); border:1px solid rgba(255,255,255,.9); }
  .lp-lang{ background:rgba(255,255,255,.86); border-radius:999px; padding:6px 12px; backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px); }
  .lp-bg{ height:clamp(310px,44vh,380px); }
  .lp-head{ padding-top:calc(60px + env(safe-area-inset-top)); }
}
@media (min-width:701px){
  .lp-left h1,.lp-left p.lead{ text-shadow:0 0 14px rgba(255,252,246,.95),0 0 28px rgba(255,252,246,.8); }
  .lp-top{ background:rgba(255,255,255,.72); backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px); border-radius:18px; padding:8px 18px 8px 10px; margin-left:-10px; }
}
@media (min-width:701px){ .lp-lang{ background:rgba(255,255,255,.78); border-radius:999px; padding:7px 14px; backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px); } }

/* ---- Kuoanisha swichi ya lugha iliyopo (login-lang) na nafasi ya reference ---- */
body.login-page .login-lang{
  position: absolute; top: calc(18px + env(safe-area-inset-top)); right: 18px; left: auto;
  display: flex; gap: 6px; z-index: 30; margin: 0; background: none; padding: 0;
}
body.login-page .login-lang button{ padding: 5px 7px; font-size: 11px; }
@media (max-width:700px){
  body.login-page .login-lang{ top: calc(18px + env(safe-area-inset-top)); right: 14px; }
}

/* ---- menyu ya lugha: vitufe vya POST (badala ya <a>) vionekane kama reference ---- */
.lp-langmenu form{ margin:0; display:flex; flex-direction:column; }
.lp-langmenu button{ display:flex; align-items:center; gap:14px; width:100%; padding:10px 12px; border:0; background:none; border-radius:10px; color:#24262c; font-size:15px; font-family:inherit; text-align:left; cursor:pointer; }
.lp-langmenu button:hover{ background:#f3eeec; }
.lp-langmenu button.on{ font-weight:600; color:var(--accent-strong); }
.lp-langmenu button.on::after{ content:"\2713"; margin-left:auto; }
.lp-langmenu .ln{ display:flex; align-items:center; gap:12px; }
.lp-langmenu .flag{ width:24px; height:16px; border-radius:3px; flex:0 0 auto; box-shadow:0 0 0 1px rgba(0,0,0,.12); }

/* ---- Kuzidi sheria za jumla za app.css (input[type=...] zina specificity kubwa
   kuliko .lp-in) ili visanduku vya Username/Password vibaki kama reference ---- */
body.login-page .lp-in{
  height:var(--fh); border:1px solid var(--lp-field-line); background:var(--lp-field);
  border-radius:16px; font-size:16px; padding:0 58px 0 20px; box-shadow:none;
}
body.login-page .lp-in.has-l{ padding-left:56px; }
body.login-page .lp-in:focus{ border-color:var(--accent-strong); box-shadow:0 0 0 3px rgba(18,133,63,.14); }
@media (max-width:700px){
  body.login-page .lp-in{ border-radius:16px; padding:0 54px 0 18px; }
  body.login-page .lp-in.has-l{ padding-left:52px; }
}

/* =====================================================================
 |  INSTALL WIZARD (body.iw-page) - muonekano wa login + hatua 4
 ===================================================================== */
.iw-page{ justify-content:flex-start !important; height:auto !important; }
.iw-page svg{ fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.iw-page .lp-stage{ align-items:center; padding-bottom:clamp(20px,5vh,48px); }
.iw-left{ flex:0 1 460px; }
.iw-badge{ display:inline-block; background:rgba(18,133,63,.11); color:#0d7a3c; font-weight:700; font-size:12.5px; border-radius:20px; padding:5px 12px; margin-bottom:14px; }
.iw-steps{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:10px; }
.iw-steps li{ display:flex; align-items:center; gap:14px; background:rgba(255,255,255,.8); backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px); border:1px solid rgba(15,23,42,.06); border-radius:14px; padding:11px 14px; transition:border-color .2s, box-shadow .2s, background .2s; }
.iw-steps .n{ width:34px; height:34px; border-radius:50%; display:grid; place-items:center; font-weight:800; background:#eef0f3; color:#6b7280; flex:none; font-size:14px; }
.iw-steps .n svg{ display:none; width:18px; height:18px; stroke:#fff; stroke-width:2.6; }
.iw-steps li > div b{ display:block; color:var(--lp-ink); font-size:15px; }
.iw-steps li small{ color:var(--lp-mut); font-size:12.5px; }
.iw-steps li.done{ cursor:pointer; } .iw-steps li.done:hover{ background:#fff; }
.iw-steps li.done .n{ background:var(--accent-strong); } .iw-steps li.done .n b{ display:none; } .iw-steps li.done .n svg{ display:block; }
.iw-steps li.cur{ border-color:var(--accent-strong); box-shadow:0 8px 20px -10px rgba(18,133,63,.45); background:#fff; }
.iw-steps li.cur .n{ background:#e7f6ed; color:#0d7a3c; box-shadow:inset 0 0 0 2px var(--accent-strong); }
.iw-prog{ height:6px; background:rgba(15,23,42,.08); border-radius:4px; margin-top:18px; overflow:hidden; }
.iw-prog i{ display:block; height:100%; width:12.5%; background:var(--accent-strong); border-radius:4px; transition:width .35s ease; }
.iw-prog-l{ display:block; margin-top:6px; color:var(--lp-mut); font-size:12.5px; }

.iw-right{ flex:0 0 min(540px,100%); }
.iw-card{ position:relative; padding:clamp(22px,3.6vh,36px) clamp(22px,2.8vw,40px) clamp(20px,3vh,30px); }
.iw-pane{ display:none; } .iw-pane.on{ display:block; animation:lsIn .3s ease; }
.iw-card-h{ display:flex; gap:14px; align-items:center; margin-bottom:clamp(14px,2.4vh,22px); }
.iw-ic{ width:48px; height:48px; border-radius:14px; background:#e7f6ed; color:#0d7a3c; display:grid; place-items:center; flex:none; }
.iw-ic svg{ width:24px; height:24px; }
.iw-card .iw-card-h h2{ margin:0; text-align:left; font-size:clamp(21px,3vh,25px); }
.iw-card-h p{ margin:2px 0 0; color:var(--lp-mut); font-size:13.5px; }
.iw-page{ --fh:clamp(44px,5.8vh,52px); --gap:clamp(10px,1.6vh,14px); }
.iw-page .lp-in{ font-size:15px; border-radius:13px; }
.iw-page .lp-lab{ font-size:13.5px; }
.iw-g2{ display:grid; grid-template-columns:1fr 1fr; gap:0 12px; }
.iw-g2-cur{ grid-template-columns:1fr 1fr; }
.lp-group.bad .lp-in{ border-color:#dc2626; box-shadow:0 0 0 3px rgba(220,38,38,.1); }
.iw-err{ color:#b91c1c; font-size:12.5px; margin:5px 0 0 2px; }
.iw-sep{ display:flex; align-items:center; gap:10px; margin:4px 0 12px; color:var(--lp-mut); font-size:12px; font-weight:700; text-transform:uppercase; letter-spacing:.5px; }
.iw-sep:before,.iw-sep:after{ content:''; flex:1; height:1px; background:#ddd6d2; }

.iw-req{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:10px; }
.iw-req li{ display:flex; gap:12px; align-items:flex-start; padding:12px 14px; border-radius:14px; background:#fff; border:1px solid #e7e1dd; }
.iw-req li.bad{ border-color:#f6c9c9; background:#fff7f7; }
.iw-req .st{ width:28px; height:28px; border-radius:50%; display:grid; place-items:center; background:var(--accent-strong); flex:none; }
.iw-req .st svg{ width:16px; height:16px; stroke:#fff; stroke-width:2.8; }
.iw-req li.bad .st{ background:#dc2626; }
.iw-req b{ display:block; font-size:14.5px; color:var(--lp-ink); }
.iw-req small{ color:var(--lp-mut); font-size:12.5px; }
.iw-exts{ display:flex; flex-wrap:wrap; gap:5px; margin-top:6px; }
.iw-exts span{ font-size:11.5px; font-weight:600; padding:2px 8px; border-radius:20px; background:#e7f6ed; color:#0d7a3c; }
.iw-exts span.bad{ background:#fdecec; color:#b91c1c; text-decoration:line-through; }
.iw-mt{ margin-top:12px; margin-bottom:0; }

.iw-test{ width:100%; height:44px; border:1.5px dashed var(--accent-strong); background:#f2faf5; color:#0d7a3c; border-radius:12px; font:inherit; font-weight:700; font-size:14.5px; display:flex; align-items:center; justify-content:center; gap:8px; cursor:pointer; margin-top:2px; }
.iw-test:hover{ background:#e7f6ed; } .iw-test svg{ width:18px; height:18px; }
.iw-test.busy svg{ animation:iwPulse 1s ease-in-out infinite; }
.iw-ok{ display:flex; gap:9px; align-items:flex-start; margin-top:10px; background:#e7f6ed; border-radius:11px; padding:10px 12px; color:#0d6b35; font-size:13.5px; line-height:1.4; }
.iw-ok svg{ width:18px; height:18px; stroke:currentColor; stroke-width:2.6; flex:none; margin-top:1px; }
.iw-ok.warn{ background:#fff6e5; color:#92400e; } .iw-ok.warn svg,.iw-ok.fail svg{ stroke-width:2; }
.iw-ok.fail{ background:#fdecec; color:#9b1c1c; word-break:break-word; }

.iw-nav{ display:flex; gap:10px; margin-top:clamp(16px,2.6vh,22px); }
.iw-back{ height:var(--fh); padding:0 18px; border-radius:14px; border:1px solid #ddd6d2; background:#fff; font:inherit; font-weight:600; color:#374151; display:flex; align-items:center; gap:6px; cursor:pointer; white-space:nowrap; }
.iw-back:hover{ border-color:var(--accent-strong); color:var(--accent-strong); } .iw-back svg{ width:18px; height:18px; }
.iw-page .btn-login.iw-next{ flex:1; margin:0; display:flex; align-items:center; justify-content:center; gap:9px; font-weight:600; text-decoration:none; }
.iw-page .btn-login svg{ width:20px; height:20px; stroke-width:2; }
.iw-page .btn-login.busy{ opacity:.8; pointer-events:none; }

.iw-sum{ margin:0; border:1px solid #e7e1dd; border-radius:14px; background:#fff; overflow:hidden; }
.iw-sum > div{ display:grid; grid-template-columns:110px 1fr auto; gap:10px; align-items:center; padding:11px 14px; border-top:1px solid #f0ebe8; }
.iw-sum > div:first-child{ border-top:0; }
.iw-sum dt{ display:flex; align-items:center; gap:7px; color:var(--lp-mut); font-size:13px; font-weight:600; }
.iw-sum dt svg{ width:17px; height:17px; color:#0d7a3c; }
.iw-sum dd{ margin:0; min-width:0; } .iw-sum dd b{ display:block; font-size:14.5px; color:var(--lp-ink); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.iw-sum dd small{ display:block; color:var(--lp-mut); font-size:12.5px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.iw-sum button{ border:0; background:none; color:var(--accent-strong); font:inherit; font-size:13px; font-weight:600; cursor:pointer; padding:4px; }
.iw-sample{ display:flex; gap:12px; align-items:flex-start; margin-top:12px; padding:13px 14px; border:1px solid #cdeedd; background:#f2faf5; border-radius:14px; cursor:pointer; }
.iw-sample input{ position:absolute; opacity:0; pointer-events:none; }
.iw-sw{ width:40px; height:23px; border-radius:20px; background:#cfd4da; position:relative; flex:none; margin-top:1px; transition:background .2s; }
.iw-sw:after{ content:''; position:absolute; top:3px; left:3px; width:17px; height:17px; border-radius:50%; background:#fff; box-shadow:0 1px 3px rgba(0,0,0,.25); transition:left .2s; }
.iw-sample input:checked + .iw-sw{ background:var(--accent-strong); } .iw-sample input:checked + .iw-sw:after{ left:20px; }
.iw-sample input:focus-visible + .iw-sw{ outline:2px solid var(--accent-strong); outline-offset:2px; }
.iw-sample-t b{ display:flex; align-items:center; gap:7px; font-size:14px; color:var(--lp-ink); }
.iw-sample-t b svg{ width:17px; height:17px; color:#0d7a3c; }
.iw-sample-t small{ display:block; font-size:12.5px; color:var(--lp-mut); margin-top:3px; line-height:1.45; }
.iw-note{ text-align:center; color:var(--lp-mut); font-size:13px; margin:12px 0 0; }
.iw-mstep{ display:none; }
@keyframes iwPulse{ 50%{ opacity:.35; } }

@media (max-height:760px){ .iw-left .lead{ display:none; } .iw-steps li{ padding:8px 12px; } .iw-steps li small{ display:none; } }
@media (max-width:1000px){ .iw-page .lp-stage{ align-items:flex-start; } .iw-right{ flex:0 1 560px; } .iw-mstep{ display:block; margin-bottom:16px; } }
@media (max-width:700px){
  body.login-page.iw-page{ display:flex; flex-direction:column; justify-content:flex-start; height:auto; }
  .iw-page .lp-stage{ padding-top:4px; padding-bottom:18px; }
  .iw-g2{ grid-template-columns:1fr; } .iw-g2-cur{ grid-template-columns:1fr 1fr; }
  .iw-card .iw-card-h h2{ font-size:20px; }
  .iw-sum > div{ grid-template-columns:1fr auto; } .iw-sum dt{ grid-column:1 / -1; }
  .iw-back{ padding:0 14px; }
  .iw-page .lp-foot{ margin-top:auto; }
}
.iw-mstep span{ display:block; font-size:12.5px; font-weight:700; color:#0d7a3c; margin-bottom:6px; }
.iw-mstep i{ display:block; height:5px; border-radius:4px; background:rgba(15,23,42,.08); overflow:hidden; }
.iw-mstep i b{ display:block; height:100%; background:var(--accent-strong); border-radius:4px; transition:width .35s; }
/* hatua ya License (fomu tu kwa sasa) */
.iw-mid{ display:flex; align-items:center; justify-content:space-between; gap:10px; background:#0f172a; color:#fff; border-radius:14px; padding:13px 16px; }
.iw-mid small{ display:block; color:#94a3b8; font-size:11.5px; letter-spacing:.4px; margin-bottom:3px; }
.iw-mid b{ font-family:ui-monospace,Consolas,monospace; font-size:21px; letter-spacing:2px; }
.iw-cp{ border:1px solid #334155; background:#1e293b; color:#e2e8f0; border-radius:10px; padding:8px 12px; font:inherit; font-size:13px; font-weight:600; cursor:pointer; flex:none; }
.iw-cp:hover{ background:#334155; }
.iw-lic-help{ font-size:13px; color:var(--lp-mut); margin:9px 0 14px; line-height:1.5; } .iw-lic-help b{ color:#0d7a3c; }
#f_license_key,.iw-mono{ font-family:ui-monospace,Consolas,monospace; letter-spacing:.5px; text-transform:uppercase; }
.iw-or{ display:flex; align-items:center; gap:10px; margin:14px 0 10px; color:#8a8f98; font-size:12.5px; }
.iw-or:before,.iw-or:after{ content:''; flex:1; height:1px; background:#ddd6d2; }
.iw-trial{ width:100%; height:46px; border-radius:12px; border:1px solid #ddd6d2; background:#fff; font:inherit; font-weight:600; color:#374151; cursor:pointer; }
.iw-trial:hover{ border-color:var(--accent-strong); color:var(--accent-strong); } .iw-trial small{ color:#8a8f98; font-weight:500; }
@media (max-width:700px){ .iw-mid b{ font-size:18px; letter-spacing:1px; } }

/* =====================================================================
 |  LOGIN YA SIMU v2 (picha ya mteja): mandharinyuma ya kijani hafifu,
 |  nembo + jina + "MFUMO WA POS" + mstari, kadi nyeupe, Nikumbuke | Umesahau nenosiri?,
 |  jina la duka + hakimiliki ndani ya kadi. Desktop haibadiliki.
 * ===================================================================== */
.lp-mtag,.lp-mrule,.lp-cfoot{ display:none; }
.lp-row{ justify-content:center; }
.lp-forgot{ display:none; }
.lp-forgot-tip{ margin:-4px 0 14px; padding:9px 12px; border-radius:10px; background:#ecfdf3; color:#14532d; font-size:13px; line-height:1.4; text-align:center; }
@media (min-width:701px){ .lp-row{ margin:0 0 clamp(12px,2.2vh,18px); } }
@media (max-width:700px){
  body.login-page:not(.iw-page){
    --fh:50px;
    background:
      radial-gradient(circle at -10% 28%, #bfeccf 0 34%, transparent 34.5%),
      radial-gradient(circle at 112% 70%, #c9f0d7 0 30%, transparent 30.5%),
      radial-gradient(circle at 30% -6%, #d8f5e2 0 26%, transparent 26.5%),
      radial-gradient(circle at 95% 104%, #b5e8c8 0 22%, transparent 22.5%),
      linear-gradient(180deg,#eefaf2 0%,#f4fbf6 100%) !important;
    background-attachment:fixed !important;
    grid-template-rows:auto auto 1fr;
  }
  body.login-page:not(.iw-page) .lp-bg{ display:none; }
  body.login-page:not(.iw-page) .lp-head{ padding-top:calc(64px + env(safe-area-inset-top)); padding-bottom:18px; }
  body.login-page:not(.iw-page) .lp-lang{ top:calc(14px + env(safe-area-inset-top)); right:16px; background:#fff; padding:7px 13px; font-size:14px; box-shadow:0 6px 18px -10px rgba(20,60,35,.35); backdrop-filter:none; -webkit-backdrop-filter:none; }
  body.login-page:not(.iw-page) .lp-top{ background:none; border:0; box-shadow:none; backdrop-filter:none; -webkit-backdrop-filter:none; padding:0; gap:10px; }
  body.login-page:not(.iw-page) .lp-logo{ width:64px; height:64px; border-radius:18px; box-shadow:0 14px 24px -14px rgba(18,133,63,.85); }
  body.login-page:not(.iw-page) .lp-logo .fa{ font-size:28px; color:#fff; }
  body.login-page:not(.iw-page) .lp-top .lp-brand{ font-size:22px; font-weight:800; letter-spacing:.2px; color:#0b1230; line-height:1.15; }
  body.login-page:not(.iw-page) .lp-top .lp-brand small{ display:none; }
  body.login-page:not(.iw-page) .lp-mtag{ display:block; font-size:10.5px; font-weight:600; letter-spacing:4px; color:#4b5563; margin-top:-4px; padding-left:4px; }
  body.login-page:not(.iw-page) .lp-mrule{ display:block; width:44px; height:3px; border-radius:3px; background:var(--accent); }
  body.login-page:not(.iw-page) .lp-stage{ margin-top:0; align-items:flex-start; }
  body.login-page:not(.iw-page) .lp-card{ background:#fff; border-radius:24px; border:1px solid rgba(255,255,255,.9); padding:22px 20px 14px; box-shadow:0 22px 44px -26px rgba(20,70,40,.4); }
  body.login-page:not(.iw-page) .lp-card h2{ font-size:28px; font-weight:800; }
  body.login-page:not(.iw-page) .lp-greet{ margin:2px 0 16px; font-size:14.5px; }
  body.login-page:not(.iw-page) .lp-group{ margin-bottom:14px; }
  body.login-page:not(.iw-page) .lp-lab{ font-size:13.5px; color:#1f2937; font-weight:500; margin-bottom:6px; }
  body.login-page:not(.iw-page) .lp-in{ background:#f7faf8; border-color:#e2e8e4; border-radius:14px; font-size:15px; }
  body.login-page:not(.iw-page) .lp-in.has-l{ padding-left:56px; }
  body.login-page:not(.iw-page) .lp-ico.l{ left:8px; right:auto; width:36px; height:36px; top:7px; border-radius:50%; background:#e3f6ea; color:var(--accent-strong); }
  body.login-page:not(.iw-page) .lp-ico.l svg{ width:18px; height:18px; }
  body.login-page:not(.iw-page) .lp-row{ display:flex; justify-content:space-between; margin:2px 0 16px; }
  body.login-page:not(.iw-page) .lp-row > label,body.login-page:not(.iw-page) .lp-row > a{ flex:0 0 auto; font-size:13.5px; }
  body.login-page:not(.iw-page) .lp-rem{ color:#1f2937; }
  body.login-page:not(.iw-page) .lp-forgot{ display:inline; color:var(--accent-strong); font-weight:600; }
  body.login-page:not(.iw-page) .btn-login{ height:50px; border-radius:14px; font-size:16px; }
  body.login-page:not(.iw-page) .lp-cfoot{ display:flex; flex-direction:column; align-items:center; gap:2px; margin-top:16px; padding-top:12px; border-top:1px solid #e5e7eb; font-size:11.5px; color:#6b7280; letter-spacing:.3px; }
  body.login-page:not(.iw-page) .lp-cfoot b{ font-weight:600; color:#4b5563; text-transform:uppercase; }
  body.login-page:not(.iw-page) .lp-foot{ display:none; }
}

/* ---- LOGIN YA SIMU v3: kadi katikati ya skrini, footer chini nje ya kadi ---- */
@media (max-width:700px){
  body.login-page:not(.iw-page){ display:flex !important; flex-direction:column; min-height:100dvh; }
  body.login-page:not(.iw-page) .lp-head{ margin-top:auto; padding-top:calc(58px + env(safe-area-inset-top)); padding-bottom:16px; }
  body.login-page:not(.iw-page) .lp-stage{ flex:0 0 auto; }
  body.login-page:not(.iw-page) .lp-cfoot{ display:none; }
  body.login-page:not(.iw-page) .lp-langbox{ position:fixed !important; top:calc(14px + env(safe-area-inset-top)) !important; right:16px !important; z-index:50 !important; }
  body.login-page:not(.iw-page) .lp-langbox .lp-lang{ position:static !important; }
  body.login-page:not(.iw-page) .lp-foot{ display:flex; flex-direction:column; align-items:center; gap:2px; margin-top:auto; width:100%; max-width:none; border-top:0; padding-top:22px; text-shadow:none; font-size:12px; color:#64748b; }
  body.login-page:not(.iw-page) .lp-foot span:first-child{ font-weight:700; color:#334155; text-transform:uppercase; letter-spacing:.4px; }

  /* A: rangi za mfumo - kijivu cha dashibodi + ukanda wa kijani juu (kama top bar/menyu hai) */
  body.login-page.lp-bgA:not(.iw-page){ background:#f1f4f8 !important; overflow-x:hidden; }
  body.lp-bgA .lp-head{ z-index:0 !important; isolation:isolate; padding-bottom:26px !important; }
  body.lp-bgA .lp-head::before{ content:""; position:absolute; z-index:-1; top:-100vh; bottom:-48px; left:-20px; right:-20px; background:linear-gradient(160deg,#17a75e 0%,#0d8a4d 100%); border-radius:0 0 50% 50% / 0 0 70px 70px; }
  body.lp-bgA .lp-stage{ position:relative; z-index:1; }
  body.lp-bgA .lp-top .lp-brand{ color:#fff !important; }
  body.lp-bgA .lp-mtag{ color:rgba(255,255,255,.85) !important; }
  body.lp-bgA .lp-mrule{ background:#fff !important; opacity:.85; }
  body.lp-bgA .lp-logo{ background:#fff !important; box-shadow:0 12px 24px -12px rgba(0,0,0,.35) !important; }
  body.lp-bgA .lp-logo .fa{ color:#12a05c !important; }

  /* B: kijivu cha mfumo + michoro hafifu ya POS (toroli, risiti, barcode) */
  body.login-page.lp-bgB:not(.iw-page){
    background:
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' fill='none' stroke='%2312a05c' stroke-opacity='.10' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 16h6l5 20h20l4-14H19'/%3E%3Ccircle cx='24' cy='42' r='2.5'/%3E%3Ccircle cx='38' cy='42' r='2.5'/%3E%3Cpath d='M76 70h22v28l-4-3-4 3-4-3-4 3-4-3-2 3z'/%3E%3Cpath d='M81 78h12M81 85h8'/%3E%3Cpath d='M70 18v18M75 18v18M79 18v18M84 18v18M88 18v18'/%3E%3Cpath d='M14 82h28v18H14zM20 88h6'/%3E%3C/svg%3E"),
      radial-gradient(circle at 0% 0%, rgba(23,167,94,.16) 0, transparent 42%),
      radial-gradient(circle at 100% 100%, rgba(23,167,94,.16) 0, transparent 42%),
      #f1f4f8 !important;
  }
}

/* ---- AB: mchanganyiko - ukanda wa kijani (A) wenye michoro meupe + kijivu chenye michoro ya kijani (B) ---- */
@media (max-width:700px){
  body.login-page.lp-bgAB:not(.iw-page){
    background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' fill='none' stroke='%2312a05c' stroke-opacity='.08' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 16h6l5 20h20l4-14H19'/%3E%3Ccircle cx='24' cy='42' r='2.5'/%3E%3Ccircle cx='38' cy='42' r='2.5'/%3E%3Cpath d='M76 70h22v28l-4-3-4 3-4-3-4 3-4-3-2 3z'/%3E%3Cpath d='M81 78h12M81 85h8'/%3E%3Cpath d='M70 18v18M75 18v18M79 18v18M84 18v18M88 18v18'/%3E%3Cpath d='M14 82h28v18H14zM20 88h6'/%3E%3C/svg%3E"),
      radial-gradient(circle at 100% 100%, rgba(23,167,94,.14) 0, transparent 45%),
      #f1f4f8 !important;
    overflow-x:hidden;
  }
  body.lp-bgAB .lp-head{ z-index:0 !important; isolation:isolate; padding-bottom:26px !important; }
  body.lp-bgAB .lp-head::before{ content:""; position:absolute; z-index:-1; top:-100vh; bottom:-48px; left:-20px; right:-20px;
    background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' fill='none' stroke='%23ffffff' stroke-opacity='.13' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 16h6l5 20h20l4-14H19'/%3E%3Ccircle cx='24' cy='42' r='2.5'/%3E%3Ccircle cx='38' cy='42' r='2.5'/%3E%3Cpath d='M76 70h22v28l-4-3-4 3-4-3-4 3-4-3-2 3z'/%3E%3Cpath d='M81 78h12M81 85h8'/%3E%3Cpath d='M70 18v18M75 18v18M79 18v18M84 18v18M88 18v18'/%3E%3Cpath d='M14 82h28v18H14zM20 88h6'/%3E%3C/svg%3E") center bottom, linear-gradient(160deg,#17a75e 0%,#0d8a4d 100%);
    border-radius:0 0 50% 50% / 0 0 70px 70px; box-shadow:0 10px 30px -18px rgba(13,138,77,.6); }
  body.lp-bgAB .lp-stage{ position:relative; z-index:1; }
  body.lp-bgAB .lp-top .lp-brand{ color:#fff !important; }
  body.lp-bgAB .lp-mtag{ color:rgba(255,255,255,.88) !important; }
  body.lp-bgAB .lp-mrule{ background:#fff !important; opacity:.85; }
  body.lp-bgAB .lp-logo{ background:#fff !important; box-shadow:0 12px 24px -12px rgba(0,0,0,.35) !important; }
  body.lp-bgAB .lp-logo .fa{ color:#12a05c !important; }
}
.lp-logo .fa{ color:#fff; font-size:24px; }

/* ---- LOGIN YA SIMU: inatoshea skrini (hakuna scroll) - ukubwa unafuata urefu wa skrini ---- */
@media (max-width:700px){
  html:has(body.login-page:not(.iw-page)){ background:#f1f4f8; height:100%; }
  body.login-page:not(.iw-page){ height:100dvh; min-height:0 !important; overflow-x:hidden; overflow-y:auto; --fh:clamp(40px,6.2dvh,50px); }
  body.login-page:not(.iw-page) .lp-head{ margin-top:auto; padding-top:calc(clamp(50px,8dvh,64px) + env(safe-area-inset-top)) !important; padding-bottom:clamp(14px,2.6dvh,26px) !important; }
  body.login-page:not(.iw-page) .lp-top{ gap:clamp(4px,1dvh,10px) !important; }
  body.login-page:not(.iw-page) .lp-logo{ width:clamp(44px,7dvh,64px) !important; height:clamp(44px,7dvh,64px) !important; border-radius:clamp(13px,2dvh,18px) !important; }
  body.login-page:not(.iw-page) .lp-logo .fa{ font-size:clamp(20px,3dvh,28px) !important; }
  body.login-page:not(.iw-page) .lp-top .lp-brand{ font-size:clamp(18px,2.7dvh,22px) !important; }
  body.login-page:not(.iw-page) .lp-mtag{ font-size:clamp(9.5px,1.25dvh,10.5px); }
  body.login-page:not(.iw-page) .lp-card{ padding:clamp(14px,2.5dvh,22px) 20px clamp(14px,2.2dvh,20px) !important; }
  body.login-page:not(.iw-page) .lp-card h2{ font-size:clamp(22px,3.3dvh,28px) !important; line-height:1.15; }
  body.login-page:not(.iw-page) .lp-greet{ margin:0 0 clamp(8px,1.8dvh,16px) !important; font-size:clamp(13px,1.7dvh,14.5px) !important; }
  body.login-page:not(.iw-page) .lp-group{ margin-bottom:clamp(8px,1.6dvh,14px) !important; }
  body.login-page:not(.iw-page) .lp-lab{ margin-bottom:clamp(3px,.7dvh,6px) !important; font-size:clamp(12.5px,1.6dvh,13.5px) !important; }
  body.login-page:not(.iw-page) .lp-ico.l{ width:clamp(30px,4.4dvh,36px) !important; height:clamp(30px,4.4dvh,36px) !important; top:calc((var(--fh) - clamp(30px,4.4dvh,36px)) / 2) !important; }
  body.login-page:not(.iw-page) .lp-ico:not(.l),body.login-page:not(.iw-page) .pwd-eye{ height:var(--fh) !important; }
  body.login-page:not(.iw-page) .lp-in{ height:var(--fh) !important; }
  body.login-page:not(.iw-page) .lp-row{ margin:0 0 clamp(10px,1.8dvh,16px) !important; }
  body.login-page:not(.iw-page) .btn-login{ height:clamp(42px,6.2dvh,50px) !important; }
  body.login-page:not(.iw-page) .lp-foot{ padding-top:10px !important; padding-bottom:calc(clamp(8px,1.6dvh,16px) + env(safe-area-inset-bottom)) !important; font-size:11.5px !important; line-height:1.35; }
  body.login-page:not(.iw-page) .lp-head::before{ bottom:clamp(-48px,-5dvh,-34px) !important; }
}
@media (max-width:700px){ .lp-ring{ width:40px; height:40px; margin:-20px 0 0 -20px; } }

/* 1.16: Kuingia kwa PIN */
.lp-row{ display:flex !important; justify-content:space-between !important; }
.lp-row > label,.lp-row > a{ flex:0 0 auto !important; }
.lp-forgot{ display:inline !important; color:var(--accent-strong); font-weight:600; }
.lp-pin-g,.lp-pin-t{ display:none; }
#lpForm.lp-pinmode .lp-pin-g{ display:block; }
#lpForm.lp-pinmode .lp-pw-g,#lpForm.lp-pinmode .lp-pw-t{ display:none; }
#lpForm.lp-pinmode .lp-pin-t{ display:inline; }
#lpForm.lp-pinmode .lp-alt .lp-pin-t{ display:inline-flex; }
.lp-pin{ position:relative; display:flex; gap:12px; justify-content:center; cursor:text; }
.lp-pin input{ position:absolute; inset:0; width:100%; height:100%; opacity:0; border:0; font-size:16px; z-index:2; cursor:text; }
.lp-pin i{ width:min(62px,20%); height:var(--fh); border-radius:14px; border:1.5px solid var(--lp-field-line); background:var(--lp-field); display:grid; place-items:center; transition:border-color .12s, box-shadow .12s, background .12s; }
.lp-pin i.f{ border-color:var(--accent-strong); background:#ecfdf3; }
.lp-pin i.f:after{ content:''; width:12px; height:12px; border-radius:50%; background:var(--accent-strong); }
.lp-pin i.c{ border:2px solid var(--accent-strong); box-shadow:0 0 0 4px rgba(22,163,74,.15); }
.lp-alt{ text-align:center; margin-top:14px; }
.lp-alt button{ display:inline-flex; align-items:center; gap:7px; border:1px solid #bbf7d0; background:#f0fdf4; color:var(--accent-strong); border-radius:11px; padding:9px 16px; font:inherit; font-size:14.5px; font-weight:600; cursor:pointer; }
.lp-alt button:hover{ background:#dcfce7; }
.lp-alt .lp-pw-t{ display:inline-flex; align-items:center; gap:7px; }
.lp-alt svg{ width:17px; height:17px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.lp-alert.warn{ background:#fffbeb; color:#92400e; border:1px solid #fde68a; }

/* 1.17: Login ya desktop inatoshea skrini (hakuna scroll) - nafasi sawa juu/chini */
@media (min-width:701px){
  body.login-page:not(.iw-page){ height:100vh; height:100dvh; min-height:0 !important; overflow-y:auto;
    --fh:clamp(40px,6.2vh,56px); --gap:clamp(9px,1.9vh,20px); }
  body.login-page:not(.iw-page) .lp-head{ flex:0 0 auto; padding-top:clamp(14px,3.2vh,34px); }
  body.login-page:not(.iw-page) .lp-stage{ flex:1 1 auto; min-height:0; align-items:center;
    padding-top:clamp(12px,3vh,36px); padding-bottom:clamp(12px,3vh,36px); }
  body.login-page:not(.iw-page) .lp-card{ padding:clamp(16px,3.6vh,42px) clamp(26px,3vw,48px) clamp(16px,3vh,32px); }
  body.login-page:not(.iw-page) .lp-card h2{ font-size:clamp(23px,3.8vh,32px); }
  body.login-page:not(.iw-page) .lp-greet{ margin:clamp(0px,.6vh,6px) 0 clamp(10px,2.4vh,24px); }
  body.login-page:not(.iw-page) .lp-lab{ margin-bottom:clamp(4px,.8vh,8px); }
  body.login-page:not(.iw-page) .lp-row{ margin:0 0 clamp(8px,1.6vh,16px) !important; }
  body.login-page:not(.iw-page) .lp-alt{ margin-top:clamp(8px,1.6vh,14px); }
  body.login-page:not(.iw-page) .lp-foot{ flex:0 0 auto; margin-top:0; padding-top:clamp(8px,1.6vh,16px); padding-bottom:clamp(10px,2.2vh,22px); }
}
@media (min-width:701px) and (max-height:640px){
  body.login-page:not(.iw-page) .lp-slides{ height:clamp(110px,20vh,140px); }
  body.login-page:not(.iw-page) .lp-left p.lead{ margin-bottom:10px; }
}

/* 1.17: PIN ya kisasa - DP ya mtumiaji + vidoti + vitufe 0-9 (inaonekana kwenye hali ya PIN tu) */
.lp-dp,.lp-kp,.lp-kft{ display:none; }
#lpForm.lp-pinmode .lp-dp{ display:flex; flex-direction:column; align-items:center; gap:3px; margin:0 0 clamp(8px,1.6vh,14px); }
#lpForm.lp-pinmode .lp-kp{ display:grid; }
#lpForm.lp-pinmode .lp-kft{ display:flex; }
#lpForm.lp-pinmode .lp-row,#lpForm.lp-pinmode .btn-login,#lpForm.lp-pinmode .lp-alt,#lpForm.lp-pinmode .lp-pin-g .lp-lab,#lpForm.lp-pinmode > .lp-group:first-of-type .lp-lab{ display:none!important; }
.lp-dp-av{ position:relative; width:clamp(46px,7vh,58px); height:clamp(46px,7vh,58px); border-radius:50%; display:grid; place-items:center; color:#fff;
  font:700 clamp(16px,2.6vh,20px) 'Poppins',Inter,sans-serif; letter-spacing:.3px; box-shadow:0 0 0 3px #fff,0 0 0 5.5px var(--accent-strong); transition:box-shadow .15s; }
.lp-dp-av.e{ background:#f3f4f6; color:#9ca3af; box-shadow:0 0 0 3px #fff,0 0 0 4.5px #e5e7eb; }
.lp-dp-av svg{ width:26px; height:26px; fill:none; stroke:currentColor; stroke-width:1.8; }
.lp-dp.ok .lp-dp-av::after{ content:''; position:absolute; right:-3px; bottom:-3px; width:19px; height:19px; border-radius:50%; box-shadow:0 0 0 2px #fff;
  background:var(--accent-strong) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/12px no-repeat; }
.lp-dp b{ font-size:15px; color:var(--lp-ink); margin-top:5px; text-align:center; }
.lp-dp small{ font-size:12px; color:var(--lp-mut); }
.lp-dp:not(.ok) b{ color:#9ca3af; font-weight:500; font-size:13.5px; }
#lpForm.lp-pinmode .lp-group:first-of-type{ max-width:300px; margin-left:auto; margin-right:auto; }
#lpu.lp-ok{ border-color:#86efac!important; background:#fff!important; box-shadow:0 0 0 3px rgba(34,168,90,.12); }
/* vidoti 4 badala ya visanduku */
#lpForm.lp-pinmode .lp-pin-g{ margin:clamp(6px,1.2vh,10px) 0; }
#lpForm.lp-pinmode .lp-pin{ gap:14px; }
#lpForm.lp-pinmode .lp-pin i{ width:15px; height:15px; flex:0 0 15px; border-radius:50%; border:2px solid #cbd5e1; background:#fff; box-shadow:none; }
#lpForm.lp-pinmode .lp-pin i.f{ background:var(--accent-strong); border-color:var(--accent-strong); }
#lpForm.lp-pinmode .lp-pin i.f:after{ display:none; }
#lpForm.lp-pinmode .lp-pin i.c{ border-color:var(--accent-strong); box-shadow:0 0 0 3px rgba(22,163,74,.15); }
/* vitufe */
.lp-kp{ grid-template-columns:repeat(3,1fr); gap:clamp(7px,1.1vh,10px); width:100%; max-width:300px; margin:0 auto; }
.lp-kp button{ height:clamp(40px,6.3vh,54px); border-radius:16px; border:1px solid #e5e7eb; background:#f9fafb; color:#111827; cursor:pointer;
  font:600 clamp(19px,3vh,23px) Inter,sans-serif; display:grid; place-items:center; padding:0; box-shadow:0 1px 0 rgba(0,0,0,.04); transition:background .1s,transform .06s,border-color .1s; -webkit-tap-highlight-color:transparent; touch-action:manipulation; }
.lp-kp button:hover{ background:#f0fdf4; border-color:#bbf7d0; }
.lp-kp button:active{ transform:scale(.96); background:#dcfce7; }
.lp-kp .del{ background:#fff; color:#6b7280; }
.lp-kp .ok{ background:linear-gradient(180deg,var(--accent),var(--accent-strong)); border:0; color:#fff; box-shadow:0 8px 18px -8px rgba(18,133,63,.6); }
.lp-kp .ok:hover{ background:linear-gradient(180deg,var(--accent),var(--accent-strong)); filter:brightness(1.05); }
.lp-kp svg{ width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.lp-kft{ justify-content:space-between; align-items:center; width:100%; max-width:300px; margin:clamp(8px,1.5vh,14px) auto 0; font-size:13.5px; }
.lp-kft button{ border:0; background:none; padding:4px 0; color:var(--accent-strong); font:600 13.5px Inter,sans-serif; display:inline-flex; align-items:center; gap:6px; cursor:pointer; }
.lp-kft button svg{ width:16px; height:16px; fill:none; stroke:currentColor; stroke-width:2; }
.lp-kft a{ color:var(--lp-mut); text-decoration:none; font-weight:500; }
.lp-kft a:hover{ color:var(--accent-strong); }
#lpForm.lp-pinmode .lp-forgot-tip{ max-width:300px; margin:8px auto 0; }
@media (max-width:700px){
  .lp-kp,#lpForm.lp-pinmode .lp-group:first-of-type,.lp-kft{ max-width:320px; }
  .lp-kp button{ height:60px; font-size:25px; border-radius:18px; }
}
@media (min-width:701px){ #lpForm.lp-pinmode ~ .lp-cfoot{ display:none; } }
#lpForm.lp-pinmode .lp-group:not(.lp-pin-g):not(.lp-pw-g){ max-width:300px; margin-left:auto; margin-right:auto; }
@media (max-width:700px){ #lpForm.lp-pinmode .lp-group:not(.lp-pin-g):not(.lp-pw-g){ max-width:320px; } }

/* 1.17b: PIN inatoshea skrini fupi hata kukiwa na ujumbe (kosa/onyo) */
#lpForm.lp-pinmode label[for="lpu"]{ display:none; }
#lpForm.lp-pinmode .lp-group:not(.lp-pin-g):not(.lp-pw-g){ margin-bottom:0; }
.lp-card:has(.lp-alert) #lpForm.lp-pinmode .lp-dp:not(.ok){ display:none; }
.lp-card:has(.lp-alert) .lp-alert{ margin-bottom:10px; padding-top:8px; padding-bottom:8px; font-size:13px; line-height:1.4; }
@media (min-width:701px) and (max-height:800px){
  .lp-card:has(#lpForm.lp-pinmode) h2{ font-size:clamp(20px,3.2vh,26px); }
  .lp-card:has(#lpForm.lp-pinmode) .lp-greet{ margin-top:2px; margin-bottom:clamp(6px,1.2vh,12px); }
  #lpForm.lp-pinmode .lp-dp{ margin-bottom:clamp(4px,1vh,10px); gap:1px; }
  #lpForm.lp-pinmode .lp-dp-av{ width:clamp(40px,6.2vh,52px); height:clamp(40px,6.2vh,52px); font-size:clamp(15px,2.4vh,18px); }
  #lpForm.lp-pinmode .lp-dp b{ margin-top:3px; font-size:14px; }
  #lpForm.lp-pinmode .lp-pin-g{ margin:clamp(5px,1vh,9px) 0; }
  .lp-kp{ gap:clamp(6px,0.95vh,9px); }
  .lp-kp button{ height:clamp(36px,5.6vh,50px); border-radius:14px; font-size:clamp(18px,2.8vh,21px); }
  .lp-kft{ margin-top:clamp(6px,1.1vh,12px); }
}

/* =====================================================================
 |  1.18: Kadi ya login - umbo safi (visanduku virefu vya pembe 14px, kitufe cha pembe 14px,
 |  Nikumbuke juu ya kitufe, viungo viwili chini yake) + kiungo cha "Kuhusu"
 ===================================================================== */
body.login-page:not(.iw-page) .lp-card{ border-radius:32px; }
body.login-page:not(.iw-page) #lpForm .lp-in{ height:var(--fh); border-radius:14px; padding:0 54px 0 18px; font-size:16px; border:1px solid #d5d9e0; background:#fff; }
body.login-page:not(.iw-page) #lpForm .lp-in:focus{ border-color:var(--accent-strong); box-shadow:0 0 0 3px rgba(18,133,63,.14); }
body.login-page:not(.iw-page) #lpForm .pwd-eye{ right:16px; }
.lp-rem2{ display:inline-flex; align-items:center; gap:10px; margin:0 0 clamp(12px,2vh,18px) 2px; font-size:15px; color:#2b2f3a; cursor:pointer; user-select:none; font-weight:500; }
.lp-rem2 input{ width:19px; height:19px; margin:0; accent-color:var(--accent-strong); cursor:pointer; }
body.login-page:not(.iw-page) #lpForm .btn-login{ display:flex; align-items:center; justify-content:center; width:100%; height:var(--fh); border-radius:14px; font-size:17px; font-weight:600; letter-spacing:.01em; box-shadow:0 10px 22px -12px rgba(18,133,63,.65); }
body.login-page:not(.iw-page) #lpForm .btn-login svg{ display:none; }
.lp-links2{ display:flex; align-items:center; justify-content:center; gap:0; margin-top:clamp(14px,2.4vh,20px); }
.lp-links2 > a{ flex:1; text-align:center; color:var(--accent-strong); font-size:15px; font-weight:600; text-decoration:none; display:inline-flex; align-items:center; justify-content:center; gap:7px; }
.lp-links2 > a:hover{ opacity:.8; text-decoration:none; }
.lp-links2 .sep{ width:1px; height:22px; background:#d5d9e0; flex:0 0 1px; }
.lp-links2 svg{ width:17px; height:17px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.lp-links2 .lp-pin-t{ display:none; }
#lpForm.lp-pinmode .lp-links2,#lpForm.lp-pinmode .lp-rem2{ display:none; }
.lp-about{ display:flex; align-items:center; justify-content:center; gap:9px; margin:clamp(14px,2.4vh,22px) auto 0; width:max-content; color:#1f2937; font-size:15px; font-weight:600; text-decoration:none; padding:8px 16px; border-radius:12px; background:rgba(255,255,255,.88); box-shadow:0 6px 16px -10px rgba(30,40,35,.45); }
.lp-about:hover{ background:rgba(255,255,255,.7); text-decoration:none; color:var(--accent-strong); }
.lp-about svg{ width:19px; height:19px; fill:none; stroke:currentColor; stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round; }
.lp-flinks{ display:flex; align-items:center; gap:22px; flex-wrap:wrap; }
.lp-flinks a{ color:inherit; text-decoration:underline; text-underline-offset:3px; }
.lp-flinks a:hover{ color:var(--accent-strong); }
@media (max-width:700px){ .lp-about{ background:rgba(255,255,255,.85); } .lp-flinks{ justify-content:center; gap:14px; } }
/* 1.18b: upana wa kadi kama reference (~30% ya skrini kubwa) + jicho la nenosiri la mstari */
body.login-page:not(.iw-page) .pwd-eye svg{ width:24px; height:24px; fill:none; stroke:#4b5563; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
body.login-page:not(.iw-page) .pwd-eye:hover svg,body.login-page:not(.iw-page) .pwd-eye:focus-visible svg{ stroke:var(--accent-strong); }
body.login-page:not(.iw-page) .pwd-eye:focus-visible{ outline:0; }
body.login-page:not(.iw-page) .pwd-eye .eon{ display:none; }
body.login-page:not(.iw-page) .pwd-eye.on .eon{ display:block; }
body.login-page:not(.iw-page) .pwd-eye.on .eo{ display:none; }
/* 1.18b SIMU: kila kitu kitoshee skrini bila kusogeza (About iko kwenye footer; PIN inabana kwenye skrini fupi) */
@media (max-width:700px){
  body.login-page:not(.iw-page) .lp-about{ display:none; }
  body.login-page:not(.iw-page) .lp-links2 > a{ white-space:nowrap; font-size:14px; }
  body.login-page:not(.iw-page) .lp-kp button{ height:clamp(42px,7.4vh,60px); }
}
@media (max-width:700px) and (max-height:820px){
  body.login-page:not(.iw-page) .lp-kp button{ height:clamp(40px,6.4vh,52px); font-size:22px; border-radius:15px; }
  body.login-page:not(.iw-page) #lpForm.lp-pinmode .lp-dp{ margin-bottom:6px; }
  body.login-page:not(.iw-page) #lpForm.lp-pinmode .lp-dp-av{ width:42px; height:42px; }
}
@media (max-width:700px){
  body.login-page:not(.iw-page) #lpForm.lp-pinmode .lp-kp button{ height:clamp(38px,5.6vh,54px); font-size:22px; border-radius:15px; }
}
@media (max-width:700px) and (max-height:700px){
  body.login-page:not(.iw-page) .lp-card:has(#lpForm.lp-pinmode) .lp-greet{ display:none; }
  body.login-page:not(.iw-page) #lpForm.lp-pinmode .lp-kp{ gap:6px; }
}
@media (max-width:700px){
  body.login-page:not(.iw-page) .lp-foot{ justify-content:center; }
  body.login-page:not(.iw-page) .lp-foot > *{ display:none; }
  body.login-page:not(.iw-page) .lp-foot > .lp-fsys{ display:inline; font-weight:600; letter-spacing:.02em; color:inherit; text-decoration:none; }
}
@media (min-width:701px){ .lp-fsys{ display:none; } }
/* About chini ya kadi bila kubadilisha mahali pa kadi (haichukui nafasi kwenye mpangilio) */
@media (min-width:701px){
  body.login-page:not(.iw-page) .lp-right{ position:relative; }
  body.login-page:not(.iw-page) .lp-about{ position:absolute; top:100%; left:50%; transform:translateX(-50%); margin-top:clamp(10px,1.8vh,16px); white-space:nowrap; }
}
body.login-page:not(.iw-page) #lpForm .lp-in.has-l{ padding-left:52px; }
@media (max-width:700px){ body.login-page:not(.iw-page) #lpForm .lp-in.has-l{ padding-left:50px; } }
.lp-fname{ display:inline-flex; align-items:center; gap:22px; }
.lp-fabout{ color:inherit; text-decoration:underline; text-underline-offset:3px; }
.lp-fabout:hover{ color:var(--accent-strong); }

/* ===== 1.22.32: LOGIN YA SIMU - kichwa kifupi, swichi Nenosiri | PIN, icon ya mtumiaji, PIN fupi, icons za kazi za POS ===== */
.lp-seg, .lp-who, .lp-mforgot { display: none; }
@media (max-width: 700px) {
  body.login-page:not(.iw-page) .lp-head { padding-top: 14px !important; min-height: 0 !important; }
  body.login-page:not(.iw-page) .lp-top { flex-direction: row !important; align-items: center !important; justify-content: center; gap: 12px !important; text-align: left !important; padding: 6px 0 0 !important; }
  body.login-page:not(.iw-page) .lp-logo { width: 48px !important; height: 48px !important; margin: 0 !important; border-radius: 14px !important; flex: none; }
  body.login-page:not(.iw-page) .lp-logo .fa { font-size: 22px !important; }
  body.login-page:not(.iw-page) .lp-brand { font-size: 19px !important; text-align: left !important; line-height: 1.15 !important; }
  body.login-page:not(.iw-page) .lp-mtag, body.login-page:not(.iw-page) .lp-mrule { display: none !important; }
  body.lp-bgAB .lp-head::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240' fill='none' stroke='%23ffffff' stroke-opacity='.16' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cg transform='translate%2814 16%29 rotate%28-8 12 12%29 scale%281.2%29'%3E%3Cpath d='M3 7V5a2 2 0 0 1 2-2h2'/%3E%3Cpath d='M17 3h2a2 2 0 0 1 2 2v2'/%3E%3Cpath d='M21 17v2a2 2 0 0 1-2 2h-2'/%3E%3Cpath d='M7 21H5a2 2 0 0 1-2-2v-2'/%3E%3Cpath d='M8 7v10M12 7v10M17 7v10'/%3E%3C/g%3E%3Cg transform='translate%2892 10%29 rotate%286 12 12%29 scale%281.2%29'%3E%3Ccircle cx='8' cy='21' r='1'/%3E%3Ccircle cx='19' cy='21' r='1'/%3E%3Cpath d='M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12'/%3E%3C/g%3E%3Cg transform='translate%28170 20%29 rotate%28-6 12 12%29 scale%281.2%29'%3E%3Cpath d='M4 2v20l2-1 2 1 2-1 2 1 2-1 2 1 2-1 2 1V2l-2 1-2-1-2 1-2-1-2 1-2-1-2 1Z'/%3E%3Cpath d='M16 8h-6a2 2 0 1 0 0 4h4a2 2 0 1 1 0 4H8'/%3E%3Cpath d='M12 17.5v-11'/%3E%3C/g%3E%3Cg transform='translate%2850 74%29 rotate%288 12 12%29 scale%281.2%29'%3E%3Crect width='20' height='12' x='2' y='6' rx='2'/%3E%3Ccircle cx='12' cy='12' r='2'/%3E%3Cpath d='M6 12h.01M18 12h.01'/%3E%3C/g%3E%3Cg transform='translate%28132 70%29 rotate%28-10 12 12%29 scale%281.2%29'%3E%3Crect width='14' height='20' x='5' y='2' rx='2'/%3E%3Cpath d='M12 18h.01'/%3E%3Cpath d='M9 7h6M9 10.5h4'/%3E%3C/g%3E%3Cg transform='translate%28206 78%29 rotate%285 12 12%29 scale%281.2%29'%3E%3Cpath d='M13.4 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-7.4'/%3E%3Cpath d='M2 6h4M2 10h4M2 14h4M2 18h4'/%3E%3Cpath d='M21.378 5.626a1 1 0 1 0-3.004-3.004l-5.01 5.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z'/%3E%3C/g%3E%3Cg transform='translate%2812 136%29 rotate%284 12 12%29 scale%281.2%29'%3E%3Cpath d='M7.9 20A9 9 0 1 0 4 16.1L2 22Z'/%3E%3Cpath d='M8 12h.01M12 12h.01M16 12h.01'/%3E%3C/g%3E%3Cg transform='translate%2888 138%29 rotate%28-5 12 12%29 scale%281.2%29'%3E%3Cpath d='M14 18V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v11a1 1 0 0 0 1 1h2'/%3E%3Cpath d='M15 18H9'/%3E%3Cpath d='M19 18h2a1 1 0 0 0 1-1v-3.65a1 1 0 0 0-.22-.624l-3.48-4.35A1 1 0 0 0 17.52 8H14'/%3E%3Ccircle cx='17' cy='18' r='2'/%3E%3Ccircle cx='7' cy='18' r='2'/%3E%3C/g%3E%3Cg transform='translate%28166 132%29 rotate%289 12 12%29 scale%281.2%29'%3E%3Cpath d='m7.5 4.27 9 5.15'/%3E%3Cpath d='M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z'/%3E%3Cpath d='m3.3 7 8.7 5 8.7-5'/%3E%3Cpath d='M12 22V12'/%3E%3C/g%3E%3Cg transform='translate%2846 196%29 rotate%28-9 12 12%29 scale%281.2%29'%3E%3Cpath d='M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z'/%3E%3Ccircle cx='7.5' cy='7.5' r='1'/%3E%3C/g%3E%3Cg transform='translate%28128 198%29 rotate%285 12 12%29 scale%281.2%29'%3E%3Cpath d='M3 3v18h18'/%3E%3Cpath d='m19 9-5 5-4-4-3 3'/%3E%3C/g%3E%3Cg transform='translate%28204 192%29 rotate%28-4 12 12%29 scale%281.2%29'%3E%3Cpath d='M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2'/%3E%3Cpath d='M6 9V3a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v6'/%3E%3Crect x='6' y='14' width='12' height='8' rx='1'/%3E%3C/g%3E%3C/svg%3E") center top / 240px 240px, linear-gradient(160deg, #17a75e 0%, #0d8a4d 100%) !important; }

  body.login-page:not(.iw-page) .lp-card { padding-top: 26px !important; }
  body.login-page:not(.iw-page) .lp-card h2 { margin: 0 0 4px !important; }
  body.login-page:not(.iw-page) .lp-card .lp-greet { margin: 0 0 20px !important; }
  body.login-page:not(.iw-page) .lp-card:has(#lpForm.lp-pinmode) .lp-greet { display: none !important; }
  body.login-page:not(.iw-page) .lp-card:has(#lpForm.lp-pinmode) h2 { margin: 0 0 16px !important; }

  .lp-seg { display: grid; grid-template-columns: 1fr 1fr; background: #eef2f6; border-radius: 12px; padding: 4px; margin: 0 0 20px; }
  .lp-seg button { border: 0; background: none; height: 40px; border-radius: 9px; font: inherit; font-weight: 700; font-size: 14.5px; color: #475569; display: flex; align-items: center; justify-content: center; gap: 7px; cursor: pointer; }
  .lp-seg svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  #lpForm:not(.lp-pinmode) .lp-seg-pw, #lpForm.lp-pinmode .lp-seg-pin { background: #fff; color: #0e7c3d; box-shadow: 0 1px 3px rgba(15,23,42,.12); }

  body.login-page:not(.iw-page) .lp-in { height: 54px !important; font-size: 16px !important; border-radius: 14px !important; }
  body.login-page:not(.iw-page) .btn-login { height: 54px !important; border-radius: 14px !important; font-size: 17px !important; }

  /* Nikumbuke (swichi) + Nimesahau kwenye mstari mmoja */
  .lp-mrow { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 2px 0 16px; }
  .lp-mrow .lp-rem2 { display: flex !important; align-items: center; gap: 10px; margin: 0 !important; font-size: 14.5px; color: #334155; cursor: pointer; }
  .lp-mrow .lp-rem2 input { appearance: none; -webkit-appearance: none; width: 42px; height: 24px; border-radius: 12px; background: #cbd5e1; position: relative; margin: 0; cursor: pointer; transition: background .15s; flex: none; }
  .lp-mrow .lp-rem2 input::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: left .15s; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
  .lp-mrow .lp-rem2 input:checked { background: #16a34a; }
  .lp-mrow .lp-rem2 input:checked::after { left: 21px; }
  .lp-mforgot { display: inline; color: #0e7c3d; font-weight: 600; font-size: 14px; text-decoration: none; white-space: nowrap; }
  body.login-page:not(.iw-page) .lp-links2, body.login-page:not(.iw-page) .lp-kft, body.login-page:not(.iw-page) #lpDp { display: none !important; }

  /* icon ya mtumiaji (rangi ya cheo chake, kama ukurasa wa Watumiaji) */
  .lp-ico.lp-uav { width: 36px !important; height: 36px !important; border-radius: 50% !important; display: grid !important; place-items: center; font-weight: 800; font-size: 13px; font-style: normal; }
  .lp-ico.lp-uav.r-admin { background: #fdf0dc !important; color: #b45309 !important; }
  .lp-ico.lp-uav.r-manager { background: #e6eefc !important; color: #1d4fd8 !important; }
  .lp-ico.lp-uav.r-cashier { background: #e3f6ec !important; color: #0a7a3c !important; }
  .lp-ico.lp-uav.r-x { background: #eef2f6 !important; color: #475569 !important; }
  #lpForm.lp-pinmode .lp-who:not(:empty) { display: flex; justify-content: center; gap: 4px; margin: 6px 0 0; font-size: 13px; color: #475569; }
  .lp-who b { color: #0f172a; }

  /* PIN fupi: urefu sawa na ukurasa wa nenosiri */
  #lpForm.lp-pinmode .lp-kp { gap: 6px !important; margin-top: 6px !important; }
  #lpForm.lp-pinmode .lp-kp button { height: 40px !important; min-height: 0 !important; font-size: 20px !important; border-radius: 12px !important; }
  #lpForm.lp-pinmode .lp-pin { margin: 2px 0 0 !important; }
  #lpForm.lp-pinmode .lp-mrow { margin: 10px 0 0; }
}

/* ===== 1.22.38: LOGIN YA SIMU - inatoshea skrini zote (320px hadi 430px+), icon ndani ya kisanduku iko katikati kamili ===== */
@media (max-width:700px){
  body.login-page:not(.iw-page){ --fh:54px; }
  /* kichwa: jina la duka halipishani na kitufe cha lugha; kichwa kinarefuka kidogo kwenye simu ndefu */
  body.login-page:not(.iw-page) .lp-head{ padding-top:calc(clamp(56px,9dvh,96px) + env(safe-area-inset-top)) !important; padding-bottom:clamp(26px,4dvh,44px) !important; }
  body.login-page:not(.iw-page) .lp-top{ max-width:100%; padding-left:8px !important; padding-right:8px !important; }
  body.login-page:not(.iw-page) .lp-brand{ min-width:0; overflow-wrap:anywhere; }
  /* kadi: nafasi zinafuata urefu wa skrini (fupi = zinabana, ndefu = zinapumua) */
  body.login-page:not(.iw-page) .lp-card{ padding:clamp(20px,3.6dvh,36px) clamp(16px,5vw,24px) clamp(18px,3dvh,30px) !important; }
  body.login-page:not(.iw-page) .lp-card .lp-greet{ margin:0 0 clamp(14px,2.6dvh,26px) !important; }
  .lp-seg{ margin:0 0 clamp(14px,2.6dvh,24px); }
  body.login-page:not(.iw-page) #lpForm .lp-group{ margin-bottom:clamp(12px,2.2dvh,20px); }
  /* icon ya kushoto: kibox cha 34px katikati ya kisanduku (juu = chini = 10px) */
  body.login-page:not(.iw-page) #lpForm .lp-ico.l{ top:50% !important; left:10px !important; transform:translateY(-50%); width:34px !important; height:34px !important; border-radius:11px !important; }
  body.login-page:not(.iw-page) #lpForm .lp-ico.l svg{ width:18px !important; height:18px !important; }
  body.login-page:not(.iw-page) #lpForm .lp-in.has-l{ padding-left:56px !important; }
  body.login-page:not(.iw-page) #lpForm .pwd-eye{ top:0; height:54px !important; }
  /* Nikumbuke + Nimesahau: mstari mmoja hata kwenye simu nyembamba */
  .lp-mrow{ margin:2px 0 clamp(14px,2.4dvh,22px); }
  .lp-mrow .lp-rem2{ white-space:nowrap; min-width:0; }
}
@media (max-width:360px){
  .lp-mrow .lp-rem2{ font-size:13.5px !important; gap:8px !important; }
  .lp-mrow .lp-rem2 input{ width:36px !important; height:21px !important; }
  .lp-mrow .lp-rem2 input::after{ width:15px !important; height:15px !important; }
  .lp-mrow .lp-rem2 input:checked::after{ left:18px !important; }
  .lp-mforgot{ font-size:13px !important; }
  body.login-page:not(.iw-page) .lp-logo{ width:42px !important; height:42px !important; }
  body.login-page:not(.iw-page) .lp-brand{ font-size:17px !important; }
}
@media (max-width:700px){
  /* kichwa hakibanwi kamwe chini ya kadi (ukurasa unasogea badala yake kama nafasi haitoshi) */
  body.login-page:not(.iw-page) .lp-head{ flex-shrink:0 !important; }
}
/* simu fupi (mf. 320x568, 360x640): PIN inabana ili kila kitu kionekane bila kusogeza */
@media (max-width:700px) and (max-height:680px){
  body.login-page:not(.iw-page) .lp-head{ padding-top:calc(58px + env(safe-area-inset-top)) !important; padding-bottom:22px !important; }
  body.login-page:not(.iw-page) .lp-card:has(#lpForm.lp-pinmode){ padding-top:16px !important; padding-bottom:14px !important; }
  body.login-page:not(.iw-page) .lp-card:has(#lpForm.lp-pinmode) h2{ font-size:20px !important; margin:0 0 10px !important; }
  body.login-page:not(.iw-page) #lpForm.lp-pinmode .lp-seg{ margin-bottom:10px; }
  body.login-page:not(.iw-page) #lpForm.lp-pinmode .lp-seg button{ height:34px; }
  body.login-page:not(.iw-page) #lpForm.lp-pinmode .lp-in{ height:46px !important; }
  body.login-page:not(.iw-page) #lpForm.lp-pinmode .lp-who:not(:empty){ margin-top:4px; }
  body.login-page:not(.iw-page) #lpForm.lp-pinmode .lp-pin{ margin:0 !important; }
  body.login-page:not(.iw-page) #lpForm.lp-pinmode .lp-kp{ gap:5px !important; margin-top:4px !important; }
  body.login-page:not(.iw-page) #lpForm.lp-pinmode .lp-kp button{ height:34px !important; font-size:18px !important; }
  body.login-page:not(.iw-page) #lpForm.lp-pinmode .lp-mrow{ margin:8px 0 0; }
}
