/**
 * Booknetic for Theme — Auth Agentech (login / forgot).
 *
 * Rebranding 2026-07-16: as páginas de entrar e recuperar senha herdam a
 * identidade aprovada da página de cadastro (/cadastre-se — plugin
 * booknetic-saas-signup-optimizer, V3 Lateral Premium + ajustes 2.5.3):
 * paleta indigo #514BDF, painel esquerdo em gradiente com título grande,
 * card branco de 424px com a mesma altura do card do cadastro (693px,
 * degraus de 628px/603px em notebooks de tela baixa).
 *
 * Carregado por inc/enqueue.php NO LUGAR do trio auth-v4 nessas rotas
 * (register segue no V4). Escopo: body.bft-auth-agentech.
 */

body.bft-auth-agentech {
	--ag-primary: #514BDF !important;
	--ag-primary-soft: #706AE7 !important;
	--ag-primary-deep: #3B3AA1 !important;
	--ag-ink: #12152F !important;
	--ag-muted: #6F7896 !important;
	--ag-border: #DEE3F0 !important;
	--ag-danger: #D6415D !important;
	--ag-shadow-card: 0 28px 70px rgba(9, 12, 41, .28) !important;
	--ag-shadow-button: 0 16px 34px rgba(81, 75, 223, .30) !important;
	--ag-font: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
	/* Consumido pelo estilizador inline do toggle de senha (page-auth.php). */
	--bft-color-text-muted: #59627C !important;

	margin: 0 !important;
	background: #f1f2f8 !important;
	color: var(--ag-ink) !important;
	font-family: var(--ag-font) !important;
	-webkit-font-smoothing: antialiased !important;
	text-rendering: optimizeLegibility !important;
}

body.bft-auth-agentech::before { content: none !important; }

/* WordPress chrome fora das telas de autenticação. */
body.bft-auth-agentech .site-header,
body.bft-auth-agentech .site-footer,
body.bft-auth-agentech .wp-site-blocks > header,
body.bft-auth-agentech .wp-site-blocks > footer,
body.bft-auth-agentech .skip-link {
	display: none !important;
}

body.bft-auth-agentech .bft-auth,
body.bft-auth-agentech .bft-auth h1,
body.bft-auth-agentech .bft-auth h2,
body.bft-auth-agentech .bft-auth button,
body.bft-auth-agentech .bft-auth input,
body.bft-auth-agentech .bft-auth a {
	font-family: var(--ag-font) !important;
}
body.bft-auth-agentech .bft-auth button,
body.bft-auth-agentech .bft-auth input {
	font-size: inherit !important;
}
body.bft-auth-agentech .bft-auth button { cursor: pointer !important; }

/* ============================================================ */
/* SPLIT                                                         */
/* ============================================================ */

body.bft-auth-agentech .bft-auth__split {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) 460px !important;
	min-height: 100vh !important;
	background: #f1f2f8 !important;
}

/* ============================================================ */
/* PAINEL ESQUERDO                                               */
/* ============================================================ */

body.bft-auth-agentech .bft-auth__brand-panel {
	position: relative !important;
	display: block !important;
	min-height: 100vh !important;
	overflow: hidden !important;
	color: #fff !important;
	background:
		radial-gradient(circle at 82% 7%, rgba(255, 255, 255, .08), transparent 28%),
		linear-gradient(145deg, #3B3AA1 0%, #514BDF 58%, #4439BD 100%) !important;
	isolation: isolate !important;
}

body.bft-auth-agentech .bft-auth__brand-panel::before,
body.bft-auth-agentech .bft-auth__brand-panel::after {
	content: "" !important;
	position: absolute !important;
	border-radius: 50% !important;
	border: 1px solid rgba(255, 255, 255, .10) !important;
	pointer-events: none !important;
	background: none !important;
	animation: none !important;
}
body.bft-auth-agentech .bft-auth__brand-panel::before { width: 520px !important; height: 520px !important; right: -190px !important; top: -170px !important; }
body.bft-auth-agentech .bft-auth__brand-panel::after { width: 420px !important; height: 420px !important; left: -160px !important; bottom: -170px !important; }

body.bft-auth-agentech .bft-bp__inner {
	position: relative !important;
	z-index: 1 !important;
	display: flex !important;
	flex-direction: column !important;
	min-height: 100vh !important;
	width: min(680px, calc(100% - 80px)) !important;
	margin: 0 auto !important;
	padding: 34px 0 !important;
}

body.bft-auth-agentech .bft-bp__logo {
	display: block !important;
	width: 254px !important;
	text-decoration: none !important;
}
body.bft-auth-agentech .bft-bp__logo-img {
	display: block !important;
	width: 100% !important;
	height: auto !important;
	max-height: none !important;
}
body.bft-auth-agentech .bft-bp__logo-name {
	color: #fff !important;
	font-size: 26px !important;
	font-weight: 850 !important;
	letter-spacing: -.02em !important;
}

body.bft-auth-agentech .bft-lp__eyebrow {
	display: flex !important;
	align-items: center !important;
	gap: 10px !important;
	margin-top: 40px !important;
	color: rgba(255, 255, 255, .82) !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	letter-spacing: .17em !important;
	text-transform: uppercase !important;
}
body.bft-auth-agentech .bft-lp__eyebrow-dash {
	width: 18px !important;
	height: 2px !important;
	border-radius: 999px !important;
	background: rgba(255, 255, 255, .45) !important;
}

/* Título ampliado: "Sua agenda continuou" mede ~10,2px por pixel de fonte —
   65px ≈ 663px na coluna de 680px, linha única garantida. */
body.bft-auth-agentech .bft-lp__headline {
	margin: 20px 0 0 !important;
	max-width: 680px !important;
	color: #fff !important;
	font-family: var(--ag-font) !important;
	font-size: clamp(40px, 4.85vw, 65px) !important;
	line-height: 1.05 !important;
	letter-spacing: -.035em !important;
	font-weight: 800 !important;
	text-wrap: balance !important;
}
body.bft-auth-agentech .bft-lp__highlight { color: #C9C3FF !important; }

body.bft-auth-agentech .bft-lp__sub {
	max-width: 44ch !important;
	margin: 18px 0 0 !important;
	color: rgba(255, 255, 255, .88) !important;
	font-size: 18px !important;
	line-height: 1.7 !important;
	text-wrap: pretty !important;
}

body.bft-auth-agentech .bft-lp__trust {
	display: flex !important;
	margin-top: auto !important;
	align-items: center !important;
	gap: 34px !important;
	padding: 22px 0 0 !important;
	border-top: 1px solid rgba(255, 255, 255, .16) !important;
}
body.bft-auth-agentech .bft-lp__trust-item { display: flex !important; align-items: center !important; gap: 9px !important; }
body.bft-auth-agentech .bft-lp__trust-ico { color: rgba(255, 255, 255, .62) !important; display: grid !important; place-items: center !important; }
body.bft-auth-agentech .bft-lp__trust-ico svg { width: 16px !important; height: 16px !important; }
body.bft-auth-agentech .bft-lp__trust-item strong {
	color: rgba(255, 255, 255, .85) !important;
	font-size: 13.5px !important;
	font-weight: 600 !important;
	line-height: 1.35 !important;
	letter-spacing: .01em !important;
}

@keyframes bftLpFade {
	from { opacity: 0; transform: translateY(10px); }
	to { opacity: 1; transform: none; }
}
body.bft-auth-agentech .bft-lp__eyebrow,
body.bft-auth-agentech .bft-lp__headline,
body.bft-auth-agentech .bft-lp__sub {
	animation: bftLpFade .5s cubic-bezier(.22, 1, .36, 1) both !important;
}
body.bft-auth-agentech .bft-lp__headline { animation-delay: .06s !important; }
body.bft-auth-agentech .bft-lp__sub { animation-delay: .12s !important; }

/* ============================================================ */
/* LADO DO FORMULÁRIO                                            */
/* ============================================================ */

body.bft-auth-agentech .bft-auth__form-panel {
	display: flex !important;
	justify-content: center !important;
	align-items: center !important;
	min-height: 100vh !important;
	padding: 18px !important;
	overflow-y: auto !important;
	background:
		radial-gradient(circle at 88% 4%, rgba(112, 106, 231, .09), transparent 25%),
		linear-gradient(180deg, #f6f7fb 0%, #eceef6 100%) !important;
}

/* O card — mesma geometria e altura do card do cadastro (etapa 1). */
body.bft-auth-agentech .bft-auth__form-wrap {
	display: flex !important;
	flex-direction: column !important;
	width: 424px !important;
	max-width: 100% !important;
	min-height: 693px !important;
	padding: 24px 30px 22px !important;
	border: 1px solid rgba(255, 255, 255, .9) !important;
	border-radius: 22px !important;
	background: rgba(255, 255, 255, .96) !important;
	box-shadow: var(--ag-shadow-card) !important;
}

body.bft-auth-agentech .bft-auth__top-row {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 14px !important;
	margin-bottom: 12px !important;
}

body.bft-auth-agentech .bft-auth__area-pill {
	display: inline-flex !important;
	align-items: center !important;
	color: var(--ag-primary-deep) !important;
	font-size: 10px !important;
	font-weight: 800 !important;
	letter-spacing: .055em !important;
	text-transform: uppercase !important;
}

body.bft-auth-agentech .bft-auth__back-home {
	border: 0 !important;
	background: transparent !important;
	color: #66708F !important;
	font-weight: 700 !important;
	font-size: 11px !important;
	padding: 4px 0 !important;
	display: inline-flex !important;
	align-items: center !important;
	gap: 7px !important;
	text-decoration: none !important;
	transition: color .2s !important;
}
body.bft-auth-agentech .bft-auth__back-home:hover { color: var(--ag-primary) !important; }
body.bft-auth-agentech .bft-auth__back-home svg { width: 13px !important; height: 13px !important; }

/* Miolo centralizado: a folga do card divide-se igualmente entre o topo
   (acima do título) e o rodapé (convite de cadastro ancorado embaixo) —
   mesma composição do protótipo aprovado. */
body.bft-auth-agentech .bft-auth__form-header {
	margin: auto 0 0 !important;
	text-align: center !important;
}
body.bft-auth-agentech .bft-auth__form-title {
	margin: 0 !important;
	color: var(--ag-ink) !important;
	font-size: 29px !important;
	line-height: 1.08 !important;
	letter-spacing: -.035em !important;
	font-weight: 800 !important;
}
body.bft-auth-agentech .bft-auth__form-subtitle {
	margin: 7px 0 0 !important;
	color: var(--ag-muted) !important;
	font-size: 12px !important;
	line-height: 1.45 !important;
}

/* Achata os invólucros do plugin: os elementos do formulário viram itens
   diretos do card flex, permitindo o rodapé ancorado e a ordem visual
   CTA → nota → Google → convite. */
body.bft-auth-agentech .bft-auth__form-content,
body.bft-auth-agentech .bookneticsaas_login,
body.bft-auth-agentech .bookneticsaas_forgot_password_form,
body.bft-auth-agentech .bookneticsaas_form {
	display: contents !important;
}

/* Título duplicado do plugin ("Entrar") e afins. */
body.bft-auth-agentech .bookneticsaas_header { display: none !important; }

/* ---------- Campos ---------- */

body.bft-auth-agentech .bookneticsaas_form_element {
	min-width: 0 !important;
	margin-top: 14px !important;
}
body.bft-auth-agentech .bookneticsaas_form_element:first-of-type { margin-top: 20px !important; }

body.bft-auth-agentech .bookneticsaas_form_element label {
	display: flex !important;
	align-items: center !important;
	gap: 4px !important;
	margin-bottom: 5px !important;
	color: #202440 !important;
	font-size: 11px !important;
	font-weight: 760 !important;
}

body.bft-auth-agentech .bookneticsaas_form_element input {
	width: 100% !important;
	height: 43px !important;
	border: 1px solid var(--ag-border) !important;
	border-radius: 10px !important;
	background: #fff !important;
	color: #1A1E3A !important;
	padding: 0 12px !important;
	font-size: 12px !important;
	outline: none !important;
	box-shadow: none !important;
	transition: border-color .2s, box-shadow .2s !important;
}
body.bft-auth-agentech .bookneticsaas_form_element input::placeholder { color: #A0A8BE !important; }
body.bft-auth-agentech .bookneticsaas_form_element input:hover { border-color: #C8CEE0 !important; }
body.bft-auth-agentech .bookneticsaas_form_element input:focus {
	border-color: var(--ag-primary) !important;
	box-shadow: 0 0 0 4px rgba(81, 75, 223, .11) !important;
}

/* Autofill (e-mail/senha salvos) — o bundle main.css pinta o texto
   autopreenchido com `-webkit-text-fill-color: var(--bft-color-text)`, que em
   `body.bft-v4` vale branco (herança do shell V4 escuro). Como este card é
   claro, o e-mail salvo saía branco sobre fundo branco. Forçamos o tom escuro
   do texto digitado (#1A1E3A) e mantemos o campo branco + anel de foco. */
body.bft-auth-agentech .bft-auth__form-content input:-webkit-autofill,
body.bft-auth-agentech .bft-auth__form-content input:-webkit-autofill:hover,
body.bft-auth-agentech .bft-auth__form-content input:-webkit-autofill:active {
	-webkit-text-fill-color: #1A1E3A !important;
	caret-color: #1A1E3A !important;
	-webkit-box-shadow: inset 0 0 0 1000px #fff !important;
	border-color: var(--ag-border) !important;
	-webkit-transition: background-color 5000s ease-in-out 0s !important;
	transition: background-color 5000s ease-in-out 0s !important;
}
body.bft-auth-agentech .bft-auth__form-content input:-webkit-autofill:focus {
	-webkit-text-fill-color: #1A1E3A !important;
	caret-color: #1A1E3A !important;
	-webkit-box-shadow: inset 0 0 0 1000px #fff, 0 0 0 4px rgba(81, 75, 223, .11) !important;
	border-color: var(--ag-primary) !important;
}

body.bft-auth-agentech .bkntc-password-input,
body.bft-auth-agentech .bft-auth__input-wrap {
	position: relative !important;
	display: block !important;
	width: 100% !important;
}
body.bft-auth-agentech .bkntc-password-input input { padding-right: 44px !important; }

/* Um único toggle de senha (o do plugin); o duplicado do V4 some. */
body.bft-auth-agentech .bft-auth__password-toggle:not(.bkntc-toggle-password-visibility) {
	display: none !important;
}
body.bft-auth-agentech .bkntc-toggle-password-visibility:hover { color: var(--ag-primary) !important; opacity: 1 !important; }

/* "Esqueceu a senha?" — linha própria alinhada à direita, sem o ícone "?". */
body.bft-auth-agentech .bookneticsaas_form_element:has(.bookneticsaas_forgot_password) {
	margin-top: 9px !important;
	display: flex !important;
	justify-content: flex-end !important;
}
body.bft-auth-agentech .bookneticsaas_forgot_password {
	display: inline-flex !important;
	align-items: center !important;
	color: var(--ag-primary) !important;
	font-size: 11px !important;
	font-weight: 750 !important;
	text-decoration: none !important;
}
body.bft-auth-agentech .bookneticsaas_forgot_password:hover { text-decoration: underline !important; }
body.bft-auth-agentech .bookneticsaas_forgot_password img { display: none !important; }

/* ---------- CTA ---------- */

body.bft-auth-agentech .bookneticsaas_login_btn,
body.bft-auth-agentech .bookneticsaas_forgot_password_btn,
body.bft-auth-agentech .bft-auth__form-content button[type="submit"] {
	width: 100% !important;
	height: 47px !important;
	margin-top: 14px !important;
	border: 0 !important;
	border-radius: 11px !important;
	color: #fff !important;
	background: linear-gradient(135deg, var(--ag-primary), var(--ag-primary-soft)) !important;
	box-shadow: var(--ag-shadow-button) !important;
	font-weight: 850 !important;
	font-size: 12px !important;
	letter-spacing: .01em !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 9px !important;
	text-transform: none !important;
	transition: transform .18s, box-shadow .18s, filter .18s !important;
}
body.bft-auth-agentech .bookneticsaas_login_btn:hover,
body.bft-auth-agentech .bookneticsaas_forgot_password_btn:hover,
body.bft-auth-agentech .bft-auth__form-content button[type="submit"]:hover {
	transform: translateY(-1px) !important;
	box-shadow: 0 20px 38px rgba(81, 75, 223, .34) !important;
	filter: saturate(1.05) !important;
}

/* ---------- Nota de segurança (inserida pelo template) ---------- */

body.bft-auth-agentech .bft-auth__privacy-note {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 8px !important;
	margin: 12px 0 0 !important;
	color: #8089A2 !important;
	font-size: 10px !important;
	text-align: center !important;
}
body.bft-auth-agentech .bft-auth__privacy-note-ico { display: grid !important; place-items: center !important; }
body.bft-auth-agentech .bft-auth__privacy-note svg { width: 14px !important; height: 14px !important; color: #7882A0 !important; }

/* ---------- "ou" + Google (renderizado quando o OAuth está ativo) ---------- */

body.bft-auth-agentech .bft-auth__social { order: 5 !important; }

body.bft-auth-agentech .bft-auth__divider {
	display: grid !important;
	grid-template-columns: 1fr auto 1fr !important;
	gap: 11px !important;
	align-items: center !important;
	margin: 14px 0 0 !important;
	color: #A0A7B9 !important;
	font-size: 10px !important;
}
body.bft-auth-agentech .bft-auth__divider::before,
body.bft-auth-agentech .bft-auth__divider::after { content: "" !important; height: 1px !important; background: #E3E6EE !important; }

body.bft-auth-agentech .bft-auth__google-button {
	width: 100% !important;
	height: 45px !important;
	margin-top: 12px !important;
	border: 1px solid var(--ag-border) !important;
	border-radius: 11px !important;
	background: #fff !important;
	color: #2A3050 !important;
	font-weight: 750 !important;
	font-size: 12px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 10px !important;
	text-decoration: none !important;
	transition: border-color .2s, box-shadow .2s, transform .18s !important;
}
body.bft-auth-agentech .bft-auth__google-button:hover {
	border-color: #C0BCF2 !important;
	box-shadow: 0 8px 22px rgba(30, 34, 90, .09) !important;
	transform: translateY(-1px) !important;
}
body.bft-auth-agentech .bft-auth__google-mark { display: grid !important; place-items: center !important; }
body.bft-auth-agentech .bft-auth__google-mark svg { width: 17px !important; height: 17px !important; }

/* ---------- Rodapé: "Ainda não tem uma conta?" + "Criar conta grátis" ---------- */

body.bft-auth-agentech .bookneticsaas_footer {
	order: 10 !important;
	margin-top: auto !important;
	padding-top: 13px !important;
	text-align: center !important;
}
body.bft-auth-agentech .bookneticsaas_footer span {
	display: grid !important;
	grid-template-columns: 1fr auto 1fr !important;
	gap: 11px !important;
	align-items: center !important;
	color: #A0A7B9 !important;
	font-size: 10px !important;
}
body.bft-auth-agentech .bookneticsaas_footer span::before,
body.bft-auth-agentech .bookneticsaas_footer span::after { content: "" !important; height: 1px !important; background: #E3E6EE !important; }
body.bft-auth-agentech .bookneticsaas_footer a {
	display: inline-block !important;
	margin-top: 8px !important;
	color: var(--ag-primary) !important;
	font-size: 11px !important;
	font-weight: 800 !important;
	text-decoration: none !important;
}
body.bft-auth-agentech .bookneticsaas_footer a:hover { text-decoration: underline !important; }

/* ============================================================ */
/* RESPONSIVO                                                    */
/* ============================================================ */

@media (max-width: 1120px) {
	body.bft-auth-agentech .bft-auth__split { grid-template-columns: minmax(0, 1fr) minmax(430px, .88fr) !important; }
	body.bft-auth-agentech .bft-bp__inner { width: min(690px, calc(100% - 44px)) !important; }
	body.bft-auth-agentech .bft-lp__headline { font-size: clamp(38px, 4vw, 50px) !important; }
}

@media (max-width: 920px) {
	body.bft-auth-agentech .bft-auth__split { display: block !important; }
	body.bft-auth-agentech .bft-auth__brand-panel { min-height: auto !important; }
	body.bft-auth-agentech .bft-bp__inner {
		min-height: auto !important;
		width: min(680px, calc(100% - 44px)) !important;
		padding: 24px 0 26px !important;
	}
	body.bft-auth-agentech .bft-bp__logo { width: 200px !important; }
	body.bft-auth-agentech .bft-lp__eyebrow { margin-top: 22px !important; font-size: 10.5px !important; letter-spacing: .16em !important; }
	body.bft-auth-agentech .bft-lp__eyebrow-dash { width: 16px !important; }
	body.bft-auth-agentech .bft-lp__headline { margin-top: 9px !important; font-size: 27px !important; line-height: 1.1 !important; letter-spacing: -.03em !important; }
	body.bft-auth-agentech .bft-lp__sub { margin-top: 8px !important; font-size: 12.5px !important; line-height: 1.55 !important; max-width: 60ch !important; color: rgba(255, 255, 255, .8) !important; }
	body.bft-auth-agentech .bft-lp__trust { display: none !important; }

	body.bft-auth-agentech .bft-auth__form-panel { min-height: auto !important; padding: 0 !important; background: #F1F3F9 !important; overflow: visible !important; }
	body.bft-auth-agentech .bft-auth__form-wrap {
		width: 100% !important;
		min-height: 0 !important;
		border-radius: 22px 22px 0 0 !important;
		padding: 26px 22px 25px !important;
		box-shadow: none !important;
		border: 0 !important;
	}
}

@media (max-width: 620px) {
	body.bft-auth-agentech .bft-bp__inner { width: calc(100% - 36px) !important; padding: 20px 0 22px !important; }
	body.bft-auth-agentech .bft-bp__logo { width: 184px !important; }
	body.bft-auth-agentech .bft-auth__form-wrap { padding: 23px 18px 24px !important; }
	body.bft-auth-agentech .bft-auth__form-title { font-size: 27px !important; }
	body.bft-auth-agentech .bft-auth__back-home span { display: none !important; }
}

@media (max-width: 360px) {
	body.bft-auth-agentech .bft-lp__headline { font-size: 23px !important; }
}

/* Notebooks de tela baixa — mesmos degraus do cadastro (v2.5.3). */
@media (min-width: 921px) and (max-height: 760px) {
	body.bft-auth-agentech .bft-auth__form-panel { padding: 10px 18px !important; }
	body.bft-auth-agentech .bft-auth__form-wrap { min-height: 628px !important; padding: 16px 30px 13px !important; }
	body.bft-auth-agentech .bft-auth__top-row { margin-bottom: 7px !important; }
	body.bft-auth-agentech .bft-auth__form-title { font-size: 26px !important; }
	body.bft-auth-agentech .bookneticsaas_form_element:first-of-type { margin-top: 11px !important; }
	body.bft-auth-agentech .bookneticsaas_form_element input { height: 40px !important; }
	body.bft-auth-agentech .bookneticsaas_login_btn,
	body.bft-auth-agentech .bookneticsaas_forgot_password_btn { height: 44px !important; margin-top: 10px !important; }
	body.bft-auth-agentech .bft-auth__google-button { height: 42px !important; margin-top: 10px !important; }
}

@media (min-width: 921px) and (max-height: 660px) {
	body.bft-auth-agentech .bft-auth__form-panel { padding: 8px 18px !important; }
	body.bft-auth-agentech .bft-auth__form-wrap { min-height: 603px !important; padding: 12px 30px 10px !important; }
	body.bft-auth-agentech .bft-auth__top-row { margin-bottom: 5px !important; }
	body.bft-auth-agentech .bft-auth__form-title { font-size: 24px !important; }
	body.bft-auth-agentech .bookneticsaas_form_element:first-of-type { margin-top: 9px !important; }
	body.bft-auth-agentech .bookneticsaas_form_element input { height: 38px !important; }
	body.bft-auth-agentech .bookneticsaas_login_btn,
	body.bft-auth-agentech .bookneticsaas_forgot_password_btn { height: 42px !important; margin-top: 8px !important; }
	body.bft-auth-agentech .bft-auth__google-button { height: 40px !important; margin-top: 8px !important; }
}

@media (prefers-reduced-motion: reduce) {
	body.bft-auth-agentech .bft-lp__eyebrow,
	body.bft-auth-agentech .bft-lp__headline,
	body.bft-auth-agentech .bft-lp__sub { animation: none !important; }
	body.bft-auth-agentech .bookneticsaas_login_btn,
	body.bft-auth-agentech .bookneticsaas_forgot_password_btn,
	body.bft-auth-agentech .bft-auth__google-button { transition: none !important; }
}

/* ============================================================ */
/* RESETS DO LEGADO (main.css compila o shell antigo de auth)    */
/* ============================================================ */

body.bft-auth-agentech .bft-auth {
	padding: 0 !important;
	margin: 0 !important;
	background: transparent !important;
	max-width: none !important;
}

body.bft-auth-agentech .bft-auth__split {
	max-width: none !important;
	max-height: none !important;
	border-radius: 0 !important;
	border: 0 !important;
	box-shadow: none !important;
	overflow: visible !important;
	margin: 0 !important;
}

/* Decorações do painel antigo que não existem na identidade nova. */
body.bft-auth-agentech .bft-auth__topo,
body.bft-auth-agentech .bft-auth__brand-bullets,
body.bft-auth-agentech .bft-auth__mobile-trust,
body.bft-auth-agentech .bft-bp__badge,
body.bft-auth-agentech .bft-bp__trust,
body.bft-auth-agentech .bft-bp__mockups {
	display: none !important;
}

/* ============================================================ */
/* OVERRIDES ANCORADOS EM #primary (vencem o legado com ID)      */
/* ============================================================ */

body.bft-auth-agentech #primary .bookneticsaas_form_element input[type='text'],
body.bft-auth-agentech #primary .bookneticsaas_form_element input[type='password'],
body.bft-auth-agentech #primary .bookneticsaas_form_element input[type='email'] {
	width: 100% !important;
	height: 43px !important;
	min-height: 0 !important;
	border: 1px solid var(--ag-border) !important;
	border-radius: 10px !important;
	background: #fff !important;
	color: #1A1E3A !important;
	padding: 0 12px !important;
	font-size: 12px !important;
	line-height: normal !important;
	box-shadow: none !important;
	outline: none !important;
}
body.bft-auth-agentech #primary .bkntc-password-input input[type='password'],
body.bft-auth-agentech #primary .bkntc-password-input input[type='text'] {
	padding-right: 44px !important;
}
body.bft-auth-agentech #primary .bookneticsaas_form_element input:focus {
	border-color: var(--ag-primary) !important;
	box-shadow: 0 0 0 4px rgba(81, 75, 223, .11) !important;
}
body.bft-auth-agentech #primary .bookneticsaas_form_element label {
	margin: 0 0 5px !important;
	color: #202440 !important;
	font-size: 11px !important;
	font-weight: 760 !important;
	line-height: 1.3 !important;
}
body.bft-auth-agentech #primary .bookneticsaas_form_element {
	margin: 14px 0 0 !important;
	padding: 0 !important;
}
body.bft-auth-agentech #primary .bookneticsaas_form_element:first-of-type { margin-top: 20px !important; }

body.bft-auth-agentech #primary .bft-auth__back-home {
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	padding: 4px 0 !important;
	color: #66708F !important;
	font-size: 11px !important;
	font-weight: 700 !important;
	border-radius: 0 !important;
}
body.bft-auth-agentech #primary .bft-auth__back-home:hover { color: var(--ag-primary) !important; }

body.bft-auth-agentech #primary .bft-auth__privacy-note {
	margin: 12px 0 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	color: #8089A2 !important;
	font-size: 10px !important;
	line-height: 1.4 !important;
}
body.bft-auth-agentech #primary .bft-auth__privacy-note-ico {
	width: auto !important;
	height: auto !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	color: #7882A0 !important;
}

body.bft-auth-agentech #primary .bookneticsaas_forgot_password {
	color: var(--ag-primary) !important;
	font-size: 11px !important;
	font-weight: 750 !important;
	text-decoration: none !important;
}

body.bft-auth-agentech #primary .bookneticsaas_login_btn,
body.bft-auth-agentech #primary .bookneticsaas_forgot_password_btn {
	width: 100% !important;
	height: 47px !important;
	min-height: 0 !important;
	margin: 14px 0 0 !important;
	border: 0 !important;
	border-radius: 11px !important;
	color: #fff !important;
	background: linear-gradient(135deg, var(--ag-primary), var(--ag-primary-soft)) !important;
	box-shadow: var(--ag-shadow-button) !important;
	font-weight: 850 !important;
	font-size: 12px !important;
	text-transform: none !important;
}

body.bft-auth-agentech #primary .bookneticsaas_footer {
	margin-top: auto !important;
	padding: 13px 0 0 !important;
	border: 0 !important;
	background: transparent !important;
}

/* Estrutura do card — o legado estica o wrap até a altura da tela e impede
   o achatamento do form; ancorado em #primary para vencer com folga. */
body.bft-auth-agentech #primary .bft-auth__form-wrap {
	height: auto !important;
	max-height: none !important;
	flex: 0 0 auto !important;
	align-self: center !important;
	min-height: 693px !important;
}
body.bft-auth-agentech #primary .bft-auth__form-content,
body.bft-auth-agentech #primary .bookneticsaas_login,
body.bft-auth-agentech #primary .bookneticsaas_forgot_password_form,
body.bft-auth-agentech #primary .bookneticsaas_form {
	display: contents !important;
}
body.bft-auth-agentech #primary .bft-auth__top-row {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 14px !important;
	margin: 0 0 12px !important;
	padding: 0 !important;
}
body.bft-auth-agentech #primary .bft-auth__top-row .bft-auth__back-home,
body.bft-auth-agentech #primary .bft-auth__area-pill {
	margin: 0 !important;
}
body.bft-auth-agentech #primary .bft-auth__form-header {
	margin: auto 0 0 !important;
	padding: 0 !important;
	text-align: center !important;
}

@media (min-width: 921px) and (max-height: 760px) {
	body.bft-auth-agentech #primary .bft-auth__form-wrap { min-height: 628px !important; }
}
@media (min-width: 921px) and (max-height: 660px) {
	body.bft-auth-agentech #primary .bft-auth__form-wrap { min-height: 603px !important; }
}
@media (max-width: 920px) {
	body.bft-auth-agentech #primary .bft-auth__form-wrap { min-height: 0 !important; align-self: auto !important; }
}

/* Últimos vazamentos pontuais do legado. */
body.bft-auth-agentech #primary .bookneticsaas_forgot_password span {
	color: inherit !important;
	font-size: 11px !important;
	font-weight: 750 !important;
}
body.bft-auth-agentech #primary .bookneticsaas_footer {
	display: block !important;
	text-align: center !important;
}
body.bft-auth-agentech #primary .bookneticsaas_footer span {
	display: grid !important;
	grid-template-columns: 1fr auto 1fr !important;
	gap: 11px !important;
	align-items: center !important;
	color: #A0A7B9 !important;
	font-size: 10px !important;
}
body.bft-auth-agentech #primary .bookneticsaas_footer a {
	display: inline-block !important;
	margin-top: 8px !important;
	color: var(--ag-primary) !important;
	font-size: 11px !important;
	font-weight: 800 !important;
	text-decoration: none !important;
}
body.bft-auth-agentech #primary .bft-auth__privacy-note svg {
	fill: none !important;
	stroke: currentColor !important;
	width: 14px !important;
	height: 14px !important;
}
