/**
 * Tela de login — FORMULÁRIO à esquerda (painel branco com divisória curva) +
 * HERO temático à direita (paleta do sistema: badges de conformidade, painel
 * de vidro "tempo real", skyline animado). Elegante, animado e responsivo.
 */

:root { --fst-login-primary: #3B82F6; --fst-login-secondary: #06B6D4; }

body.login.fst-login-page {
	margin: 0;
	min-height: 100vh;
	font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	color: #0F172A;
	background:
		radial-gradient(circle at 100% 100%, rgba(3, 10, 50, .38) 0%, rgba(3, 10, 50, 0) 55%),
		radial-gradient(circle at 86% 12%, rgba(255, 255, 255, .10) 0%, rgba(255, 255, 255, 0) 44%),
		linear-gradient(140deg, var(--fst-login-primary) 0%, var(--fst-login-secondary) 135%);
}

/* Só o logo (filho direto de #login). Combinador descendente esconderia também
   o h1.admin-email__heading, que o core aninha no form em confirm_admin_email. */
body.login.fst-login-page #login > h1 { display: none; }

/* ---------------------------------------------------------------- *
 * Animações (o bloco prefers-reduced-motion no fim desliga tudo)
 * ---------------------------------------------------------------- */
@keyframes fstIn    { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fstFade  { from { opacity: 0; } to { opacity: 1; } }
@keyframes fstGrow  { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes fstPulse {
	0%   { box-shadow: 0 0 0 0 rgba(110, 231, 183, .45); }
	70%  { box-shadow: 0 0 0 8px rgba(110, 231, 183, 0); }
	100% { box-shadow: 0 0 0 0 rgba(110, 231, 183, 0); }
}
@keyframes fstGlow  { from { opacity: .65; } to { opacity: 1; } }
@keyframes fstDraw  { to { stroke-dashoffset: 0; } }

/* ---------------------------------------------------------------- *
 * Painel ESQUERDO — formulário (branco, borda direita curva)
 * ---------------------------------------------------------------- */
/* Folha "fantasma" atrás do painel branco: mesma curva, deslocada — dá
   profundidade de papel empilhado ao recorte. */
body.login.fst-login-page::before {
	content: "";
	position: fixed;
	left: 0; top: 0; bottom: 0;
	width: 40%;
	background: rgba(255, 255, 255, .20);
	clip-path: ellipse(74% 135% at 22% 50%);
	transform: translateX(20px);
	z-index: 1;
	pointer-events: none;
}
body.login.fst-login-page #login {
	position: fixed;
	left: 0; top: 0; bottom: 0;
	width: 40%;
	z-index: 2;
	box-sizing: border-box;
	background: #fff;
	clip-path: ellipse(74% 135% at 22% 50%);
	filter: drop-shadow(24px 0 42px rgba(15, 23, 42, .18));
	display: flex;
	flex-direction: column;
	/* "safe center" nunca empurra o topo para fora da área rolável; overflow-y:auto
	   deixa telas altas (resetpass com medidor de força, register, muitos erros)
	   roláveis em vez de cortar o cabeçalho de forma inalcançável. */
	justify-content: safe center;
	/* coluna do form centralizada no painel branco (não colada à esquerda) */
	align-items: center;
	overflow-y: auto;
	padding: 44px clamp(24px, 4vw, 64px);
}
body.login.fst-login-page #login > * { width: 100%; max-width: 380px; box-sizing: border-box; }

/* Marca + boas-vindas */
.fst-login-brandrow { display: flex; align-items: center; gap: 10px; margin: 0 0 24px; animation: fstIn .5s .05s both; }
.fst-login-brandrow-ic { width: 34px; height: 34px; border-radius: 9px; background: #EEF4FF; background: color-mix(in srgb, var(--fst-login-primary) 12%, #fff); display: flex; align-items: center; justify-content: center; flex: none; }
.fst-login-brandrow-ic svg { width: 19px; height: 19px; color: var(--fst-login-primary); }
.fst-login-brandrow-ic img { width: 26px; height: 26px; border-radius: 5px; object-fit: contain; }
.fst-login-brandrow-tx { font-size: 16px; font-weight: 700; color: #0F172A; }

.fst-login-welcome { animation: fstIn .5s .1s both; }
.fst-login-welcome span { color: #64748B; font-size: 15px; }
.fst-login-welcome h2 {
	font-size: clamp(26px, 3vw, 34px);
	font-weight: 800;
	margin: 2px 0 0;
	line-height: 1.12;
	letter-spacing: -.01em;
	background: linear-gradient(115deg, #0F172A 38%, var(--fst-login-primary) 78%, var(--fst-login-secondary) 105%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: var(--fst-login-primary); /* fallback */
}
.fst-login-welcome-sub { color: #94A3B8; font-size: 12.5px; margin: 6px 0 0; }

/* Selo de confiança (LAI/LGPD) sob o título */
.fst-login-trust { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; color: #94A3B8; font-size: 12px; font-weight: 500; animation: fstIn .5s .15s both; }
.fst-login-trust svg { width: 15px; height: 15px; flex: none; color: #10B981; }

/* Card do formulário (login, perdeu a senha, redefinir e registro) */
body.login.fst-login-page #login form {
	background: #fff;
	border: 1px solid rgba(15, 23, 42, .09);
	border-radius: 16px;
	box-shadow: 0 12px 34px -20px rgba(15, 23, 42, .22);
	padding: 22px 22px 24px;
	margin: 22px 0 0;
	overflow: visible;
	animation: fstIn .5s .2s both;
}
/* Preserva o "tremor" de erro do core: a animação fstIn (com ID) venceria
   .login form.shake, então redeclaramos o shake com especificidade maior. */
body.login.fst-login-page #login form.shake { animation: shake .2s cubic-bezier(.19, .49, .38, .79) both; animation-iteration-count: 3; }
body.login.fst-login-page #login form p { margin: 0 0 16px; }
body.login.fst-login-page #login form label { color: #475569; font-size: 12.5px; font-weight: 600; letter-spacing: .01em; }

/* Inputs sublinhados, com ícone à esquerda */
body.login.fst-login-page #login form input[type="text"],
body.login.fst-login-page #login form input[type="password"],
body.login.fst-login-page #login form input[type="email"],
body.login.fst-login-page #login form .input {
	width: 100%;
	box-sizing: border-box;
	border: 0;
	border-bottom: 1.5px solid #E2E8F0;
	border-radius: 0;
	padding: 9px 2px;
	margin: 4px 0 0;
	font-size: 15px;
	background-color: transparent;
	color: #0F172A;
	box-shadow: none;
	transition: border-color .15s ease;
}
/* outline:none só nos campos de texto (o sublinhado colorido é o indicador);
   NUNCA no submit/checkbox, que dependem do anel de foco do teclado. */
body.login.fst-login-page #login form input[type="text"]:focus,
body.login.fst-login-page #login form input[type="password"]:focus,
body.login.fst-login-page #login form input[type="email"]:focus,
body.login.fst-login-page #login form .input:focus {
	border-bottom-color: var(--fst-login-primary);
	/* brilho suave sob o sublinhado no foco */
	box-shadow: 0 10px 16px -14px color-mix(in srgb, var(--fst-login-primary) 65%, transparent);
	outline: none;
}
body.login.fst-login-page #login form input#user_login,
body.login.fst-login-page #login form input#user_email {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 20.5c0-3.6 3.6-6 8-6s8 2.4 8 6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: 2px center;
	background-size: 17px;
	padding-left: 28px;
}
body.login.fst-login-page #login form input#user_pass,
body.login.fst-login-page #login form input#pass1,
body.login.fst-login-page #login form input#pass2 {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='11' width='16' height='9' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: 2px center;
	background-size: 17px;
	padding-left: 28px;
}
body.login.fst-login-page #login form input:-webkit-autofill {
	-webkit-box-shadow: 0 0 0 40px #fff inset;
	-webkit-text-fill-color: #0F172A;
}
body.login.fst-login-page #login form .wp-pwd { position: relative; }
body.login.fst-login-page #login form .wp-pwd input { padding-right: 40px; }
body.login.fst-login-page #login form .wp-pwd .button {
	/* top:4px + min-*:0 sobrescrevem o core (top:0 + min 40px), senão bottom:4px
	   e o tamanho 34px eram ignorados. top (não bottom) mantém o olho acima do
	   #pass-strength-result no resetpass. */
	position: absolute; right: 0; top: 4px; height: 34px; width: 34px;
	min-width: 0; min-height: 0; line-height: 1;
	background: transparent; border: 0; box-shadow: none; color: #94A3B8;
	display: flex; align-items: center; justify-content: center;
}
body.login.fst-login-page #login form .wp-pwd .button:hover { color: var(--fst-login-primary); }
body.login.fst-login-page #login #pass-strength-result { border-radius: 8px; font-size: 12px; }

/* "Lembrar-me" com checkbox customizado.
   Seletor com #login form (1 ID) para vencer a regra genérica `#login form p`. */
body.login.fst-login-page #login form .forgetmenot { float: none; margin: 4px 0 18px; }
body.login.fst-login-page .forgetmenot label { display: inline-flex; align-items: center; color: #64748B; font-weight: 500; font-size: 13px; cursor: pointer; }
body.login.fst-login-page #login form input[type="checkbox"] {
	appearance: none;
	-webkit-appearance: none;
	width: 17px; height: 17px;
	border: 1.5px solid #CBD5E1;
	border-radius: 5px;
	background: #fff;
	margin: 0 8px 0 0;
	position: relative;
	flex: none;
	cursor: pointer;
	transition: background .15s ease, border-color .15s ease;
}
body.login.fst-login-page #login form input[type="checkbox"]:checked {
	background: var(--fst-login-primary);
	border-color: var(--fst-login-primary);
}
/* Anula o Dashicon de check do core (::before), senão apareceriam dois checks. */
body.login.fst-login-page #login form input[type="checkbox"]:checked::before { content: none; }
body.login.fst-login-page #login form input[type="checkbox"]:checked::after {
	content: "";
	position: absolute;
	left: 4.5px; top: 1.5px;
	width: 4px; height: 8px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	transform: rotate(43deg);
}
body.login.fst-login-page #login form input[type="checkbox"]:focus-visible {
	outline: 2px solid var(--fst-login-primary);
	outline-offset: 2px;
}

/* Botão principal, com seta que avança no hover.
   float:none — o core flutua o botão e o p.submit colapsa (altura 0),
   o que jogaria a seta (top:50%) para fora do botão. */
body.login.fst-login-page #login form p.submit { position: relative; clear: both; margin: 4px 0 0; }
body.login.fst-login-page #wp-submit {
	float: none;
	width: 100%;
	height: auto;
	/* neutraliza o line-height 2.923 de .wp-core-ui .button (senão ~68px de alto) */
	line-height: 1.2;
	padding: 13px 20px;
	border: 0;
	border-radius: 11px;
	background: linear-gradient(135deg, var(--fst-login-primary) 0%, var(--fst-login-secondary) 130%);
	color: #fff;
	font-weight: 700;
	font-size: 14.5px;
	letter-spacing: .03em;
	text-transform: uppercase;
	text-shadow: none;
	box-shadow: 0 10px 22px -10px rgba(37, 99, 235, .5);
	box-shadow: 0 10px 22px -10px color-mix(in srgb, var(--fst-login-primary) 70%, transparent);
	cursor: pointer;
	transition: transform .12s ease, box-shadow .15s ease, filter .15s ease;
}
body.login.fst-login-page #wp-submit:hover { transform: translateY(-1px); filter: brightness(1.05); }
body.login.fst-login-page #wp-submit:focus-visible { outline: 2px solid #0F172A; outline-offset: 3px; }
body.login.fst-login-page p.submit::after {
	content: "\2192";
	position: absolute;
	right: 18px; top: 50%;
	transform: translateY(-50%);
	color: rgba(255, 255, 255, .9);
	font-size: 16px;
	font-weight: 700;
	pointer-events: none;
	transition: transform .15s ease;
}
body.login.fst-login-page p.submit:hover::after { transform: translateY(-50%) translateX(3px); }

/* Links auxiliares */
body.login.fst-login-page #nav { text-align: center; margin: 16px 0 4px; padding: 0; animation: fstFade .6s .3s both; }
body.login.fst-login-page #nav a { color: var(--fst-login-primary); font-weight: 600; font-size: 13px; }
body.login.fst-login-page #backtoblog { text-align: center; padding: 0; animation: fstFade .6s .34s both; }
body.login.fst-login-page #backtoblog a { color: #94A3B8; font-size: 12.5px; }
body.login.fst-login-page .privacy-policy-page-link { text-align: center; margin: 12px 0 0; font-size: 12px; }
body.login.fst-login-page #login a:focus-visible { outline: 2px solid var(--fst-login-primary); outline-offset: 2px; border-radius: 4px; }

/* Mensagens e erros */
body.login.fst-login-page #login .message,
body.login.fst-login-page #login .notice,
body.login.fst-login-page #login #login_error {
	border-radius: 10px;
	border: 1px solid #DBE4FF;
	border-left: 4px solid var(--fst-login-primary);
	background: #F1F5FF;
	color: #1E3A8A;
	box-shadow: none;
	font-size: 13px;
	padding: 11px 13px;
	margin: 14px 0 0;
}
body.login.fst-login-page #login #login_error { border-color: #FECACA; border-left-color: #EF4444; background: #FEF2F2; color: #991B1B; }

/* Seletor de idioma — pill discreto no rodapé do painel branco.
   O pill vai no #language-switcher (o próprio <form>): o core declara
   `#language-switcher{background:none;border:none;...}` com 1 ID, que venceria
   um seletor só de classe. O wrapper zera o padding-bottom:24px do core. */
body.login.fst-login-page .language-switcher { position: fixed; left: clamp(38px, 6vw, 96px); bottom: 18px; z-index: 6; margin: 0; padding: 0; }
body.login.fst-login-page #language-switcher {
	display: flex;
	align-items: center;
	gap: 4px;
	background: #fff;
	border: 1px solid rgba(15, 23, 42, .10);
	border-radius: 999px;
	padding: 5px 6px 5px 12px;
	box-shadow: 0 8px 20px -12px rgba(15, 23, 42, .3);
	margin: 0;
}
body.login.fst-login-page .language-switcher label { display: flex; align-items: center; margin: 0; }
body.login.fst-login-page .language-switcher .dashicons { color: #94A3B8; font-size: 16px; width: 16px; height: 16px; }
body.login.fst-login-page .language-switcher select {
	/* appearance:auto restaura a setinha nativa (o core a pintava via background,
	   que zeramos); min-height:0 tira os 40px do core p/ caber no pill compacto. */
	appearance: auto;
	-webkit-appearance: auto;
	border: 0;
	background: transparent;
	font-family: inherit;
	font-size: 12.5px;
	font-weight: 600;
	line-height: 1.4;
	min-height: 0;
	color: #475569;
	max-width: 170px;
	padding: 2px 0 2px 2px;
	cursor: pointer;
}
body.login.fst-login-page .language-switcher select:focus { outline: none; color: var(--fst-login-primary); }
body.login.fst-login-page .language-switcher input[type="submit"] {
	border: 0;
	border-radius: 999px;
	background: #EEF4FF;
	background: color-mix(in srgb, var(--fst-login-primary) 10%, #fff);
	color: var(--fst-login-primary);
	font-family: inherit;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	min-height: 0;
	padding: 5px 12px;
	cursor: pointer;
	transition: background .15s ease;
}
body.login.fst-login-page .language-switcher input[type="submit"]:hover {
	background: color-mix(in srgb, var(--fst-login-primary) 18%, #fff);
}

/* ---------------------------------------------------------------- *
 * Painel DIREITO — hero temático (sobre o portal + recursos + vidro)
 * ---------------------------------------------------------------- */
.fst-login-hero {
	position: fixed;
	right: 0; top: 0; bottom: 0;
	width: 60%;
	z-index: 0;
	box-sizing: border-box;
	color: #fff;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	padding: 6vh clamp(36px, 4vw, 72px) 0 clamp(52px, 7vw, 130px);
}

/* Miolo em 2 colunas: texto à esquerda, dashboard à direita, centrado na vertical */
.fst-hero-inner {
	position: relative;
	z-index: 1;
	flex: 1 1 auto;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
	gap: clamp(28px, 3.5vw, 64px);
	align-items: center;
	align-content: center;
	width: 100%;
	max-width: 1000px;
}

/* Textura de pontos, esvanecendo para a esquerda */
.fst-login-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	background-image: radial-gradient(rgba(255, 255, 255, .15) 1px, transparent 1.4px);
	background-size: 26px 26px;
	-webkit-mask-image: linear-gradient(115deg, transparent 12%, rgba(0, 0, 0, .45) 50%, rgba(0, 0, 0, .9) 100%);
	mask-image: linear-gradient(115deg, transparent 12%, rgba(0, 0, 0, .45) 50%, rgba(0, 0, 0, .9) 100%);
	pointer-events: none;
}

/* Brilhos suaves */
.fst-hero-glow { position: absolute; z-index: 0; border-radius: 50%; pointer-events: none; filter: blur(64px); }
.fst-hero-glow-a { width: 440px; height: 440px; right: -130px; top: -150px; background: rgba(255, 255, 255, .16); animation: fstGlow 11s ease-in-out infinite alternate; }
.fst-hero-glow-b { width: 560px; height: 560px; left: -160px; bottom: -220px; background: rgba(1, 25, 48, .28); }

.fst-hero-watermark {
	position: absolute; top: -6px; right: 22px; z-index: 0;
	font-size: clamp(60px, 8vw, 104px); font-weight: 800; letter-spacing: -.02em;
	color: rgba(255, 255, 255, .07); white-space: nowrap; pointer-events: none; user-select: none;
}

.fst-hero-info { position: relative; z-index: 1; max-width: 480px; animation: fstIn .6s .15s both; }
.fst-hero-visuals { position: relative; z-index: 1; animation: fstIn .6s .25s both; }
.fst-hero-info h3 { display: flex; align-items: center; gap: 10px; font-size: clamp(19px, 2vw, 23px); font-weight: 800; margin: 24px 0 12px; color: #fff; }
.fst-hero-info h3::before { content: ""; width: 22px; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .55); flex: none; }
.fst-hero-info h3:first-child { margin-top: 0; }
.fst-hero-info p { color: rgba(255, 255, 255, .82); font-size: 14px; line-height: 1.7; margin: 0 0 16px; }

/* Badges de conformidade */
.fst-hero-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 6px; }
.fst-hero-badge {
	display: inline-flex;
	align-items: center;
	padding: 5px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .12);
	border: 1px solid rgba(255, 255, 255, .22);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: .02em;
	color: rgba(255, 255, 255, .92);
	white-space: nowrap;
}

/* Recursos com tiles de ícone */
.fst-hero-feats { list-style: none; margin: 0; padding: 0; }
.fst-hero-feats li { display: flex; gap: 13px; align-items: flex-start; margin-bottom: 14px; }
.fst-feat-ic {
	width: 38px; height: 38px; flex: none;
	border-radius: 11px;
	background: rgba(255, 255, 255, .12);
	border: 1px solid rgba(255, 255, 255, .20);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
	display: flex; align-items: center; justify-content: center;
}
.fst-feat-ic svg { width: 19px; height: 19px; color: #fff; }
.fst-feat-tx strong { display: block; font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 2px; }
.fst-feat-tx em { font-style: normal; font-size: 13px; line-height: 1.55; color: rgba(255, 255, 255, .78); }

/* Painel de vidro decorativo — mini-dashboard "execução orçamentária".
   Sem animação de transform no contêiner: o backdrop-filter interno teria
   que re-desfocar o fundo a cada frame (caro em GPU fraca). */
.fst-hero-board { position: relative; z-index: 1; }
.fst-board-back {
	position: absolute;
	left: 14px; right: -12px; top: 12px; bottom: -12px;
	border-radius: 18px;
	background: rgba(255, 255, 255, .07);
	border: 1px solid rgba(255, 255, 255, .14);
	transform: rotate(2deg);
	animation: fstFade .6s .3s both;
}
.fst-board-front {
	position: relative;
	border-radius: 18px;
	background: rgba(255, 255, 255, .11);
	border: 1px solid rgba(255, 255, 255, .24);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	box-shadow: 0 24px 54px -26px rgba(2, 20, 40, .6);
	padding: 15px 16px 13px;
	animation: fstIn .6s .28s both;
}
.fst-board-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 4px; }
.fst-board-title { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; color: #fff; letter-spacing: .01em; }
.fst-board-live { width: 7px; height: 7px; border-radius: 50%; background: #6EE7B7; flex: none; animation: fstPulse 2.2s infinite; }
.fst-board-trend {
	display: inline-flex; align-items: center; gap: 5px;
	padding: 3px 9px; border-radius: 999px;
	background: rgba(110, 231, 183, .16);
	border: 1px solid rgba(110, 231, 183, .3);
	font-size: 10.5px; font-weight: 700; letter-spacing: .02em; color: #A7F3D0;
	white-space: nowrap;
}
.fst-board-trend svg { width: 12px; height: 12px; }

/* Gráfico SVG */
.fst-board-svg { display: block; width: 100%; height: 108px; margin: 8px 0 6px; overflow: visible; }
.fst-board-lbl { font-size: 9px; font-weight: 600; fill: rgba(255, 255, 255, .55); }
.fst-board-svg .fst-bar { transform-box: fill-box; transform-origin: bottom; animation: fstGrow .75s cubic-bezier(.22, .9, .34, 1) both; }
.fst-board-svg .fst-bar-d { fill: rgba(255, 255, 255, .34); }
.fst-board-svg .fst-bar-r { fill: rgba(255, 255, 255, .95); }
.fst-board-svg .fst-bar-r:nth-of-type(4n+2) { animation-delay: .30s; }
.fst-board-svg .fst-bar-r:nth-of-type(4n+4) { animation-delay: .42s; }
.fst-board-svg .fst-bar-d { animation-delay: .18s; }
.fst-board-line { stroke-dasharray: 300; stroke-dashoffset: 300; animation: fstDraw 1.1s .5s ease forwards; }
.fst-board-node { opacity: 0; animation: fstFade .4s .9s both; }

.fst-board-meta { display: flex; align-items: center; gap: 16px; font-size: 11.5px; color: rgba(255, 255, 255, .8); }
.fst-board-meta i { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 6px; background: #fff; }
.fst-board-meta .fst-dot-b { opacity: .38; }

/* Números-chave sob o board */
.fst-hero-metrics { display: flex; gap: 10px; margin: 16px 0 0; }
.fst-metric {
	flex: 1; text-align: center;
	padding: 12px 8px;
	border-radius: 13px;
	background: rgba(255, 255, 255, .09);
	border: 1px solid rgba(255, 255, 255, .16);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
}
.fst-metric strong { display: block; font-size: 21px; font-weight: 800; color: #fff; line-height: 1; letter-spacing: -.01em; }
.fst-metric span { display: block; margin-top: 4px; font-size: 10.5px; font-weight: 500; color: rgba(255, 255, 255, .72); }

/* Curva de dados decorativa no rodapé (tema monitoramento/PNTP) */
.fst-hero-scene { position: relative; z-index: 1; margin-top: auto; width: 100%; min-height: 0; pointer-events: none; }
.fst-hero-scene svg { width: 100%; height: auto; max-height: 24vh; display: block; }

/* Em telas mais estreitas (mas ainda desktop), colapsa p/ 1 coluna e recolhe
   o dashboard — o texto sozinho já preenche bem. */
@media (max-width: 1280px) {
	.fst-hero-inner { grid-template-columns: 1fr; max-width: 520px; }
	.fst-hero-visuals { display: none; }
}
/* Em telas baixas, recolhe os números-chave para não espremer o resto. */
@media (max-height: 780px) {
	.fst-hero-metrics { display: none; }
}

/* ---------------------------------------------------------------- *
 * Responsivo — tablet e mobile: card branco flutuando no degradê
 * ---------------------------------------------------------------- */
@media (max-width: 1024px) {
	.fst-login-hero { display: none; }
	body.login.fst-login-page::before { display: none; }
	body.login.fst-login-page {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		padding: 30px 16px;
		box-sizing: border-box;
	}
	body.login.fst-login-page #login {
		position: static;
		width: 100%;
		max-width: 470px;
		min-height: 0;
		clip-path: none;
		filter: none;
		border-radius: 26px;
		box-shadow: 0 30px 70px -30px rgba(2, 20, 40, .55);
		padding: 38px 30px 30px;
		align-items: center;
	}
	body.login.fst-login-page #login > * { max-width: 100%; }
	.fst-login-brandrow { justify-content: center; }
	.fst-login-welcome, .fst-login-welcome h2 { text-align: center; }
	.fst-login-trust { justify-content: center; }
	body.login.fst-login-page .language-switcher { position: static; margin: 16px 0 0; }
}
@media (max-width: 480px) {
	.fst-login-welcome h2 { font-size: 26px; }
	body.login.fst-login-page { padding: 18px 12px; }
	body.login.fst-login-page #login { padding: 28px 18px 24px; border-radius: 20px; }
	body.login.fst-login-page #login form { padding: 18px 16px 20px; }
}

/* ---------------------------------------------------------------- *
 * interim-login — modal de reautenticação do wp-admin: layout nativo
 * ---------------------------------------------------------------- */
body.interim-login.fst-login-page { display: block; background: #fff; min-height: 0; padding: 0; }
body.interim-login.fst-login-page::before { display: none; }
body.interim-login.fst-login-page #login {
	position: static;
	width: auto;
	max-width: none;
	min-height: 0;
	clip-path: none;
	filter: none;
	border-radius: 0;
	box-shadow: none;
	display: block;
	padding: 24px;
}
body.interim-login.fst-login-page .fst-login-brandrow,
body.interim-login.fst-login-page .fst-login-welcome,
body.interim-login.fst-login-page .fst-login-trust,
body.interim-login.fst-login-page .fst-login-hero,
body.interim-login.fst-login-page .language-switcher { display: none; }
body.interim-login.fst-login-page #login form { margin: 0; animation: none; }

/* Acessibilidade — sem animações para quem prefere menos movimento */
@media (prefers-reduced-motion: reduce) {
	body.login.fst-login-page *,
	body.login.fst-login-page *::before,
	body.login.fst-login-page *::after {
		animation: none !important;
		transition: none !important;
	}
}
