/* lupa.css: halaman lupa / reset password, layar penuh, berdiri sendiri */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.lp-full {
  --blue: #248798; --blue2: #29a0b0; --navy: #16525d; --gold: #e98c49; --gold2: #ffa666; --mute: #5b6b88;
  margin: 0; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; position: relative; overflow-x: hidden;
  font-family: 'Plus Jakarta Sans', system-ui, Segoe UI, Arial, sans-serif; color: #14373d;
  background: radial-gradient(circle at 12% 8%, #ffffff 0, rgba(255, 255, 255, 0) 38%), linear-gradient(170deg, #eafcff 0%, #d2f9ff 52%, #b8e7ee 100%);
  background-attachment: fixed;
}

/* ================= LATAR ================= */
.lp-latar { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.lp-atas {
  position: absolute; left: -3%; right: -3%; top: 0; height: 40vh; min-height: 250px;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .08) 0 1px, transparent 1px 16px),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, .28), transparent 40%),
    linear-gradient(100deg, #217f8f, #289aab 58%, #2fb5c7);
  border-radius: 0 0 50% 50% / 0 0 110px 110px;
  box-shadow: 0 7px 0 var(--gold2), 0 20px 34px rgba(36,135,152, .3);
}
.lp-bawah {
  position: absolute; left: -3%; right: -3%; bottom: 0; height: 16vh; min-height: 90px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .6));
  border-radius: 50% 50% 0 0 / 80px 80px 0 0; border-top: 3px solid rgba(233,140,73, .55);
}
.lp-cincin {
  position: absolute; left: 50%; top: 56%; width: min(94vw, 860px); aspect-ratio: 1; margin: calc(min(94vw, 860px) / -2) 0 0 calc(min(94vw, 860px) / -2);
  border-radius: 50%; border: 2px dashed rgba(233,140,73, .55); animation: lpPutar 80s linear infinite;
}
.lp-cincin.c2 { width: min(70vw, 620px); margin: calc(min(70vw, 620px) / -2) 0 0 calc(min(70vw, 620px) / -2); border: 2px solid rgba(36,135,152, .16); animation-duration: 120s; animation-direction: reverse; }
.lp-titik {
  position: absolute; left: var(--x); top: var(--y); width: 90px; height: 90px; opacity: .5;
  background: radial-gradient(circle, #248798 1.8px, transparent 2.4px) 0 0 / 14px 14px;
}
.lp-el {
  position: absolute; left: var(--x); top: var(--y); width: var(--s); height: var(--s); rotate: var(--r, 0deg);
  filter: drop-shadow(0 8px 10px rgba(36,135,152, .28)); animation: lpApung 6s ease-in-out infinite; animation-delay: var(--d, 0s);
}

/* ================= KEPALA & KAKI ================= */
.lp-head { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem clamp(1rem, 4vw, 2.6rem); }
.lp-brand { display: flex; align-items: center; gap: .75rem; min-width: 0; color: #fff; text-decoration: none; }
.lp-brand img { flex: none; width: 48px; height: 48px; object-fit: contain; padding: 4px; background: #fff; border-radius: 50%; border: 2px solid var(--gold2); box-shadow: 0 6px 14px rgba(0, 0, 0, .2); }
.lp-brand strong { display: block; font: 800 1.05rem/1.2 'Bricolage Grotesque', 'Plus Jakarta Sans', sans-serif; text-shadow: 0 2px 8px rgba(0, 0, 0, .25); }
.lp-brand small { display: block; font-size: .74rem; font-weight: 600; opacity: .92; }
.lp-kembali {
  flex: none; padding: .5rem 1.1rem; color: var(--navy); font-weight: 800; font-size: .85rem; text-decoration: none;
  background: linear-gradient(180deg, #fff, #ffe7d6); border: 2px solid var(--gold); border-radius: 999px 8px 999px 8px; box-shadow: 0 8px 16px rgba(0, 0, 0, .15);
}
.lp-foot { position: relative; z-index: 2; padding: .9rem 1rem 1.2rem; text-align: center; font-size: .82rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--navy); }

/* ================= KARTU ================= */
.lp-main { position: relative; z-index: 2; flex: 1; display: grid; place-items: start center; padding: 3.8rem 1rem 1.5rem; }
.lp-card {
  position: relative; width: min(560px, 100%); padding: 3rem clamp(1.1rem, 4vw, 2.2rem) 1.5rem; text-align: center;
  border: 3px solid transparent; border-radius: 34px 10px 34px 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(240,253,255, .97)) padding-box,
              linear-gradient(135deg, #e98c49, #ffa666 28%, #29a2b0 62%, #248798) border-box;
  box-shadow: 0 26px 60px rgba(25,96,108, .26), 0 0 0 8px rgba(255, 255, 255, .5);
  animation: lpMasuk .6s cubic-bezier(.22, 1, .36, 1) both;
}
.lp-card::before { content: ""; position: absolute; right: 30px; top: -3px; width: 78px; height: 5px; border-radius: 0 0 5px 5px; background: linear-gradient(90deg, var(--gold), var(--gold2)); }
.lp-card::after {
  content: ""; position: absolute; left: 22px; bottom: 16px; width: 70px; height: 8px; border-radius: 2px; pointer-events: none; opacity: .8;
  background: repeating-linear-gradient(115deg, #16525d 0 5px, transparent 5px 9px, #e98c49 9px 12px, transparent 12px 16px);
}

/* ikon bulat bercincin di tepi atas kartu */
.lp-ikon {
  position: absolute; left: 50%; top: -46px; display: grid; place-items: center; width: 92px; height: 92px; margin-left: -46px; color: var(--blue);
  border: 5px solid transparent; border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, #fff, #e1fbff 70%) padding-box, conic-gradient(from 200deg, #e98c49, #ffcca8, #ffffff 42%, #2898ab 72%, #e98c49) border-box;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, .9), 0 14px 26px rgba(40,152,171, .32);
  animation: lpApung 4.6s ease-in-out infinite;
}
.lp-ikon svg { width: 40px; height: 40px; }
.lp-ikon::after { content: ""; position: absolute; inset: -16px; border-radius: 50%; border: 1.5px dashed rgba(233,140,73, .85); animation: lpPutar 24s linear infinite; }

/* langkah */
.lp-steps { display: flex; list-style: none; margin: 0 0 1.1rem; padding: 0; }
.lp-steps li { position: relative; flex: 1; display: grid; justify-items: center; gap: .3rem; font-size: .72rem; font-weight: 700; color: var(--mute); }
.lp-steps li::before { content: ""; position: absolute; top: 15px; right: 50%; width: 100%; height: 3px; border-radius: 3px; background: #d5f6fb; }
.lp-steps li:first-child::before { display: none; }
.lp-steps li i { position: relative; z-index: 1; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; font-style: normal; font-size: .85rem; font-weight: 800; color: var(--mute); background: #fff; border: 2px solid #c4f0f7; }
.lp-steps li.on { color: var(--navy); }
.lp-steps li.on i { color: #fff; background: linear-gradient(135deg, var(--blue), var(--blue2)); border-color: var(--gold); box-shadow: 0 6px 14px rgba(36,135,152, .35); }
.lp-steps li.done i { color: #6b2d00; background: linear-gradient(135deg, var(--gold2), var(--gold)); border-color: var(--gold); }
.lp-steps li.on::before, .lp-steps li.done::before { background: linear-gradient(90deg, var(--gold), var(--blue2)); }

/* judul */
.lp-tag { display: inline-block; margin: .2rem 0 .5rem; padding: .28rem 1rem; font-size: .7rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #6b2d00; background: linear-gradient(135deg, #ffddc4, #ffbb8a); border: 1.5px solid var(--gold); border-radius: 999px 6px 999px 6px; }
.lp-judul { margin: 0; font: 800 clamp(1.7rem, 5vw, 2.25rem)/1.15 'Bricolage Grotesque', 'Plus Jakarta Sans', sans-serif; color: var(--navy); }
.lp-judul span { position: relative; background: linear-gradient(90deg, var(--blue), var(--blue2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.lp-judul span::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--gold), #ffddc4, var(--gold) 70%, transparent); }
.lp-sub { margin: 1rem auto 1.3rem; max-width: 40ch; font-size: .92rem; line-height: 1.55; color: var(--mute); }

/* pesan */
.lp-alert { margin: 0 0 1rem; padding: .7rem .9rem; font-size: .88rem; font-weight: 600; text-align: left; border-radius: 14px 5px 14px 5px; }
.lp-alert.err { color: #991b1b; background: #fee2e2; border-left: 5px solid #dc2626; }
.lp-alert.ok { color: #166534; background: #dcfce7; border-left: 5px solid #16a34a; }

/* kolom isian */
.lp-f { text-align: left; margin: 0 0 .9rem; }
.lp-f label { display: block; margin: 0 0 .4rem .3rem; font-size: .82rem; font-weight: 800; color: var(--navy); }
.lp-in {
  display: flex; align-items: center; gap: .6rem; padding: 0 .9rem; min-height: 54px;
  background: linear-gradient(180deg, #fff, #eefdff); border: 2px solid #c0e9f0; border-radius: 20px 6px 20px 6px;
  box-shadow: 0 6px 14px rgba(36,135,152, .1); transition: border-color .15s, box-shadow .15s;
}
.lp-in:hover { border-color: #41bed3; }
.lp-in:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(36,135,152, .18); }
.lp-in .ik { flex: none; width: 22px; height: 22px; color: var(--blue); }
.lp-in input { flex: 1; min-width: 0; width: 100%; padding: .75rem 0; font: 600 1rem 'Plus Jakarta Sans', sans-serif; color: #14373d; background: none; border: 0; outline: 0; }
.lp-in input::placeholder { color: #5599a4; font-weight: 500; }
.lp-eye { flex: none; display: grid; place-items: center; width: 34px; height: 34px; padding: 0; color: var(--mute); background: none; border: 0; border-radius: 50%; cursor: pointer; }
.lp-eye svg { width: 20px; height: 20px; }
.lp-eye.on { color: var(--gold); }

/* tombol unik: panah heksagonal bertepi emas */
.lp-btnwrap { margin-top: 1.2rem; filter: drop-shadow(0 12px 14px rgba(36,135,152, .38)); }
.lp-btn {
  position: relative; display: flex; align-items: center; justify-content: center; gap: .6rem; width: 100%; min-height: 60px; padding: 0 2.4rem;
  border: 0; cursor: pointer; color: #fff; font: 800 1.02rem 'Plus Jakarta Sans', sans-serif; letter-spacing: .02em; text-shadow: 0 1px 2px rgba(23,86,97, .4);
  background: linear-gradient(90deg, #e98c49, #ffd6b8 50%, #e98c49);
  clip-path: polygon(24px 0, calc(100% - 24px) 0, 100% 50%, calc(100% - 24px) 100%, 24px 100%, 0 50%);
}
.lp-btn::before {
  content: ""; position: absolute; inset: 3px; background: linear-gradient(135deg, #248798, #29a0b0);
  clip-path: polygon(22px 0, calc(100% - 22px) 0, 100% 50%, calc(100% - 22px) 100%, 22px 100%, 0 50%);
}
.lp-btn::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 30%; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .6), transparent); transform: translateX(-160%) skewX(-20deg); animation: lpSapu 4.2s ease-in-out infinite;
}
.lp-btn > * { position: relative; z-index: 1; }
.lp-btn svg { width: 22px; height: 22px; }
.lp-btn:hover { filter: brightness(1.08); }
.lp-btn:focus-visible { filter: brightness(1.12); }

/* tautan bawah */
.lp-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem; margin-top: 1.2rem; }
.lp-links.one { justify-content: center; }
.lp-links a { padding: .45rem 1rem; font-size: .85rem; font-weight: 700; color: var(--navy); text-decoration: none; background: #fff; border: 1.5px solid #cff5fb; border-radius: 999px; box-shadow: 0 5px 12px rgba(36,135,152, .1); }
.lp-links a:hover { border-color: var(--blue); }
.lp-links a[aria-disabled="true"] { opacity: .55; pointer-events: none; }

/* OTP */
.lp-lbl { margin: .2rem 0 .5rem .3rem; text-align: left; font-size: .82rem; font-weight: 800; color: var(--navy); }
.lp-otp { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .5rem; margin: 0 0 1.1rem; }
.lp-d {
  width: 100%; min-width: 0; padding: .55rem 0; text-align: center; font: 800 1.6rem/1.2 'Plus Jakarta Sans', system-ui, sans-serif; color: var(--navy);
  background: linear-gradient(180deg, #fff, #eefdff); border: 2px solid #c0e9f0; border-radius: 16px 5px 16px 5px;
  box-shadow: 0 5px 12px rgba(36,135,152, .1); outline: 0; caret-color: var(--blue); transition: border-color .15s, box-shadow .15s;
}
.lp-d:not(:placeholder-shown) { border-color: var(--gold); background: linear-gradient(180deg, #fff9f4, #ffe3cf); }
.lp-d:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(36,135,152, .2); }
.lp-otp.goyang { animation: lpGoyang .4s ease; }

/* kekuatan password */
.lp-kuat { display: flex; align-items: center; gap: .6rem; margin: -.2rem .4rem .9rem; }
.lp-kuat .bar { flex: 1; height: 7px; border-radius: 7px; background: #dbf6fb; overflow: hidden; }
.lp-kuat .bar i { display: block; width: 0; height: 100%; border-radius: 7px; background: #ef4444; transition: width .25s, background .25s; }
.lp-kuat small { min-width: 7.5em; font-size: .72rem; font-weight: 700; color: var(--mute); text-align: right; }
.lp-kuat[data-k="1"] .bar i { width: 34%; background: #ef4444; }
.lp-kuat[data-k="2"] .bar i { width: 67%; background: #f59e0b; }
.lp-kuat[data-k="3"] .bar i { width: 100%; background: #16a34a; }
.lp-cocok { display: block; min-height: 1.1em; margin: -.3rem .5rem .3rem; text-align: left; font-size: .75rem; font-weight: 700; }
.lp-cocok.ok { color: #15803d; }
.lp-cocok.no { color: #b91c1c; }

.lp-info { margin: 1rem 0 0; padding: .65rem .85rem; text-align: left; font-size: .78rem; line-height: 1.5; color: var(--navy); background: linear-gradient(90deg, #ffebdc, #f1fdff); border-left: 4px solid var(--gold); border-radius: 4px 12px 12px 4px; }

/* ================= ANIMASI ================= */
@keyframes lpApung { 50% { transform: translateY(-9px); } }
@keyframes lpPutar { to { transform: rotate(360deg); } }
@keyframes lpSapu { 0%, 55% { transform: translateX(-160%) skewX(-20deg); } 100% { transform: translateX(520%) skewX(-20deg); } }
@keyframes lpMasuk { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes lpGoyang { 0%, 100% { transform: none; } 25% { transform: translateX(-7px); } 75% { transform: translateX(7px); } }

/* ================= RESPONSIF ================= */
@media (max-width: 900px) {
  .lp-el:not(.m), .lp-titik { display: none; }
  .lp-el.m { opacity: .85; }
  .lp-atas { height: 34vh; border-radius: 0 0 50% 50% / 0 0 70px 70px; }
}
@media (max-width: 520px) {
  .lp-brand img { width: 40px; height: 40px; }
  .lp-brand strong { font-size: .9rem; }
  .lp-brand small { display: none; }
  .lp-kembali { padding: .42rem .9rem; font-size: .8rem; }
  .lp-main { padding-top: 3.4rem; }
  .lp-card { padding-top: 2.8rem; border-radius: 28px 8px 28px 8px; }
  .lp-steps li { font-size: .64rem; }
  .lp-d { font-size: 1.3rem; border-radius: 12px 4px 12px 4px; }
  .lp-otp { gap: .35rem; }
  .lp-links { justify-content: center; }
  .lp-foot { font-size: .7rem; letter-spacing: .1em; }
}
@media (prefers-reduced-motion: reduce) {
  .lp-cincin, .lp-el, .lp-ikon, .lp-ikon::after, .lp-btn::after, .lp-card, .lp-otp.goyang { animation: none !important; }
}