* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body,
html {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

#adianti_div_content {
    width: 100%;
    padding: 20px;
    display: none; /* Inicialmente oculto, o logic.js o exibe */
}

a,
a:visited {
  color: #061A89 !important;
  text-decoration: none;
  font-size: 1.3rem;
}

a:hover {
  color: #000 !important;
}

#screen {
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: row;
}

.login_container {
  display: flex;
  width: 35%;
  flex-direction: column; /* Mudado para column para empilhar login e adianti_content */
  align-items: center;
  justify-content: flex-start; /* Alinha no topo */
  background-color: #fff;
  overflow-y: auto; /* Habilita o scroll no container principal se necessário */
  height: 100vh;
}

.register_form{
  display: flex;
  width: 35%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #fff;
}

.login_form {
  width: 100%;
  height: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.img_logo {
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  margin: 0 auto 30px;
  width: 200px;
  height: 46px;
}

.logo_ucpel {
  height: 150px;
  width: 150px;
}

.logo_ucpel:hover {
  cursor: default;
}

.logo_apresentaForm {
  width: 100px;
  height: 100px;
}

.logo_anaisForm{
  width: 100px;
  height: 100px;
}

.logo_cadastraForm{
  width: 100px;
  height: 100px;
}

.tittle {
  margin-top: 90px;
  margin-bottom: 40px;
  font-size: 2rem;
  color: #618DBB;
}

.grid_sites {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 20px;
  margin-top: 30px;
  max-width: 400px;
}

.recovery_link_container {
    width: 300px; /* Mesma largura dos inputs para alinhar as bordas */
    display: flex;
    justify-content: flex-end; /* Empurra para a direita */
    margin-bottom: 10px;
}

/* Estilização específica para o link de recuperação */
.recovery_link_container a {
    font-size: 0.9rem !important; /* Menor que os links principais da grade */
    color: #618DBB !important; /* Azul secundário do seu tema */
    transition: color 0.3s ease;
}

.recovery_link_container a:hover {
    color: #061A89 !important; /* Escurece ao passar o mouse */
    text-decoration: underline;
}

/* Permite que o conteúdo longo role sem quebrar o flexbox lateral */
.scrollable_form {
    width: 100%;
    max-width: 100%;
    overflow-x: auto; /* Scroll horizontal para tabelas largas */
}

/* Customização da barra de rolagem para ficar mais discreta */
.scrollable_form::-webkit-scrollbar {
    width: 8px;
}

.scrollable_form::-webkit-scrollbar-thumb {
    background: #618DBB;
    border-radius: 10px;
}

/* 
.buttons_grid {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 175px; 
  height: 60px;
  background-color: #061A89; 
  border: 2px solid #bbbbbb;
  border-radius: 8px;
  transition: all 0.3s ease; 
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05); 
  margin-top: 30px;
  color: #fff; 
  font-size: 1.1rem;
  font-weight: 500;
  text-decoration: none;
  font-family: sans-serif;
  outline: none;
} */


/* .buttons_grid, 
.buttons_grid a:active,
.buttons_grid a:focus {
  color: #000000; 
  font-size: 1.1rem;
  font-weight: 500;
  text-decoration: none;
  font-family: sans-serif;
  outline: none;
} */
/* 
.buttons_grid:hover {
  background-color: #618DBB; 
  transform: translateY(-2px); 
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
} */

.buttons_grid a{
  color: #061A89;
}

.buttons_grid a:hover{
  color: #000;
}

.img_container {
  width: 100%;
  height: 100%;
  /* Mantém a proporção e garante que a imagem cubra o container */
  object-fit: cover; 
  /* MUITO IMPORTANTE: Garante que a imagem se alinhe à esquerda ao ser reduzida */
  object-position: left center; 
  transition: width 0.5s ease, object-position 0.5s ease
}

.img_ucpel {
  height: 100%;
}

.img_ucpel:hover {
  cursor: default;
}

.form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.form_container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 350px;
}

.form_input_email {
  display: flex;
  width: 300px;
  height: 35px;
}

.form_input_pass {
  display: flex;
  width: 300px;
  height: 35px;
}

#email_input {
  width: 100%;
  height: 100%;
  border-radius: 0 5px 5px 0;
  margin-bottom: 10px;
}

#password_input {
  width: 100%;
  height: 100%;
  border-radius: 0 5px 5px 0;
  margin-bottom: 0;
}

.icon_user {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 2.9rem;
  height: 2.5rem;
  padding-left: 0.1rem;
  background-color: #e3e3e3;
  border-radius: 5px 0 0 5px;
}

.icon_pass {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 2.9rem;
  height: 2.5rem;
  padding-left: 0.1rem;
  background-color: #e3e3e3;
  border-radius: 5px 0 0 5px;
}

.captcha {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 0;
  width: 10%;
}

.captchaLogin {
  width: 100px;
}

.button_login {
  margin-top: 20px;
  width: 85%;
  height: 40px;
  color: #fff;
  background-color: #061A89;
  border: 0 solid #000;
  border-radius: 5px;
}

.button_login:hover {
  background-color: #618DBB;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  color: #000;
}

.google_button {
  margin-top: 30px;
}

/* RESPONSIVIDADE */

@media (max-width: 1200px) {
  .img_container {
    display: none !important;
  }

  .login_container {
    width: 100vw !important;
    flex-basis: 100%;
  }

  #adianti_div_content {
    width: 100% !important;
  }

}

@media only screen and (max-width: 900px){
  #adianti_div_content{
    margin-top: 10px !important;
  }
}

@media (max-width: 800px) {
  #screen {
    width: 100%;
    height: 100%;
  }

  .img_container {
    display: none;
  }

  .login_form {
    width: 100vw;
    height: 100vh;
  }
}

@media (max-width: 768px) {
  #screen {
    width: 100%;
    height: 100%;
  }

  .img_container {
    display: none;
  }

  .login_form {
    width: 100vw;
    height: 100vh;
  }
}

@media (max-width: 430px){
  .logo_apresentaForm {
    width: 150px;
    height: 150px;
  }

  .logo_anaisForm{
    width: 150px;
    height: 150px;
  }

  .logo_cadastraForm{
    width: 150px;
    height: 150px; 
  }

}
