@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@300..700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "fredoka", sans-serif;
}

html::-webkit-scrollbar {
    display: block;
    width: 12px;
}

html::-webkit-scrollbar-track {
    background-color: transparent;

}

html::-webkit-scrollbar-button {
    background-color: #ffffff;
    display: none;
}

html::-webkit-scrollbar-thumb {
    background-color: #1a17c0;
}

body {
    background-color: #f1f1f1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    flex: 1;
}

.navbar {
  margin: 0;
  width: 100%;
  height: auto;
  max-height: 70px;
  padding: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: radial-gradient(at 50% 50%, #000081, #030434);
  border-bottom: 3px solid #00acc1;
  box-shadow: 0px -3px 10px 2px #000081;
  padding: 4px 8px;
  position: fixed;
  z-index: 90;
}

.icones {
    display: flex;
    justify-content: start;
    gap: 25px;
}


.opcao-navbar {
    width: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 16px;
    color: white;
    text-align: center;
    gap: 6px;
    text-decoration: none;
}

.opcao-navbar div {
    display: flex;
    justify-content: center;
}

.icon {
    width: 18px;
    height: 18px;
}

.logo {
    display: flex;
    justify-content: center;
}

.logo img {
    width: 200px;
    height: auto;
}

.icones {
    display: flex;
    justify-content: start;
    gap: 25px;
}

.container-principal{
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center; 
    flex: 1;
    padding-top: 55px;
}


#form-editar-senha,
.dados-para-recuperacao {
    margin-top: 20px;
    width: auto; 
    border: 1px solid #00acc1;
    border-radius: 10px;
    padding: 15px;
    background-color: white;
    margin: 20px 10px;
    margin-top: 40px;
}


.dados-para-recuperacao {
    min-width: 500px;
}


.titulo-dados-senha {
    font-size: 22px;
    font-weight: 500;
    color: #000081;
    margin-bottom: 25px;
    text-align: center;
}

.dados-formulario-senha {
    width: 100%;
    display: grid;
    grid-template-rows: 40px 0 30px;
    margin-bottom: 5px;
    position: relative;
}

#senhaInput {
  padding-right: 30px;
}

.dados-formulario-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-formulario-senha input:focus {
    box-shadow: 0px 4px 10px -8px #000081;
    outline: none;
}



.label-dados-recuperar {
    position: absolute;
    top: 7px;
    left: 0; 
    transition: ease-in-out 0.2s;
    font-size: 18px;  
    padding-left: 5px;
    color: gray;
}


.dados-formulario-senha input:focus+.label-dados-recuperar,
.dados-formulario-senha input:not(:placeholder-shown)+.label-dados-recuperar {
    top: -18px;
    font-size: 14px;
    color: #000081;
    color: #000081;
    padding-left: 0px;
}

.dados-formulario-senha input::placeholder {
    color: transparent;
}

















.aviso-dados-senha {
    display: none;
    font-size: 13px;
    color: red;
    font-weight: 500;
    width: 100%;
    text-align: end; 
}

.botao-salvar-senha {
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.botao-salvar-senha button  {
    margin-top: 10px;
    display: block;
    padding: 5px 15px;
    border: none;
    background-color: #00acc1;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    text-align: center;
    font-size: 16px;
    transition: background-color 0.3s;
    height: 38px;
}

.botao-salvar-senha button:hover {
    background-color: #008799; 
}

.informacao-senha {
    font-size: 16px;
    font-style: italic;
    color: #1a17c0;
    margin: 5px;
    width: 100%;
    text-align: center;
}

.avisos-erro {
    width: 100%;
    display: grid;
    justify-content: center;
    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;
    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;
  }




.toggle-password,
.toggle-second-password {
  position: relative;
  display: grid;
  justify-content: center;
  right: 5px;
  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;
}


 
@media only screen and (max-width: 800px) {

    
    .opcao-navbar p{
        display: none;
    }

    .logo img {
        width: 135px;
        height: auto;
    }

    .dados-para-recuperacao { 
        width: 100%; 
        min-width: auto;
    }

    .container-principal{ 
        margin: 5px;
    }

    #form-editar-senha{
        margin-top: 0px;
    }

}