/* activation-2fa.css — стили экранов 2FA на странице входа (дополняет activation.css) */
.hidden { display: none !important; }

.tf-h1 { font-size: 21px; font-weight: 700; margin-bottom: 8px; text-align: center; }
.tf-fl { display: block; font-size: 11px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--text2); margin-bottom: 8px; text-align: center; }

/* QR */
.tf-qr { width: 168px; height: 168px; margin: 0 auto 18px; border-radius: 12px;
  background: #fff; display: grid; place-items: center; overflow: hidden; }
.tf-qr img { width: 168px; height: 168px; display: block; }

/* секрет вручную */
.tf-secret-row { display: flex; gap: 8px; margin-bottom: 20px; }
.tf-secret { flex: 1; background: var(--bg); border: 1px solid var(--border); border-radius: 8px;
  color: var(--accent); font-family: 'Inter', monospace; font-size: 15px; letter-spacing: .14em;
  text-align: center; padding: 12px; outline: none; }
.tf-copy { width: 46px; background: var(--bg3); border: 1px solid var(--border); border-radius: 8px;
  color: var(--text2); cursor: pointer; display: grid; place-items: center; transition: all .15s; }
.tf-copy:hover { border-color: var(--accent2); color: var(--accent2); }
.tf-copy svg { width: 17px; height: 17px; }

/* поле кода */
.tf-code { width: 100%; background: var(--bg); border: 1px solid var(--border); border-radius: 8px;
  color: var(--text); padding: 14px 16px; font-family: 'Inter', monospace; font-size: 22px;
  letter-spacing: .5em; text-align: center; outline: none; margin-bottom: 20px; text-indent: .5em; }
.tf-code:focus { border-color: var(--accent); }
.tf-code::placeholder { color: #3c424b; letter-spacing: .3em; }
.tf-code.err { border-color: var(--warn); }

.tf-footlink { text-align: center; margin-top: 18px; font-size: 12.5px; color: var(--text2); }
.tf-footlink a { color: var(--accent2); cursor: pointer; text-decoration: none; }
.tf-footlink a:hover { text-decoration: underline; }

.btn-ghost { background: transparent; border: 1px solid var(--border); color: var(--text2);
  margin-top: 8px; font-weight: 400; }
.btn-ghost:hover { border-color: var(--accent2); color: var(--accent2); }

/* recovery-коды (вариант D) */
.rc-wrap { position: relative; margin-bottom: 14px; }
.rc-mono { background: var(--bg); border: 1px solid var(--border); border-radius: 10px;
  padding: 16px 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 9px 20px; transition: filter .2s; }
.rc-mono.blurred { filter: blur(7px); user-select: none; pointer-events: none; }
.rc-line { display: flex; align-items: center; gap: 10px; font-family: 'Inter', monospace; font-size: 14px; }
.rc-idx { color: var(--text2); font-size: 11px; width: 18px; flex-shrink: 0; text-align: right; opacity: .7; }
.rc-code { color: var(--text); letter-spacing: .08em; }
.rc-reveal { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 8px; }
.rc-reveal.hidden { display: none; }
.rc-reveal-btn { background: var(--bg3); border: 1px solid var(--accent2); border-radius: 9px;
  color: var(--accent2); font-size: 13px; font-weight: 600; padding: 10px 18px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px; font-family: inherit; }
.rc-reveal-btn:hover { background: rgba(91,141,239,.1); }
.rc-reveal-btn svg { width: 15px; height: 15px; }
.rc-reveal-hint { font-size: 11px; color: var(--text2); }

.rc-tools { display: flex; gap: 8px; margin-bottom: 16px; }
.rc-tool { flex: 1; background: var(--bg3); border: 1px solid var(--border); border-radius: 9px;
  color: var(--text2); font-size: 12.5px; padding: 10px; cursor: pointer; display: inline-flex;
  align-items: center; justify-content: center; gap: 7px; transition: all .15s; font-family: inherit; }
.rc-tool:hover { border-color: var(--accent2); color: var(--accent2); }
.rc-tool svg { width: 14px; height: 14px; }

.rc-note-line { font-size: 11.5px; color: var(--text2); line-height: 1.5; margin-bottom: 18px; text-align: center; }