/* alu_login.asp - estilos da pagina de login */

html, body {
	overflow-x: hidden;
	max-width: 100%;
}

.container-fluid.p-0.m-0 {
	max-width: 100%;
}

#div_body {
	background-size: cover;
	background-position: center center;
	margin-left: -15px !important;
	margin-right: -15px !important;
	padding: 20px 0 40px;
	overflow-x: hidden;
}

.login-hero-area {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	width: 100%;
	padding: 12px 8% 12px 0;
}

@media (min-width: 992px) {
	.login-hero-area {
		min-height: 300px;
	}
}

.login-shell {
	max-width: 400px;
	width: 100%;
	float: none;
	margin: 0;
}

.btn-telegram {
	position: fixed;
	bottom: 5.5rem;
	left: .5rem;
	z-index: 1070;
	text-align: center;
	transition: all 0.2s ease-in-out;
}

.btn-telegram a {
	color: #000;
}

.btn-telegram img {
	width: 80px;
	display: block;
}

/* Artigos */
#div_artigos {
	padding: 20px 0;
	margin: 0 auto;
	margin-left: 15px;
	margin-right: 15px;

}

#div_artigos > .row {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	justify-content: center;
	margin-left: -10px;
	margin-right: -10px;
}

#div_artigos .row > [class*="col-"] {
	float: none !important;
	display: flex;
	flex-direction: column;
	padding-left: 10px;
	padding-right: 10px;
	margin-bottom: 30px;
	text-align: left;
}

#div_artigos .div-artigo {
	width: 100%;
	max-width: 100%;
	flex: 1 1 auto;
	text-align: left;
}

@media (min-width: 992px) {
	#div_artigos .row > .col-md-3 {
		width: 25%;
		flex: 0 0 25%;
		max-width: 25%;
	}
}

@media (min-width: 768px) and (max-width: 991px) {
	#div_artigos .row > .col-sm-6 {
		width: 50%;
		flex: 0 0 50%;
		max-width: 50%;
	}
}

@media (max-width: 767px) {
	#div_artigos .row > [class*="col-"] {
		width: 100%;
		flex: 0 0 100%;
		max-width: 100%;
	}
}

.texto-artigo {
	font-family: 'Optimistic Text Normal', Helvetica, Arial, sans-serif !important;
	font-weight: normal !important;
	font-size: 15px;
	letter-spacing: .2px;
	line-height: 1.6;
	color: #6b7280;
	margin: 0;
}

.texto-artigo li {
	line-height: 1.7;
	margin-bottom: 12px;
}

.secao-titulo {
	font-size: 28px;
	font-weight: 300;
	text-align: center;
	margin-top: 1em;
	margin-bottom: .6em;
	color: #1f2937;
	letter-spacing: 0.5px;
}

.artigo-titulo {
	font-size: 16px;
	font-weight: 500;
	color: #111827;
	margin-bottom: 12px;
	line-height: 1.4;
}

#div_artigos .artigo-titulo {
	display: -webkit-box;
	line-clamp: 3;	
	-webkit-line-clamp: 3;	
	-webkit-box-orient: vertical;
	overflow: hidden;
}

#div_artigos .div-artigo .texto-artigo {
	flex: 1 1 auto;
	min-height: 6.4em;
	display: -webkit-box;
	line-clamp: 4;	
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.artigo-titulo a {
	color: #111827;
	text-decoration: none;
	transition: color 0.3s ease;
}

.artigo-titulo a:hover {
	color: #1f7fa6;
}

.artigo-img {
	border-radius: 16px;
	max-width: 320px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.artigo-img-card {
	border-radius: 16px 16px 0 0;
	height: 200px;
	width: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.artigo-img-card:hover {
	transform: scale(1.02);
}

.div-artigo {
	height: 100%;
	background: #ffffff;
	border-radius: 20px;
	padding: 0;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
	transition: all 0.3s ease;
	border: 1px solid #eef2f8;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.div-artigo:hover {
	box-shadow: 0 10px 26px rgba(13, 59, 102, 0.12);
	transform: translateY(-4px);
	border-color: #dbe6f3;
}

.div-artigo .artigo-imagem-container {
	overflow: hidden;
	margin: 0;
	padding: 0;
}

.div-artigo .artigo-conteudo {
	padding: 24px;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.div-artigo .btn-link.orange {
	color: #1f7fa6;
	text-decoration: none;
	font-weight: 600;
	padding: 0;
	margin-top: auto;
	padding-top: 12px;
	display: inline-block;
	align-self: flex-start;
	transition: color 0.3s ease;
}

.div-artigo .btn-link.orange:hover {
	color: #0d3b66;
	text-decoration: underline;
}

@media (max-width: 768px) {
	#div_artigos .row {
		margin: 0;
	}

	.div-artigo {
		margin-bottom: 30px;
	}

	.artigo-img-card {
		height: 180px;
	}

	#div_artigos .artigo-titulo {
		font-size: 18px;
		min-height: 5em;
	}

	.texto-artigo {
		font-size: 14px;
	}

	.div-artigo .artigo-conteudo {
		padding: 20px;
	}
}

/* Redes sociais */
.social-container {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 20px;
	padding: 20px 0;
}

.social-card {
	background: #fff;
	border-radius: 15px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
	transition: all 0.3s ease;
	width: 200px;
	min-height: 130px;
	overflow: hidden;
	display: flex;
}

.social-card .social-link {
	flex: 1;
	width: 100%;
	min-height: 130px;
}

.social-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.social-link {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 25px 20px;
	text-decoration: none;
	color: #fff;
	transition: all 0.3s ease;
}

.social-link i {
	font-size: 2.5em;
	margin-bottom: 10px;
}

.social-name {
	font-size: 1.1em;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.facebook {
	background: linear-gradient(45deg, #d5e4ff, #ebf2ff);
	color: #2e5f97;
}

.instagram {
	background: linear-gradient(45deg, #ffd8e7, #ffeaf2);
	color: #b42872;
}

.youtube {
	background: linear-gradient(45deg, #ffd1d1, #ffe6e6);
	color: #bf1010;
}

.linkedin {
	background: linear-gradient(45deg, #d0ebff, #e8f5ff);
	color: #00689d;
}

.social-link:hover {
	opacity: 0.95;
}

@media (max-width: 768px) {
	.social-card {
		width: 160px;
	}

	.social-link i {
		font-size: 2em;
	}

	.social-name {
		font-size: 0.9em;
	}
}

.section-wrapper {
	max-width: 1180px;
	margin: 0 auto;
	overflow-x: hidden;
}

.row.section-wrapper {
	margin-left: 0;
	margin-right: 0;
}

.fb-like-wrapper {
	margin-left: 20px;
}

/* Card de autenticacao (login e recuperar senha) */
:root {
	--gr8-blue-primary: #0b4d7a;
	--gr8-blue-page-bg: #206591;
	--gr8-blue-dark: #06314f;
	--gr8-text-main: #333333;
	--gr8-border-color: #cbd5e1;
	--gr8-bg-input: #f4f6f9;
	--gr8-radius: 8px;
}

.login-card,
.recover-card {
	background: #ffffff;
	width: 100%;
	border-radius: var(--gr8-radius);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
	overflow: hidden;
}

.login-header,
.recover-header {
	background-color: var(--gr8-blue-primary);
	color: #ffffff;
	padding: 14px 20px;
	font-size: 17px;
	font-weight: bold;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.login-header-title,
.recover-header-title {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
}

.login-header .material-symbols-outlined,
.recover-header .material-symbols-outlined {
	font-size: 26px;
}

.login-header-close,
.recover-header-close {
	color: #ffffff;
	font-size: 28px;
	line-height: 1;
	text-decoration: none;
	opacity: 0.9;
}

.login-header-close:hover,
.recover-header-close:hover {
	color: #ffffff;
	opacity: 1;
	text-decoration: none;
}

.login-body,
.recover-body {
	padding: 18px 20px 20px;
}

.login-subtitle,
.recover-title {
	color: var(--gr8-blue-dark);
	font-size: 13px;
	font-weight: bold;
	margin-top: 0;
	margin-bottom: 14px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	border-bottom: 2px solid #e2e8f0;
	padding-bottom: 8px;
}

.login-body .custom-form-group {
	margin-bottom: 12px;
}

.custom-form-group {
	margin-bottom: 18px;
}

.custom-label {
	display: block;
	font-size: 12px;
	font-weight: bold;
	color: var(--gr8-text-main);
	margin-bottom: 6px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.login-body .custom-input {
	height: 38px;
	font-size: 14px;
}

.custom-input {
	width: 100%;
	height: 42px;
	padding: 8px 14px;
	font-size: 15px;
	font-weight: bold;
	color: var(--gr8-blue-dark);
	background-color: var(--gr8-bg-input);
	border: 1px solid var(--gr8-border-color);
	border-radius: 6px;
	box-sizing: border-box;
	transition: border-color 0.2s;
}

.custom-input:focus {
	outline: none;
	border-color: var(--gr8-blue-primary);
	background-color: #ffffff;
}

.login-body .btn-auth-action {
	height: 38px;
	padding: 8px 16px;
	font-size: 14px;
}

.btn-auth-action {
	background-color: var(--gr8-blue-primary);
	color: #ffffff;
	border: none;
	border-radius: 6px;
	padding: 12px 20px;
	font-size: 15px;
	font-weight: bold;
	cursor: pointer;
	width: 100%;
	transition: background-color 0.2s;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.btn-auth-action:hover,
.btn-auth-action:focus {
	background-color: var(--gr8-blue-dark);
	color: #ffffff;
}

.btn-auth-action:disabled {
	opacity: 0.7;
	cursor: not-allowed;
}

.btn-auth-back {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: 100%;
	padding: 10px 16px;
	font-size: 14px;
	font-weight: 600;
	color: var(--gr8-blue-primary);
	background: transparent;
	border: 1px solid var(--gr8-border-color);
	border-radius: 6px;
	text-decoration: none;
	transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.btn-auth-back:hover,
.btn-auth-back:focus {
	color: var(--gr8-blue-dark);
	background: var(--gr8-bg-input);
	border-color: var(--gr8-blue-primary);
	text-decoration: none;
}

.btn-auth-back .material-symbols-outlined {
	font-size: 20px;
}

#btn_entrar:disabled .material-symbols-outlined,
.btn-auth-action:disabled .material-symbols-outlined {
	animation: auth-spin 1s linear infinite;
}

@keyframes auth-spin {
	to { transform: rotate(360deg); }
}

.login-help-row {
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid #e2e8f0;
	font-size: 12px;
}

.login-help-link {
	color: var(--gr8-blue-primary);
	font-weight: 600;
	text-decoration: none;
}

.login-help-link:hover,
.login-help-link:focus {
	color: var(--gr8-blue-dark);
	text-decoration: none;
}

.recover-wrapper {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 30px 15px 50px;
	min-height: 420px;
}

.recover-wrapper .recover-card {
	max-width: 480px;
}

.email-select-wrapper {
	display: flex;
	align-items: center;
	gap: 10px;
}

.email-select-wrapper select {
	flex-grow: 1;
}

.btn-help {
	color: var(--gr8-blue-primary);
	background: none;
	border: none;
	cursor: pointer;
	padding: 0 5px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.btn-help:hover {
	color: var(--gr8-blue-dark);
}

#div_select_email,
#div_enviar_email {
	display: none;
}

/* Notebooks e monitores ~1366x768 */
@media (min-width: 992px) and (max-height: 820px) {
	#div_body {
		padding-top: 8px;
		padding-bottom: 24px;
	}

	.login-hero-area {
		min-height: 260px;
		padding: 6px 6% 6px 0;
	}

	.login-header {
		padding: 12px 18px;
		font-size: 16px;
	}

	.login-body {
		padding: 14px 18px 16px;
	}

	.login-subtitle {
		margin-bottom: 10px;
	}

	.login-body .custom-form-group {
		margin-bottom: 10px;
	}

	.login-body .custom-input,
	.login-body .btn-auth-action {
		height: 36px;
	}

	.login-help-row {
		margin-top: 8px;
		padding-top: 10px;
	}
}

@media (max-width: 768px) {
	.login-hero-area {
		justify-content: center;
		padding: 8px 12px;
	}

	.login-shell {
		max-width: 100%;
	}
}
