/**********CORES GLOBAIS**********/
:root {
    --cor-primaria: #0066FF;
    --cor-secundaria: #D2E4FF;
    --cor-branco-gelo: #f5f5f5;
    --cor-branco: #ffffff;
    --cor-cinza-claro: #e0e0e0;
    --cor-cinza: #6b6b6b;
    --cor-preto: #0e0e0e;
    --cor-vermelho: #dc3545;
    --cor-vermelho-hover: #bb2d3b;
    --cor-verde: #198754;
    --cor-amarelo: #ffc107;
}

/**********CONFIG. FONTE GLOBAL**********/
*{
    font-family: "Open Sans", sans-serif;
    font-style: normal;
    font-weight: 400;
}

/******************PÁGINA DE LOGIN******************/
body{
    background-image: url('../images/BG.jpg');
    background-repeat: no-repeat;
    background-position: top;
    background-size: cover;
}

.caixa_login{
    display: flex;
    align-items: center;
    justify-content: center;
    align-content: center;
    background-color: var(--cor-branco);
    filter: drop-shadow(0px 3px 20px rgba(0, 0, 0, 0.20));
    width: 32%;
    padding: 60px 40px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 5px;
    flex-wrap: wrap;
}

#logo_safepay{
    width: 100%;
    padding: 0px 40px 20px 40px;
}

.form_login{
    width: 100%;
}

label{
    width: 100%;
    color: var(--color-preto);
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 500;
}

.campo_form{
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    margin-top: 5px;
    justify-content: space-between;
}
.campo_form i.icon_form{
    font-size: 24px;
    color: var(--cor-branco-gelo);
    background: var(--cor-primaria);
    display: flex;
    align-content: center;
    justify-content: center;
    flex-wrap: wrap;
    border-radius: 5px;
    padding: 5px;
}

.campo_form#campo_form_email{
    margin-bottom: 20px;
}
.campo_input_senha{
    display: flex;
    position: relative;
    width: 88%;
}
.campo_input_senha input{
    width: 100%;
}
.campo_input_senha .mostrar_senha{
    position: absolute;
    display: flex;
    top: 50%;
    right: 5%;
    transform: translate(50%, -50%);
    cursor: pointer;

}

input{
    width: 88%;
    height: auto;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid var(--cor-preto);
    background: var(--cor-branco);
    padding: 5px 0px 5px 5px; 
}

input:focus{
    border: 1px solid var(--cor-primaria);
    outline: none;
}

#botao_entrar{
    width: 100%;
    height: auto;
    margin-top: 30px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    padding: 10px;
    text-transform: uppercase;
    background-color: var(--cor-primaria);
    color: var(--cor-branco-gelo);
    border: none;
    border-radius: 5px;
    transition: all .4s ease-in-out;
}
#botao_entrar:hover{
    background-color: var(--cor-primaria);
    opacity: 0.8;
    transform: scale(1.02);
}

p#msg_error{
    width: 100%;
    font-size: 14px;
    color: var(--cor-vermelho);
}

@media (max-width: 767px){
    body{
        background-size: auto;
    }
    .caixa_login{
        width: 90% !important;
        padding: 30px 20px;
    }

    #logo_safepay{
        width: 100% !important;
    }
    .campo_form .icon_form{
        width: 14%;
    }
    input{
        width: 82%;
    }
    .campo_input_senha{
        width: 82%;
    }
    .campo_input_senha input{
        width: 100%;
    }
}

@media (max-width: 1023px){
    .caixa_login{
        width: 60%;
    }
}

@media (max-width: 1024px){
    .caixa_login{
        width: 45%;
    }
}
@media (min-width: 1441px){
    .caixa_login{
        width: 25%;
    }
}