/* ==========================================================================
   PPDB Yayasan Nurul Iman — halaman pendaftar (informasi, daftar, masuk, akun)
   Dipakai bersama site.css (palet navy · emas · hijau).
   ========================================================================== */
.pp-main { padding: 40px 0 90px; background: var(--soft); min-height: 60vh; }
.pp-hero { background: linear-gradient(160deg, #0b1f4d, #0a1a40); color: #fff; padding: calc(var(--header-h) + 40px) 0 70px; position: relative; overflow: hidden; }
.pp-hero::before { content: ""; position: absolute; right: -60px; top: -60px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(rgba(255, 255, 255, .22) 1.3px, transparent 1.6px); background-size: 16px 16px; }
.pp-hero h1 { color: #fff; font-size: clamp(1.8rem, 4.4vw, 3rem); margin-bottom: .35em; position: relative; }
.pp-hero h1 span { background: linear-gradient(135deg, var(--gold-2), #f3d28a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pp-hero p { color: rgba(255, 255, 255, .82); max-width: 62ch; position: relative; }
.pp-hero .hero-cta { position: relative; margin-top: 26px; }
.pp-state { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font-weight: 800; font-size: .8rem; margin-bottom: 16px; position: relative; }
.pp-state.open { background: rgba(15, 138, 75, .22); color: #7ff0b4; border: 1px solid rgba(127, 240, 180, .4); }
.pp-state.closed { background: rgba(214, 92, 70, .22); color: #ffb4a6; border: 1px solid rgba(255, 180, 166, .4); }
.pp-state::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }

.pp-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: s; }
.pp-step { position: relative; padding: 24px 20px 22px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
.pp-step::before { counter-increment: s; content: counter(s); position: absolute; top: -16px; left: 20px; width: 34px; height: 34px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--navy); font-weight: 800; box-shadow: 0 8px 18px rgba(201, 150, 47, .4); }
.pp-step h3 { font-size: 1.02rem; margin: 8px 0 .3em; }
.pp-step p { margin: 0; color: var(--muted); font-size: .9rem; }

.pp-units { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.pp-unit { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 30px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px; position: relative; overflow: hidden; }
.pp-unit::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: linear-gradient(90deg, var(--navy-3), var(--gold-2)); }
.pp-unit .tag { position: static; align-self: flex-start; }
.pp-unit h3 { font-size: 1.3rem; margin: 6px 0 0; }
.pp-fee { font-size: 2rem; font-weight: 800; color: var(--navy); letter-spacing: -.02em; }
.pp-fee small { font-size: .8rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.pp-meta { display: grid; gap: 6px; color: #3a4766; font-size: .92rem; margin: 4px 0 8px; }
.pp-meta span { display: flex; gap: 8px; align-items: center; }
.pp-meta .ic { color: var(--gold); }

.pp-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); padding: 28px; margin-bottom: 22px; }
.pp-card > h2, .pp-card > .pp-h h2 { font-size: 1.2rem; margin: 0 0 .2em; }
.pp-card .sub { color: var(--muted); font-size: .92rem; margin: 0 0 18px; }
.pp-h { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.pp-h h2 { margin: 0; }
.pp-narrow { max-width: 760px; margin-inline: auto; }
.pp-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.pp-side { position: sticky; top: calc(var(--header-h) + 18px); display: grid; gap: 18px; }

/* formulir */
.fgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.fgrid .full { grid-column: 1 / -1; }
.fld label { display: block; font-weight: 700; font-size: .84rem; color: var(--navy); margin-bottom: 6px; }
.fld label .req { color: #d65c46; }
.fld .hint { display: block; color: var(--muted); font-size: .76rem; margin-top: 4px; }
.fld input[type=text], .fld input[type=email], .fld input[type=password], .fld input[type=date], .fld input[type=tel], .fld input[type=number], .fld input[type=time], .fld select, .fld textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; font: inherit; font-size: .95rem; background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.fld textarea { resize: vertical; min-height: 84px; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: 0; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201, 150, 47, .18); }
.fld.err input, .fld.err select, .fld.err textarea { border-color: #d65c46; background: #fff7f5; }
.fld .msg { color: #c0432d; font-size: .78rem; font-weight: 600; margin-top: 4px; display: none; }
.fld.err .msg { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.seg { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; }
.seg label { margin: 0; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; padding: 12px 10px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; font-weight: 700; transition: all .15s; }
.seg span small { font-weight: 500; color: var(--muted); font-size: .72rem; }
.seg input:checked + span { border-color: var(--gold); background: var(--gold-soft); box-shadow: 0 0 0 3px rgba(201, 150, 47, .15); color: var(--navy); }
.seg input:focus-visible + span { outline: 3px solid var(--gold-2); outline-offset: 2px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: #34415f; }
.check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--gold); flex: 0 0 auto; }
.terms { max-height: 160px; overflow: auto; background: var(--soft); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; font-size: .84rem; color: #34415f; white-space: pre-line; }

/* peringatan & lencana */
.pp-alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; border: 1px solid; font-size: .9rem; margin-bottom: 16px; }
.pp-alert > i, .pp-alert > .ic { margin-top: 2px; }
.pp-alert.ok { background: #effaf4; border-color: #b8e6cc; color: #0b5d34; }
.pp-alert.warn { background: #fff8e6; border-color: #f2d68e; color: #7a5600; }
.pp-alert.bad { background: #fff1ee; border-color: #f5c0b5; color: #a1321f; }
.pp-alert.info { background: #eef3ff; border-color: #c6d4f5; color: #1b3a7a; }
.pp-alert b { display: block; }
.pp-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; font-size: .76rem; font-weight: 800; white-space: nowrap; }
.pp-badge.s-awaiting_payment, .pp-badge.p-unpaid, .pp-badge.p-rejected, .pp-badge.p-expired { background: #fff3d6; color: #8a5a00; }
.pp-badge.s-paid, .pp-badge.s-revision, .pp-badge.p-waiting, .pp-badge.p-review { background: #e4ecff; color: #1b3a7a; }
.pp-badge.s-submitted { background: #ece6ff; color: #4b2ea8; }
.pp-badge.s-accepted, .pp-badge.p-paid { background: #dcf5e7; color: #0b5d34; }
.pp-badge.s-rejected, .pp-badge.s-cancelled, .pp-badge.p-cancelled { background: #fde3de; color: #a1321f; }
.pp-badge.s-waitlist { background: #fff0d6; color: #8a5a00; }

/* alur pada detail pendaftaran */
.pp-track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 8px 0 26px; position: relative; }
.pp-track li { list-style: none; text-align: center; position: relative; padding-top: 44px; font-size: .82rem; font-weight: 700; color: var(--muted); }
.pp-track li::before { content: attr(data-n); position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--line); color: var(--muted); font-weight: 800; z-index: 1; }
.pp-track li::after { content: ""; position: absolute; top: 17px; left: calc(50% + 22px); right: calc(-50% + 22px); height: 3px; background: var(--line); }
.pp-track li:last-child::after { display: none; }
.pp-track li.done { color: #0b5d34; } .pp-track li.done::before { content: "✓"; background: var(--green); border-color: var(--green); color: #fff; } .pp-track li.done::after { background: var(--green); }
.pp-track li.now { color: var(--navy); } .pp-track li.now::before { background: linear-gradient(135deg, var(--gold-2), var(--gold)); border-color: var(--gold); color: var(--navy); box-shadow: 0 0 0 6px rgba(201, 150, 47, .2); }
.pp-track small { display: block; font-weight: 500; font-size: .72rem; margin-top: 2px; }

/* invoice */
.pp-inv { display: grid; grid-template-columns: 1fr auto; gap: 8px 24px; align-items: center; padding: 20px 22px; border-radius: 18px; background: linear-gradient(135deg, #0b1f4d, #13306e); color: #fff; margin-bottom: 20px; }
.pp-inv small { display: block; color: rgba(255, 255, 255, .7); font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; }
.pp-inv .amt { font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 800; color: var(--gold-2); text-align: right; }
.pp-inv b { font-size: 1rem; }

/* metode pembayaran */
.pp-tabs { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.pp-tab { border: 1.5px solid var(--line); background: #fff; color: var(--muted); padding: 10px 18px; border-radius: 14px; font: 700 .9rem var(--font); display: inline-flex; gap: 8px; align-items: center; cursor: pointer; transition: all .15s; }
.pp-tab:hover { border-color: var(--gold); color: var(--navy); }
.pp-tab.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.pp-pane { display: none; } .pp-pane.on { display: block; }
.pp-rek { display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 16px 18px; border: 1.5px dashed var(--line); border-radius: 16px; background: var(--soft); margin-bottom: 10px; }
.pp-rek b { display: block; font-size: 1.05rem; color: var(--navy); }
.pp-rek small { color: var(--muted); }
.pp-rek .num { font-size: 1.35rem; font-weight: 800; letter-spacing: .04em; color: var(--navy); font-variant-numeric: tabular-nums; }
.copy { border: 0; background: var(--navy); color: #fff; padding: 8px 16px; border-radius: 999px; font: 700 .8rem var(--font); cursor: pointer; }
.copy:hover { background: var(--gold); color: var(--navy); }
.pp-chan { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.pp-chan button { display: flex; flex-direction: column; gap: 4px; text-align: left; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer; font-family: inherit; transition: all .15s; }
.pp-chan button:hover { border-color: var(--gold); box-shadow: var(--shadow); transform: translateY(-2px); }
.pp-chan b { font-size: .92rem; color: var(--navy); } .pp-chan small { color: var(--muted); font-size: .72rem; line-height: 1.35; }
.pp-chan img { height: 22px; width: auto; align-self: flex-start; margin-bottom: 4px; }
.pp-grp { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; color: var(--muted); margin: 16px 0 8px; }
.pp-pay { text-align: center; padding: 22px; border-radius: 18px; background: var(--soft); border: 1.5px solid var(--line); margin-bottom: 14px; }
.pp-pay .code { font-size: 1.7rem; font-weight: 800; letter-spacing: .08em; color: var(--navy); word-break: break-all; font-variant-numeric: tabular-nums; }
.pp-pay img.qr { width: 220px; max-width: 100%; border-radius: 12px; background: #fff; padding: 8px; }
.pp-pay .exp { color: var(--muted); font-size: .84rem; margin-top: 6px; }

/* unggah */
.pp-drop { display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; padding: 20px 14px; border-radius: 16px; border: 2px dashed var(--line); background: #fff; cursor: pointer; position: relative; transition: all .15s; margin: 0; }
.pp-drop:hover, .pp-drop.over, .pp-drop:focus-visible { border-color: var(--gold); background: var(--gold-soft); outline: 0; }
.pp-drop > * { pointer-events: none; }
.pp-drop small { color: var(--muted); font-size: .76rem; }
.pp-file { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; clip: rect(0 0 0 0); pointer-events: none; }
.pp-up { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; margin-top: 10px; }
.pp-up .th { width: 44px; height: 44px; border-radius: 10px; overflow: hidden; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold); flex: 0 0 44px; }
.pp-up .th img { width: 100%; height: 100%; object-fit: cover; }
.pp-up .in { flex: 1; min-width: 0; font-size: .84rem; }
.pp-up .in b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pp-up .in small { color: var(--muted); }
.pp-bar { height: 6px; border-radius: 99px; background: var(--line); overflow: hidden; margin-top: 4px; }
.pp-bar i { display: block; height: 100%; background: var(--green); transition: width .15s; }
.pp-docs { display: grid; gap: 12px; }
.pp-doc { display: grid; grid-template-columns: 1fr auto; gap: 10px 16px; align-items: center; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 16px; background: #fff; }
.pp-doc.have { border-color: #b8e6cc; background: #f7fdf9; }
.pp-doc.bad { border-color: #f5c0b5; background: #fff8f6; }
.pp-doc b { color: var(--navy); }
.pp-doc small { color: var(--muted); display: block; }
.pp-doc .acts { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.pp-sec { border: 1px solid var(--line); border-radius: 18px; margin-bottom: 12px; background: #fff; overflow: hidden; }
.pp-sec summary { cursor: pointer; padding: 16px 20px; font-weight: 800; color: var(--navy); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.pp-sec summary::-webkit-details-marker { display: none; }
.pp-sec summary::after { content: "+"; width: 26px; height: 26px; border-radius: 50%; background: var(--gold-soft); color: var(--gold); display: grid; place-items: center; font-weight: 800; }
.pp-sec[open] summary::after { content: "–"; }
.pp-sec .body { padding: 4px 20px 22px; }
.pp-sec .sd { color: var(--muted); font-size: .84rem; margin: 0 0 14px; }
.pp-sec summary .cnt { font-size: .74rem; font-weight: 700; color: var(--muted); margin-left: auto; margin-right: 8px; }
.pp-sec.has-err { border-color: #f5c0b5; }
.pp-ro { display: grid; grid-template-columns: 200px 1fr; gap: 6px 14px; font-size: .9rem; }
.pp-ro dt { color: var(--muted); font-weight: 600; } .pp-ro dd { margin: 0; color: var(--ink); word-break: break-word; }
.pp-tl { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pp-tl li { display: flex; gap: 12px; font-size: .86rem; line-height: 1.45; }
.pp-tl li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); margin-top: 6px; flex: 0 0 10px; }
.pp-tl small { display: block; color: var(--muted); font-size: .74rem; }
.pp-result { text-align: center; padding: 34px 26px; border-radius: 22px; }
.pp-result .big { font-size: 3rem; line-height: 1; margin-bottom: 8px; }
.pp-result h2 { margin: 0 0 8px; font-size: 1.5rem; }
.pp-result.accepted { background: linear-gradient(135deg, #e9f9f0, #fff); border: 1.5px solid #9fdcbb; }
.pp-result.rejected { background: linear-gradient(135deg, #fff1ee, #fff); border: 1.5px solid #f2b9ac; }
.pp-result.waitlist { background: linear-gradient(135deg, #fff6e0, #fff); border: 1.5px solid #f0d28a; }
.pp-result.waiting { background: linear-gradient(135deg, #eef3ff, #fff); border: 1.5px solid #c6d4f5; }
.reg-card { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; padding: 20px 24px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: var(--shadow); margin-bottom: 14px; transition: transform .2s, box-shadow .2s; }
.reg-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.reg-card h3 { margin: 4px 0; font-size: 1.1rem; } .reg-card .no { color: var(--muted); font-size: .8rem; font-weight: 700; letter-spacing: .06em; }
.toast { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%) translateY(20px); z-index: 300; padding: 14px 22px; border-radius: 14px; background: var(--navy); color: #fff; font-weight: 600; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: all .3s; max-width: calc(100vw - 32px); }
.toast.show { opacity: 1; transform: translateX(-50%); }
.toast.bad { background: #a1321f; } .toast.ok { background: #0b5d34; }
.spin { display: inline-block; width: 16px; height: 16px; border: 2px solid rgba(255, 255, 255, .4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; vertical-align: -3px; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

@media (max-width: 960px) {
  .pp-grid { grid-template-columns: 1fr; } .pp-side { position: static; }
  .pp-steps { grid-template-columns: 1fr 1fr; row-gap: 26px; }
}
@media (max-width: 640px) {
  .fgrid { grid-template-columns: 1fr; }
  .pp-steps { grid-template-columns: 1fr; }
  .pp-card { padding: 20px 18px; border-radius: 18px; }
  .pp-track li { font-size: .7rem; } .pp-track small { display: none; }
  .pp-inv { grid-template-columns: 1fr; } .pp-inv .amt { text-align: left; }
  .pp-ro { grid-template-columns: 1fr; gap: 0; } .pp-ro dt { margin-top: 10px; }
  .reg-card { grid-template-columns: 1fr; }
  .pp-doc { grid-template-columns: 1fr; }
}

/* formulir pendaftaran: validasi langsung, kekuatan password, tombol */
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 70px !important; }
.pw-eye { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: 0; background: var(--soft); color: var(--navy); font: 700 .72rem var(--font); padding: 6px 10px; border-radius: 8px; cursor: pointer; }
.pw-eye:hover { background: var(--gold-soft); }
.pw-meter { height: 5px; border-radius: 99px; background: var(--line); margin-top: 8px; overflow: hidden; }
.pw-meter i { display: block; height: 100%; width: 0; border-radius: 99px; background: #d65c46; transition: width .25s, background .25s; }
.pw-meter.s1 i { width: 33%; background: #d65c46; } .pw-meter.s2 i { width: 66%; background: #e3b04b; } .pw-meter.s3 i { width: 100%; background: var(--green); }
.fld.ok input, .fld.ok select { border-color: #9fdcbb; }
.reg-hint { margin-top: 12px; font-size: .86rem; color: var(--muted); }
.reg-hint.ready { color: #0b5d34; font-weight: 700; }
#regBtn[disabled] { opacity: .55; cursor: not-allowed; box-shadow: none; filter: grayscale(.25); }
.fld input.ro { background: var(--soft); color: var(--muted); cursor: not-allowed; }
.pp-doc.flash { animation: ppflash 1.4s ease; }
@keyframes ppflash { 0% { box-shadow: 0 0 0 4px rgba(46,160,100,.35); } 100% { box-shadow: 0 0 0 0 rgba(46,160,100,0); } }

.pp-sum { margin-top: 20px; align-items: flex-start; }
.pp-sum-l { margin: 8px 0 0; padding-left: 18px; display: grid; gap: 6px; font-size: .92rem; }
.pp-sum-l a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.pp-sum-l small { opacity: .75; }
.fld.pulse input, .fld.pulse select, .fld.pulse textarea { animation: ppflash 1.6s ease; }

/* modal peringatan perubahan belum disimpan */
html.lv-lock { overflow: hidden; }
.lv-ov { position: fixed; inset: 0; z-index: 9999; background: rgba(8, 16, 40, .55); backdrop-filter: blur(3px); display: grid; place-items: center; padding: 16px; animation: lvIn .18s ease; }
.lv-box { width: min(440px, 100%); background: #fff; color: var(--navy); border: 1px solid var(--line); border-radius: 24px; padding: 30px 26px 20px; text-align: center; box-shadow: 0 30px 80px rgba(8, 16, 40, .35); }
.lv-ic { width: 68px; height: 68px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; background: rgba(217, 164, 65, .18); color: #b97d0a; box-shadow: 0 0 0 8px rgba(217, 164, 65, .09); }
.lv-box h3 { margin: 0 0 8px; font-size: 1.25rem; font-weight: 800; color: var(--navy); }
.lv-box p { margin: 0; color: var(--muted); line-height: 1.6; font-size: .95rem; }
.lv-act { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
.lv-act .btn { width: 100%; justify-content: center; }
.lv-foot { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.lv-leave { border: 0; background: transparent; color: #c0392b; font: 700 .86rem inherit; font-family: inherit; padding: 8px 14px; border-radius: 10px; cursor: pointer; }
.lv-leave:hover { background: rgba(192, 57, 43, .1); }
@keyframes lvIn { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
@media (max-width: 420px) { .lv-act { grid-template-columns: 1fr; } .lv-act [data-lv=stay] { order: 2; } }

/* akun & masuk */
.pp-avatar { width: 46px; height: 46px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(145deg, var(--navy), var(--navy-3)); color: #fff; font-weight: 800; flex: 0 0 auto; }
.pp-avatar.lg { width: 60px; height: 60px; font-size: 1.5rem; border-radius: 20px; }
.pp-login-h { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.pp-login-h b { display: block; color: var(--navy); font-size: 1.05rem; } .pp-login-h small { color: var(--muted); }
.ak-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 20px 22px; box-shadow: var(--shadow); }
.ak-who { flex: 1 1 200px; min-width: 0; } .ak-who b { display: block; color: var(--navy); font-size: 1.1rem; } .ak-who small { color: var(--muted); word-break: break-all; }
.ak-stats { display: flex; gap: 10px; } .ak-stats > div { background: var(--soft); border-radius: 14px; padding: 8px 16px; text-align: center; min-width: 90px; }
.ak-stats b { display: block; font-size: 1.3rem; color: var(--navy); } .ak-stats small { color: var(--muted); font-size: .74rem; font-weight: 700; }
.ak-stats .hot { background: #fff3d6; } .ak-stats .hot b { color: #8a5a00; }
.ak-next { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-size: .86rem; font-weight: 700; }
.ak-next i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.ak-next.is-act { color: #b5700a; } .ak-next.is-wait { color: #1b3a7a; } .ak-next.is-ok { color: #0b5d34; } .ak-next.is-off { color: var(--muted); }
.ak-empty { text-align: center; padding: 36px 24px; } .ak-empty .pp-avatar { margin: 0 auto 14px; } .ak-empty h3 { margin: 0 0 6px; color: var(--navy); } .ak-empty p { color: var(--muted); margin: 0 0 18px; }

.lv-ic.is-danger { background: rgba(192, 57, 43, .13); color: #c0392b; box-shadow: 0 0 0 8px rgba(192, 57, 43, .07); }
.lv-ic.is-ok { background: rgba(15, 138, 75, .13); color: #0f8a4b; box-shadow: 0 0 0 8px rgba(15, 138, 75, .07); }
.btn.btn-danger { background: #c0392b; color: #fff; }
.btn.btn-danger:hover { background: #a93226; }
.lv-box { animation: lvPop .2s cubic-bezier(.2, .9, .3, 1.2); }
@keyframes lvPop { from { transform: translateY(10px) scale(.96); opacity: 0; } to { transform: none; opacity: 1; } }

.btn[disabled], .btn:disabled { opacity: .5; cursor: not-allowed; box-shadow: none; }
.lv-box { width: min(480px, 100%); }
.lv-act .btn { white-space: nowrap; padding-left: 14px; padding-right: 14px; }
@media (max-width: 420px) { .lv-box { padding-left: 18px; padding-right: 18px; } }
/* penanda "n perlu diisi" pada judul bagian (tidak menimpa ikon +/–) */
details.pp-sec[data-n] > summary::before { content: "● " attr(data-n) " perlu diisi"; order: 2; margin-left: auto; white-space: nowrap; font-size: .76rem; font-weight: 800; padding: 5px 12px; border-radius: 999px; background: #fde3de; color: #a1321f; letter-spacing: .01em; }
details.pp-sec[data-n] > summary::after { order: 3; }
details.pp-sec[data-n] { border-color: #f5c0b5; box-shadow: 0 0 0 3px rgba(214, 92, 70, .08); }
@media (max-width: 480px) { details.pp-sec[data-n] > summary::before { content: attr(data-n) " kurang"; } }

/* ===== halaman PPDB: hero & unit ===== */
.pp-hero2 { padding-bottom: 80px; }
.ph-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, .8fr); gap: 40px; align-items: center; margin-top: 8px; position: relative; }
.pp-hero2 h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); line-height: 1.12; margin: 14px 0 .4em; }
.ph-intro { font-size: 1.05rem; }
.ph-units { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; position: relative; }
.ph-chip { padding: 7px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .08); color: #fff; font-weight: 800; font-size: .85rem; letter-spacing: .04em; text-decoration: none; backdrop-filter: blur(4px); transition: background .2s, transform .2s, border-color .2s; }
.ph-chip:hover { background: rgba(227, 176, 75, .25); border-color: var(--gold-2); transform: translateY(-2px); }
.ph-note { margin-top: 18px; padding: 12px 16px; border-radius: 14px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); position: relative; max-width: 56ch; }
.ph-card { position: relative; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .2); border-radius: 24px; padding: 24px; backdrop-filter: blur(10px); box-shadow: 0 24px 60px rgba(0, 0, 0, .25); }
.ph-card-h { font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: .74rem; color: var(--gold-2); margin-bottom: 14px; }
.ph-card dl { margin: 0; display: grid; gap: 14px; }
.ph-card dl > div { padding-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.ph-card dl > div:last-child { border: 0; padding-bottom: 0; }
.ph-card dt { color: rgba(255, 255, 255, .65); font-size: .78rem; font-weight: 700; }
.ph-card dd { margin: 2px 0 0; color: #fff; font-weight: 700; font-size: .98rem; }
.sec-sub { color: var(--muted); max-width: 60ch; margin: .6em auto 0; }
.pu-gh { display: flex; align-items: center; gap: 14px; margin: 34px 0 18px; font-size: 1rem; color: var(--navy); }
.pu-gh:first-of-type { margin-top: 10px; }
.pu-gh span { font-weight: 800; letter-spacing: .06em; text-transform: uppercase; font-size: .8rem; color: var(--gold); white-space: nowrap; }
.pu-gh i { flex: 1; height: 1px; background: var(--line); }
.pp-unit { scroll-margin-top: calc(var(--header-h) + 20px); transition: transform .25s, box-shadow .25s; padding: 26px; }
.pp-unit:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pu-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 4px; }
.pu-lv { display: inline-grid; place-items: center; min-width: 54px; height: 34px; padding: 0 14px; border-radius: 12px; background: var(--navy); color: #fff; font-weight: 800; letter-spacing: .06em; font-size: .85rem; }
.pu-age { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: .84rem; font-weight: 700; background: var(--soft); padding: 6px 12px; border-radius: 999px; }
.pp-unit h3 { font-size: 1.2rem; line-height: 1.3; margin: 12px 0 0; }
.pu-desc { color: var(--muted); margin: 0; font-size: .93rem; flex: 1; }
.pu-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; padding-top: 14px; margin-top: 6px; border-top: 1px dashed var(--line); }
.pu-fee-l { color: var(--muted); font-weight: 600; font-size: .76rem; }
.pu-quota { font-size: .8rem; font-weight: 700; color: #0b5d34; background: #dcf5e7; padding: 5px 12px; border-radius: 999px; white-space: nowrap; }
.pu-closed { text-align: center; padding: 12px; border-radius: 14px; background: var(--soft); color: var(--muted); font-weight: 700; font-size: .9rem; }
.pp-terms { margin-bottom: 22px; }
.pp-terms summary { font-size: 1rem; }
@media (max-width: 860px) { .ph-grid { grid-template-columns: 1fr; gap: 26px; } .ph-card { padding: 20px; } }
