/* Pembayaran: di atas sc.css + beginner-circle/bc.css. */
.by { padding-block: 34px 10px; }
.by-head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 26px; }
.by-head h1 { font-size: clamp(28px, 4.2vw, 44px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.1; max-width: 26ch; }
.by-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px; align-items: start; }
@media (max-width: 900px) { .by-grid { grid-template-columns: minmax(0, 1fr); } }
.by-sum { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 88px); }
@media (max-width: 900px) { .by-sum { position: static; } }
.by-step { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; color: var(--ink); margin-bottom: 14px; }
.by-step .mono { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; background: var(--accent); color: #fff; }
#by-ringkas .by-step { margin-bottom: 0; }

.by-group { border: 0; padding: 0; margin: 0 0 18px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.by-group legend { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; width: 100%; padding: 0; margin-bottom: 10px; }
.by-group legend span { font-weight: 800; color: var(--ink); font-size: 17px; }
.by-group legend a { font-size: 13.5px; font-weight: 600; text-decoration: none; }
.by-opt { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--r-lg); background: var(--surface); border: 1.5px solid var(--line); cursor: pointer; }
.by-opt:hover { border-color: var(--line-strong); }
.by-opt:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.by-opt input { width: 18px; height: 18px; accent-color: var(--accent); margin: 0; }
.by-opt-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.by-opt-t b { color: var(--ink); }
.by-opt-t small, .by-opt-p small { font-size: 13px; color: var(--muted); }
.by-opt-p { display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.by-opt-p b { color: var(--ink); font-size: 17px; }
.by-opt.off { opacity: .75; }
.by-off { color: var(--warn) !important; font-weight: 600; }
.by-methods { margin-top: 8px; }
.by-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.by-chips li { padding: 6px 12px; border-radius: 999px; background: var(--surface-3); font-size: 13.5px; font-weight: 600; color: var(--ink); }

.by-total { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 14px 16px; border-radius: var(--r-md); background: var(--surface-2); border: 1px solid var(--line); }
.by-total span { width: 100%; font-size: 14px; color: var(--muted); }
.by-total b { font-size: 26px; color: var(--ink); }
.by-total small { color: var(--muted); }
.by-warn { padding: 12px 14px; border-radius: var(--r-md); background: var(--warn-bg); color: var(--warn); font-size: 14px; font-weight: 600; }
.by-way, .by-next { display: flex; flex-direction: column; gap: 10px; padding-top: 16px; border-top: 1px solid var(--line); }
.by-way h3, .by-next h3 { font-size: 16px; }
.by-next p { font-size: 14.5px; }
.by-rek { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.by-rek li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--r-md); border: 1px solid var(--line); }
.by-rek li > span:first-child { display: flex; flex-direction: column; min-width: 0; }
.by-rek small { font-size: 12.5px; color: var(--muted); }
.by-rek .mono { color: var(--ink); font-weight: 700; }
.by-qris { width: 100%; max-width: 260px; height: auto; border-radius: var(--r-md); border: 1px solid var(--line); background: #fff; align-self: center; }
.by-opt-p s, .by-total s { font-size: 13px; color: var(--muted); }
.by-info { padding: 12px 14px; border-radius: var(--r-md); background: var(--accent-soft); color: var(--accent); font-size: 14px; font-weight: 600; }

/* formulir pendaftaran */
.by-form { display: flex; flex-direction: column; gap: 14px; }
.by-field { display: flex; flex-direction: column; gap: 6px; }
.by-field label { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.by-field label small { font-weight: 500; color: var(--muted); }
.by-field input, .by-field select, .by-field textarea { width: 100%; padding: 11px 13px; border-radius: var(--r-md); border: 1.5px solid var(--line-strong); background: var(--surface); color: var(--ink); font: 500 15px var(--font-sans); }
.by-field textarea { resize: vertical; min-height: 76px; }
.by-field input:focus, .by-field select:focus, .by-field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.by-form [aria-invalid="true"] { border-color: var(--bad); }
.by-help { font-size: 13px; color: var(--muted); }
.by-check { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; align-items: start; font-size: 14px; color: var(--body); cursor: pointer; }
.by-check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent); }
.by-check input[aria-invalid="true"] { outline: 2px solid var(--bad); outline-offset: 2px; }
.by-err { padding: 10px 12px; border-radius: var(--r-md); background: var(--bad-bg); color: var(--bad); font-size: 14px; font-weight: 600; }
.by-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.by-warn .btn { margin-top: 10px; }
.by-warn { display: flex; flex-direction: column; align-items: flex-start; }
.by-warn a { color: inherit; text-decoration: underline; }

/* konfirmasi pembayaran */
.by-sudah { margin: 12px 4px 0; }
.by-sudah a, .by-next a { color: var(--accent); }
.by-konf { padding-top: 6px; }
.by-konf input[type="file"] { padding: 9px 10px; font-size: 14px; cursor: pointer; }
.by-konf .by-field[hidden] { display: none; }
