/* Login split-screen (somente login.php). Não depende de login.css, que é compartilhado com usuario_novo/usuario_page. */
body.login-novo {
	margin: 0;
	background: #f6f7fb !important;
	overflow-x: hidden;
	font-family: 'Inter', 'Segoe UI', Roboto, Arial, sans-serif;
	color: #111827;
}

.login-split {
	display: flex;
	min-height: 100vh;
}

/* ---------- Lado esquerdo (hero) ---------- */
.login-hero {
	position: relative;
	flex: 1 1 54%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 48px 56px 40px;
	color: #fff;
	background:
		linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .15) 45%, rgba(0, 0, 0, .75) 100%),
		url('../images/login-hero.jpg') center / cover no-repeat,
		url('https://images.unsplash.com/photo-1572854875265-3da2081537e3?auto=format&fit=crop&w=1500&q=80') center / cover no-repeat;
}

.login-hero .hero-logo img {
	height: 44px;
	width: auto;
}

.login-hero .hero-text {
	max-width: 520px;
	margin-top: 40px;
}

.login-hero h1 {
	font-size: 3.4rem;
	line-height: 1.05;
	font-weight: 800;
	margin: 0 0 22px;
	text-shadow: 0 2px 12px rgba(0, 0, 0, .35);
}

.login-hero .hero-bar {
	width: 76px;
	height: 4px;
	background: #e30613;
	border-radius: 2px;
	margin-bottom: 20px;
}

.login-hero p {
	font-size: 1.15rem;
	line-height: 1.45;
	margin: 0;
	max-width: 360px;
	color: rgba(255, 255, 255, .92);
}

.hero-features {
	display: flex;
	align-items: center;
	gap: 0;
	margin-top: 40px;
}

.hero-features .feat {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 0 24px;
	font-size: .95rem;
	line-height: 1.25;
	border-left: 1px solid rgba(255, 255, 255, .35);
}

.hero-features .feat:first-child {
	padding-left: 0;
	border-left: 0;
}

.hero-features .feat i {
	font-size: 30px;
}

/* ---------- Lado direito (formulário) ---------- */
.login-panel {
	flex: 1 1 46%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 32px 24px;
}

.login-card {
	width: 100%;
	max-width: 560px;
	background: #fff;
	border-radius: 14px;
	box-shadow: 0 10px 40px rgba(17, 24, 39, .08);
	padding: 44px 52px 40px;
}

.login-card .card-logo {
	text-align: center;
	margin-bottom: 18px;
}

.login-card .card-logo img {
	height: 52px;
	width: auto;
}

.login-card h2 {
	font-size: 2rem;
	font-weight: 800;
	margin: 0 0 6px;
	color: #0b1220;
}

.login-card .subtitulo {
	color: #6b7280;
	font-size: 1.05rem;
	margin: 0 0 28px;
}

.login-card label.campo {
	display: block;
	font-weight: 600;
	font-size: .95rem;
	margin: 0 0 8px;
	color: #111827;
}

.campo-wrap {
	position: relative;
	margin-bottom: 20px;
}

.campo-wrap>i.material-icons {
	position: absolute;
	left: 16px;
	top: 50%;
	transform: translateY(-50%);
	color: #374151;
	font-size: 22px;
	pointer-events: none;
}

.campo-wrap input.browser-default {
	width: 100%;
	box-sizing: border-box;
	height: 54px;
	padding: 0 48px 0 52px;
	border: 1px solid #d5d9e2;
	border-radius: 8px;
	background: #fff;
	font-size: 16px; /* >=16px evita o zoom automático do iOS ao focar */
	color: #111827;
	outline: none;
	transition: border-color .15s, box-shadow .15s;
}

.campo-wrap input.browser-default::placeholder {
	color: #9aa1af;
}

.campo-wrap input.browser-default:focus {
	border-color: #e30613;
	box-shadow: 0 0 0 3px rgba(227, 6, 19, .12);
}

.campo-wrap .toggle-senha {
	position: absolute;
	right: 8px;
	top: 50%;
	transform: translateY(-50%);
	border: 0;
	background: transparent;
	cursor: pointer;
	padding: 8px;
	color: #6b7280;
	line-height: 0;
}

.campo-wrap .toggle-senha:hover {
	color: #111827;
}

.link-esqueci {
	display: block;
	text-align: right;
	margin: -8px 0 24px;
	font-weight: 600;
	font-size: .95rem;
	color: #0a5bd8;
}

#btn_login {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: 100%;
	height: 56px;
	border: 0;
	border-radius: 8px;
	background: #e30613;
	color: #fff;
	font-size: 1.05rem;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	cursor: pointer;
	box-shadow: 0 6px 16px rgba(227, 6, 19, .25);
	transition: background .15s, transform .05s;
}

#btn_login:hover {
	background: #c70511;
}

#btn_login:active {
	transform: translateY(1px);
}

#btn_login:disabled {
	opacity: .6;
	cursor: wait;
}

.divisor-ou {
	display: flex;
	align-items: center;
	gap: 16px;
	margin: 20px 0;
	color: #6b7280;
	font-size: .9rem;
}

.divisor-ou::before,
.divisor-ou::after {
	content: '';
	flex: 1;
	height: 1px;
	background: #e5e7eb;
}

.criar-conta {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	background: #f3f4f8;
	border-radius: 8px;
	padding: 18px 16px;
	font-size: 1.05rem;
	color: #111827;
}

.criar-conta a {
	color: #0a5bd8;
	font-weight: 700;
	display: inline-flex;
	align-items: center;
}

.ajuda-whats {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 26px;
	font-size: .95rem;
	color: #111827;
}

.ajuda-whats a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #0a5bd8;
	font-weight: 500;
}

.ajuda-whats .fa-whatsapp {
	font-size: 28px;
	color: #25d366;
}

/* ---------- Responsivo ---------- */
@media (max-width: 992px) {
	.login-split {
		flex-direction: column;
		min-height: 0;
	}

	.login-hero {
		flex: none;
		padding: 28px 24px 24px;
		min-height: 0;
	}

	.login-hero h1 {
		font-size: 2.1rem;
		margin-bottom: 14px;
	}

	.login-hero .hero-text {
		margin-top: 20px;
	}

	.login-hero p,
	.hero-features {
		display: none;
	}

	.login-panel {
		padding: 20px 16px 32px;
		margin-top: -8px;
	}

	.login-card {
		padding: 32px 22px 28px;
	}
}
