﻿.bp-otp-deck{width:min(92vw,450px);max-height:calc(100dvh - 24px);overflow-y:auto;border-radius:24px}
.bp-otp-deck::backdrop{background:rgba(5,7,14,.75)}
.bp-otp-deck .bp-otp-deck__card{margin:0;padding:32px 26px 24px;border:1px solid rgba(255,255,255,.08);border-radius:24px;background:#19191f;color:#f8f9ff;box-shadow:0 24px 75px rgba(0,0,0,.55);text-align:center}
.bp-otp-deck h2{margin:0;font-size:1.55rem;line-height:1.25}
.bp-otp-deck__description{margin:12px auto 26px;max-width:290px;color:#aeb2c3;font-size:.94rem;line-height:1.5}
.bp-otp-deck__input-wrap{position:relative;max-width:340px;margin:0 auto;cursor:text}
.bp-otp-deck__slots{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:clamp(4px,1.6vw,9px)}
.bp-otp-deck__slot{position:relative;display:grid;place-items:center;min-width:0;height:60px;border:1px solid #34384f;border-radius:12px;background:#202331;color:#fff;font-size:1.5rem;font-weight:650;box-shadow:inset 0 2px 8px rgba(0,0,0,.18);transform-origin:50% 320%;transition:border-color .2s,box-shadow .2s}
.bp-otp-deck__slot.is-active{border-color:#829dff;box-shadow:0 0 0 1px rgba(130,157,255,.35),0 0 16px rgba(130,157,255,.32),inset 0 0 12px rgba(130,157,255,.12)}
.bp-otp-deck__slot.is-active:empty::after{content:'';width:2px;height:23px;border-radius:2px;background:#a9baff;box-shadow:0 0 8px #829dff}
.bp-otp-deck__input-wrap input{position:absolute;inset:0;width:100%;height:100%;padding:0;border:0;opacity:0;cursor:text;font-size:16px}
.bp-otp-deck__input-wrap:focus-within .bp-otp-deck__slot.is-active{outline:2px solid #bdcaff;outline-offset:3px}
.bp-otp-deck__slot.is-error{border-color:#e47d86;box-shadow:0 0 12px rgba(228,85,103,.25)}
.bp-otp-deck__slot.is-success{border-color:#6bd4a3;box-shadow:0 0 14px rgba(80,213,149,.3)}
.bp-otp-deck__error{margin:16px 0 0;color:#ffadb3;font-size:.88rem;line-height:1.4}
.bp-otp-deck__error[hidden],.bp-otp-deck__actions [hidden]{display:none}
.bp-otp-deck__resend{margin:24px 0 18px;color:#aeb2c3;font-size:.88rem;line-height:1.4}
.bp-otp-deck__resend button{display:inline;padding:6px 2px;background:transparent;color:#a9baff;font-size:inherit}
.bp-otp-deck__resend button:disabled{color:#8990a8;opacity:1;cursor:default}
.bp-otp-deck__actions{display:grid;gap:9px}
.bp-otp-deck__actions button{min-height:44px}
.bp-otp-deck__actions button[type=submit]{background:#718af4;color:#111424}
.bp-otp-deck__actions .secondary{background:#292c39;color:#e4e7f2}
.bp-otp-deck button:focus-visible{outline:2px solid #bdcaff;outline-offset:3px}
@media(max-width:350px){.bp-otp-deck .bp-otp-deck__card{padding:24px 16px 20px}.bp-otp-deck__slot{height:54px}.bp-otp-deck__description{margin-bottom:20px}}
@media(prefers-reduced-motion:reduce){.bp-otp-deck__slot{transition:none}}
