@import url("../variavel_css/variavel.css");

html, body {
  height: 100%;
  padding: 0;
  margin: 0;
  bottom: 0;
  box-sizing: border-box;
  font-family: 'Roboto', sans-serif;
}

section {
  display: flex;
  width: 100%;
  height: 100vh;
}

#caixa {
  flex: 1; /* ocupa a outra metade */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
}

#caixa h1 {
  color: var(--texto-preto-branco);
  text-align: center;
  font-size: 50px;
}
#formulario {
  display: grid;
  max-width: 380px;
  width: 100%;
}

#formulario p {
  color: var(--texto-preto-branco);
  font-size: 20px;
}

#formulario input {
  border-color: var(--texto-preto-branco);
  border-radius: 6px;
  font-size: 15px;
  width: 100%;
  height: 35px;
  color: var(--texto-preto-branco);
  background-color: var(--fundo-branco-cinzaDark);
}

.form_separar {
  margin-top: 25px;
  max-width: 380px;
  position: relative;
}

#btn_logar {
  text-align: center;
}

#btn_logar button {
  text-align: center;
  color: var(--branco);
  font-size: 20px;
  background-color: var(--fundo-roxoDomus-cinzaDark);
  border-radius: 6px;
  width: 100%;
  height: 35px;
  cursor: pointer;
  border: none;
}

#boxcheck {
  color: var(--texto-preto-branco);
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: left;
  width: 250px;
  margin-top: 20px;
  margin-bottom: 20px;
}

#boxcheck input {
  margin-right: 6px;
  cursor: pointer;
}

#boxcheck input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  background-color: var(--fundo-verdeDomus-branco);
  position: relative;
}

#boxcheck input[type="checkbox"]:checked {
  background-color: var(--roxoDomus);
  border-color: var(--roxoDomus);
}

#boxcheck input[type="checkbox"]:checked::before {
  content: '\2713';
  display: block;
  text-align: center;
  color: var(--fundo-verdeDomus-branco);
  font-size: 16px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#dividida_mortal_modal {
  border-top: 3px solid var(--branco);
  max-width: 250px;
  margin: 0 auto;
}

#cadastrar {
  text-align: center;
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
  width: 100%;
  max-width: 500px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#cadastrar button {
  background-color: var(--fundo-verdeDomus-cinzaDark60);
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--texto-preto-branco);
  font-weight: bold;
  cursor: pointer;
  border: none;
}

#cadastrar p {
  color: var(--texto-preto-branco);
  font-size: 20px;
  padding: 15px;
}

#perdeu_senha p {
  font-size: 15px;
  display: flex;
  padding: 5px 0 0 10px;
}

.aviso {
  color: var(--texto-preto-branco);
  margin:10px 0;
}

#olho_login {
  cursor: pointer;
  position: absolute;
  width: 25px;
  right: 0;
  margin: 3px;
}

#lado_esquerdo {
  flex: 1; 
  background-size: cover;        
  background-position: center;   
}

#barra {
  padding: 0;
}

#btn_voltar button{
    position: fixed;
  top: 20px;
  right: 20px;
  padding: 10px 18px;
  background-color: var(--fundo-roxoDomus-cinzaDark);
  color: var(--branco);
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  z-index: 999; /* garante que não fica dentro do section */
  }

@media (max-width: 768px) {
  #lado_esquerdo {
    display: none;
  }

  /* Caixa ocupa largura total no mobile */
  #caixa {
    flex: none;
    width: 100%;
    margin: 0;
    padding: 30px;
  }
  
}