/* Pilar Online | Confirmação WhatsApp — etapa 2 de 2, mobile first */
body.po-otp-open{overflow:hidden}
.po-otp-overlay[hidden]{display:none!important}
.po-otp-overlay{position:fixed;inset:0;z-index:15000;display:flex;align-items:center;justify-content:center;overflow-y:auto;overscroll-behavior:contain;padding:18px;background:rgba(20,28,37,.72);backdrop-filter:blur(4px)}
.po-otp-dialog,.po-otp-dialog *{box-sizing:border-box}
.po-otp-dialog{width:min(100%,490px);max-height:calc(100vh - 36px);max-height:calc(100dvh - 36px);overflow-y:auto;margin:auto;padding:30px;border-radius:22px;background:#fff;box-shadow:0 24px 90px rgba(0,0,0,.28);font:400 14px/1.55 Poppins,Arial,sans-serif;color:#25313d;text-align:center}
.po-otp-icon{display:grid;place-items:center;width:62px;height:62px;margin:0 auto 15px;border-radius:19px;background:#e7f5ec;color:#217449}.po-otp-icon svg{width:34px;height:34px}
.po-otp-step{display:block;font-size:11px;font-weight:700;letter-spacing:.1em;color:#C1272D}
.po-otp-dialog h2{font-size:27px;line-height:1.22;letter-spacing:-.035em;font-weight:750;color:#25313d;margin:10px 0}
.po-otp-dialog p{margin:0 0 20px;color:#5e6b78;line-height:1.65;font-size:14px}.po-otp-dialog p strong{color:#25313d}
.po-otp-form{display:grid;gap:10px;margin:0;text-align:left}.po-otp-form label{font-size:14px;font-weight:600;color:#303d49}
.po-otp-form input{display:block;width:100%;min-height:68px;padding:10px 10px 10px 18px;border:1px solid #cbd5de;border-radius:12px;background:#fbfcfd;outline:none;text-align:center;font:700 30px/1.3 Poppins,Arial,sans-serif;letter-spacing:.28em;color:#25313d;font-variant-numeric:tabular-nums}.po-otp-form input::placeholder{color:#8b97a4}.po-otp-form input:focus{border-color:#C1272D;box-shadow:0 0 0 3px rgba(193,39,45,.12)}
.po-otp-form small{font-size:12px;color:#62707d;text-align:center}
.po-otp-primary{width:100%;min-height:55px;border:0;border-radius:11px;background:#C1272D;color:#fff;font:700 14px/1.4 Poppins,Arial,sans-serif;cursor:pointer;padding:12px;margin-top:5px}.po-otp-primary:hover{background:#a52027}
.po-otp-actions{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:5px 16px;margin:13px 0 5px}.po-otp-actions form{margin:0}.po-otp-actions button{min-height:44px;padding:6px 4px;background:none;border:0;color:#a92830;text-decoration:underline;text-underline-offset:3px;font:600 13px Poppins,Arial,sans-serif;cursor:pointer}
.po-otp-dialog button:disabled{opacity:.65;cursor:wait}.po-otp-dialog button:focus-visible{outline:3px solid #e7a37e;outline-offset:2px}
.po-otp-alert{padding:12px;border:1px solid #f2c5c6;background:#fff3f3;border-radius:10px;text-align:left;color:#a21f29;font-size:13px;margin:0 0 16px}
.po-otp-dialog .po-otp-security{border-top:1px solid #e9edf1;padding-top:13px;margin:0;color:#63717d;font-size:12px;line-height:1.5}
@media(max-width:480px){.po-otp-overlay{padding:12px}.po-otp-dialog{padding:24px 18px;border-radius:17px;max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px)}.po-otp-dialog h2{font-size:24px}.po-otp-form input{min-height:62px;font-size:27px}.po-otp-dialog p{font-size:13px}.po-otp-actions{gap:4px 10px}}

/* V5 — resposta visual imediata; sem animação de entrada que retarde o modal. */
.po-register #poRegisterAlert[hidden],.po-otp-dialog [hidden]{display:none!important}
.po-otp-overlay{backdrop-filter:none;-webkit-backdrop-filter:none}
.po-otp-spinner{width:58px;height:58px;margin:0 auto 18px;border:4px solid #f3e6e6;border-top-color:#C1272D;border-radius:50%;animation:po-otp-spin .85s linear infinite}
@keyframes po-otp-spin{to{transform:rotate(360deg)}}
.po-otp-dialog h2:focus{outline:none}
.po-otp-recovery{display:grid;gap:8px;margin:0 0 16px}
.po-otp-recovery-link{display:flex;justify-content:center;align-items:center;text-decoration:none;color:#fff}
.po-otp-recovery-link:hover{color:#fff}
.po-otp-recovery-back{min-height:44px;border:0;background:transparent;color:#a92830;font:600 13px Poppins,Arial,sans-serif;text-decoration:underline;cursor:pointer}
@media(prefers-reduced-motion:reduce){.po-otp-spinner{animation:none;border-color:#e7c9cb;border-top-color:#C1272D}}
