/*!
 * Checkout styles (slice B): payment-method choice and notices in the builder's review sheet
 * (customize.html) and the crypto confirmation page (checkout-status.html). Uses styles.css tokens.
 */

/* ---------- builder: notice after coming back from the payment page ---------- */
.pay-notice { margin: 14px 0 0; padding: 12px 14px; border-radius: var(--r-sm); font-size: .93rem; font-weight: 600; color: #1E3A8A; background: #EFF6FF; border: 1px solid #DBEAFE; }

/* ---------- review sheet: payment method ---------- */
.pay-methods { margin: 16px 0 0; padding: 0; border: 0; min-width: 0; }
.pay-methods legend { padding: 0; margin-bottom: 6px; font-size: .88rem; font-weight: 600; color: var(--ink-2); }
.pay-opts { display: grid; gap: 8px; }
@media (min-width: 480px) { .pay-opts { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); } }
.pay-opt { position: relative; display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 14px; background: #fff; cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.pay-opt:has(input:checked) { border-color: var(--pink); box-shadow: 0 0 0 4px rgba(225, 48, 108, .12); }
.pay-opt input { width: 18px; height: 18px; margin: 2px 0 0; flex: none; accent-color: var(--pink); }
.pay-opt-text { display: grid; gap: 2px; }
.pay-opt b { font-size: .98rem; color: var(--ink); }
.pay-opt small { font-size: .8rem; line-height: 1.35; color: var(--muted); }
.pay-closed { margin: 16px 0 0; padding: 12px 14px; border-radius: 12px; font-size: .9rem; color: #92400E; background: #FFFBEB; }
.pay-closed a { color: inherit; font-weight: 700; }
.sheet [data-pay-btn][aria-busy="true"] { cursor: progress; }

/* ---------- checkout-status.html ---------- */
.status-card { text-align: center; }
.status-ic { width: 64px; height: 64px; margin: 4px auto 14px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--grad-cta); }
.status-ic .ic { width: 28px; height: 28px; stroke-width: 2.6; }
.status-ic.is-ok { background: var(--green); }
.status-ic.is-bad { background: #F59E0B; }
.status-spin { width: 30px; height: 30px; border: 3px solid rgba(255, 255, 255, .45); border-top-color: #fff; border-radius: 50%; animation: statusSpin .9s linear infinite; }
@keyframes statusSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .status-spin { animation-duration: 3s; } }
.status-card .auth-sub { margin-top: 10px; }
.status-steps { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; text-align: left; font-size: .9rem; color: var(--ink-2); }
.status-steps li { display: flex; gap: 10px; align-items: flex-start; }
.status-steps li::before { content: ""; width: 8px; height: 8px; margin-top: 7px; flex: none; border-radius: 50%; background: var(--line-2); }
.status-steps li.is-done::before { background: var(--green); }
.status-card .btn-block { margin-top: 18px; }
.status-ref { margin: 14px 0 0; font-size: .8rem; color: var(--faint); overflow-wrap: anywhere; }
