/* Mobile OTP widget. NOTE: js/otp.js injects the same rules itself, so the widget is styled even if this file is not loaded. */
.otp,.otp *{box-sizing:border-box}
.otp{display:flex;flex-direction:column;gap:8px;width:100%;font-family:inherit}
.otp-numrow{display:flex;gap:8px;align-items:stretch;width:100%}
.otp .otp-pre{flex:0 0 auto;display:flex;align-items:center;justify-content:center;padding:0 12px;min-height:40px;border:1.5px solid var(--brd,#d5dbe6);border-radius:10px;background:var(--inp,#f4f6fa);color:var(--ts,#5b6577);font:inherit;font-size:14px;font-weight:700;line-height:1}
.otp .otp-num{flex:1 1 auto;min-width:0;width:auto!important;margin:0}
.otp .otp-plain{width:100%!important}
.otp .otp-codewrap{display:flex;flex-direction:column;gap:6px;align-items:flex-start;width:100%}
.otp .otp-codewrap[hidden],.otp .otp-btn[hidden],.otp .otp-msg[hidden]{display:none!important}
.otp .otp-code{width:100%!important;margin:0;letter-spacing:.25em;font-weight:600}
.otp .otp-code::placeholder{letter-spacing:normal;font-weight:400}
.otp .otp-lbl{display:block;font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--tp,#1c2433);margin:0}
.otp .otp-btn{flex:0 0 auto;font:inherit;font-size:13px;font-weight:700;line-height:1;padding:0 14px;min-height:36px;border:1.5px solid var(--brd,#d5dbe6);border-radius:10px;background:transparent;color:var(--ac,#2f65a5);cursor:pointer;white-space:nowrap;width:auto}
.otp .otp-btn:hover{background:var(--ag,rgba(79,132,196,.13))}
.otp .otp-resend{min-height:32px;font-size:12px}
.otp .otp-msg{display:flex;align-items:center;gap:8px;padding:8px 12px;border-radius:8px;border-left:3px solid var(--ac,#2f65a5);background:var(--ag,rgba(79,132,196,.13));font-size:12.5px;font-weight:600;line-height:1.4;color:var(--ac,#2f65a5);width:100%;user-select:text}
.otp .otp-msg.ok{border-left-color:var(--ok,#16803c);background:var(--okd,rgba(22,128,60,.1));color:var(--ok,#16803c)}
.otp .otp-msg.bad{border-left-color:var(--err,#c0392b);background:var(--errd,rgba(192,57,43,.1));color:var(--err,#c0392b)}
.otp .otp-spin{flex:0 0 auto;width:12px;height:12px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;display:inline-block;animation:otpspin .7s linear infinite}
@keyframes otpspin{to{transform:rotate(360deg)}}
.otp .otp-rc{height:0;overflow:hidden}
