/* 6-box OTP input (fp2-otp.js). The real input stays in the form, visually hidden. */
.fp2-otp-real { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; border: 0 !important; opacity: 0 !important; }
.fp2-otp { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; max-width: 360px; margin: 6px auto 4px; }
.fp2-otp-box {
  width: 100%; aspect-ratio: 1 / 1.15; min-height: 48px; max-height: 64px; padding: 0;
  border: 1.5px solid #cfdae5; border-radius: 8px; background: #fff; color: #0b2a3f;
  font-family: inherit; font-size: 26px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; text-align: center; caret-color: #0c74b0;
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
  -webkit-appearance: none; appearance: none;
}
.fp2-otp-box:focus { outline: none; border-color: #0c74b0; box-shadow: 0 0 0 3px rgba(12, 116, 176, .18); }
.fp2-otp-box.has-val { background: #f3f8fc; }
.fp2-otp.is-full .fp2-otp-box { border-color: #0c74b0; }
.fp2-otp.is-error .fp2-otp-box { border-color: #d9534f; animation: fp2-otp-shake .35s ease; }
@keyframes fp2-otp-shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
@media (max-width: 380px) { .fp2-otp { gap: 7px; } .fp2-otp-box { font-size: 22px; border-radius: 8px; } }
@media (prefers-reduced-motion: reduce) { .fp2-otp-box { transition: none; } .fp2-otp.is-error .fp2-otp-box { animation: none; } }
.fp2-otp-box::selection { background: transparent; }
