.otp-card{position:relative;padding:32px 24px 28px;border:1px solid #292b32;border-radius:24px;background:#14151b;color:#f7f8fc;text-align:center;overflow:hidden;isolation:isolate;box-shadow:0 18px 60px #082f7720;min-height:340px}.otp-card:before{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse at 50% 65%,#16bd6740,transparent 70%);opacity:0;transition:opacity 1s}.otp-card.is-verified:before{opacity:1}.otp-handle{display:block;width:28px;height:3px;background:#393b44;border-radius:3px;margin:-20px auto 24px}.otp-card h1{font-size:1.25rem;color:#fff;margin:0 0 12px}.otp-description{color:#aeb2bf;font-size:.875rem;line-height:1.6;min-height:44px;margin:0}.otp-stage{position:relative;height:76px;width:100%;max-width:340px;margin:24px auto 8px}.otp-cell{position:absolute;left:calc(var(--digit) * (100% + 8px) / 6);width:calc((100% - 40px) / 6);height:52px;top:8px;border:1px solid #363842;border-radius:10px;background:#191b22;transition:left .65s cubic-bezier(.4,0,.2,1),transform .65s,opacity .45s,border-color .4s,box-shadow .5s}.otp-cell:focus-within{border-color:#ee667d;box-shadow:0 0 0 3px #ee667d15}.otp-card .otp-cell input{width:100%;height:100%;padding:0;border:0;border-radius:10px;background:transparent;color:#fff;text-align:center;font-size:1.35rem;font-weight:600;min-width:0;box-shadow:none;outline:0;transition:opacity .25s}.otp-card.is-verifying .otp-cell{animation:otp-pulse 1s ease-in-out infinite;animation-delay:calc(var(--digit) * .08s)}.otp-card.is-merging .otp-cell{left:calc(50% - (100% - 40px) / 12);transform:rotate(0);border-color:#32d98a;box-shadow:0 0 20px #29d17c25}.otp-card.is-merging .otp-cell:not(:first-child){opacity:0}.otp-card.is-merging input{opacity:0}.otp-check{position:absolute;inset:11px;width:calc(100% - 22px);height:30px;opacity:0;fill:none;stroke:#d9ffea;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.otp-check path{stroke-dasharray:1;stroke-dashoffset:1}.is-verified .otp-cell:first-child .otp-check{opacity:1}.is-verified .otp-check path{animation:otp-draw .4s ease-out forwards}.is-verified .otp-cell:first-child{box-shadow:0 0 32px #29d17c50}.otp-error{color:#ff99ab;font-size:.875rem;line-height:1.5;margin:0;min-height:24px}.otp-status{color:#b7eacc;font-size:.875rem;min-height:20px;margin:8px 0}.otp-card .otp-confirm{background:#082f77;border:1px solid #3a60a0;margin:0 auto 12px}.otp-resend{display:flex;justify-content:center;align-items:center;gap:8px;flex-wrap:wrap;color:#aeb2bf;font-size:.875rem}.otp-card #otp-resend{background:transparent;padding:8px 4px;border:0;box-shadow:none;color:#fff;font-size:.875rem}.otp-card #otp-resend:disabled{color:#9297a7}.otp-expiry{font-size:.875rem;color:#aeb2bf;margin:12px 0 0}.otp-continue{margin:16px auto 0}.otp-card [hidden]{display:none!important}.is-invalid .otp-stage{animation:otp-shake .3s ease-in-out}@keyframes otp-pulse{50%{border-color:#789bdf;box-shadow:0 0 10px #789bdf30}}@keyframes otp-draw{to{stroke-dashoffset:0}}@keyframes otp-shake{25%,75%{transform:translate(-4px)}50%{transform:translate(4px)}}@media(max-width:380px){.otp-card{padding:30px 16px 24px}.otp-cell{height:46px}.otp-card .otp-cell input{font-size:1.1rem}.otp-check{inset:8px;width:calc(100% - 16px)}}@media(prefers-reduced-motion:reduce){.otp-card *,.otp-card:before{animation:none!important;transition:none!important}.is-verified .otp-check path{stroke-dashoffset:0}}
