@charset "utf-8";
/*
 * CSS Document
 */

@import url(https://fonts.googleapis.com/css?family=Titillium+Web:400,400i,700,700i);


@font-face {
	font-family: "OpenSans";
	src: url("../OpenSans.eot"); /* para IE */
	src: local("../fontes/OpenSans"), url("../fontes/OpenSans.ttf") format("opentype");
	font-weight: normal;
    font-style: normal;
}

* {
	padding: 0px;
	outline: none;
	text-decoration: none;
}

body {
	font-family: Titillium Web,Arial,sans-serif;
	font-size: 13px;
	color: #666;
	margin: 0px; 
	padding: 0px;
}

.header-logo{
	line-height: 2.5rem;
    display: inline-block;
    text-transform: capitalize;
    font-size: 2rem;
    color: #1d3d72;
}

.bodyLoginForm{
	background-color: #fff;
    width: 60%;
	border-radius: 12px;
}

.slogan{
	color: #fff;
    font-size: 1.85rem;
    letter-spacing: .25rem;
	padding-top: 12px;
}

#content-login {
	position: absolute;
	top: 42%;
	left: 50%;
	height: 540px;
	width: 680px;
	margin-left: -340px;
	margin-top: -270px;
}

.table {
	width: 680px;
	height: 537px; 
	border: 0;
	border-collapse: collapse;
}

.back-top {
	background-image: url(../imagem/login/back-top.png);
	background-repeat: no-repeat;
}

.back-left{
	background-image: url(../imagem/login/back-left.png);
	background-repeat: no-repeat;
}

.back-right{
	background-image: url(../imagem/login/back-right.png);
	background-repeat: no-repeat;
}

.back-bottom{
	background-image: url(../imagem/login/back-bottom.png);
	background-repeat: no-repeat;
}

#div-login {
	width: 100%;
	min-height: 240px;
	margin-left: 5px;
}

label {
	font-size: 1rem;
	font-weight: bold;
	color: #363432;
}

.input-text {
	width: 230px;
	font-size: 15px;
	margin: 3px 10px 10px 0px;
	border: 1px solid #d7d5d3;
	border-radius: 8px;
	background-color: #fff;
	padding: 6px 5px 6px 28px;
	color: #363432;
}

.input-text:focus {
	border-color: #4a90e2;
	box-shadow: 0 0 0 3px rgba(74,144,226,.10);
	outline: none;
}

.botao {
	padding: 4px 10px;
	margin-top: 0px;
	margin-right: 10px;
	width: 265px;
	cursor: pointer;
	border-radius: 3px;
	border-color: transparent;
	background-color: #c90000;
	color: #fff;
	padding: 5px 12px 5px 12px;
	
}

.botao:hover {
	background-color: #d40909;
}

.botao[disabled="disabled"] {
	background-image: linear-gradient(to bottom, #F0F0F0, #EBEBEB);
	background-color: #F0F0F0;
	border: 1px solid #C0C0C0;
	color: #CCC !important;
	cursor: default;
}

.img-input-login {
	background: #FFF url('../imagem/login/icon-user.png') no-repeat center left; 
}

.img-input-senha {
	background: #FFF url('../imagem/login/icon-pass.png') no-repeat center left;
}

#loadingLogin {
	font-family: Titillium Web,Arial,sans-serif;
	font-size: 13px;
	font-weight: normal;
	font-style: italic;
	color: #666666;
	display: none;
}

#errorLogin {
	font-family: Titillium Web,Arial,sans-serif;
	font-size: 12px;
	font-weight: normal;
	font-style: italic;
	color: #C00B04;
	text-align: center;
}

.div-key-licencas:hover {
	cursor: pointer;
	opacity:0.80;
	-moz-opacity:0.80;
	filter:alpha(opacity=80);
}

.div-key-licencas a {
	text-decoration: none;
	font-family: Titillium Web,Arial,sans-serif;
	font-size: 12px;
	font-weight: bold;
	font-style: italic;
	color: #858585;
}

.div-key-licencas img {
	border: 0;
	width: 18px;
	vertical-align: -5px;
}

.rec-link-esqueci {
	font-size: 13px;
	color: #858585;
	font-style: italic;
	text-decoration: none;
	cursor: pointer;
}

.rec-link-esqueci:hover {
	color: #c90000;
	text-decoration: underline;
}

#rec-modal-overlay {
	display: none;
	position: fixed;
	top: 0; left: 0; right: 0; bottom: 0;
	background: rgba(3, 7, 14, 0.65);
	/* backdrop-filter: blur(4px); */
	-webkit-backdrop-filter: blur(4px);
	z-index: 9000;
}

#rec-modal {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: #fff;
	border-radius: 20px;
	padding: 40px 36px 36px;
	width: 380px;
	max-width: calc(100vw - 32px);
	box-shadow: 0 24px 64px rgba(0,0,0,0.24), 0 4px 16px rgba(0,0,0,0.08);
}

.rec-fechar-btn {
	position: absolute;
	top: 14px;
	right: 16px;
	background: none;
	border: none;
	font-size: 22px;
	color: #b0bec5;
	cursor: pointer;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.15s, color 0.15s;
	line-height: 1;
	padding: 0;
}

.rec-fechar-btn:hover {
	background: #f1f5f9;
	color: #c90000;
}

.rec-icone-wrap {
	width: 68px;
	height: 68px;
	background: linear-gradient(135deg, #1d3d72, #2a5ba8);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 20px;
	box-shadow: 0 6px 20px rgba(29,61,114,0.30);
}

.rec-titulo {
	font-size: 1.3rem;
	font-weight: bold;
	color: #222;
	margin: 0 0 8px;
	text-align: center;
	font-family: Titillium Web, Arial, sans-serif;
}

.rec-descricao {
	font-size: 15px;
	color: #333;
	margin: 0 0 22px;
	line-height: 1.65;
	text-align: center;
	font-family: Titillium Web, Arial, sans-serif;
}

.rec-campo-wrap {
	position: relative;
	margin-bottom: 12px;
}

.rec-campo-icone {
	position: absolute;
	left: 14px;
	top: 50%;
	transform: translateY(-50%);
	pointer-events: none;
}

.rec-campo-email {
	width: 100% !important;
	box-sizing: border-box !important;
	border: 1.5px solid #e2e8f0 !important;
	border-radius: 10px !important;
	padding: 12px 14px 12px 44px !important;
	font-size: 14px !important;
	color: #1e293b !important;
	background: #f8fafc !important;
	transition: border-color 0.2s, box-shadow 0.2s;
	margin: 0 !important;
	font-family: Titillium Web, Arial, sans-serif !important;
	outline: none;
}

.rec-campo-email:focus {
	border-color: #4a90e2 !important;
	box-shadow: 0 0 0 3px rgba(74,144,226,0.12) !important;
	background: #fff !important;
}

.rec-campo-email::placeholder {
	color: #b0bec5;
	font-style: italic;
}

#rec-mensagem {
	font-size: 12px;
	padding: 4px 0 6px;
	display: none;
	font-family: Titillium Web, Arial, sans-serif;
}

.rec-msg-erro {
	color: #c90000;
	font-style: italic;
	text-align: center;
}

.rec-msg-sucesso {
	color: #166534;
	background: #f0fdf4;
	border: 1px solid #bbf7d0;
	border-radius: 8px;
	padding: 12px 14px;
	line-height: 1.6;
	text-align: left;
}


#rec-loading {
	text-align: center;
	font-size: 12px;
	color: #64748b;
	font-style: italic;
	margin-bottom: 8px;
	font-family: Titillium Web, Arial, sans-serif;
}

.rec-btn-enviar {
	display: block;
	width: 100%;
	padding: 12px;
	background: #c90000;
	color: #fff;
	border: none;
	border-radius: 10px;
	font-size: 14px;
	font-weight: bold;
	font-family: Titillium Web, Arial, sans-serif;
	cursor: pointer;
	transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
	letter-spacing: 0.02em;
	box-shadow: 0 3px 10px rgba(201,0,0,0.28);
	margin-top: 4px;
	box-sizing: border-box;
}

.rec-btn-enviar:hover {
	background: #ab0000;
	box-shadow: 0 5px 18px rgba(201,0,0,0.35);
	transform: translateY(-1px);
}

.rec-btn-enviar:active {
	transform: translateY(0);
	box-shadow: 0 2px 6px rgba(201,0,0,0.22);
}

.rec-btn-enviar[disabled],
.rec-btn-enviar:disabled {
	background: #e2e8f0;
	color: #94a3b8;
	cursor: default;
	box-shadow: none;
	transform: none;
}

.rec-sucesso-icone-wrap {
	text-align: center;
	margin-bottom: 18px;
}

.rec-sucesso-titulo {
	font-size: 1.5rem;
	font-weight: bold;
	color: #166534;
	text-align: center;
	margin: 0 0 10px;
	font-family: Titillium Web, Arial, sans-serif;
}

.rec-sucesso-msg {
	color: #555;
	font-size: 15px;
	text-align: center;
	line-height: 1.7;
	margin-bottom: 24px;
	font-family: Titillium Web, Arial, sans-serif;
}

/* ---- Toast de sucesso (redefinição de senha) ---- */

#rec-toast-sucesso {
	position: fixed;
	top: -140px;
	left: 50%;
	transform: translateX(-50%) scale(0.92);
	opacity: 0;
	background: linear-gradient(135deg, #166534 0%, #15803d 100%);
	border-radius: 18px;
	padding: 20px 28px;
	display: flex;
	align-items: center;
	gap: 18px;
	min-width: 420px;
	max-width: 92vw;
	box-shadow: 0 20px 60px rgba(21,128,61,0.35), 0 6px 20px rgba(0,0,0,0.2);
	z-index: 9999;
	transition: top 0.5s cubic-bezier(0.34, 1.4, 0.64, 1),
	            transform 0.5s cubic-bezier(0.34, 1.4, 0.64, 1),
	            opacity 0.3s ease;
	font-family: Titillium Web, Arial, sans-serif;
}

#rec-toast-sucesso.ativo {
	top: 28px;
	transform: translateX(-50%) scale(1);
	opacity: 1;
}

#rec-toast-sucesso.saindo {
	top: -140px;
	transform: translateX(-50%) scale(0.92);
	opacity: 0;
	transition: top 0.35s cubic-bezier(0.4, 0, 1, 1),
	            transform 0.35s ease,
	            opacity 0.25s ease;
}

.rec-toast-check-wrap {
	flex-shrink: 0;
	background: rgba(255,255,255,0.18);
	border-radius: 50%;
	width: 46px;
	height: 46px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.rec-toast-check-wrap svg {
	width: 26px;
	height: 26px;
}

.rec-toast-body {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.rec-toast-titulo {
	font-size: 15px;
	font-weight: 700;
	color: #fff;
	letter-spacing: 0.01em;
}

.rec-toast-subtitulo {
	font-size: 12px;
	color: rgba(255,255,255,0.75);
}

.rec-toast-timer {
	position: relative;
	width: 52px;
	height: 52px;
	flex-shrink: 0;
}

.rec-toast-timer svg {
	width: 52px;
	height: 52px;
	transform: rotate(-90deg);
}

.rec-timer-bg {
	fill: none;
	stroke: rgba(255,255,255,0.2);
	stroke-width: 3.5;
}

.rec-timer-ring {
	fill: none;
	stroke: #fff;
	stroke-width: 3.5;
	stroke-linecap: round;
	stroke-dasharray: 125.66;
	stroke-dashoffset: 0;
	transition: stroke-dashoffset 0.85s linear;
}

#rec-toast-contador {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: 16px;
	font-weight: 700;
	color: #fff;
	font-family: Titillium Web, Arial, sans-serif;
	line-height: 1;
}

/* ===================== Etapa 2FA (verificação em 2 etapas) ===================== */

/* Cartão branco próprio, igual ao da etapa de login (.bodyLoginForm) */
.tfa-wrap {
	background-color: #fff;
	border-radius: 12px;
	width: 340px;
	max-width: 90%;
	margin: 0 auto;
	padding: 32px 28px 26px;
	text-align: center;
	box-sizing: border-box;
}

.tfa-icone-wrap {
	width: 60px;
	height: 60px;
	background: linear-gradient(135deg, #1d3d72, #2a5ba8);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 18px;
	box-shadow: 0 6px 20px rgba(29,61,114,0.30);
}

.tfa-titulo {
	font-size: 1.2rem;
	font-weight: bold;
	color: #222;
	margin: 0 0 8px;
	font-family: Titillium Web, Arial, sans-serif;
}

.tfa-descricao {
	font-size: 14px;
	color: #444;
	margin: 0 0 20px;
	line-height: 1.6;
	font-family: Titillium Web, Arial, sans-serif;
}

.tfa-input-codigo {
	display: block;
	width: 100%;
	box-sizing: border-box;
	text-align: center;
	font-size: 32px;
	font-weight: 700;
	letter-spacing: 16px;
	text-indent: 16px;
	padding: 12px 0;
	border: 1px solid #c7cdd6;
	border-radius: 6px;
	color: #1d3d72;
	font-family: 'Courier New', Courier, monospace;
	outline: none;
	transition: border-color .15s, box-shadow .15s;
}

.tfa-input-codigo:focus {
	border-color: #2a5ba8;
	box-shadow: 0 0 0 3px rgba(42,91,168,0.15);
}

.tfa-input-codigo::placeholder {
	color: #c7cdd6;
	letter-spacing: 16px;
}

.tfa-erro {
	display: none;
	font-family: Titillium Web, Arial, sans-serif;
	font-size: 13px;
	font-style: italic;
	color: #C00B04;
	margin: 14px 0 4px;
	min-height: 16px;
}

.tfa-loading {
	font-family: Titillium Web, Arial, sans-serif;
	font-size: 13px;
	font-style: italic;
	color: #666;
	margin: 12px 0 4px;
}

.tfa-btn {
	display: block;
	width: 100% !important;
	margin: 18px 0 0 !important;
}

.tfa-acoes {
	margin-top: 16px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.tfa-acoes .rec-link-esqueci {
	font-size: 13px;
}