@charset 'utf-8';

body{
	background-image: url('/fend/midia/img/main/fundo_login_phone.jpg');
	background-repeat: no-repeat;
	background-position: center;
	background-attachment: fixed;
	background-size: cover;
	font-family: Arial;
	height: 100%;
	width: 100%;
	margin: 0px;
	padding: 0px;
}
*:focus{
	outline: 0;
}
hr{
	border-color: #49996287;
}
h1,h2{
	background: #469c62;
	border-radius: 3px;
	text-align: center;
	margin: 5px 0px 5px 0px;
	padding: 5px;
}
a{
	color: #fff;
	text-decoration: none;
}
p > a{
	color: #4fb370;
}
table{
	border-spacing: 0px;
	width: 100%;
	margin-left: 10px;
	margin-bottom: 7px;
}
table td{
	text-align: center;
	margin: 0px;
	padding: 0px;
}
input[type=text],
form input[type=email],
input[type=password]{
	background-color: transparent;
	border: none;
	border-bottom: 1px solid #42a262;
	border-radius: 0px;
	color: #a4f3be;
	caret-color: #a4f3be;
}
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-internal-autofill-selected{
	-webkit-box-shadow: 0 0 0 30px #022317 inset !important;
	background-color: transparent !important;
	border: none;
	border-bottom: 1px solid #42a262;
	border-radius: 0px;
	color: #a4f3be;
	caret-color: #a4f3be;
	-webkit-text-fill-color: #a4f3be !important;
}
input[type=text]:focus,
input[type=email]:focus,
input[type=password]:focus{
	border-color: #a4f3be;
	filter: drop-shadow(0px 0px 10px #a4f3be);
}
input:-webkit-autofill:focus{
	filter: drop-shadow(0px 0px 1px #a4f3be);
}
input[type=text],input[type=email],input[type=password]{
	font-weight: 600;
	height: 35px;
	width: 70%;
	max-width: 300px;
	text-align: center;
}
input[type=button],input[type=submit]{
	background: transparent;
	border: 2px solid #469c62;
	border-radius: 3px;
	font-family: Arial;
	font-size: 12px;
	font-weight: bold;
	color: #fff;
	margin: 10px;
	padding: 15px 35px 15px 35px;
	cursor: pointer;
	transition: padding 0.1s ease-out 0.01s;
}
input[type=button]:active,input[type=submit]:active{
	background: #41b968;
	border-color: transparent;
	padding: 5px 20px 5px 20px;
}
input[type=radio],input[type=checkbox]{
	display: none;
}
input[type=checkbox]:checked + label span::after{
	background: #469c62;
	border: 2px solid #fff;
	color: #fff;
	font-weight: bold;
	content: "X";
}
input[type=checkbox]:checked + label .check_view::after{
	background: #568b67;
	border: 2px solid #89e8aa;
	margin-left: 20px;
	content: "";
	filter: drop-shadow(0px 0px 5px #89e8aa8b);
}
input[type=radio]:checked + label span::after{
	background: #568b67;
	border: 2px solid #89e8aa;
	font-weight: bold;
	margin-left: 20px;
	content: "";
	filter: drop-shadow(0px 0px 5px #89e8aa8b);
}
label .checkbox,label .radio,label .check_view{
	cursor: pointer;
}
label .checkbox{
	font-size: 14px;
	height: 15px;
	width: 15px;
	text-align: center;
	vertical-align:middle;
	top: -5px;
	margin-left: 20px;
	margin-right: 35px;
	position: relative;
}
label .checkbox::before{
	background: #1a1a1a;
	border: 2px solid #0c0c0c;
	border-radius: 3px;
	content: "";
	height: 25px;
	width: 25px;
	top: 0px;
	left: 0px;
	position: absolute;
	display: inline-block;
	box-sizing: border-box;
}
label .checkbox::after{
	background: transparent;
	border: 2px solid #444;
	border-radius: 2px;
	font-family: Arial;
	content: "";
	height: 20px;
	width: 20px;
	top: 2.5px;
	left: 2.4px;
	position: absolute;
	display: inline-block;
	box-sizing: border-box;
}
label .check_view{
	font-size: 14px;
	text-align: center;
	vertical-align: middle;
	top: -5px;
	margin-left: 20px;
	margin-right: 55px;
	position: relative;
}
label .check_view::before{
	background: #333;
	border: 2px solid #4c4c4c;
	border-radius: 100px;
	content: "";
	height: 25px;
	width: 45px;
	top: 0px;
	left: 0.8px;
	position: absolute;
	display: inline-block;
	box-sizing: border-box;
}
label .check_view::after{
	background: #222;
	border: 2px solid #777;
	border-radius: 100px;
	font-family: Arial;
	content: "";
	height: 20px;
	width: 20px;
	top: 2.4px;
	left: 2.9px;
	position: absolute;
	display: inline-block;
	box-sizing: border-box;
}
label .radio{
	background-color: red;
	font-size: 14px;
	height: 15px;
	width: 15px;
	text-align: center;
	vertical-align:middle;
	top: -5px;
	margin-left: 20px;
	margin-right: 35px;
	position: relative;
}
label .radio::before{
	background: #1a1a1a;
	border: 2px solid #0c0c0c;
	border-radius: 100px;
	content: "";
	height: 25px;
	width: 25px;
	top: 0px;
	left: 0.8px;
	position: absolute;
	display: inline-block;
	box-sizing: border-box;
}
label .radio::after{
	background: transparent;
	border: 2px solid #444;
	border-radius: 100px;
	font-family: Arial;
	content: "";
	height: 20px;
	width: 20px;
	top: 2.4px;
	left: 2.9px;
	position: absolute;
	display: inline-block;
	box-sizing: border-box;
}

.processando{
	background-image: linear-gradient(90deg, #0daf6e 25%, #387c50 50%, #01ff8d 75%);
	background-size: 200% 100%;
	animation: loading-skeleton 1.5s infinite linear;
}
@keyframes loading-skeleton {
	0% {
		background-position: 200% 0;
	}
	100% {
		background-position: -200% 0;
	}
}

img.carregando {
    color: transparent; 
    background-color: #e2e5e7; 
    background-image: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.6) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    background-size: 200% 100%; 
    animation: shimmer 1.5s infinite linear;
}
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

#back_img{
	background-color: rgba(0,0,0,0.65);
	height: 100%;
	width: 100%;
	position: fixed;
	display: block;
}

#alerta{
	background: #434343;
	border-radius: 5px 0px 0px 5px;
	color: rgb(141, 216, 130);
	max-width: 300px;
	top: 100px;
	right: 0px;
	padding: 10px;
	position: absolute;
	box-shadow: 0px 7px 4px #000;
	display: none;
	z-index: 1;
}
#back_log{
	background: transparent;
	border: none;
	color: #ccc;
	height: 100%;
	width: 100%;
	position: absolute;
}
#email{
	text-transform: lowercase;
}
#img_log{
	width: 50px;
	height: 50px;
	margin-top: 20px;
	margin-bottom: 0px;
}
#img_sub{
	height: 20px;
	width: 20px;
	top: 70px;
	margin-left: 20px;
	position: absolute;
}
#sys_versao{
	background-color: transparent;
	border: 1px solid #41b968;
	border-radius: 5px;
	font-size: 14px;
	color: #41b968;
	max-width: 70px;
	margin: 0 auto;
	padding: 5px;
}
#info{
	background-color: #d8fea2;
	border: none;
	border-radius: 3px;
	font-family: Georgia;
	font-size: 12px;
	color: #111;
	text-align: center;
	margin: 7px;
	padding: 7px;
	display: none;
}
#cont{
	background: transparent;
	text-align: center;
	padding: 10px 25px;
}
#terms{
	font-size: 12px;
	margin-top: 7px;
	margin-left: 10px;
	margin-bottom: 10px;
	position: relative;
}
#terms > a{
	color: #469c62;
}
#log{
	font-size: 14px;
	margin-top: 7px;
	margin-left: 25px;
	padding-bottom: 150px;
	position: relative;
	text-shadow: 0px 5px 10px black;
}
#log > a{
	color: #469c62;
}
#logotipo{
	text-align: right;
	position: relative;
}
#logotipo > img{
	height: auto;
	width: auto;
	max-width: 50px;
}
#antcookie{
	list-style: none;
}
.gody{
	background-color: transparent !important;
	border: none !important;
	filter: drop-shadow(0px 0px 10px #89e8aa8b);
	box-shadow: none !important;
}

.icon_PP{
	height: 15px;
	width: 15px;
}
.icon_P{
	height: 20px;
	width: 20px;
}
.icon_M{
	height: 34px;
	width: 34px;
}
.icon_G{
	height: 40px;
	width: 40px;
}
.icon_GG{
	height: 90px;
	width: 90px;
}
.info{
	background-color: #d8fea2;
	border-radius: 100px;
	color: #333;
	font-weight: bold;
	font-size: 12px;
	height: 12px;
	width: 12px;
	cursor: pointer;
	text-align: center;
	margin: 5px;
	padding: 3px;
	display: inline-block;
}
.info:hover{
	background-color: #fff;
	color: #111;
}
.container{
	flex-wrap: wrap;
	display: flex;
}
.f_lin{
	flex-direction: row;
}
.f_col{
	flex-direction: column;
}
.f_bcent{
	justify-content: center;
	align-items: center;
}
.marg_10{
	margin: 10px;
}
.marg_20{
	margin: 20px;
}
.dpl_none{
	display: none;
}
@media screen and (min-height:390px){
	#logotipo{
		right: 0px;
		bottom: 0px;
		padding: 20px;
		position: fixed;
	}
}

/* Estrutura Flexbox Mobile (Atualizado para coincidir com .form-grid do HTML) */
.form-grid {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centraliza os inputs no ecrã do telemóvel */
    width: 100%;
    margin-top: 10px;
}

.input-group {
    flex-direction: column;
    align-items: center; 
    width: 100%;
    position: relative;
    margin-bottom: 20px; /* Substitui a função do gap */
}

.input-group label {
    margin-bottom: 5px;
    color: #fff; 
}

/* Ocultar a 100% o campo Confirmar Senha sem deixar espaços */
#container_senha2 {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
    pointer-events: none;
    visibility: hidden;
    max-height: 0; /* Mais eficaz que height: 0 para colapsar o flex */
    margin-bottom: 0; /* Remove a margem para aniquilar o espaço vazio */
    padding: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Classe ativada para revelar o campo de forma elástica */
#container_senha2.revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
    visibility: visible;
    max-height: 100px; /* Expande o espaço para a label e o input */
    margin-bottom: 20px; /* Devolve a margem inferior */
    overflow: visible;
}

/* Partículas Elétricas (Raios) - Área contida para mobile */
.spark {
    position: absolute;
    bottom: 0;
    background: #a4f3be; /* Mantém as cores do teu design */
    border-radius: 50%;
    pointer-events: none;
    box-shadow: 0 0 8px 2px #42a262, 0 0 15px 4px #8ae9a9;
    animation: zap-mobile 0.6s ease-out forwards;
    z-index: 10;
}

@keyframes zap-mobile {
    0% { transform: scale(1) translate(0, 0); opacity: 1; }
    100% { transform: scale(0) translate(var(--tx), var(--ty)); opacity: 0; }
}