@import url('https://fonts.googleapis.com/css?family=Poppins');
:root{
  --cor-primaria: #3ca692;
  --cor-secundaria:#21253f;
  --cor-title-cards: #ffffff;
  --cor-fundo-card-principal: #f3faf8;
}


html, body {
  font-family: "Poppins", sans-serif;
  width: 100%;
  height: 100%;
  background-color: white;
  font-family: "Poppins", sans-serif;
  max-height: 100vh;
}

/* STYLE TELA LOGIN */

div#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--cor-title-cards);
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
}
.loader .title {
  color: #000;
  font-size: 14px;
  letter-spacing: 2px;
  font-weight: lighter;
  text-align: center;
  font-family: arial;
}
.loader {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top:-50px; 
  margin-left:-50px;
}
/*Loader Pin*/
.loader-pin {
  width: 150px;
  height: 150px;
  display: block;
  margin-bottom: 40px;
  box-sizing: border-box;
  position: relative;
}

.loader-pin::after {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  background-image: url('../static/img/monograma.png'); /* Caminho para sua imagem */
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  animation: animMarker 0.4s ease-in-out infinite alternate;
}

.loader-pin::before {
  
  content: '';  
  box-sizing: border-box;
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
  top:150%;
  width: 24px;
  height: 4px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.2);
  animation: animShadow 0.4s ease-in-out infinite alternate;
}

@keyframes animMarker {
  0% {
    transform: translate(0px, 5px);
  }
  100% {
    transform: translate(0px, -5px);
  }
}

@keyframes animShadow {
  0% {
    transform: scale(0.5);
  }
  100% {
    transform: scale(1.1);
  }
}

.login-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  overflow: hidden;
}

.login-container::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: var(--cor-secundaria); 
  clip-path: polygon(0 0, 45% 0, 55% 100%, 0 100%);
  z-index: 0; 
}

.login-container::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #fff; /* Cor vermelha */
  clip-path: polygon(45% 0, 100% 0, 100% 100%,55% 100%);
  z-index: 0;
}

.overlay-image {
  position: absolute;
  top: 0;
  right: 5%;
  width: 700px;
  max-height: 100vh;
  z-index: 1;
  background-size: contain;
  background-repeat: no-repeat;

  animation: revealImage 2s ease forwards;
}

.overlay-image.overlay-image1 {
  background-image: url('../img/monograma.png');
  right: 5%;
  max-height: 100vh;

}

.overlay-image.overlay-image2 {
  background-image: url('../img/monograma-verde.png');
  animation-delay: 0.5s;
  max-height: 100vh;

}

#formContent h5{
  color: var(--cor-secundaria);
}

@keyframes revealImage {
  0% {
    height: 0vh;

  }

  100% {
    height: 100vh;
 
  }
}

a {
  color: #92badd;
  display: inline-block;
  text-decoration: none;
  font-weight: 400;
}

h2 {
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  display: inline-block;
  margin: 40px 8px 10px 8px;
  color: #cccccc;
}


.divForm{
  margin: 10%;
  background-color: transparent;
  z-index: 1;

}

#formContent {
  -webkit-border-radius: 10px 10px 10px 10px;
  
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: flex-start;
  border-radius: 10px 10px 10px 10px;
  background: #fff;
  padding: 30px;
  width: 100%;
  max-width: 450px;
  -webkit-box-shadow: 0 30px 60px 0 rgba(0, 0, 0, 0.3);
  box-shadow: 0 30px 60px 0 rgba(0, 0, 0, 0.3);
  text-align: center;
  z-index: 1;
}

#forgot-password {
  display: flex;
  cursor: pointer;
  padding: 8px;
  color: #7d7d7ddf;
  text-decoration: none;
  font-size: 12px;
}
#forgot-password:hover{
  color: #535870;
}

h2.inactive {
  color: #cccccc;
}

h2.active {
  color: #0d0d0d;
  border-bottom: 2px solid #68e95f;
}

#btn-token[type=submit],
#id_botao_login[type=button],
#id_botao_login[type=submit],
#id_botao_login[type=reset] {
  background-color: var(--cor-primaria);
  border: none;
  color: white;
  padding: 10px 65px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  text-transform: uppercase;
  font-size: 13px;
  -webkit-box-shadow: 0 10px 30px 0 rgba(95, 186, 233, 0.4);
  box-shadow: 0 10px 30px 0 rgba(95, 186, 233, 0.4);
  -webkit-border-radius: 5px 5px 5px 5px;
  border-radius: 5px 5px 5px 5px;
  margin: 18px 20px 20px 20px;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

#btn-token[type=submit],
#id_botao_login[type=button]:hover,
#id_botao_login[type=submit]:hover,
#id_botao_login[type=reset]:hover {
  background-color: #80c7ba;

}

#btn-token[type=submit],
#id_botao_login[type=button]:active,
#id_botao_login[type=submit]:active,
#id_botao_login[type=reset]:active {
  -moz-transform: scale(0.95);
  -webkit-transform: scale(0.95);
  -o-transform: scale(0.95);
  -ms-transform: scale(0.95);
  transform: scale(0.95);
}

input[type=text],
input[type=password] {
  background-color: #f6f6f6;
  border: none;
  color: #0d0d0d;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 5px;
  width: 100%;
  border: 2px solid #f6f6f6;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -ms-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
  -webkit-border-radius: 5px 5px 5px 5px;
  border-radius: 5px 5px 5px 5px;
}

input[type=text] input[type=password]:focus {
  background-color: #fff;
  border-bottom: 2px solid #5fbae9;
}

input[type=text] input[type=password]:placeholder {
  color: #cccccc;
}

#login{
  width: 100%;
}

#col-iconSenha{
  
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

}

.fadeInDown {
  -webkit-animation-name: fadeInDown;
  animation-name: fadeInDown;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

@-webkit-keyframes fadeInDown {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
  }

  100% {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

@keyframes fadeInDown {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
  }

  100% {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

@-webkit-keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@-moz-keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.fadeIn {
  opacity: 0;
  -webkit-animation: fadeIn ease-in 1;
  -moz-animation: fadeIn ease-in 1;
  animation: fadeIn ease-in 1;

  -webkit-animation-fill-mode: forwards;
  -moz-animation-fill-mode: forwards;
  animation-fill-mode: forwards;

  -webkit-animation-duration: 1s;
  -moz-animation-duration: 1s;
  animation-duration: 1s;


}

.fadeIn.first {
  -webkit-animation-delay: 0.4s;
  -moz-animation-delay: 0.4s;
  animation-delay: 0.4s;
}

.fadeIn.second {
  -webkit-animation-delay: 0.6s;
  -moz-animation-delay: 0.6s;
  animation-delay: 0.6s;
}

.fadeIn.third {
  -webkit-animation-delay: 0.8s;
  -moz-animation-delay: 0.8s;
  animation-delay: 0.8s;
}

.fadeIn.fourth {
  -webkit-animation-delay: 1s;
  -moz-animation-delay: 1s;
  animation-delay: 1s;
}

.underlineHover:after {
  display: block;
  left: 0;
  bottom: -10px;
  width: 0;
  height: 2px;
  background-color: #56baed;
  content: "";
  transition: width 0.2s;
}

.underlineHover:hover {
  color: #0d0d0d;
}

.underlineHover:hover:after {
  width: 100%;
}

*:focus {
  outline: none;
}

#logo-youtax {
  width: 25%;
  max-height: auto;
}

* {
  box-sizing: border-box;
}

#icon_password {
  position: relative;
  transform: translateY(-50%);
  font-size: 22px;
  cursor: pointer;
  color: var(--cor-secundaria);
}

/* STYLE TELA LOGIN */
#body-login{
  height: 100vh;
}

.container {
  max-width: 100%;
  display: flex;
  height: 100vh;
  padding: 0;
  margin: 0;
}

.coluna1 {
  flex: 0 0 50%;
  background-color: #fff;
  height: 100vh;
  align-items: center;
  display:flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  text-align: center;
  width: 100%;
}

.coluna2 {
  flex: 0 0 50%;
  background-color: var(--cor-secundaria);
  height: 100vh;
  display:flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  text-align: center;

}

#logo-youtax-lg{
  width: 100%;
  height: auto;
}

a {
  color: #92badd;
  display: inline-block;
  text-decoration: none;
  font-weight: 400;
}

h2 {
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  display: inline-block;
  margin: 40px 8px 10px 8px;
  color: #cccccc;
}

#conteudo-form-login{
  padding-top: 20%;
}

#forgot-password {
  display: flex;
  cursor: pointer;
  color: #908f8f;
  text-decoration: none;
  font-size: 12px;
  
}

#forgot-password:hover{
  color: #9499b6;
}

h2.inactive {
  color: #cccccc;
}

h2.active {
  color: #0d0d0d;
  border-bottom: 2px solid #68e95f;
}


/*  Mensagens flash */

/* Container para as mensagens */
.flash-container {
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 1050;
  width: 300px;
}

/* Estilo geral das mensagens */
.flash-message {
  margin-bottom: 10px;
  padding: 15px;
  border-radius: 5px;
  color: white;
  font-weight: bold;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: opacity 0.5s ease, transform 0.3s ease;
  opacity: 1;
}

/* Mensagens de sucesso */
.flash-message.success {
  background-color: var(--cor-primaria);
}

/* Mensagens de erro */
.flash-message.error {
  background-color: #f44336;
}

/* Mensagens de informação */
.flash-message.info {
  background-color: var(--btn-hover-secundario);
}

/* Efeito de desaparecimento */
.flash-message.fade-out {
  opacity: 0;
  transform: translateX(40px);
}

