*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, Helvetica, sans-serif;
}

body{
    height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    background:linear-gradient(120deg, rgba(255, 255, 255, 0.68), #d1d1d1);
}

/* CONTENEDOR */

.container{
    display:flex;
    width:90%;
    max-width:900px;
    min-height:520px;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 20px 40px rgba(0, 0, 0, 0.93);
}

/* PANEL IZQUIERDO */

.left{
    width:50%;
    background:black;
    padding:40px;
    color:white;
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.left h2{
    margin-bottom:25px;
    font-size:28px;
}

/* INPUTS */

.input-group{
    margin-bottom:15px;
}

.input-group input{
    width:100%;
    padding:12px;
    border-radius:10px;
    border:none;
    background:#e6e6e6;
    font-size:14px;
}

/* BOTÓN LOGIN */

.btn{
    width:100%;
    padding:14px;
    background:#ff0000;
    border:none;
    border-radius:10px;
    color:white;
    font-size:16px;
    font-weight:bold;
    cursor:pointer;
    margin-bottom:15px;
    transition:0.2s;
}

.btn:hover{
    background:#d90000;
}

/* GOOGLE */

.google{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    background:#1f1f1f;
    color:white;
    padding:12px;
    border-radius:10px;
    text-decoration:none;
    font-weight:bold;
}

.google img{
    width:18px;
}

/* PANEL DERECHO */

.right{
    width:50%;
    background:linear-gradient(120deg, #252525, #000000);
    display:flex;
    align-items:center;
    justify-content:center;
}

.right img{
    width:70%;
    opacity:0.9;
}

/* RESULTADO API */

.mensaje-login{
    min-height:22px;
    margin-top:15px;
    font-size:14px;
    font-weight:600;
    text-align:center;
}

.mensaje-login.ok{
    color:#15803d;
}

.mensaje-login.error{
    color:#dc2626;
}

/* RESPONSIVE */

@media (max-width:768px){

    .container{
        flex-direction:column;
        width:95%;
    }

    .left{
        width:100%;
        padding:30px;
    }

    .right{
        width:100%;
        padding:40px;
    }

    .right img{
        width:50%;
    }

    .input-group input{
        font-size:16px;
        padding:14px;
    }

    .btn{
        padding:16px;
        font-size:17px;
    }

}
