@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');



body {
    font-family: "Inter", sans-serif !important;
}

/* Contêiner principal */
.background {
    margin: 0;
    padding: 0;
    height: 100vh;
    overflow: hidden;
    position: relative;
}

.background::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../img/293fe6756e8e6ce29536f3c9656723a3.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    filter: grayscale(100%) hue-rotate(200deg) brightness(0.9) contrast(1.1);
    z-index: -1;
}

.center {
    display: flex;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 463px;
    width: 453px;
    gap: 10px;
    background-color: #F1F5F9;
    border-radius: 6px;
    border: 1px solid #E2E8F0;
    flex-direction: column;
    justify-content: center;
}

.center h1 {
    text-align: center;
    padding: 20px 0;
    color: #CF3742; /* Cor Branco */
}

.center form {
    padding: 0 40px;
    box-sizing: border-box;
}

form .txt_field {
    position: relative;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    margin: 30px 0;
    height: 49px;
}

.txt_field input {
    width: 100%;
    color: #373F47;
    padding: 0px 10px;
    height: 49px;
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
    border: 1px solid #E2E8F0;
    border-radius: 6px;
    outline: none;
    position: relative;
    z-index: 1;
    background-color: #FFFFFF;
}


.txt_field label {
    position: absolute;
    top: 50%;
    left: 10px;
    color: #373F47;
    transform: translateY(-50%);
    font-size: 14px;
    font-weight: 500;
    line-height: 24px;
    pointer-events: none;
    transition: 0.5s;
    z-index: 1;
}

.txt_field span::before {
    content: "";
    position: absolute;
    top: 50px;
    left: 0;
    width: 0%;
    height: 2px;
    background: #373F47;
    transition: 0.5s;
    z-index: 1;
}

.txt_field input:focus~label,
.txt_field input:valid~label {
    display: none; /* Cor Secundária */
}

.txt_field input:-webkit-autofill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #FFFFFF;
    z-index: -1;
}


/* Para navegadores baseados em WebKit (Chrome, Safari) */
.txt_field input:-webkit-autofill {
    background-color: transparent !important; /* Remove o fundo azul claro */
    -webkit-text-fill-color: #373F47 !important; /* Define a cor do texto */
    border: none !important; /* Reaplica a borda */
    transition: background-color 9999s ease-in-out 0s; /* Força o navegador a aplicar o fundo */
    width: 100%;
    color: #373F47;
    padding: 0px 10px;
    height: 49px;
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
    background: none;
    outline: none;
    position: relative;
    z-index: 1;
    background-color: #FFFFFF;
}

/* Para Firefox */
.txt_field input:-moz-autofill {
    background-color: transparent !important; /* Remove o fundo azul claro */
    color: #373F47 !important; /* Define a cor do texto */
    border: none !important; /* Reaplica a borda */
    width: 100%;
    color: #373F47;
    padding: 0px 10px;
    height: 49px;
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
    background: none;
    outline: none;
    position: relative;
    z-index: 1;
    background-color: #FFFFFF;
}

/* Para Edge */
.txt_field input:-ms-autofill {
    background-color: transparent !important; /* Remove o fundo azul claro */
    color: #373F47 !important; /* Define a cor do texto */
    border: none !important; /* Reaplica a borda */
    width: 100%;
    color: #373F47;
    padding: 0px 10px;
    height: 49px;
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
    background: none;
    outline: none;
    position: relative;
    z-index: 1;
    background-color: #FFFFFF;
}



.sign,
.mail,
.eye1,
.eye2 {
    position: absolute;
    background-color: rgba(0, 0, 0, 0);
    top: 50%;
    border: none;
    right: 15px;
    transform: translateY(-50%);
    font-size: 18px;
    color: #F8F7FA; /* Cor Branco */
}

.sign:hover,
.mail:hover,
.eye1:hover,
.eye2:hover {
    color: #00D9A9; /* Cor Secundária */
}

.pass {
    color: #475569; /* Cor Branco */
    cursor: pointer;
    font-weight: 500;
    size: 14px;
    line-height: 20px;
    text-decoration: none;
}

.pass:hover {
    color: #475569; /* Cor Secundária */
}

.forget {
    width: 100%;
    height: 40px;
    align-items: center;
    display: flex;
    justify-content: center;

}

input[type="submit"] {
    width: 100%;
    height: 40px;
    border: 0;
    background: #CF3742; /* Cor Secundária */
    border-radius: 6px;
    font-size: 14px;
    color: #FFFFFF; /* Cor Branco */
    font-weight: 500;
    cursor: pointer;
    line-height: 24px;
    padding: 8px 16px 8px 16px;
    outline: none;
    gap: 10px;
}

input[type="submit"]:hover {
    border-color: #CF3742; /* Cor Secundária */
    transition: 0.5s;
}

.signup_link {
    margin: 30px 0;
    text-align: center;
    font-size: 16px;
    font-weight: 800;
    line-height: 20px;
    letter-spacing: -0.3px;
    color: #CF3742; /* Cor Branco */
}

.signup_link a {
    color: #CF3742; /* Cor Branco */
    text-decoration: none;
}

.signup_link a:hover {
    color: #CF3742; /* Cor Secundária */
}

button#reset {
    background-color: #CF3742; /* Cor Secundária */
    border-color: #CF3742; /* Cor Secundária */
}

.logo-light {
    display: inline-block;
}
