/* =========================================================
   LUPA PASSWORD CORETAX — KABAYAN
   Selector dibatasi ke .lp-article / .lp-presentation agar
   tidak mengubah artikel lain.
   ========================================================= */


/* =========================================================
   HERO STATS — 3 ITEM CENTER FIX
   Artikel ini hanya memiliki 3 hero stats, sedangkan tema
   artikel-editorial default menggunakan 4 kolom.
   File CSS ini hanya dimuat pada halaman lupa password,
   sehingga override aman untuk hero halaman ini.
   ========================================================= */

.hero .hero-visual {
  width: min(720px, 96vw);
  margin-right: auto;
  margin-left: auto;
}

.hero .stat-orbit {
  width: 100%;
  max-width: 720px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-content: center;
  margin-right: auto;
  margin-left: auto;
}

.hero .hero-stat-card {
  text-align: center;
}

.hero .hero-stat-card strong,
.hero .hero-stat-card span {
  width: 100%;
  text-align: center;
}

/* Tablet:
   dua kartu pada baris pertama, kartu ketiga tepat di tengah. */
@media (max-width: 760px) and (min-width: 521px) {
  .hero .hero-visual {
    width: min(520px, 96vw);
  }

  .hero .stat-orbit {
    max-width: 520px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero .hero-stat-card:nth-child(2) {
    transform: none;
  }

  .hero .hero-stat-card:nth-child(3) {
    width: calc(50% - 6px);
    grid-column: 1 / -1;
    justify-self: center;
  }
}

/* HP: satu kartu per baris, seluruhnya tetap center. */
@media (max-width: 520px) {
  .hero .hero-visual {
    width: min(360px, 92vw);
  }

  .hero .stat-orbit {
    max-width: 360px;
    grid-template-columns: 1fr;
  }

  .hero .hero-stat-card:nth-child(2),
  .hero .hero-stat-card:nth-child(3) {
    width: 100%;
    grid-column: auto;
    transform: none;
  }
}


.lp-article,
.lp-article * {
  box-sizing: border-box;
}

.lp-article {
  --lp-blue: var(--blue, #0071e3);
  --lp-near-black: var(--near-black, #1d1d1f);
  --lp-text: #424245;
  --lp-muted: #6e6e73;
  --lp-soft: var(--soft-gray, #e5e5ea);
  --lp-off-white: var(--off-white, #f5f5f7);
  --lp-white: #ffffff;
}


.lp-article [hidden] {
  display: none !important;
}

.lp-article p {
  color: var(--lp-text);
}

/* =========================================================
   CALLOUT
   ========================================================= */

.lp-article .lp-callout {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 15px;
  margin: 30px 0 36px;
  padding: 22px 23px;
  border-radius: 21px;
}

.lp-article .lp-callout-blue {
  border: 1px solid #d5e7f8;
  background: #eef6ff;
}

.lp-article .lp-callout-orange {
  border: 1px solid #f0dfbd;
  background: #fff7e8;
}

.lp-article .lp-callout-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 7px 22px rgba(0, 0, 0, .055);
}

.lp-article .lp-callout-icon svg,
.lp-article .lp-pending-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lp-article .lp-callout-blue .lp-callout-icon {
  color: var(--lp-blue);
}

.lp-article .lp-callout-orange .lp-callout-icon {
  color: #a15c00;
}

.lp-article .lp-callout strong {
  display: block;
  margin: 1px 0 6px;
  color: var(--lp-near-black);
  font-size: 16px;
}

.lp-article .lp-callout p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.6;
}

/* =========================================================
   PERSIAPAN
   ========================================================= */

.lp-article .lp-preparation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 27px 0 38px;
}

.lp-article .lp-mini-card {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--lp-soft);
  border-radius: 21px;
  background: var(--lp-white);
}

.lp-article .lp-mini-number {
  display: inline-flex;
  margin-bottom: 23px;
  color: var(--lp-blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
}

.lp-article .lp-mini-card h3 {
  margin: 0 0 9px;
  color: var(--lp-near-black);
  font-size: 18px;
  letter-spacing: -.02em;
}

.lp-article .lp-mini-card p {
  margin: 0;
  color: var(--lp-muted);
  font-size: 14.5px;
  line-height: 1.58;
}

/* =========================================================
   PRESENTATION
   ========================================================= */

.lp-article .lp-presentation {
  margin: 31px 0 45px;
  scroll-margin-top: 90px;
}

.lp-article .lp-presentation-heading {
  margin-bottom: 18px;
}

.lp-article .lp-presentation-label {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 7px 11px;
  border-radius: 999px;
  background: #eaf4ff;
  color: var(--lp-blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.lp-article .lp-presentation-heading h3 {
  margin: 0 0 8px;
  color: var(--lp-near-black);
  font-size: clamp(22px, 3vw, 30px);
  letter-spacing: -.035em;
}

.lp-article .lp-presentation-heading p {
  max-width: 720px;
  margin: 0;
  color: var(--lp-muted);
  font-size: 15px;
  line-height: 1.6;
}

/* Pending state */
.lp-article .lp-presentation-pending {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-height: 145px;
  padding: 24px;
  border: 1px dashed #c9d7e5;
  border-radius: 23px;
  background:
    linear-gradient(135deg, rgba(238, 246, 255, .92), rgba(255, 255, 255, .96));
}

.lp-article .lp-pending-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: #fff;
  color: var(--lp-blue);
  box-shadow: 0 8px 25px rgba(0, 70, 140, .07);
}

.lp-article .lp-presentation-pending strong {
  display: block;
  margin-bottom: 6px;
  color: var(--lp-near-black);
  font-size: 16px;
}

.lp-article .lp-presentation-pending p {
  margin: 0;
  color: var(--lp-muted);
  font-size: 14px;
  line-height: 1.55;
}

/* Viewer */
.lp-article .lp-presentation-viewer {
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 25px;
  background: #111;
  box-shadow: 0 22px 55px rgba(20, 43, 76, .12);
}

.lp-article .lp-presentation-toolbar {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 12px 9px 17px;
  background: #171719;
  color: #f5f5f7;
}

.lp-article .lp-presentation-page-info {
  font-size: 12px;
  color: #c7c7cc;
}

.lp-article .lp-presentation-page-info strong {
  color: #fff;
}

.lp-article .lp-presentation-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}

.lp-article .lp-presentation-tool-button {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 10px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.lp-article .lp-presentation-tool-button:hover {
  background: rgba(255, 255, 255, .14);
}

.lp-article .lp-presentation-stage {
  position: relative;
  min-height: 380px;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 54px;
  align-items: center;
  background: #0b0b0c;
}

.lp-article .lp-presentation-slide {
  min-width: 0;
  margin: 0;
  padding: 17px 0 14px;
  text-align: center;
}

.lp-article .lp-presentation-slide img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 70vh;
  margin: 0 auto;
  object-fit: contain;
  background: #fff;
}

.lp-article .lp-presentation-slide figcaption {
  margin: 12px auto 0;
  padding: 0 14px;
  color: #c7c7cc;
  font-size: 12.5px;
  line-height: 1.45;
}

.lp-article .lp-presentation-nav {
  width: 42px;
  height: 52px;
  display: grid;
  place-items: center;
  justify-self: center;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 14px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-size: 31px;
  line-height: 1;
  cursor: pointer;
}

.lp-article .lp-presentation-nav:hover:not(:disabled) {
  background: rgba(255, 255, 255, .15);
}

.lp-article .lp-presentation-nav:disabled {
  opacity: .3;
  cursor: default;
}

.lp-article .lp-presentation-thumbnails {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  padding: 12px 13px 14px;
  background: #171719;
  scrollbar-width: thin;
}

.lp-article .lp-presentation-thumb {
  position: relative;
  flex: 0 0 105px;
  padding: 4px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 11px;
  background: transparent;
  cursor: pointer;
}

.lp-article .lp-presentation-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 7px;
  background: #fff;
  opacity: .62;
  transition: opacity .18s ease;
}

.lp-article .lp-presentation-thumb span {
  position: absolute;
  right: 8px;
  bottom: 8px;
  min-width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  padding: 0 5px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .72);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
}

.lp-article .lp-presentation-thumb:hover img,
.lp-article .lp-presentation-thumb.active img {
  opacity: 1;
}

.lp-article .lp-presentation-thumb.active {
  border-color: #5aa9ff;
  background: rgba(80, 160, 255, .12);
}

.lp-article .lp-presentation-error {
  margin: 0;
  padding: 12px 15px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  background: #3a1717;
  color: #ffd9d9;
  font-size: 12.5px;
  line-height: 1.5;
}

.lp-article .lp-presentation-error code {
  color: inherit;
}

.lp-article .lp-presentation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}

.lp-article .lp-presentation-note {
  margin-top: 14px;
  padding: 15px 17px;
  border-left: 3px solid #d2d2d7;
  color: var(--lp-muted);
  font-size: 13px;
  line-height: 1.55;
}

.lp-article .lp-presentation-note strong {
  color: var(--lp-near-black);
}

/* Fullscreen */
.lp-article .lp-presentation-viewer:fullscreen {
  width: 100vw;
  height: 100vh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  border: 0;
  border-radius: 0;
}

.lp-article .lp-presentation-viewer:fullscreen .lp-presentation-stage {
  min-height: 0;
}

.lp-article .lp-presentation-viewer:fullscreen .lp-presentation-slide img {
  max-height: calc(100vh - 170px);
}

/* =========================================================
   TROUBLESHOOTING
   ========================================================= */

.lp-article .lp-problem-list {
  display: grid;
  gap: 12px;
  margin: 26px 0 38px;
}

.lp-article .lp-problem-item {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 15px;
  padding: 20px 21px;
  border: 1px solid var(--lp-soft);
  border-radius: 19px;
  background: #fff;
}

.lp-article .lp-problem-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #eaf4ff;
  color: var(--lp-blue);
  font-size: 12px;
  font-weight: 800;
}

.lp-article .lp-problem-item h3 {
  margin: 1px 0 6px;
  color: var(--lp-near-black);
  font-size: 16px;
}

.lp-article .lp-problem-item p {
  margin: 0;
  color: var(--lp-muted);
  font-size: 14.5px;
  line-height: 1.55;
}

/* =========================================================
   LUPA PASSWORD VS AKTIVASI
   ========================================================= */

.lp-article .lp-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 26px 0 38px;
}

.lp-article .lp-choice-card {
  padding: 24px;
  border: 1px solid var(--lp-soft);
  border-radius: 22px;
  background: #fff;
}

.lp-article .lp-choice-card.lp-choice-primary {
  border-color: #cfe3f8;
  background: #f2f8ff;
}

.lp-article .lp-choice-label {
  display: block;
  margin-bottom: 20px;
  color: var(--lp-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.lp-article .lp-choice-primary .lp-choice-label {
  color: var(--lp-blue);
}

.lp-article .lp-choice-card h3 {
  margin: 0 0 8px;
  color: var(--lp-near-black);
  font-size: 21px;
}

.lp-article .lp-choice-card p {
  margin: 0;
  color: var(--lp-muted);
  font-size: 14.5px;
  line-height: 1.6;
}

/* =========================================================
   SOURCE
   ========================================================= */

.lp-article .lp-source-section ul {
  margin: 18px 0 36px;
  padding-left: 20px;
}

.lp-article .lp-source-section li {
  margin: 8px 0;
}

.lp-article .lp-source-section a {
  color: var(--lp-blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* =========================================================
   CLOSING
   ========================================================= */

.lp-article .lp-closing-box {
  margin-top: 68px;
  padding: 34px;
  border-radius: 27px;
  background:
    radial-gradient(circle at 92% 10%, rgba(39, 160, 210, .18), transparent 31%),
    linear-gradient(145deg, #071a38, #0b315e);
  color: #fff;
}

.lp-article .lp-closing-box h2 {
  margin-top: 0;
  color: #fff;
}

.lp-article .lp-closing-box p {
  margin-bottom: 0;
  color: #dbe9f7;
}

/* =========================================================
   TABLET / MOBILE
   ========================================================= */

@media (max-width: 820px) {
  .lp-article .lp-preparation-grid {
    grid-template-columns: 1fr;
  }

  .lp-article .lp-mini-card {
    padding: 20px;
  }

  .lp-article .lp-mini-number {
    margin-bottom: 13px;
  }

  .lp-article .lp-presentation-stage {
    min-height: 300px;
    grid-template-columns: 45px minmax(0, 1fr) 45px;
  }

  .lp-article .lp-presentation-nav {
    width: 36px;
    height: 48px;
    border-radius: 12px;
  }
}

@media (max-width: 640px) {
  .lp-article .lp-callout {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
    padding: 18px;
    border-radius: 18px;
  }

  .lp-article .lp-callout-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .lp-article .lp-choice-grid {
    grid-template-columns: 1fr;
  }

  .lp-article .lp-presentation-viewer {
    border-radius: 18px;
  }

  .lp-article .lp-presentation-toolbar {
    align-items: flex-start;
    flex-direction: column;
    padding: 10px 12px;
  }

  .lp-article .lp-presentation-toolbar-actions {
    width: 100%;
  }

  .lp-article .lp-presentation-tool-button {
    flex: 1 1 auto;
  }

  .lp-article .lp-presentation-stage {
    min-height: 235px;
    display: block;
    padding: 0;
  }

  .lp-article .lp-presentation-slide {
    padding: 11px 10px 13px;
  }

  .lp-article .lp-presentation-slide img {
    width: 100%;
    max-height: none;
  }

  .lp-article .lp-presentation-nav {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 38px;
    height: 48px;
    background: rgba(0, 0, 0, .55);
    transform: translateY(-50%);
  }

  .lp-article .lp-presentation-nav-prev {
    left: 8px;
  }

  .lp-article .lp-presentation-nav-next {
    right: 8px;
  }

  .lp-article .lp-presentation-slide figcaption {
    padding: 0 34px;
  }

  .lp-article .lp-presentation-thumb {
    flex-basis: 88px;
  }

  .lp-article .lp-presentation-pending {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 13px;
    padding: 19px;
    border-radius: 19px;
  }

  .lp-article .lp-pending-icon {
    width: 42px;
    height: 42px;
    border-radius: 13px;
  }

  .lp-article .lp-problem-item {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
    padding: 17px;
  }

  .lp-article .lp-problem-icon {
    width: 34px;
    height: 34px;
  }

  .lp-article .lp-closing-box {
    padding: 25px 21px;
    border-radius: 22px;
  }
}

@media (max-width: 430px) {
  .lp-article .lp-presentation-heading h3 {
    font-size: 22px;
  }

  .lp-article .lp-presentation-thumbnails {
    gap: 7px;
    padding: 10px;
  }

  .lp-article .lp-presentation-thumb {
    flex-basis: 78px;
  }

  .lp-article .lp-choice-card {
    padding: 20px;
  }
}

/* =========================================================
   PRINT
   ========================================================= */

@media print {
  .lp-article .lp-presentation-toolbar,
  .lp-article .lp-presentation-thumbnails,
  .lp-article .lp-presentation-actions,
  .lp-article .lp-presentation-nav,
  .lp-article .lp-presentation-pending {
    display: none !important;
  }

  .lp-article .lp-presentation-viewer {
    border: 0 !important;
    box-shadow: none !important;
    background: #fff !important;
  }

  .lp-article .lp-presentation-stage {
    min-height: 0 !important;
    display: block !important;
    background: #fff !important;
  }

  .lp-article .lp-presentation-slide img {
    max-width: 100% !important;
    max-height: none !important;
  }

  .lp-article .lp-presentation-slide figcaption {
    color: #333 !important;
  }

  .lp-article .lp-closing-box {
    border: 1px solid #d2d2d7 !important;
    background: #fff !important;
    color: #111 !important;
  }

  .lp-article .lp-closing-box h2,
  .lp-article .lp-closing-box p {
    color: #111 !important;
  }
}


/* =========================================================
   PREPARATION CARD ICONS ONLY
   Ikon sengaja dibatasi hanya pada tiga kartu:
   ID Pengguna, Email/Nomor Gawai, dan Kata Sandi Baru.
   ========================================================= */

.lp-article .lp-mini-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border: 1px solid #d5e7f8;
  border-radius: 15px;
  background: #eef6ff;
  color: var(--lp-blue);
  box-shadow: 0 10px 24px rgba(0, 76, 155, .06);
}

.lp-article .lp-mini-icon svg {
  width: 22px;
  height: 22px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lp-article .lp-mini-number {
  margin-bottom: 10px;
}

@media (max-width: 640px) {
  .lp-article .lp-mini-icon {
    width: 42px;
    height: 42px;
    border-radius: 13px;
  }
}
