.auth-resend[hidden] { display:none!important; }
.auth-resend { width:100%; margin:12px 0 0; padding:10px 12px; border:1px solid rgba(255,255,255,.12); border-radius:11px; color:#c9c6cf; background:rgba(255,255,255,.035); font:600 12px var(--font); cursor:pointer; transition:.2s; }
.auth-resend:hover { border-color:rgba(229,57,53,.48); color:#fff; background:rgba(229,57,53,.08); }
.auth-resend:disabled { opacity:.55; cursor:wait; }
.twofa-overlay { position:fixed; inset:0; z-index:200; display:none; align-items:center; justify-content:center; padding:20px; background:rgba(0,0,0,.74); backdrop-filter:blur(12px); }
.twofa-overlay.open { display:flex; }
.twofa-box { width:min(420px,100%); padding:28px; border:1px solid rgba(255,255,255,.12); border-radius:22px; background:#111116; box-shadow:0 28px 90px rgba(0,0,0,.55); text-align:center; }
.twofa-ic { width:48px; height:48px; display:grid; place-items:center; margin:0 auto 14px; border-radius:15px; background:rgba(229,57,53,.12); font-size:21px; }
.twofa-box h2 { margin:0; color:#f5f3f5; font-size:20px; }
.twofa-box p { margin:10px 0 18px; color:#a6a3ae; font-size:13px; line-height:1.55; }
.twofa-box input { width:100%; padding:14px; border:1px solid rgba(255,255,255,.13); border-radius:12px; background:#09090c; color:#fff; text-align:center; font:700 22px var(--code); letter-spacing:.25em; }
#twofaErr { min-height:20px; margin:8px 0; color:#ff777d; font-size:12px; }
.twofa-box #twofaSubmit { width:100%; min-height:46px; border-radius:11px; color:white; background:#e53935; font-weight:700; cursor:pointer; }
.twofa-box #twofaSubmit:disabled { opacity:.6; cursor:wait; }
.twofa-close { margin-top:12px; color:#92909b; background:transparent; font-size:12px; cursor:pointer; }
