.sec-input{width:100%;margin:14px 0 6px;box-sizing:border-box;text-align:center}
.sec-msg{min-height:1.3em;margin:0 0 8px;font-size:13px;opacity:.8}
.sec-link{display:block;margin:0 auto 14px;background:none;border:0;color:inherit;opacity:.65;text-decoration:underline;cursor:pointer;font-size:13px}
.sec-link:hover{opacity:1}

/* ── 6-box code input (NeutrumOTP) ─────────────────────────────── */
.otp{display:flex;gap:10px;justify-content:center;max-width:435px}
.otp__cell{
  width:48px;height:58px;min-width:0;padding:0;text-align:center;
  font-family:var(--mono,'JetBrains Mono',monospace);font-size:24px;font-weight:600;line-height:1;
  color:var(--t1,#EDF0FF);caret-color:var(--v-hi,#D7D9DD);
  background:var(--glass,rgba(255,255,255,.03));
  border:1px solid var(--b1,rgba(255,255,255,.1));border-radius:var(--r16,16px);outline:none;
  transition:border-color .2s,background-color .2s,box-shadow .2s,color .2s;
}
.otp__cell:hover{border-color:var(--b2,rgba(255,255,255,.16))}
.otp__cell:focus{border-color:rgba(183,187,194,.55);background:rgba(255,255,255,.05);box-shadow:0 0 0 3px rgba(183,187,194,.09)}
/* result colours fade in slowly, as a left-to-right wave */
.otp--ok .otp__cell,.otp--bad .otp__cell{transition:border-color .55s ease;transition-delay:calc(var(--i) * 45ms)}
.otp--ok .otp__cell{border-color:rgba(34,197,94,.85)}
.otp--bad .otp__cell{border-color:rgba(239,68,68,.85)}
.confirm-modal .otp{margin:16px auto 8px}
.confirm-modal .otp__cell{width:40px;height:50px;font-size:21px;border-radius:12px}
.sec-msg--bad{color:#F87171;opacity:1}
@media (max-width:420px){.otp{gap:7px}.otp__cell{width:42px;height:52px;font-size:21px}.confirm-modal .otp__cell{width:36px;height:46px}}
@media (prefers-reduced-motion:reduce){.otp__cell,.otp--ok .otp__cell,.otp--bad .otp__cell{transition-duration:.01s;transition-delay:0s}}
