.container-principal{ 
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    width: 100%;
}

.container-login { 
    display: flex;
    justify-content: center;
    padding: 20px; 
    width: 100%;
}

.formulario-login {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    max-width: 700px;
    width: 500px;
    margin-top: 10px;
}


#form {
    background-color: white;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: auto;
    padding: 40px 25px 25px 25px ; 
    border: 1px solid #00acc1;
}

.dados {
    width: 100%;
    display: grid;
    grid-template-rows: 40px 18px;
    margin-bottom: 18px;
    position: relative;
}

.dados-senha {
    width: 100%;
    display: grid;
    grid-template-rows: 40px 0 18px;
    margin-bottom: 18px;
    position: relative;
}

.dados input,
.dados-senha input {
    border: none;
    background-color: transparent;
    border-bottom: 1px solid #3737fa;
    font-size: 16px;
    display: block;
    width: 100%;
    height: 40px;
    z-index: 2;
}

.dados input:focus,
.dados-senha input:focus {
    box-shadow: 0px 4px 10px -8px #000081;
    outline: none;
}

.label-dados-login {
    position: absolute;
    top: 7px;
    left: 0; 
    transition: ease-in-out 0.2s;
    font-size: 18px;  
    padding-left: 5px;
    color: gray;
}

.dados input:focus+.label-dados-login,
.dados input:not(:placeholder-shown)+.label-dados-login,
.dados-senha input:focus+.label-dados-login,
.dados-senha input:not(:placeholder-shown)+.label-dados-login  {
    top: -18px;
    font-size: 14px;
    color: #000081;
    color: #000081;
    padding-left: 0px;
}

.dados input::placeholder,
.dados-senha input::placeholder {
    color: transparent;
}

.aviso-dados {
    display: none;
    font-size: 13px;
    color: red;
    font-weight: 500;
    width: 100%;
    text-align: end;
}

.toggle-password,
.toggle-second-password {
    position: relative;
    display: grid;
    justify-content: center;
    top: -28px;
    cursor: pointer;
    opacity: 60%;
    width: 30px;
    height: 20px;
    margin-left: 94%;
    z-index: 2;
}

.eye-icon {
    width: 19px;
    height: 19px;
}

.eye-open {
    background: url('/imagens/cadastro/visivel.png') no-repeat center center;
    background-size: cover;
}

.eye-closed {
    background: url('/imagens/cadastro/não-visivel.png') no-repeat center center;
    background-size: cover;
}

.second-eye-icon {
    width: 19px;
    height: 19px;
}

.second-eye-open {
    background: url('/imagens/cadastro/visivel.png') no-repeat center center;
    background-size: cover;
}

.second-eye-closed {
    background: url('/imagens/cadastro/não-visivel.png') no-repeat center center;
    background-size: cover;
}

.lembrar-esqueceu{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%; 
    margin-bottom: 20px;
    color: #000081;
    font-weight: 500;
}

.lembrar-dados{
    display: flex; 
    width: 100%; 
    gap: 10px; 
    cursor: pointer;
}

.lembrar-dados input[type=checkbox]{
    width: 18px;
    height: 18px;    
    cursor: pointer;
}

.lembrar-dados p{ 
    font-size: 16px;
    color: #000081;
}





.recuperar-senha {
    font-size: 16px;
    width: 100%;
    font-weight: 500; 
    text-align: end;
}

.recuperar-senha a {
    text-decoration: none;
    color: #000081;
}

.recuperar-senha:hover a {
    text-decoration: underline;
}


.botao-acao-formulario-login {
    padding: 6px 10px;
    cursor: pointer;
    background-color: #00acc1;
    border: none;
    border-radius: 5px;
    color: white;
    margin-top: 10px;
    font-size: 18px;
    font-weight: 500;
    height: 38px;
}

.botao-acao-formulario-login:hover {
    background-color: #008799;  
}

.avisos-erro {
    width: 100%;
    display: none;
    justify-content: center; 
    z-index: 10;
    margin-top: 20px;
  }
  
  .mensagem-erro {
    background-color: #ffd3d3;
    color: rgb(255, 0, 0);
    padding: 15px;
    border: 1px solid red;
    border-radius: 6px;
    text-align: left;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    font-family: Arial, Helvetica, sans-serif;
    width: auto;
    max-width: 550px;
    z-index: 10;
    margin: 0 10px;
  }
  
  .fechar-mensagem {
    display: grid;
    font-size: 16px;
    position: relative;
    cursor: pointer;
    color: #ff0000;
    font-weight: bold;
    align-content: center;
    padding-left: 10px;
  }
  
  .fechar-mensagem:hover {
    color: #a50000;
  }

  .central-ajuda{
    position: fixed;
    z-index: 10;
    bottom: 30px;
    right: 30px;
    border-radius: 50%;
    background-color: #00acc1;
    color: white;
    display: flex;
    flex-direction: column; 
    justify-content: center;
    align-items: center;
    cursor: pointer;
    width: 40px;
    height: 40px; 
    text-decoration: none;
    font-size: 30px;
}

.central-ajuda:hover{
    background-color: #008799;
}

.ajuda-mobile{
    display: none;
}

  @media (max-width: 800px) {
    .titulo-form-login{
        font-size: 20px;
    }

    .formulario-login{
        width: 100% !important;
        margin-top: 0;
    }
    
    .toggle-password,
    .toggle-second-password {
    margin-left: 91%;
    }

    .opcao-navbar p{
        display: none;
    }

    .ajuda-mobile{
        display: block;
    }

    .central-ajuda{
        display: none;
    }
  }