@import url('https://fonts.googleapis.com/css2?family=Inter&family=Luckiest+Guy&family=Poppins:wght@400;500&family=Source+Code+Pro&display=swap');

* {
    margin: 0;
    padding: 0;
    font-family: 'poppins', sans-serif;
}

section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    width: 100%;
    background: url('/src/imagens/background6.jpg')no-repeat;
    background-position: center;
    background-size: cover;
}

.caixa-do-formulario {
    position: relative;
    width: 400px;
    height: 500px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    backdrop-filter: blur(00px);
    display: flex;
    justify-content: center;
    align-items: center;

}

h2 {
    font-size: 2em;
    color: #fff;
    text-align: center;

}

.caixa-de-entrada {
    position: relative;
    margin: 30px 0;
    width: 310px;
    border-bottom: 2px solid #fff;
}

.caixa-de-entrada label {
    position: absolute;
    top: 50%;
    left: 5px;
    transform: translateY(-50%);
    color: #fff;
    font-size: 1em;
    pointer-events: none;
    transition: .5s;
}

input:focus~label,
input:valid~label {
    top: -5px;
}

.caixa-de-entrada input {
    width: 100%;
    height: 50px;
    background: transparent;
    border: none;
    outline: none;
    font-size: 1em;
    padding: 0 35px 0 5px;
    color: #fff;
}

.caixa-de-entrada i {
    position: absolute;
    right: 8px;
    color: #fff;
    font-size: 1.2em;
    top: 20px;
    cursor: pointer;
}

.esquecer {
    margin: -15px 0 15px;
    font-size: .9em;
    color: #fff;
    display: flex;
    justify-content: space-between;
}

.esquecer label input {
    margin-right: 3px;
}

.esquecer a {
    color: #fff;
    text-decoration: none;
}

.esquecer label a:hover {
    text-decoration: underline;
}

button {
    width: 100%;
    height: 48px;
    border-radius: 40px;
    background: #fff;
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 1em;
    font-weight: 600;
}

.registrar {
    font-size: .9em;
    color: #fff;
    text-align: center;
    margin: 25px 0 10px;
}

.registrar p a {
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    display: flex;
    justify-content: center;

}

.registrar p a:hover {
    text-decoration: underline;
}

/* Força o rótulo a permanecer suspenso quando o input tem a classe .has-value */
.caixa-de-entrada .input.has-value+i+.input-label,
.caixa-de-entrada input:focus~.input-label,
.caixa-de-entrada input:valid~.input-label {
    top: -5px;
    font-size: 0.9em;
    color: #ededed;
}

/* Estilo para o texto de ajuda na tela de esqueci a senha */
.info-texto {
    color: #fff;
    text-align: center;
    margin: 20px 0;
}

/* Estilos específicos para a página de esqueci a senha */
.pagina-esqueci-senha .caixa-de-entrada {
    /* Centraliza a caixa de entrada na horizontal */
    margin-left: auto;
    margin-right: auto;
}

.pagina-esqueci-senha button {
    /* Diminui a largura do botão e o centraliza */
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    display: block;
}