body.portal-login-body {
	margin: 0;
	font-family: "Manrope", "Segoe UI", sans-serif;
	background: #fff;
	color: #1b2a41;
}

.portal-login-page {
	display: grid;
	grid-template-columns: 1.05fr .95fr;
	min-height: 100vh;
}

.portal-login-hero {
	position: relative;
	background:
		linear-gradient(135deg, rgba(8,18,36,.88) 0%, rgba(12,28,52,.78) 55%, rgba(0,150,170,.35) 100%),
		url('../images/login/bg-new-v1.jpeg') center/cover no-repeat;
	color: #fff;
	overflow: hidden;
}

.portal-login-hero-overlay {
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 20% 20%, rgba(0,188,212,.18), transparent 45%);
}

.portal-login-hero-inner {
	position: relative;
	z-index: 1;
	padding: 42px 56px;
	display: flex;
	flex-direction: column;
	min-height: 100%;
}

.portal-login-brand {
	display: flex;
	align-items: center;
	margin-bottom: 48px;
}

.portal-login-brand img {
	width: 92px;
	height: auto;
	max-height: 92px;
	object-fit: contain;
	display: block;
}

.portal-login-hero h1 {
	font-size: 42px;
	line-height: 1.15;
	font-weight: 800;
	max-width: 520px;
	margin: 0 0 16px;
}

.portal-login-hero h1 em {
	font-style: normal;
	color: #00bcd4;
}

.portal-login-lead {
	max-width: 460px;
	opacity: .88;
	font-size: 15px;
	margin-bottom: 28px;
}

.portal-login-features {
	list-style: none;
	padding: 0;
	margin: 0 0 28px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.portal-login-features li {
	display: flex;
	gap: 12px;
	align-items: flex-start;
}

.feat-icon {
	width: 38px;
	height: 38px;
	border-radius: 10px;
	border: 1px solid rgba(0,188,212,.55);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #00bcd4;
	flex-shrink: 0;
}

.portal-login-features strong {
	display: block;
	font-size: 14px;
	margin-bottom: 2px;
}

.portal-login-features small {
	opacity: .75;
	font-size: 12px;
}

.portal-login-secure {
	margin-top: auto;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: rgba(0,0,0,.28);
	border: 1px solid rgba(255,255,255,.08);
	border-radius: 12px;
	padding: 12px 16px;
	font-size: 13px;
	max-width: 520px;
}

.portal-login-secure i { color: #00bcd4; }

.portal-login-footer-hero {
	margin-top: 18px;
	font-size: 11px;
	opacity: .55;
	letter-spacing: .04em;
}

.portal-login-panel {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 36px 48px 24px;
	background: #f7fafc;
}

.portal-login-card {
	width: 100%;
	max-width: 440px;
	margin: 0 auto;
	background: #fff;
	border-radius: 18px;
	box-shadow: 0 18px 50px rgba(15, 23, 42, .08);
	padding: 34px 32px 28px;
}

.portal-login-card.is-cadastro {
	max-width: 480px;
}

.portal-login-card-icon {
	width: 48px;
	height: 48px;
	border-radius: 12px;
	background: #0b1629;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 16px;
}

.portal-login-card h2 {
	font-size: 22px;
	margin: 0 0 8px;
	font-weight: 500;
	color: #0b1629;
}

.portal-login-card h2 strong { font-weight: 800; }

.portal-login-card .portal-auth-view > p {
	color: #6b7c93;
	font-size: 13px;
	margin-bottom: 22px;
}

.portal-login-card label {
	display: block;
	font-size: 12px;
	font-weight: 600;
	margin-bottom: 6px;
	color: #334155;
}

.portal-input-icon {
	position: relative;
	margin-bottom: 14px;
}

.portal-input-icon i {
	position: absolute;
	left: 14px;
	top: 50%;
	transform: translateY(-50%);
	color: #94a3b8;
	pointer-events: none;
	z-index: 1;
}

.portal-input-icon input,
.portal-input-icon select {
	width: 100%;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	padding: 12px 12px 12px 40px;
	font-size: 14px;
	background: #fff;
	appearance: none;
	-webkit-appearance: none;
}

.portal-input-icon select {
	cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2394a3b8' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	padding-right: 36px;
}

.portal-input-icon input:focus,
.portal-input-icon select:focus {
	outline: none;
	border-color: #00bcd4;
	box-shadow: 0 0 0 3px rgba(0,188,212,.15);
}

.portal-login-submit {
	width: 100%;
	border: none;
	border-radius: 10px;
	background: #00bcd4;
	color: #fff;
	font-weight: 700;
	padding: 13px 16px;
	font-size: 15px;
	cursor: pointer;
	margin-top: 6px;
}

.portal-login-submit:hover { background: #0097a7; }
.portal-login-submit:disabled { opacity: .7; cursor: wait; }

.portal-login-links {
	display: flex;
	justify-content: space-between;
	margin-top: 16px;
	font-size: 12px;
}

.portal-login-links a {
	color: #64748b;
	text-decoration: none;
}

.portal-login-links a:hover { color: #00a5bb; }

.portal-auth-switch {
	margin-top: 22px;
	padding-top: 18px;
	border-top: 1px solid #eef2f7;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	text-align: center;
}

.portal-auth-switch span {
	font-size: 13px;
	color: #6b7c93;
}

.portal-auth-switch-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border: 1px solid #00bcd4;
	color: #00a5bb;
	background: #fff;
	border-radius: 10px;
	padding: 10px 16px;
	font-weight: 600;
	font-size: 13px;
	cursor: pointer;
}

.portal-auth-switch-btn:hover {
	background: #eefbfe;
	color: #008fa3;
}

.portal-auth-back {
	border: none;
	background: transparent;
	color: #00a5bb;
	font-size: 13px;
	font-weight: 600;
	padding: 0;
	margin: 0 0 14px;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.portal-auth-back:hover { color: #008fa3; }

.portal-auth-view[hidden] { display: none !important; }

#portalViewCadastro .portal-input-icon {
	margin-bottom: 12px;
}

.portal-login-benefits-row {
	margin-top: 32px;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
	text-align: center;
}

.portal-login-benefits-row i {
	display: block;
	color: #00bcd4;
	margin-bottom: 6px;
}

.portal-login-benefits-row strong {
	display: block;
	font-size: 12px;
	color: #0b1629;
}

.portal-login-benefits-row small {
	display: block;
	font-size: 11px;
	color: #6b7c93;
}

@media (max-width: 992px) {
	.portal-login-page { grid-template-columns: 1fr; }
	.portal-login-hero { min-height: auto; }
	.portal-login-hero-inner { padding: 28px 24px; }
	.portal-login-hero h1 { font-size: 30px; }
	.portal-login-brand img { width: 72px; max-height: 72px; }
	.portal-login-panel { padding: 24px 20px; }
	.portal-login-benefits-row { grid-template-columns: 1fr; }
}
