/* DIPAYUDA - Email verification code (OTP) screens: register/verify & verify-email. Uses the tokens of auth.css. */
.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.note.warn{background:#fff8e6;border-color:#f1dfa9;color:#7a5608}
.note.info{background:var(--wash);border-color:#cfe0d8;color:var(--brand-d)}

.otp-badge{width:56px;height:56px;border-radius:16px;background:var(--wash);border:1px solid var(--line);display:grid;place-items:center;margin-bottom:20px}
.otp-badge svg{width:26px;height:26px;stroke:var(--brand);fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.otp-badge .otp-badge-ok{stroke:#e0a423}
.otp-step{margin:0 0 6px;font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--brand)}
.otp-mail{color:var(--ink);font-weight:600;overflow-wrap:anywhere}

.otp-boxes{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin:4px 0 14px;padding:0;border:0;min-width:0}
.otp-boxes input{width:100%;height:60px;padding:0;border:1px solid #d3dfd9;border-radius:12px;background:var(--field);color:var(--ink);
  font:inherit;font-size:26px;font-weight:600;text-align:center;font-variant-numeric:tabular-nums;caret-color:var(--brand);
  transition:border-color .15s,box-shadow .15s,background .15s}
.otp-boxes input:hover{border-color:#b4c9bf}
.otp-boxes input:focus{outline:none;border-color:var(--brand);box-shadow:0 0 0 4px var(--ring);background:#fff}
.otp-boxes input.is-filled{border-color:#9fc7b6;background:#fff}
.otp-boxes.is-bad input{border-color:var(--danger);animation:otp-shake .32s ease-in-out}
.otp-boxes[disabled] input{opacity:.55;cursor:not-allowed}
@keyframes otp-shake{0%,100%{transform:translateX(0)}25%{transform:translateX(-4px)}75%{transform:translateX(4px)}}

.otp-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 22px;min-height:20px}
.otp-timer{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:var(--muted);font-variant-numeric:tabular-nums}
.otp-timer svg{width:15px;height:15px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.otp-timer.is-low{color:var(--warn)}
.otp-timer.is-off{color:var(--danger)}

.otp-form.is-blocked .btn{opacity:.6}
.otp-resend{margin:18px 0 0;font-size:14px;color:var(--muted)}
.otp-resend form{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:0}
.otp-link{background:none;border:0;padding:6px 2px;font:inherit;font-weight:600;color:var(--brand);cursor:pointer;min-height:40px}
.otp-link:hover:not([disabled]){text-decoration:underline;text-underline-offset:3px}
.otp-link[disabled]{color:var(--muted);cursor:default}
.otp-help{margin:6px 0 0;padding-top:16px;border-top:1px solid var(--line);font-size:13px;line-height:1.6;color:var(--muted)}
.otp-help b{color:var(--ink);font-weight:600}

.otp-points{list-style:none;margin:0 0 26px;padding:0;border-top:1px solid var(--line)}
.otp-points li{display:grid;grid-template-columns:20px 1fr;gap:12px;padding:12px 0;border-bottom:1px solid var(--line);font-size:14px;color:var(--muted)}
.otp-points svg{width:18px;height:18px;margin-top:2px;stroke:var(--brand);fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}

/* register form hint */
.otp-note{display:flex;align-items:flex-start;gap:8px;margin:14px 0 0;font-size:13px;line-height:1.5;color:var(--muted)}
.otp-note svg{width:16px;height:16px;flex:none;margin-top:2px;stroke:var(--brand);fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}

@media(max-width:420px){
  .otp-boxes{gap:7px}
  .otp-boxes input{height:54px;font-size:22px;border-radius:10px}
}
@media(prefers-reduced-motion:reduce){.otp-boxes.is-bad input{animation:none}}
