/* TOP SMP Darul Hikam — landing & pendaftaran. Desain mengikuti poster. */
:root {
  --bg: #0a2e78;
  --bg2: #082663;
  --bg3: #061d52;
  --card: #123f9e;
  --card2: #0e3687;
  --line: rgba(255, 255, 255, .14);
  --y: #ffd93b;
  --c: #25cdee;
  --b: #27a9e1;
  --p: #ff6b9d;
  --o: #ff9f43;
  --ink: #0b2a6e;
  --mut: #b9cdf5;
  --font: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); background: var(--bg); color: #fff; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { max-width: 100%; }
a { color: inherit; }
button { font-family: inherit; }
section[id] { scroll-margin-top: 76px; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ic { width: 1.1em; height: 1.1em; flex: none; }

/* ---------- tombol ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; text-decoration: none;
  border: 0; border-radius: 999px; padding: 14px 26px; font-weight: 800; font-size: .95rem; letter-spacing: .02em;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-y { background: var(--y); color: var(--ink); box-shadow: 0 6px 0 #c79f00, 0 12px 24px rgba(0, 0, 0, .25); }
.btn-y:hover { box-shadow: 0 8px 0 #c79f00, 0 16px 28px rgba(0, 0, 0, .3); }
.btn-o { background: transparent; color: #fff; border: 2px solid rgba(255, 255, 255, .55); }
.btn-o:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.btn-sm { padding: 10px 18px; font-size: .82rem; }
.btn-block { width: 100%; }

/* ---------- header ---------- */
.hdr { position: sticky; top: 0; z-index: 40; background: rgba(8, 38, 99, .86); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.hdr .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 42px; height: 42px; border-radius: 12px; }
.brand b { display: block; font-weight: 900; font-size: 1rem; line-height: 1.1; letter-spacing: .02em; }
.brand small { display: block; color: var(--mut); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
.nav { display: none; align-items: center; gap: 4px; }
.nav a { text-decoration: none; font-weight: 700; font-size: .85rem; padding: 8px 14px; border-radius: 999px; color: #e6eeff; transition: background .15s; }
.nav a:hover { background: rgba(255, 255, 255, .12); }
.hdr .btn { display: none; }
.burger { background: rgba(255, 255, 255, .1); border: 1px solid var(--line); color: #fff; border-radius: 12px; width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer; }
.mnav { display: none; position: fixed; inset: 68px 0 auto 0; z-index: 39; background: var(--bg2); border-bottom: 1px solid var(--line); padding: 14px 16px 22px; box-shadow: 0 24px 40px rgba(0, 0, 0, .35); }
.mnav.open { display: block; }
.mnav a { display: block; padding: 13px 14px; border-radius: 12px; text-decoration: none; font-weight: 700; }
.mnav a:hover { background: rgba(255, 255, 255, .08); }
.mnav .btn { display: flex; margin-top: 10px; }
@media (min-width: 900px) {
  .nav { display: flex; } .hdr .btn { display: inline-flex; } .burger { display: none; } .mnav { display: none !important; }
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 56px 0 72px; background:
  radial-gradient(900px 500px at 85% 10%, rgba(37, 205, 238, .20), transparent 60%),
  radial-gradient(700px 500px at 0% 100%, rgba(255, 107, 157, .14), transparent 60%), var(--bg); }
.hero::before { content: ''; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .22) 1.2px, transparent 1.4px); background-size: 34px 34px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 80%); mask-image: linear-gradient(180deg, #000, transparent 80%); }
.hero .wrap { position: relative; display: grid; gap: 40px; align-items: center; }
.eyebrow { margin: 0 0 12px; color: var(--y); font-weight: 800; letter-spacing: .12em; font-size: clamp(.72rem, 2.4vw, .95rem); text-transform: uppercase; }
.hero h1 { margin: 0; font-weight: 900; line-height: 1; }
.hero h1 .t1 { display: block; color: var(--y); font-size: clamp(2.7rem, 10.5vw, 5.6rem); letter-spacing: .01em; transform: rotate(-4deg); transform-origin: left bottom; text-shadow: 0 5px 0 rgba(0, 0, 0, .18); margin: 14px 0 22px; }
.hero h1 .t2 { display: inline-block; background: var(--b); color: #fff; font-size: clamp(1.6rem, 6vw, 3rem); padding: 12px 38px 14px; border-radius: 30px 52px 34px 54px; transform: rotate(-2deg); box-shadow: 0 8px 0 #1b86b8, 0 16px 30px rgba(0, 0, 0, .25); }
.hero h1 .t3 { display: block; color: var(--c); font-size: clamp(1.5rem, 5.6vw, 3.1rem); margin-top: 22px; letter-spacing: .01em; }
.hero .bar { width: min(280px, 60%); height: 3px; border-radius: 3px; background: #2b50c0; margin: 16px 0 26px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-weight: 800; font-size: .78rem; letter-spacing: .04em; background: rgba(255, 255, 255, .1); border: 1px solid var(--line); }
.chip.pk { background: var(--p); border-color: transparent; color: #fff; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-art { position: relative; justify-self: center; width: min(520px, 100%); }
.hero-art svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .3)); }
.superpower { text-align: center; margin-top: 8px; font-weight: 900; letter-spacing: .14em; color: var(--y); font-size: clamp(.8rem, 2.6vw, 1rem); line-height: 1.5; }
.float { animation: fl 6s ease-in-out infinite; }
.float.d2 { animation-delay: -2s; } .float.d3 { animation-delay: -4s; }
@keyframes fl { 50% { transform: translateY(-8px); } }
@media (min-width: 900px) { .hero { padding: 84px 0 96px; } .hero .wrap { grid-template-columns: 1.1fr .9fr; } }

/* ---------- countdown ---------- */
.cd { background: var(--bg3); border-block: 1px solid var(--line); padding: 26px 0; }
.cd .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 36px; }
.cd p { margin: 0; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; font-size: .8rem; color: var(--mut); text-align: center; }
.cd p b { display: block; color: #fff; font-size: 1.05rem; letter-spacing: .04em; text-transform: none; }
.cd-row { display: flex; gap: 12px; }
.cd-box { min-width: 76px; text-align: center; padding: 10px 8px 8px; border-radius: 16px; background: var(--card2); border: 1px solid var(--line); }
.cd-box b { display: block; font-size: 2rem; line-height: 1.1; font-weight: 900; color: var(--y); font-variant-numeric: tabular-nums; }
.cd-box span { font-size: .66rem; font-weight: 800; letter-spacing: .12em; color: var(--mut); text-transform: uppercase; }

/* ---------- judul seksi ---------- */
.sec { padding: 76px 0; }
.sec.alt { background: var(--bg2); }
.sec-hd { text-align: center; margin: 0 auto 44px; max-width: 720px; }
.kicker { display: inline-block; color: var(--c); font-weight: 900; letter-spacing: .18em; font-size: .78rem; text-transform: uppercase; margin-bottom: 8px; }
.sec-hd h2 { margin: 0 0 10px; font-weight: 900; font-size: clamp(1.9rem, 5.5vw, 3rem); line-height: 1.08; }
.sec-hd h2 em { font-style: normal; color: var(--y); }
.sec-hd p { margin: 0; color: var(--mut); font-size: 1.05rem; }

/* ---------- kartu lomba (layout gambar 2) ---------- */
.lomba-tabs {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.ltab {
  flex: 1 1 240px;
  max-width: 340px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 20px;
  border-radius: 24px;
  background: var(--c);
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .22);
  transition: transform .2s ease, filter .2s ease;
  cursor: pointer;
  border: 0;
}
.ltab:hover { transform: translateY(-3px); filter: brightness(1.05); }
.ltab.pink { background: var(--p); }
.ltab.orange { background: var(--o); }
.ltab .t-ico {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  flex: none;
}
.ltab .t-ico svg { width: 30px; height: 30px; }
.ltab .t-txt {
  text-align: left;
  line-height: 1.1;
  font-size: 1.15rem;
  letter-spacing: .02em;
  font-weight: 900;
  text-transform: uppercase;
}

.lomba-rewards {
  display: grid;
  gap: 20px;
  margin-bottom: 24px;
}
@media (min-width: 820px) {
  .lomba-rewards {
    grid-template-columns: 1.15fr 0.85fr;
  }
}
.rcard-j1 {
  background: var(--y);
  color: var(--ink);
  border-radius: 28px;
  padding: 30px 34px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .25);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.rcard-j1 .j1-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  font-size: .84rem;
  padding: 5px 14px 5px 10px;
  border-radius: 999px;
  align-self: flex-start;
  margin-bottom: 18px;
}
.rcard-j1 .j1-badge i {
  color: var(--y);
  font-style: normal;
  font-size: .85rem;
}
.rcard-j1 .j1-lead {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 4px;
  line-height: 1.35;
}
.rcard-j1 .j1-amt {
  font-size: clamp(2.2rem, 5.2vw, 3.4rem);
  font-weight: 950;
  color: #0b2a6e;
  line-height: 1.05;
  margin: 8px 0 10px;
  letter-spacing: -.01em;
}
.rcard-j1 .j1-note {
  font-size: .82rem;
  font-style: italic;
  color: rgba(11, 42, 110, .75);
  font-weight: 700;
}

.rcard-j13 {
  background: var(--card);
  border-radius: 28px;
  padding: 30px 32px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .25);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.rcard-j13 .j13-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--y);
  color: var(--ink);
  font-weight: 900;
  font-size: .84rem;
  padding: 5px 14px 5px 10px;
  border-radius: 999px;
  align-self: flex-start;
  margin-bottom: 22px;
}
.rcard-j13 .j13-badge i {
  color: var(--ink);
  font-style: normal;
  font-size: .85rem;
}
.rcard-j13 .j13-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.rcard-j13 .j13-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
}
.rcard-j13 .j13-item svg {
  width: 28px;
  height: 28px;
  color: var(--c);
  flex: none;
}

/* Modal detail tetap rapi */
.lgrid { display: grid; gap: 22px; }
@media (min-width: 760px) { .lgrid { grid-template-columns: repeat(3, 1fr); } }
.lcard { --acc: var(--c); background: var(--card); border-radius: 26px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 22px 44px rgba(0, 0, 0, .28); }
.lcard.pink { --acc: var(--p); } .lcard.orange { --acc: var(--o); }
.lcard .hd { background: var(--acc); display: flex; align-items: center; gap: 14px; padding: 16px 18px; }
.lcard .ico { width: 62px; height: 62px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; flex: none; color: #fff; }
.lcard .ico svg { width: 34px; height: 34px; }
.lcard .hd h3 { margin: 0; margin-left: auto; text-align: right; color: var(--ink); font-weight: 900; font-size: 1.35rem; }

/* ---------- juara umum ---------- */
.umum { margin-top: 0; background: var(--y); color: var(--ink); border-radius: 26px; padding: 22px 26px; display: flex; align-items: center; gap: 18px; box-shadow: 0 12px 0 #c79f00; text-align: center; }
.umum .tr { width: 66px; height: 66px; border-radius: 50%; background: var(--ink); color: var(--y); display: grid; place-items: center; flex: none; }
.umum .tr svg { width: 34px; height: 34px; }
.umum div:nth-child(2) { flex: 1; }
.umum small { display: block; font-weight: 900; letter-spacing: .14em; font-size: .85rem; }
.umum b { display: block; font-weight: 900; font-size: clamp(1.1rem, 3.4vw, 1.7rem); line-height: 1.25; }
@media (max-width: 640px) { .umum .tr:last-child { display: none; } .umum { padding: 20px; } }

/* ---------- panel info ---------- */
.igrid { display: grid; gap: 22px; }
@media (min-width: 900px) { .igrid { grid-template-columns: 5fr 7fr; } }
.panel { background: var(--card); border-radius: 26px; padding: 28px; box-shadow: 0 22px 44px rgba(0, 0, 0, .22); }
.panel h3 { margin: 0 0 18px; font-weight: 900; letter-spacing: .16em; font-size: .9rem; text-transform: uppercase; }
.panel.o h3 { color: var(--o); } .panel.c h3 { color: var(--c); }
.row { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 16px; font-weight: 700; font-size: 1.05rem; line-height: 1.4; }
.row .ic { width: 28px; height: 28px; color: var(--o); margin-top: 2px; }
.row small { display: block; font-weight: 500; color: var(--mut); font-size: .85rem; }
.reg { display: grid; gap: 18px; align-items: center; }
@media (min-width: 560px) { .reg { grid-template-columns: 1fr auto; } }
.reg em { color: var(--mut); font-size: .95rem; }
.reg .date { font-weight: 800; font-size: clamp(1.4rem, 3.4vw, 1.8rem); line-height: 1.2; margin: 2px 0 14px; }
.gratis { display: inline-block; background: var(--p); color: #fff; font-weight: 900; letter-spacing: .1em; font-size: 1.5rem; padding: 6px 28px; border-radius: 999px; transform: rotate(-3deg); box-shadow: 0 6px 0 #d94a7e; }
.url { margin-top: 20px; display: flex; align-items: center; gap: 10px; font-weight: 900; letter-spacing: .1em; font-size: clamp(.9rem, 2.6vw, 1.25rem); color: #fff; text-decoration: none; word-break: break-all; }
.url .ic { color: var(--y); width: 30px; height: 30px; }

/* ---------- langkah ---------- */
.steps { display: grid; gap: 18px; counter-reset: s; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { background: var(--card2); border: 1px solid var(--line); border-radius: 22px; padding: 24px; position: relative; }
.step .n { width: 46px; height: 46px; border-radius: 50%; background: var(--y); color: var(--ink); display: grid; place-items: center; font-weight: 900; font-size: 1.1rem; margin-bottom: 14px; }
.step h3 { margin: 0 0 6px; font-weight: 900; font-size: 1.15rem; }
.step p { margin: 0; color: var(--mut); }
.step .when { margin-top: 12px; display: inline-block; font-weight: 800; font-size: .8rem; letter-spacing: .06em; color: var(--c); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--card2); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 22px; font-weight: 800; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; width: 30px; height: 30px; border-radius: 50%; background: var(--y); color: var(--ink); display: grid; place-items: center; font-weight: 900; font-size: 1.2rem; flex: none; transition: transform .2s; }
.faq details[open] { border-color: var(--c); }
.faq details[open] summary::after { content: '–'; background: var(--c); }
.faq details > div { padding: 0 22px 20px; color: #dce8ff; }

/* ---------- CTA & footer ---------- */
.cta { background: linear-gradient(135deg, var(--b), var(--card)); text-align: center; padding: 64px 0; }
.cta h2 { margin: 0 0 8px; font-weight: 900; font-size: clamp(1.8rem, 5vw, 2.8rem); }
.cta p { margin: 0 0 26px; color: #e6f2ff; font-size: 1.1rem; }
.ftr { background: var(--bg3); padding: 44px 0 30px; text-align: center; }
.ftr .soc { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 30px; margin-bottom: 22px; }
.ftr .soc a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; }
.ftr .soc .ic { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: #fff; color: var(--ink); }
.ftr p { margin: 0; color: var(--mut); font-size: .88rem; }

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } .float { animation: none; } html { scroll-behavior: auto; } }

/* ---------- modal ---------- */
.ovl { position: fixed; inset: 0; z-index: 60; background: rgba(3, 14, 48, .76); backdrop-filter: blur(6px); overflow-y: auto; display: flex; align-items: flex-start; justify-content: center; padding: 20px 14px; }
.mdl { width: min(760px, 100%); margin: auto; background: #fff; color: #17234a; border-radius: 26px; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.mdl-hd { position: relative; background: var(--bg); color: #fff; padding: 22px 64px 20px 24px; }
.mdl-hd .tag { display: inline-block; background: var(--y); color: var(--ink); font-weight: 900; font-size: .7rem; letter-spacing: .12em; padding: 4px 12px; border-radius: 999px; margin-bottom: 8px; text-transform: uppercase; }
.mdl-hd h3 { margin: 0; font-weight: 900; font-size: clamp(1.3rem, 4vw, 1.8rem); line-height: 1.1; }
.mdl-hd p { margin: 4px 0 0; color: var(--mut); font-size: .92rem; }
.mdl-x { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .15); color: #fff; cursor: pointer; display: grid; place-items: center; }
.mdl-x:hover { background: rgba(255, 255, 255, .28); }
.mdl-bd { padding: 24px; max-height: 68vh; overflow-y: auto; }
.mdl-ft { padding: 16px 24px; background: #f2f6ff; border-top: 1px solid #dbe6ff; display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.mdl h4 { margin: 20px 0 10px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: #1d5bd1; font-weight: 900; }
.mdl h4:first-child { margin-top: 0; }
.mdl ul, .mdl ol { margin: 0; padding-left: 20px; } .mdl li { margin-bottom: 6px; }
.box { background: #f2f6ff; border: 1px solid #dbe6ff; border-radius: 14px; padding: 12px 14px; }
.prz { display: grid; gap: 8px; }
.prz div { background: #fff8d9; border: 1px solid #ffe58a; border-radius: 14px; padding: 10px 14px; font-weight: 700; }
.mdl .btn-y { box-shadow: 0 4px 0 #c79f00; }
.mdl .btn-o { color: #1d5bd1; border-color: #bcd0ff; } .mdl .btn-o:hover { background: #eef3ff; border-color: #1d5bd1; }

/* ---------- form ---------- */
.fgrid { display: grid; gap: 14px; }
@media (min-width: 620px) { .fgrid.two { grid-template-columns: 1fr 1fr; } .fgrid .full { grid-column: 1 / -1; } }
.fl label.l { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #3a4a7a; margin-bottom: 6px; }
.fl label.l i { color: #e11d48; font-style: normal; }
.fi, .fl select { width: 100%; padding: 12px 14px; border: 1.5px solid #cdd9f5; border-radius: 14px; font: inherit; color: #17234a; background: #f8faff; transition: border .15s, box-shadow .15s; }
.fi:focus, .fl select:focus { outline: 0; border-color: #1d5bd1; background: #fff; box-shadow: 0 0 0 4px rgba(29, 91, 209, .14); }
.fl.bad .fi, .fl.bad select { border-color: #e11d48; }
.er { margin: 6px 0 0; color: #e11d48; font-size: .82rem; font-weight: 600; }
.pick { display: grid; gap: 10px; }
@media (min-width: 620px) { .pick { grid-template-columns: repeat(3, 1fr); } }
.pk { --acc: var(--c); display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 16px; border: 2px solid #dbe6ff; background: #fff; cursor: pointer; text-align: left; font: inherit; color: #17234a; }
.pk.pink { --acc: var(--p); } .pk.orange { --acc: var(--o); }
.pk .ico { width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; flex: none; }
.pk .ico svg { width: 22px; height: 22px; }
.pk b { display: block; font-size: .85rem; line-height: 1.15; } .pk small { color: #6b7aa6; font-size: .72rem; }
.pk.on { border-color: var(--acc); background: color-mix(in srgb, var(--acc) 12%, #fff); box-shadow: 0 0 0 3px color-mix(in srgb, var(--acc) 35%, transparent); }
.up { position: relative; border: 2px dashed #b9cdf5; border-radius: 14px; padding: 16px; text-align: center; background: #f8faff; color: #5b6b99; font-weight: 600; font-size: .9rem; cursor: pointer; }
.up:hover { border-color: #1d5bd1; }
.up input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.up.ok { color: #15803d; border-color: #86efac; background: #f0fdf4; }
.chk { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; font-weight: 500; cursor: pointer; }
.chk input { margin-top: 3px; width: 18px; height: 18px; accent-color: #1d5bd1; }
.alert { padding: 12px 14px; border-radius: 14px; background: #fff1f2; border: 1px solid #fecdd3; color: #be123c; font-weight: 700; font-size: .9rem; }
.note { padding: 12px 14px; border-radius: 14px; background: #fff8d9; border: 1px solid #ffe58a; font-size: .88rem; }
.spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(11, 42, 110, .3); border-top-color: var(--ink); animation: sp .7s linear infinite; }
@keyframes sp { to { transform: rotate(360deg); } }
.tick { text-align: center; }
.tick .ok { width: 70px; height: 70px; border-radius: 50%; background: #dcfce7; color: #16a34a; display: grid; place-items: center; margin: 0 auto 12px; }
.tick .ok svg { width: 38px; height: 38px; }
.tick h4 { font-size: 1.7rem; text-transform: none; letter-spacing: 0; color: #0b2a6e; margin: 8px 0; }
.card-reg { text-align: left; max-width: 520px; margin: 18px auto; background: #f2f6ff; border: 1px solid #dbe6ff; border-radius: 20px; padding: 20px; }
.card-reg .no { font-family: ui-monospace, Menlo, monospace; font-weight: 800; font-size: 1.35rem; color: #1d5bd1; }
.card-reg dl { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; margin: 14px 0 0; font-size: .86rem; }
.card-reg dt { color: #6b7aa6; font-weight: 700; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; } .card-reg dd { margin: 0; font-weight: 700; }

/* ---------- halaman registrasi ---------- */
.regpage { padding: 28px 0 72px; min-height: calc(100vh - 68px); background:
  radial-gradient(800px 420px at 90% 0%, rgba(37, 205, 238, .18), transparent 60%),
  radial-gradient(600px 400px at 0% 100%, rgba(255, 107, 157, .12), transparent 60%), var(--bg); }
.regpage .back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; color: var(--mut); font-weight: 700; text-decoration: none; }
.regpage .back:hover { color: #fff; }
.formcard { width: min(820px, 100%); margin: 0 auto; }
.formcard .mdl-hd { padding-right: 24px; }
.formcard .mdl-hd h1 { margin: 0; font-weight: 900; font-size: clamp(1.6rem, 5vw, 2.3rem); line-height: 1.1; }
.formcard .mdl-bd { max-height: none; overflow: visible; padding: 26px; }
@media (max-width: 520px) { .formcard .mdl-bd { padding: 18px; } }
.regnote { width: min(820px, 100%); margin: 18px auto 0; text-align: center; color: var(--mut); font-size: .9rem; }

/* ---------- form: mode, baris siswa, csv, preview ---------- */
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px; background: #eaf0ff; border: 1px solid #d3e0ff; border-radius: 16px; }
.seg button { display: flex; align-items: center; justify-content: center; gap: 8px; border: 0; background: transparent; color: #4a5b8c; font: inherit; font-weight: 800; font-size: .88rem; padding: 11px 8px; border-radius: 12px; cursor: pointer; }
.seg button.on { background: #fff; color: #1d5bd1; box-shadow: 0 2px 8px rgba(29, 91, 209, .18); }
.seg.sub { grid-template-columns: 1fr 1fr; margin-bottom: 4px; }
.sect { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; border-bottom: 2px solid #e3ebff; margin-top: 10px; }
.sect h3 { margin: 0; font-size: .95rem; text-transform: uppercase; letter-spacing: .06em; color: #0b2a6e; font-weight: 900; }
.sn { width: 28px; height: 28px; border-radius: 9px; background: var(--y); color: var(--ink); display: grid; place-items: center; font-weight: 900; font-size: .85rem; }
.rowsbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.badge { display: inline-block; padding: 4px 12px; border-radius: 999px; background: #e9f0ff; color: #1d5bd1; font-weight: 800; font-size: .76rem; margin: 2px 2px 2px 0; }
.badge.ok { background: #dcfce7; color: #15803d; } .badge.bad { background: #ffe4e6; color: #be123c; }
.srows { display: grid; gap: 12px; }
.srow { position: relative; display: grid; gap: 10px; padding: 14px 14px 14px 46px; border: 1.5px solid #dbe6ff; border-radius: 16px; background: #f8faff; }
.srow.bad { border-color: #fb7185; background: #fff7f8; }
.srow .no { position: absolute; left: 12px; top: 14px; width: 24px; height: 24px; border-radius: 50%; background: #1d5bd1; color: #fff; display: grid; place-items: center; font-size: .72rem; font-weight: 800; }
.srow .fl label.l { margin-bottom: 4px; }
.srow .fi, .srow select { padding: 10px 12px; font-size: .92rem; }
.srow .sx { position: absolute; right: 8px; top: 8px; width: 30px; height: 30px; border-radius: 50%; border: 0; background: #ffe4e6; color: #be123c; cursor: pointer; display: grid; place-items: center; }
.srow .sx svg { width: 16px; height: 16px; }
@media (min-width: 760px) { .srow { grid-template-columns: 1.7fr .9fr 1.2fr; padding-right: 48px; align-items: start; } .srow .sx { top: 34px; } }
.csvbox { border: 2px dashed #9fb8f5; border-radius: 18px; padding: 16px; background: #f3f7ff; display: grid; gap: 12px; }
.csvhd { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px; }
.csvhd p { margin: 4px 0 0; font-size: .85rem; color: #4a5b8c; max-width: 52ch; }
.csvhd .dl { width: 16px; height: 16px; transform: rotate(180deg); }
.hint { margin: 0; font-size: .8rem; color: #6b7aa6; }
.tw { overflow-x: auto; border: 1px solid #dbe6ff; border-radius: 14px; }
.tbl { width: 100%; border-collapse: collapse; font-size: .86rem; min-width: 560px; }
.tbl th { background: #f2f6ff; text-align: left; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: #3a4a7a; padding: 9px 10px; }
.tbl td { padding: 9px 10px; border-top: 1px solid #e8eefc; vertical-align: top; }
.tbl tr.bad td { background: #fff7f8; }
.st.ok { color: #15803d; font-weight: 800; } .st.bad { color: #be123c; font-weight: 700; }
.prev .ph { margin: 0 0 12px; font-size: 1.2rem; text-transform: none; letter-spacing: 0; color: #0b2a6e; }
.prev .box { margin-bottom: 12px; line-height: 1.6; }
.prev .sum { margin: 0 0 12px; }
.mdl .btn[disabled], .btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }

.mono { font-family: ui-monospace, Menlo, Consolas, monospace; font-weight: 800; color: #1d5bd1; }
.card-reg .ch { margin: 16px 0 8px; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: #3a4a7a; font-weight: 900; }
.card-reg { max-width: 760px; }
.card-reg .tbl { min-width: 0; font-size: .8rem; }
.card-reg .tbl th, .card-reg .tbl td { padding: 8px 8px; }
@media (max-width: 640px) { .card-reg .tbl { min-width: 520px; } }
