*{
    font-family: 'DM Sans', 'Roboto', serif;
}

html, body{
    width: 100vw;
    height: 100dvh;
    margin: 0;
    padding: 0;
    overflow: visible;
}

img#finnancer-logo{
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 250px;
}

.container{
    width: 100vw;
    height: 100dvh;
}

.login-container{
    width: 100vw;
    height: 100dvh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-form{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

form{
    width: 90%;
    margin-top: 4rem;
}

h2{
    display: none;
}

p{
    margin: 0;
    margin-bottom: 1rem;
}

form label{
    font-size: 1.25rem;
}

input{
    box-sizing: border-box;
    width: 100%;
    height: 60px;
    border: 1px solid #ccc;
    border-radius: 8px;
    margin: 0;
    margin-bottom: 1rem;
    padding: 0 10px;
    font-size: 1.25rem;
}

input:focus{
    border-color: #0059ff;
    outline: none;
}

form > button{
    display: block;
    background-color: #1A0082;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    margin: 0 auto;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
    width: 100%;
}

form > button:hover{
    background-color: #2600be;
}

span{
    margin: 0;
}

#remember-me-div{
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

#remember-me-div > div{
    display: none !important;
}

#remember-me-div a{
    margin-top: .5rem;
}

a{
    text-decoration: none;
    color: #0059ff;
    font-size: 1.25rem;
}

a:hover{
    text-decoration: underline;
}

.ou{
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    font-size: 1.1rem;
    margin-top: 2rem;
    color: #999;
}

.ou::before, .ou::after{
    content: "";
    display: inline-block;
    width: 100%;
    height: 1px;
    background-color: #ccc;
    margin: 0;
}

.ou::before{
    margin-right: 0.5rem;
}

.ou::after{
    margin-left: 0.5rem;
}

.cadastrar{
    margin-top: 2.5rem;
}

.cadastrar button{
    box-sizing: border-box;
    background-color: transparent;
    color: #0059ff;
    border: 1px solid #0059ff;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    margin: 0 auto;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
    width: 100%;
}

#login-imagem{
    display: none;
}

.nao-selecionar{
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none; -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.input-error {
    border: 2px solid #dc3545; /* Vermelho para erro */
    background-color: #f8d7da; /* Fundo vermelho claro */
    color: #721c24; /* Texto vermelho escuro */
}

.error-message {
    color: #dc3545; /* Vermelho para erro */
    font-size: 0.875rem;
    margin-top: -0.5rem;
    margin-bottom: 1rem;
}

input[type="password"] {
    -webkit-text-security: disc;
}


input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear {
    display: none;
}

input[type="password"] {
  /* Impede que o navegador adicione ícones internos */
    appearance: none;
    -webkit-appearance: none;
}

.password-container {
    position: relative;
    width: 100%;
}

.password-container input {
    width: 100%;
    padding-right: 40px; /* Espaço para o ícone */
}

.password-container img {
    position: absolute;
    right: 10px;
    top: 0;
    transform: translateY(53%);
    cursor: pointer;
}

.show-password {
    cursor: pointer;
    width: 30px;
    height: 30px;
}

.hidden {
    display: none;
}