/* Sign-in security: CAPTCHA widget + 2FA dialog (works on light and dark sign-in screens). */
.sbs-cap { margin: .2rem 0 1rem; text-align: left; }
.sbs-cap-row { display: flex; align-items: center; gap: .6rem; margin-bottom: .55rem; }
.sbs-cap-img { display: block; width: 180px; max-width: 100%; height: 64px; border-radius: 10px; border: 1px solid rgb(148 163 184 / 55%); background: #faf7f2; }
.sbs-cap-q { display: inline-flex; align-items: center; min-height: 48px; padding: 0 1rem; border-radius: 10px; background: #f1f5f9; color: #0f172a; font-weight: 700; font-size: 1.05rem; border: 1px solid rgb(148 163 184 / 55%); }
.sbs-cap-refresh {
	flex: none; width: 40px; height: 40px; padding: 0; border-radius: 50%; border: 1px solid rgb(148 163 184 / 60%);
	background: rgb(255 255 255 / 92%); color: #334155; font-size: 20px; line-height: 1; cursor: pointer;
}
.sbs-cap-refresh:hover { background: #fff; color: #0f172a; }
.sbs-cap-refresh:focus-visible { outline: 3px solid #0ea5e9; outline-offset: 2px; }
.sbs-cap-label { display: block; font-size: 13px; font-weight: 600; }
.sbs-cap-label > span { display: block; margin-bottom: .3rem; opacity: .85; }
.sbs-cap-label input {
	width: 100%; max-width: 260px; min-height: 44px; padding: .55rem .8rem; box-sizing: border-box;
	border: 1px solid #cbd5e1; border-radius: 10px; background: #fff; color: #0f172a; font: inherit; font-size: 16px; letter-spacing: .12em;
}
.sbs-cap-label input:focus { outline: none; border-color: #0ea5e9; box-shadow: 0 0 0 3px rgb(14 165 233 / 25%); }

/* 2FA dialog */
.sbs-tf { position: fixed; inset: 0; z-index: 100000; display: grid; place-items: center; padding: 1rem; background: rgb(8 12 20 / 66%); backdrop-filter: blur(4px); }
.sbs-tf__box {
	width: min(440px, 100%); padding: 1.6rem 1.5rem 1.3rem; border-radius: 18px; background: #fff; color: #0f172a;
	box-shadow: 0 30px 80px rgb(0 0 0 / 45%); font-family: inherit;
}
.sbs-tf__box h2 { margin: 0 0 .5rem; font-size: 1.25rem; line-height: 1.25; color: #0f172a; }
.sbs-tf__sent { margin: 0 0 1rem; color: #475569; font-size: .95rem; line-height: 1.5; }
.sbs-tf__label { display: block; font-size: 13px; font-weight: 600; color: #334155; }
.sbs-tf__label > span { display: block; margin-bottom: .3rem; }
.sbs-tf__code {
	width: 100%; box-sizing: border-box; min-height: 54px; padding: .5rem .8rem; border: 1px solid #cbd5e1; border-radius: 12px;
	background: #fff; color: #0f172a; font: 700 1.6rem/1 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; letter-spacing: .45em; text-align: center;
}
.sbs-tf__code:focus { outline: none; border-color: #0ea5e9; box-shadow: 0 0 0 3px rgb(14 165 233 / 25%); }
.sbs-tf__msg { min-height: 1.3em; margin: .6rem 0 .2rem; color: #b42318; font-size: .9rem; }
.sbs-tf__row { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .6rem; }
.sbs-tf__row button { min-height: 42px; padding: .5rem 1rem; border-radius: 10px; border: 1px solid #cbd5e1; background: #f8fafc; color: #0f172a; font: 600 .92rem/1 inherit; cursor: pointer; }
.sbs-tf__row .sbs-tf__ok { flex: 1 1 100%; min-height: 46px; border-color: #0f766e; background: #0f766e; color: #fff; }
.sbs-tf__row .sbs-tf__ok:disabled { opacity: .6; cursor: default; }
.sbs-tf__row .sbs-tf__resend:disabled { opacity: .55; cursor: default; }
.sbs-tf__row button:focus-visible { outline: 3px solid #0ea5e9; outline-offset: 2px; }
@media (prefers-reduced-motion: no-preference) { .sbs-tf__box { animation: sbs-tf-in .22s ease-out both; } }
@keyframes sbs-tf-in { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
