/* ==========================================
   CENTRALIZAÇÃO DO LOGIN
   ========================================== */

.login-container {
    width: 100%;
    min-height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 30px 15px;
}


/* ==========================================
   CAIXA
   ========================================== */

.login-box {

    width: 100%;
    max-width: 420px;

    margin: auto;

    padding: 35px 30px;

    background: #ffffff;

    border-radius: 18px;

    box-shadow:
        0 10px 35px rgba(0, 0, 0, 0.12);

    text-align: center;
}


/* ==========================================
   FOTO
   ========================================== */

.foto-login-container {

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    margin-bottom: 20px;
}


.foto-login-label {

    display: block;

    width: 130px;
    height: 130px;

    cursor: pointer;

    border-radius: 50%;

    overflow: hidden;

    border: 4px solid #2563eb;

    background: #f1f5f9;

    box-shadow:
        0 5px 20px rgba(0, 0, 0, 0.15);

    transition: 0.3s;
}


.foto-login-label:hover {

    transform: scale(1.05);

    border-color: #1d4ed8;
}


.foto-perfil-login {

    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;
}


.foto-login-texto {

    margin-top: 10px;

    font-size: 12px;

    color: #64748b;
}


/* ==========================================
   TÍTULO
   ========================================== */

.login-box h1 {

    margin: 10px 0 5px;

    font-size: 25px;

    font-weight: 700;

    color: #0f172a;
}


.subtitulo-login {

    margin-bottom: 25px;

    color: #64748b;

    font-size: 14px;
}


/* ==========================================
   FORMULÁRIO
   ========================================== */

#formLogin {

    width: 100%;

    text-align: left;
}


.campo-login {

    margin-bottom: 18px;
}


.campo-login label {

    display: block;

    margin-bottom: 7px;

    font-size: 13px;

    font-weight: 600;

    color: #374151;
}


.campo-login input {

    width: 100%;

    height: 46px;

    padding: 0 13px;

    border: 1px solid #d1d5db;

    border-radius: 9px;

    font-family: Poppins, sans-serif;

    outline: none;
}


.campo-login input:focus {

    border-color: #2563eb;

    box-shadow:
        0 0 0 3px rgba(37, 99, 235, 0.12);
}


/* ==========================================
   BOTÃO
   ========================================== */

#btnLogin {

    width: 100%;

    height: 48px;

    border: none;

    border-radius: 9px;

    background: #2563eb;

    color: white;

    font-family: Poppins, sans-serif;

    font-size: 15px;

    font-weight: 600;

    cursor: pointer;

    margin-top: 5px;
}


#btnLogin:hover {

    background: #1d4ed8;
}


/* ==========================================
   LINKS
   ========================================== */

.login-link {

    margin-top: 15px;

    font-size: 13px;

    text-align: center;
}


.login-link a {

    color: #2563eb;

    text-decoration: none;

    font-weight: 600;
}


.login-link a:hover {

    text-decoration: underline;
}


/* ==========================================
   IDIOMA
   ========================================== */

.login-box .seletor-idioma {

    margin-top: 25px;

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 8px;
}


.login-box .seletor-idioma select {

    padding: 7px 10px;

    border: 1px solid #d1d5db;

    border-radius: 8px;

    background: white;
}


/* ==========================================
   MENSAGEM
   ========================================== */

.mensagem-login {

    padding: 10px;

    margin-bottom: 15px;

    border-radius: 8px;

    font-size: 13px;
}


.mensagem-login.erro {

    background: #fee2e2;

    color: #b91c1c;
}


.mensagem-login.sucesso {

    background: #dcfce7;

    color: #15803d;
}


/* ==========================================
   CELULAR
   ========================================== */

@media (max-width: 480px) {

    .login-container {

        padding: 20px 12px;
    }


    .login-box {

        padding: 28px 20px;

        border-radius: 14px;
    }


    .foto-login-label {

        width: 110px;

        height: 110px;
    }


    .login-box h1 {

        font-size: 21px;
    }

}