*{
    box-sizing:border-box;
}

body{
    margin:0;
    background:#090909;
    color:white;
    font-family:'Poppins',sans-serif;
    min-height:100vh;
}

.container{
    width:100%;
    min-height:100vh;
    display:grid;
    grid-template-columns:55% 45%;
}

.left{
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    padding:40px;
}

.logo-img{
    width:650px;
    max-width:80%;
    animation:fadeLogo 1.2s ease;
}

.slogan{
    margin-top:40px;
    color:#7d7d7d;
    font-size:18px;
    letter-spacing:1px;
    text-align:center;
}

.right{
    display:flex;
    justify-content:center;
    align-items:center;
    padding:40px;
}

.login-box{
    width:380px;
    max-width:100%;
}

.login-box h2{
    font-size:34px;
    margin-bottom:40px;
}

.login-box input{
    width:100%;
    height:55px;
    background:#141414;
    border:1px solid #252525;
    color:white;
    border-radius:12px;
    padding-left:18px;
    margin-bottom:20px;
    font-size:15px;
    transition:.3s;
}

.login-box input:focus{
    border:1px solid white;
    outline:none;
}

.login-btn{
    width:100%;
    height:55px;
    border:none;
    background:white;
    color:black;
    border-radius:12px;
    font-weight:600;
    cursor:pointer;
    margin-top:10px;
    transition:.25s;
}

.login-btn:hover{
    transform:scale(1.02);
}

.register{
    text-align:center;
    margin-top:30px;
    color:#888;
}

.register a{
    color:white;
    text-decoration:none;
}

.register a:hover{
    text-decoration:underline;
}

.form-error{
    color:#ff6b6b;
    font-size:13px;
    margin:-8px 0 12px 0;
    min-height:16px;
}

/* ===== TROCA DE IDIOMA (autonomo, nao depende do style.css) ===== */

.page-lang-toggle{
    position:fixed !important;
    top:20px !important;
    right:20px !important;
    background:#1a1a1a !important;
    border:1px solid #333 !important;
    border-radius:8px !important;
    width:38px !important;
    height:38px !important;
    max-width:38px !important;
    max-height:38px !important;
    cursor:pointer !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    transition:.25s !important;
    overflow:hidden !important;
    z-index:999 !important;
    padding:0 !important;
}

.page-lang-toggle img{
    width:24px !important;
    height:16px !important;
    max-width:24px !important;
    max-height:16px !important;
    object-fit:cover !important;
    border-radius:3px !important;
    display:block !important;
}

.page-lang-toggle:hover{
    border-color:#f5a623 !important;
    transform:scale(1.08) !important;
}

@keyframes fadeLogo{
    from{
        opacity:0;
        transform:translateX(-40px);
    }
    to{
        opacity:1;
        transform:translateX(0);
    }
}

@media (max-width:900px){

    .container{
        grid-template-columns:1fr;
    }

    .left{
        padding-top:60px;
    }

    .logo-img{
        width:380px;
    }

    .right{
        padding-bottom:60px;
    }

}

@media (max-width:600px){

    .left{
        padding:30px 20px 20px;
    }

    .logo-img{
        width:220px;
    }

    .slogan{
        font-size:14px;
        margin-top:20px;
    }

    .right{
        padding:20px;
    }

    .login-box h2{
        font-size:24px;
        margin-bottom:20px;
    }

    .login-box input{
        height:48px;
        margin-bottom:14px;
        font-size:14px;
    }

    .gender-select{
        margin-bottom:14px;
    }

    .gender-btn{
        padding:10px;
        font-size:13px;
    }

    .avatar-grid{
        justify-content:center;
        gap:10px !important;
    }

    .avatar-option,
    .avatar-option img{
        width:64px !important;
        height:64px !important;
        max-width:64px !important;
    }

    .login-btn{
        height:48px;
        font-size:14px;
    }

    .register{
        margin-top:20px;
        font-size:13px;
    }

    .page-lang-toggle{
        top:16px !important;
        right:16px !important;
    }

}