/* Halaman login CRM Admin - dua panel: promosi (kiri) + kartu masuk (kanan) */
:root{--g900:#064d33;--g800:#0b6b43;--g700:#118a54;--g500:#27b45f;--g300:#8ee08f;--lime:#b7f26a;--mint:#eef8f2}
*,*::before,*::after{box-sizing:border-box}
html,body{height:100%}
body.login-page{margin:0;font-family:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;background:var(--mint);color:#0f2a1c;overflow-x:hidden}
.lg{min-height:100vh;display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr)}

/* ---- panel kiri ---- */
.lg-left{position:relative;overflow:hidden;color:#fff;padding:clamp(1.6rem,4vw,4.6rem) clamp(1.6rem,4vw,5.2rem);background:linear-gradient(150deg,#0a5a3a 0%,#0b6b43 45%,#118a54 100%)}
.lg-left::before{content:"";position:absolute;right:-18%;top:-30%;width:78%;height:170%;background:linear-gradient(160deg,rgba(255,255,255,.16),rgba(255,255,255,0) 60%);border-radius:50%;transform:rotate(14deg)}
.lg-left::after{content:"";position:absolute;left:-25%;bottom:-38%;width:150%;height:62%;background:linear-gradient(100deg,rgba(142,224,143,.55),rgba(39,180,95,.15) 60%,transparent);border-radius:50%;transform:rotate(-8deg)}
.lg-left>*{position:relative;z-index:1}
.lg-brand{display:flex;align-items:center;gap:.9rem}
.lg-brand .tile{width:62px;height:62px;border-radius:18px;background:#e6f9d8;display:grid;place-items:center;box-shadow:0 8px 22px rgba(0,0,0,.18)}
.lg-brand .tile img{width:46px;height:46px;border-radius:12px}
.lg-brand b{display:block;font-size:2rem;font-weight:800;letter-spacing:-.5px;line-height:1.05}
.lg-brand .pill{display:inline-block;margin-top:.25rem;background:#2fc45f;color:#fff;font-weight:700;font-size:1rem;padding:.12rem .8rem;border-radius:8px}
.lg-hero{margin-top:clamp(1.6rem,5vh,3.6rem);max-width:600px}
.lg-hero h1{font-size:clamp(1.9rem,2.75vw,2.75rem);font-weight:800;line-height:1.14;letter-spacing:-.8px;margin:0 0 1.1rem}
.lg-hero h1 em{font-style:normal;color:var(--lime);white-space:nowrap}
.lg-hero p{color:rgba(255,255,255,.88);font-size:1.02rem;line-height:1.55;margin:0;max-width:430px}
.lg-feat{list-style:none;padding:0;margin:clamp(1.4rem,4vh,2.6rem) 0 0;display:grid;gap:1.15rem;max-width:340px}
.lg-feat li{display:flex;align-items:center;gap:.95rem}
.lg-feat .ic{flex:0 0 52px;height:52px;border-radius:15px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.18);display:grid;place-items:center;font-size:1.35rem;color:#fff}
.lg-feat li:first-child .ic{background:#2fc45f;border-color:#2fc45f}
.lg-feat b{display:block;font-size:1.02rem;font-weight:700}
.lg-feat small{color:rgba(255,255,255,.78);font-size:.86rem}
.lg-dots{position:absolute!important;left:clamp(1.6rem,4vw,5.2rem);bottom:2.2rem;display:flex;gap:.6rem}
.lg-dots i{width:11px;height:11px;border-radius:50%;background:rgba(255,255,255,.45)}
.lg-dots i:first-child{background:#fff}
.lg-art{position:absolute!important;right:2%;bottom:3%;width:min(52%,500px);pointer-events:none;filter:drop-shadow(0 28px 30px rgba(0,0,0,.25))}
.lg-art svg{width:100%;height:auto;display:block}

/* ---- panel kanan ---- */
.lg-right{position:relative;display:grid;place-items:center;padding:2rem 1.4rem;background:radial-gradient(900px 500px at 100% 100%,#d9f3e3,transparent 60%),linear-gradient(180deg,#f3fbf6,#eaf7ef)}
.lg-card{position:relative;overflow:hidden;width:100%;max-width:560px;background:#fff;border-radius:30px;padding:2.6rem clamp(1.6rem,4vw,3.1rem) 2rem;box-shadow:0 30px 70px rgba(6,77,51,.16),0 4px 14px rgba(6,77,51,.06)}
.lg-card::before{content:"";position:absolute;right:-70px;top:-70px;width:230px;height:230px;border-radius:50%;background:linear-gradient(135deg,#bfeccb,#e6f8ea 70%);opacity:.9}
.lg-card::after{content:"";position:absolute;right:-30px;top:-90px;width:200px;height:200px;border-radius:50%;background:linear-gradient(135deg,#d7f4df,#f3fcf6)}
.lg-card>*{position:relative;z-index:1}
.lg-top{text-align:center}
.lg-top .tile{width:98px;height:98px;margin:0 auto .6rem;border-radius:28px;background:linear-gradient(145deg,#eaf9ef,#d6f3df);display:grid;place-items:center;box-shadow:inset 0 0 0 1px #fff,0 8px 20px rgba(17,138,84,.12)}
.lg-top .tile img{width:70px;height:70px;border-radius:19px}
.lg-top h2{font-size:2.35rem;font-weight:800;color:#0d6a40;letter-spacing:-.8px;margin:.2rem 0 0}
.lg-sub{display:flex;align-items:center;gap:.9rem;margin:.55rem auto .5rem;max-width:380px;color:#0d4f33;font-weight:700;font-size:1.25rem}
.lg-sub:before,.lg-sub:after{content:"";flex:1;height:1px;background:#7fb597}
.lg-desc{text-align:center;color:#3f5a4b;font-size:.92rem;margin:0 0 1.7rem}
.lg-card label.lb{display:flex;align-items:center;gap:.5rem;font-weight:700;color:#0f2a1c;margin:0 0 .45rem}
.lg-card label.lb i{font-size:1.15rem}
.lg-input{position:relative;margin-bottom:1.15rem}
.lg-input input{width:100%;height:56px;border:1.5px solid #d3dcd7;border-radius:14px;padding:0 3.1rem 0 1.1rem;font-size:1rem;background:#fff;color:#0f2a1c;outline:none;transition:.15s}
.lg-input input::placeholder{color:#8a9a92}
.lg-input input:focus{border-color:var(--g500);box-shadow:0 0 0 4px rgba(39,180,95,.16)}
.lg-eye{position:absolute;right:.55rem;top:50%;transform:translateY(-50%);border:0;background:none;color:#13241b;font-size:1.35rem;width:42px;height:42px;border-radius:10px;cursor:pointer}
.lg-eye:hover{background:#eef6f1}
.lg-row{display:flex;justify-content:space-between;align-items:center;margin:.2rem 0 1.4rem;font-size:.92rem}
.lg-check{display:flex;align-items:center;gap:.55rem;font-weight:600;color:#0f2a1c;cursor:pointer;user-select:none}
.lg-check input{appearance:none;width:23px;height:23px;border-radius:6px;border:1.5px solid #b8c7bf;display:grid;place-items:center;margin:0;cursor:pointer;background:#fff}
.lg-check input:checked{background:#0d8b4f;border-color:#0d8b4f}
.lg-check input:checked::after{content:"";width:6px;height:11px;border:solid #fff;border-width:0 2.5px 2.5px 0;transform:rotate(45deg) translate(-1px,-1px)}
.lg-forgot{color:#0d8b4f;font-weight:700;text-decoration:none;background:none;border:0;padding:0;cursor:pointer;font-size:.92rem}
.lg-forgot:hover{text-decoration:underline}
.lg-btn{width:100%;height:58px;border:0;border-radius:999px;color:#fff;font-weight:800;font-size:1.2rem;display:flex;align-items:center;justify-content:center;gap:.7rem;background:linear-gradient(180deg,#16984f,#0b6b3d);box-shadow:0 12px 24px rgba(13,139,79,.3),inset 0 1px 0 rgba(255,255,255,.25);cursor:pointer;transition:.15s}
.lg-btn:hover{filter:brightness(1.06);transform:translateY(-1px)}
.lg-btn:active{transform:none}
.lg-foot{display:flex;align-items:center;gap:.9rem;margin-top:1.7rem;color:#51675a;font-size:.88rem}
.lg-foot:before,.lg-foot:after{content:"";flex:1;height:1px;background:#dbe5df}
.lg-alert{background:#fdecec;color:#b42318;border:1px solid #f6c7c4;border-radius:12px;padding:.7rem .95rem;margin-bottom:1.1rem;font-size:.9rem;display:flex;gap:.55rem;align-items:flex-start}
.lg-note{display:none;background:#eef8f2;border:1px solid #cfe9d9;color:#245a3d;border-radius:12px;padding:.8rem .95rem;margin:-.6rem 0 1.2rem;font-size:.88rem;line-height:1.45}
.lg-note.show{display:block}

/* ---- responsif ---- */
@media(max-width:1199.98px){.lg-art{width:46%;right:0}}
@media(max-width:991.98px){
  .lg{grid-template-columns:minmax(0,1fr)}
  .lg-left{padding:1.4rem 1.4rem 1.9rem;min-height:0}
  .lg-hero,.lg-feat,.lg-art,.lg-dots{display:none}
  .lg-hero{display:block;margin-top:1.1rem}.lg-hero h1{font-size:1.5rem;margin:0}.lg-hero p{display:none}
  .lg-brand .tile{width:50px;height:50px;border-radius:15px}.lg-brand .tile img{width:38px;height:38px}.lg-brand b{font-size:1.5rem}
  .lg-right{padding:0 1rem 2rem;margin-top:-1.2rem}
  .lg-card{padding:2rem 1.4rem 1.6rem;border-radius:26px}
  .lg-top .tile{width:76px;height:76px;border-radius:22px}.lg-top .tile img{width:54px;height:54px}
  .lg-top h2{font-size:1.9rem}.lg-sub{font-size:1.05rem}
}
@media(max-width:380px){.lg-row{flex-direction:column;align-items:flex-start;gap:.7rem}}
