/* =========================================================
   Member — bidang Akun (redesign 27 Nov 2026): masuk/daftar/lupa sandi/verifikasi, onboarding,
   pengaturan akun, pengumuman. Dimuat otomatis oleh layout portal & login (glob css/p-*.css).
   Semua aturan diberi cakupan (.auth-x, .onb, .acc, .ann) agar tidak bocor ke layar lain.
   ========================================================= */

/* ---------- Umum ---------- */
.input-group.is-invalid { border-color: var(--bad); }
.otp.is-invalid input { border-color: var(--bad); }
.soon { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--violet); background: var(--violet-soft); padding: 2px 8px; border-radius: 10px; }

/* ---------- Masuk / daftar / lupa sandi (mockup login.html) ---------- */
.auth-x .auth-card h1 { font-size: 24px; }
.auth-x .btn .spin { width: 16px; height: 16px; border-color: rgba(255,255,255,.4); border-top-color: #fff; }
.auth-x .btn:not(.primary) .spin { border-color: var(--border-strong); border-top-color: var(--brand); }
.auth-x .mail-big { width: 64px; height: 64px; border-radius: 18px; }
.auth-x .center .mail-big, .auth-x .mail-big.mx { margin: 0 auto; }
.auth-x .rules { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; font-size: 12px; }
.auth-x .rules li { display: flex; gap: 6px; align-items: center; color: var(--ink-3); }
.auth-x .rules li.ok { color: var(--ok); }
.auth-x .g-recaptcha { min-height: 78px; }
.auth-x .otp { gap: 6px; }
.auth-x .otp input { flex: 1 1 0; min-width: 0; width: auto; max-width: 52px; text-transform: uppercase; }
.auth-x .auth-side { padding: 32px 44px 28px; gap: 0; justify-content: space-between; position: sticky; top: 0; height: 100vh; overflow: hidden; }
.auth-x .auth-side::after { display: none; }
.auth-x .as-top { display: flex; align-items: center; gap: 10px; }
.auth-x .as-top .logo-img { height: 30px; }
.auth-x .as-top a { margin-left: auto; color: rgba(255,255,255,.8); font-size: 13.5px; display: inline-flex; gap: 6px; align-items: center; }
.auth-x .as-main { margin-top: 20px; max-width: 520px; }
.auth-x .as-eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #ffd36b; }
.auth-x .auth-side .as-main h2 { font-size: 30px; line-height: 1.2; margin-top: 8px; max-width: 500px; }
.auth-x .as-main p { color: rgba(255,255,255,.85); font-size: 15.5px; margin-top: 10px; max-width: 470px; }
.auth-x .as-facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0; margin-top: 18px; }
.auth-x .as-facts div { padding: 0 22px; border-left: 1px solid rgba(255,255,255,.22); }
.auth-x .as-facts div:first-child { padding-left: 0; border-left: 0; }
.auth-x .as-facts b { display: block; font-size: 24px; line-height: 1.1; color: #fff; }
.auth-x .as-facts span { font-size: 13px; color: rgba(255,255,255,.78); }
.auth-x .as-shot { margin: 22px -18px 0 -10px; }
.auth-x .as-shot img { width: auto; max-width: 100%; max-height: 27vh; display: block; filter: drop-shadow(0 18px 30px rgba(8,22,48,.45)); }
.auth-x .as-quote { margin: 18px 0 0; padding: 16px 18px; border-radius: 14px; background: rgba(8,22,48,.28); border: 1px solid rgba(255,255,255,.12); max-width: 560px; }
.auth-x .as-quote p { font-size: 15.5px; line-height: 1.45; color: #fff; }
.auth-x .as-quote footer { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-size: 13px; color: rgba(255,255,255,.8); }
.auth-x .as-quote footer b { color: #fff; display: block; font-size: 14px; }
.auth-x .as-quote .stars { margin-left: auto; color: #ffc53d; letter-spacing: 2px; font-size: 14px; white-space: nowrap; }
.auth-x .chip-logo { background: #fff; border-radius: 8px; height: 36px; padding: 5px 9px; display: inline-grid; place-items: center; flex: none; }
.auth-x .chip-logo img { max-height: 24px; max-width: 92px; display: block; }
.auth-x .as-trust { margin-top: 22px; display: flex; flex-direction: column; gap: 10px; }
.auth-x .as-trust .upper { color: rgba(255,255,255,.7); }
.auth-x .as-logos { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.auth-x .as-logos .more { font-size: 13px; color: rgba(255,255,255,.75); padding-left: 2px; }
.auth-x .as-certs { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 12.5px; color: rgba(255,255,255,.72); }
.auth-x .as-certs .chip-logo { height: 34px; padding: 3px 6px; }
.auth-x .as-certs .chip-logo img { max-height: 28px; }
@media (max-height: 820px) { .auth-x .as-shot { display: none; } }
@media (max-width: 400px) { .auth-x .rules { grid-template-columns: 1fr; } .auth-x .g-recaptcha { transform: scale(.9); transform-origin: 0 0; } }

/* ---------- Onboarding (mockup onboarding.html) ---------- */
.onb .stepper .st { text-align: left; color: var(--ink-3); text-decoration: none; }
.onb .stepper a.st:hover { text-decoration: none; }
.onb .stepper .st .lbl small { display: block; font-weight: 400; color: var(--ink-3); font-size: 11.5px; }
.onb .photo, .acc .photo { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.onb .photo .avatar { width: 72px; height: 72px; font-size: 24px; }
.onb .photo img.avatar, .acc .photo img.avatar { object-fit: cover; }
.onb .code-apply { display: flex; gap: 8px; }
.onb .code-apply .input { text-transform: uppercase; font-family: var(--mono); letter-spacing: .04em; }
.onb .get { list-style: none; margin: 0; padding: 0; }
.onb .get li { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; font-size: 13.5px; }
.onb .get li .ico { color: var(--ok); margin-top: 2px; flex: none; }
.onb .logo-box, .acc .logo-box { width: 160px; height: 72px; border: 1px dashed var(--border-strong); border-radius: 8px; display: grid; place-items: center; background: var(--surface); overflow: hidden; color: var(--ink-3); flex: none; }
.onb .logo-box img, .acc .logo-box img { max-width: 150px; max-height: 64px; object-fit: contain; }
.file-btn { position: relative; overflow: hidden; }
.file-btn input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

/* ---------- Pengaturan akun (mockup account.html) ---------- */
.acc .contact { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-bottom: 1px solid var(--border); }
.acc .contact:last-child { border-bottom: 0; }
.acc .device { display: flex; gap: 12px; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--border); }
.acc .device:last-child { border-bottom: 0; }
.acc .soon-card { opacity: .92; }
.acc .soon-card .btn[disabled] { cursor: not-allowed; }
.acc .act-ico { color: var(--ink-3); }

/* ---------- Pengumuman (mockup announcements.html) ---------- */
.ann .chips { display: flex; gap: 6px; flex-wrap: wrap; }
.ann .chip { border: 1px solid var(--border-strong); background: var(--surface); color: var(--ink-2); border-radius: 16px; padding: 5px 12px; font: 600 12.5px var(--font); cursor: pointer; }
.ann .chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--surface); }
.ann .news { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border: 0; border-bottom: 1px solid var(--border); cursor: pointer; position: relative; width: 100%; background: none; text-align: left; font: inherit; color: inherit; }
.ann .news:last-child { border-bottom: 0; }
.ann .news:hover { background: var(--surface-2); }
.ann .news .t { display: block; font-size: 15px; font-weight: 650; color: var(--ink); }
.ann a.news:hover { text-decoration: none; }
.ann .news .meta { font-size: 12px; color: var(--ink-3); }
.ann .pinned { border-left: 4px solid var(--warn-mark); }
.article p + p { margin-top: 10px; }
.article ul { margin: 10px 0; padding-left: 20px; }
