/* InformaMT — Tela de login */
body.login {
	--lhc-marinho: #0A2A6B;
	--lhc-vermelho: #FFCC00;
	font-family: 'Sora', system-ui, sans-serif;
	background: #F3F5FA;
	min-height: 100vh;
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	margin: 0;
	color: #0F1B33;
}
body.login * { box-sizing: border-box; }

/* ---------- painel da marca ---------- */
.lhlogin-marca {
	position: relative; overflow: hidden;
	flex: 1 1 52%; min-height: 100vh;
	background: var(--lhc-marinho); color: #fff;
	display: flex; align-items: center; justify-content: center; padding: 56px;
}
.lhlogin-marca-in { position: relative; z-index: 1; max-width: 460px; }
.lhlogin-logo { display: flex; align-items: center; gap: 16px; }
.lhlogin-logo .lhc-simbolo { --lhc-vermelho: #FFCC00; flex-shrink: 0; }
.lhlogin-nome { font-size: 56px; font-weight: 800; letter-spacing: -3px; line-height: 1; }
.lhlogin-nome b { color: #FFE066; font-weight: 800; }
.lhlogin-slogan { margin: 20px 0 0; font-size: 14px; font-weight: 700; letter-spacing: 4px; text-transform: uppercase; color: #C9D3EE; }
.lhlogin-texto { margin: 28px 0 0; font-size: 18px; line-height: 1.55; color: #DCE4F6; }
.lhlogin-ticker {
	display: inline-flex; align-items: center; gap: 12px; margin-top: 36px;
	background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14);
	padding: 8px 16px 8px 8px; border-radius: 999px; font-size: 13px; font-weight: 600; color: #DCE4F6;
}
.lhlogin-ticker span {
	background: var(--lhc-vermelho); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: 1.5px;
	padding: 5px 10px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px;
}
.lhlogin-ticker span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: lhlogin-pulso 1.4s infinite; }
@keyframes lhlogin-pulso { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
@media (prefers-reduced-motion: reduce) { .lhlogin-ticker span::before { animation: none; } }

/* anéis de "ao vivo" ao fundo, ecoando o ponto do símbolo */
.lhlogin-marca::before, .lhlogin-marca::after {
	content: ""; position: absolute; border-radius: 50%; border: 2px solid rgba(255, 224, 102, .22); pointer-events: none;
}
.lhlogin-marca::before { width: 520px; height: 520px; right: -170px; top: -170px; }
.lhlogin-marca::after { width: 800px; height: 800px; right: -310px; top: -310px; border-color: rgba(255, 224, 102, .12); }
.lhlogin-faixas { position: absolute; left: 0; right: 0; bottom: 0; display: flex; height: 8px; }
.lhlogin-faixas i { flex: 1; background: var(--lhc-vermelho); }
.lhlogin-faixas i:nth-child(2) { background: #fff; opacity: .9; }
.lhlogin-faixas i:nth-child(3) { background: #123C99; }

/* ---------- formulário ---------- */
#login {
	flex: 1 1 48%; width: auto; max-width: none; margin: 0; padding: 48px 24px;
	display: flex; flex-direction: column; justify-content: center; align-items: center;
	background: #fff;
}
#login > * { width: 100%; max-width: 380px; }
#login h1 { margin-bottom: 8px; }
#login h1 a, .login h1 a {
	width: 64px; height: 64px; margin: 0 0 22px; background-size: 64px 64px; background-position: left center;
}
.login-action-login #login h1::after { content: "Acesse o painel"; }
.login-action-lostpassword #login h1::after { content: "Recuperar senha"; }
.login-action-rp #login h1::after, .login-action-resetpass #login h1::after { content: "Criar nova senha"; }
.login-action-register #login h1::after { content: "Criar conta"; }
#login h1::after {
	display: block; font-size: 28px; font-weight: 800; letter-spacing: -1px; color: #0B1530; text-align: left;
}
.login form {
	margin: 18px 0 0; padding: 0; border: 0; box-shadow: none; background: transparent; overflow: visible;
}
.login form .forgetmenot { float: none; margin: 4px 0 18px; }
.login label { font-size: 13px; font-weight: 700; color: #44506A; margin-bottom: 6px; display: inline-block; }
.login form .input, .login input[type="text"], .login input[type="password"], .login input[type="email"] {
	width: 100%; font-family: inherit; font-size: 16px; height: 50px; min-height: 50px; padding: 0 14px; margin: 0 0 16px;
	border: 1px solid #CBD3E4; border-radius: 10px; background: #fff; color: #0F1B33; box-shadow: none;
}
.login form .input:focus, .login input[type="text"]:focus, .login input[type="password"]:focus {
	border-color: var(--lhc-marinho); box-shadow: 0 0 0 3px rgba(10, 42, 107, .15); outline: none;
}
.login .wp-pwd { position: relative; }
.login .wp-pwd .input { padding-right: 52px; }
.login .button.wp-hide-pw { position: absolute; background: transparent; border: 0; height: 50px; min-height: 50px; width: 50px; color: var(--lhc-marinho); top: 0; right: 0; }
.login .button.wp-hide-pw:focus { box-shadow: none; border-color: transparent; }
.login input[type="checkbox"] { border-radius: 4px; border-color: #9AA6C0; }
.login input[type="checkbox"]:checked::before { filter: hue-rotate(180deg); }

.login .button-primary, .login .button.button-primary {
	float: none; width: 100%; height: 52px; min-height: 52px; line-height: 52px; padding: 0;
	font-family: inherit; font-size: 16px; font-weight: 800; letter-spacing: .3px;
	background: var(--lhc-vermelho); border: 0; border-radius: 10px; color: #fff; text-shadow: none; box-shadow: none;
}
.login .button-primary:hover, .login .button-primary:focus { background: #E6B800; color: #fff; }
.login .button-primary:focus { box-shadow: 0 0 0 3px rgba(255, 204, 0, .3); }
.login .submit { margin: 0; }

.login #nav, .login #backtoblog { margin: 18px 0 0; padding: 0; font-size: 14px; text-align: left; }
.login #nav a, .login #backtoblog a { color: var(--lhc-marinho); font-weight: 600; text-decoration: none; }
.login #nav a:hover, .login #backtoblog a:hover { color: var(--lhc-vermelho); text-decoration: underline; }

.login .message, .login .notice, .login .success, .login #login_error {
	border-left: 4px solid var(--lhc-marinho); border-radius: 8px; box-shadow: none; background: #F3F5FA;
	font-size: 14px; margin: 16px 0 0; padding: 12px 14px;
}
.login #login_error { border-left-color: var(--lhc-vermelho); background: #FFF1F1; }
.login .privacy-policy-page-link { margin: 18px 0 0; text-align: left; }

.language-switcher { position: absolute; right: 24px; bottom: 56px; width: auto !important; margin: 0 !important; padding: 0 !important; }
.language-switcher form { margin: 0; }
/* ---------- tablet e celular ---------- */
@media (max-width: 900px) {
	body.login { flex-direction: column; flex-wrap: nowrap; }
	.lhlogin-marca { flex: 0 0 auto; min-height: 0; padding: 32px 24px 40px; justify-content: flex-start; }
	.lhlogin-nome { font-size: 38px; letter-spacing: -2px; }
	.lhlogin-logo .lhc-simbolo { width: 52px; height: 52px; }
	.lhlogin-slogan { margin-top: 12px; font-size: 12px; letter-spacing: 3px; }
	.lhlogin-texto, .lhlogin-ticker { display: none; }
	.lhlogin-marca::before { width: 300px; height: 300px; right: -120px; top: -120px; }
	.lhlogin-marca::after { display: none; }
	#login { flex: 1 0 auto; justify-content: flex-start; padding: 32px 24px 96px; }
	#login h1 a, .login h1 a { display: none; }
	.language-switcher { position: static; margin: 16px auto 0 !important; }
}

/* ---------- reforço: vence estilos de outros plugins de login ---------- */
html body.login #login#login#login form#loginform#loginform,
html body.login #login#login#login form#lostpasswordform#lostpasswordform,
html body.login #login#login#login form#resetpassform#resetpassform,
html body.login #login#login#login form#registerform#registerform {
	background: transparent !important; background-image: none !important;
	border: 0 !important; border-radius: 0 !important; box-shadow: none !important; outline: 0 !important;
	filter: none !important; backdrop-filter: none !important; animation: none !important;
	padding: 0 !important; margin: 18px 0 0 !important;
}
html body.login #login#login#login form::before, html body.login #login#login#login form::after { display: none !important; }
html body.login #login#login#login form label {
	font-family: 'Sora', system-ui, sans-serif !important; font-size: 13px !important; font-weight: 700 !important;
	color: #44506A !important; margin: 0 0 6px !important; text-shadow: none !important; background: none !important;
}
html body.login #login#login#login form .forgetmenot label { font-size: 14px !important; font-weight: 600 !important; margin: 0 !important; }
html body.login #login#login#login form input.input,
html body.login #login#login#login form input[type="text"],
html body.login #login#login#login form input[type="password"],
html body.login #login#login#login form input[type="email"] {
	width: 100% !important; height: 50px !important; min-height: 50px !important; padding: 0 14px !important; margin: 0 0 16px !important;
	font-family: inherit !important; font-size: 16px !important; color: #0F1B33 !important;
	background: #fff !important; border: 1px solid #CBD3E4 !important; border-radius: 10px !important; box-shadow: none !important;
}
html body.login #login#login#login form .wp-pwd input.input { padding-right: 52px !important; }
html body.login #login#login#login form input.input:focus,
html body.login #login#login#login form input[type="text"]:focus,
html body.login #login#login#login form input[type="password"]:focus {
	border-color: #0A2A6B !important; box-shadow: 0 0 0 3px rgba(10, 42, 107, .15) !important; outline: none !important;
}
html body.login #login#login#login form .button.wp-hide-pw {
	position: absolute !important; top: 0 !important; right: 0 !important; width: 50px !important; height: 50px !important; min-height: 50px !important;
	background: transparent !important; border: 0 !important; box-shadow: none !important; color: #0A2A6B !important;
}
html body.login #login#login#login form .forgetmenot { float: none !important; margin: 4px 0 18px !important; display: flex !important; align-items: center; gap: 8px; }
html body.login #login#login#login form input[type="checkbox"] { margin: 0 !important; border: 1px solid #9AA6C0 !important; border-radius: 4px !important; background: #fff !important; box-shadow: none !important; }
html body.login #login#login#login form .submit { margin: 0 !important; padding: 0 !important; }
html body.login #login#login#login form .button-primary {
	float: none !important; width: 100% !important; height: 52px !important; min-height: 52px !important; line-height: 52px !important; padding: 0 !important;
	font-family: inherit !important; font-size: 16px !important; font-weight: 800 !important;
	background: #FFCC00 !important; border: 0 !important; border-radius: 10px !important; color: #fff !important; text-shadow: none !important; box-shadow: none !important;
}
html body.login #login#login#login form .button-primary:hover, html body.login #login#login#login form .button-primary:focus { background: #E6B800 !important; }
html body.login #login#login#login #nav, html body.login #login#login#login #backtoblog { display: block !important; }

.lhlogin-nome i { display: block; font-style: normal; font-weight: 800; font-size: .56em; letter-spacing: -.02em; line-height: 1; margin-bottom: .06em; color: #fff; }
.lhlogin-nome:has(i) { line-height: .9; }
.lhlogin-nome small { display: inline-block; vertical-align: top; font-size: .3em; font-weight: 800; letter-spacing: .5px; line-height: 1; padding: .28em .42em; border-radius: .3em; margin: .12em 0 0 .3em; background: #fff; color: var(--lhc-marinho); }
.lhlogin-logo-img { display: block; height: 96px; width: auto; max-width: 340px; object-fit: contain; }
@media (max-width: 900px) { .lhlogin-logo-img { height: 60px; } }
