/* PEHAM Event Registration – halaman check-in kendiri (standalone, mudah alih). */
:root {
	--g: #14532d; --g2: #1d6b3d; --gs: #ecf4ef; --ink: #1c2622; --mu: #66726c; --line: #dfe6e2;
	--warn: #8a5a00; --warn-bg: #fff6e0; --bad: #a12a1f; --bad-bg: #fdecea; --ok: #136b35; --ok-bg: #e7f5ec;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { background: #eef3f0; color: var(--ink); font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; -webkit-text-size-adjust: 100%; }
[hidden] { display: none !important; }
.psc { max-width: 560px; margin: 0 auto; padding: 16px 14px 32px; min-height: 100vh; }
.psc-head { text-align: center; padding: 8px 4px 14px; }
.psc-logos { display: flex; justify-content: center; align-items: center; gap: 14px; margin-bottom: 10px; }
.psc-logos img { height: 58px; width: auto; max-width: 140px; object-fit: contain; mix-blend-mode: multiply; }
.psc-org { font-weight: 800; color: var(--g); font-size: 22px; letter-spacing: .05em; margin-bottom: 6px; }
.psc-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--g2); }
.psc-head h1 { font-size: 21px; line-height: 1.25; margin: 4px 0 6px; }
.psc-meta { margin: 0; color: var(--mu); font-size: 14px; }
.psc-card { background: #fff; border-radius: 16px; box-shadow: 0 8px 30px rgba(20, 83, 45, .10); padding: 20px 18px; }
.psc-foot { text-align: center; color: var(--mu); font-size: 12px; margin-top: 18px; }
.psc-loading { text-align: center; color: var(--mu); padding: 24px 0; }
.psc h2 { font-size: 19px; margin: 0 0 6px; }
.psc p { margin: 0 0 12px; }
.psc-muted { color: var(--mu); font-size: 14px; }
.psc-label { display: block; font-weight: 700; font-size: 14px; margin: 0 0 6px; }
.psc input[type="tel"], .psc input[type="text"], .psc input[type="email"] {
	width: 100%; font-size: 18px; padding: 13px 14px; border: 1.5px solid #c9d3ce; border-radius: 10px; background: #fff; color: var(--ink); min-height: 50px;
}
.psc input:focus { outline: 3px solid rgba(20, 83, 45, .2); border-color: var(--g); }
.psc-tel { font-size: 24px !important; letter-spacing: 1px; text-align: center; }
.psc-btn { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 52px; border: 0; border-radius: 12px; background: var(--g); color: #fff !important; font-size: 17px; font-weight: 700; cursor: pointer; text-decoration: none; margin-top: 12px; padding: 10px 16px; text-align: center; }
.psc-btn:active { transform: translateY(1px); }
.psc-btn:disabled { opacity: .55; }
.psc-btn--ghost { background: #fff; color: var(--g) !important; border: 1.5px solid var(--g); }
.psc-btn--warn { background: #b7791f; }
.psc-link { background: none; border: 0; color: var(--g2); font-weight: 600; text-decoration: underline; cursor: pointer; font-size: 14px; padding: 8px 0; display: inline-block; }
.psc-row { display: flex; gap: 10px; }
.psc-row > * { flex: 1; }
.psc-alert { border-radius: 10px; padding: 12px 14px; margin: 0 0 14px; font-size: 15px; }
.psc-alert--bad { background: var(--bad-bg); color: var(--bad); }
.psc-alert--warn { background: var(--warn-bg); color: var(--warn); }
.psc-alert--ok { background: var(--ok-bg); color: var(--ok); }
.psc-who { border-bottom: 1px solid var(--line); padding-bottom: 12px; margin-bottom: 14px; }
.psc-who__name { font-size: 20px; font-weight: 800; line-height: 1.25; }
.psc-badge { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--gs); color: var(--g); margin-top: 6px; }
.psc-member { border-radius: 12px; padding: 12px 14px; margin: 0 0 14px; border: 1px solid var(--line); }
.psc-member strong { display: block; }
.psc-member p { margin: 4px 0 0; font-size: 14px; }
.psc-member--active { background: var(--ok-bg); border-color: #bfe3cb; color: var(--ok); }
.psc-member--expired { background: var(--warn-bg); border-color: #f2dca6; color: var(--warn); }
.psc-member--none { background: #eef4fb; border-color: #cfe0f3; color: #1d3f66; }
.psc-member .psc-btn { min-height: 44px; font-size: 15px; margin-top: 10px; }
.psc-pad { margin: 6px 0 4px; }
.psc-pad canvas { width: 100%; height: 190px; border: 2px dashed #9fb3a8; border-radius: 12px; background: #fff; display: block; touch-action: none; }
.psc-pad__bar { display: flex; justify-content: space-between; align-items: center; margin-top: 4px; }
.psc-dl { margin: 0 0 12px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.psc-dl > div { padding: 10px 14px; border-top: 1px solid var(--line); }
.psc-dl > div:first-child { border-top: 0; }
.psc-dl dt { font-size: 12px; font-weight: 700; color: var(--mu); text-transform: uppercase; letter-spacing: .05em; }
.psc-dl dd { margin: 2px 0 0; font-size: 16px; font-weight: 600; word-break: break-word; }
.psc-fix { border: 1px solid var(--line); border-radius: 12px; padding: 4px 14px; margin-bottom: 12px; }
.psc-fix__item { padding: 10px 0; border-top: 1px solid var(--line); }
.psc-fix__item:first-child { border-top: 0; }
.psc-check { display: flex; align-items: center; gap: 10px; font-weight: 600; cursor: pointer; }
.psc-check input { width: 22px; height: 22px; accent-color: var(--g); }
.psc-fix__item input[type="text"], .psc-fix__item input[type="email"] { margin-top: 8px; font-size: 16px; min-height: 46px; }
.psc-err { color: var(--bad); font-size: 13px; margin-top: 4px; }
.psc-done { text-align: center; padding: 6px 0 4px; }
.psc-done__icon { width: 74px; height: 74px; border-radius: 50%; background: var(--ok); color: #fff; font-size: 40px; line-height: 74px; margin: 0 auto 10px; font-weight: 700; }
.psc-done__time { font-size: 30px; font-weight: 800; color: var(--g); margin: 4px 0; }
.psc-list { display: grid; gap: 8px; margin: 10px 0; }
.psc-list button { text-align: left; background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: 16px; cursor: pointer; }
.psc-list button small { display: block; color: var(--mu); font-size: 13px; }
.psc-steps { display: flex; gap: 6px; justify-content: center; margin: 0 0 14px; }
.psc-steps span { height: 4px; width: 34px; border-radius: 2px; background: var(--line); }
.psc-steps span.on { background: var(--g); }
/* Maklum balas. */
.psc-req { color: var(--bad); }
.psc-fbprog { display: flex; align-items: center; gap: 10px; margin: 4px 0 12px; font-size: 13px; color: var(--mu); }
.psc-fbprog__bar { flex: 1; height: 8px; border-radius: 99px; background: var(--line); overflow: hidden; }
.psc-fbprog__bar span { display: block; height: 100%; width: 0; background: var(--g); border-radius: 99px; transition: width .25s ease; }
.psc-fbscale { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 12px; color: var(--mu); background: var(--gs); border-radius: 10px; padding: 8px 12px; margin-bottom: 12px; }
.psc-fbscale b { color: var(--g); }
.psc-fbq { border: 1.5px solid var(--line); border-radius: 14px; padding: 14px; margin: 0 0 12px; transition: border-color .2s, background .2s; }
.psc-fbq.is-done { border-color: #bfe3cb; background: #fbfefc; }
.psc-fbq.is-missing { border-color: var(--bad); background: var(--bad-bg); }
.psc-fbq__title { font-weight: 700; font-size: 15px; line-height: 1.35; margin-bottom: 10px; display: flex; gap: 8px; align-items: flex-start; }
.psc-fbq__num { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--g); color: #fff; font-size: 12px; line-height: 24px; text-align: center; }
.psc-fbq__opts { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.psc-fbopt { border: 1.5px solid var(--line); background: #fff; border-radius: 12px; padding: 8px 0 6px; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 2px; transition: transform .12s, border-color .15s, background .15s; -webkit-tap-highlight-color: transparent; }
.psc-fbopt:active { transform: scale(.95); }
.psc-fbopt__face { font-size: 24px; line-height: 1; filter: grayscale(.85); opacity: .7; transition: filter .15s, opacity .15s; }
.psc-fbopt__n { font-size: 13px; font-weight: 700; color: var(--mu); }
.psc-fbopt.is-on { border-color: var(--g); background: var(--gs); }
.psc-fbopt.is-on .psc-fbopt__face { filter: none; opacity: 1; transform: scale(1.12); }
.psc-fbopt.is-on .psc-fbopt__n { color: var(--g); }
.psc-fbq__label { min-height: 18px; margin-top: 6px; font-size: 13px; font-weight: 600; color: var(--g); text-align: center; }
.psc-fbq--text textarea { width: 100%; font: inherit; font-size: 16px; padding: 12px; border: 1.5px solid #c9d3ce; border-radius: 10px; resize: vertical; }
.psc-fbq--text textarea:focus { outline: 3px solid rgba(20, 83, 45, .2); border-color: var(--g); }
