body {
    height: 100%;
    min-height: 100%;
    min-width: 100%;
    width: 100%;
    flex-direction: row;
    box-sizing: border-box;
    display: flex;
    place-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

/* .fondo {
    background-image: url(https://plataformavirtual.bnp.gob.pe/fondologin5.a905fee0f46b07386889.jpg);
    background-size: cover;
    height: 100vh;
} */

.logincontainer {
    margin-top: 30px;
    box-shadow: 0 0 5px 1px #787878;
    border-radius: 9px;
    display: flex;
    max-width: 90%;
    overflow: hidden;
    box-sizing: border-box;
    width: 970px;
height: 520px;
overflow: auto;
}

.loginleft {
    background-color: #ab2a3e;
    background-image: url(https://plataformavirtual.bnp.gob.pe/fondologinleft.bdb32babf19fcf6d664e.png);
    background-size: cover;
    position: relative;
    display: flex;
    align-items: center;
    border-radius: 9px 0 0 9px;
    flex-direction: column;
    justify-content: center;
    flex: 1 1 50%;
    box-sizing: border-box;
    color: white;
    padding: 20px;
}

.loginleft p{
    font-size: 25px;
    font-weight: 500;
    text-align: center;
}

hr {
    box-sizing: content-box;
    height: 0;
    overflow: visible;
    border: 0;
    border-top-color: #e0e0e0;
    margin-bottom: .5rem;
    margin-top: 1rem;
    display: block;
    width: 100%;
    border-bottom: 1px solid #e0e0e0;
}

.loginrigth {
    font-size: 14px;
    padding: 20px 60px 40px;
    flex: 1 1 50%;
    box-sizing: border-box;
    background-color: aliceblue;
    
}

@media (max-width: 700px) {
    .logincontainer {
        flex-direction: column;
    }

    .loginleft {
        border-radius: 9px 9px 0 0;
        height: 150px;
        flex: 1 1 100%;
    }

    .loginrigth {
        padding: 20px;
        font-size: 14px;
        flex: 1 1 100%;
    }
}

/* Estilos para los campos de entrada animados */
.input-container {
    position: relative;
    margin: 20px;
}

.input-container input:not(:focus)::placeholder {
    opacity: 0;
}

.input-container input:focus::placeholder {
    opacity: 1;
}

.input-container input {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border-radius: 5px;
    border: none;
    border-bottom: 2px solid #e0e0e0;
    transition: border-bottom-color 0.3s ease;
}

.input-container input:focus {
    outline: none;
    border-bottom-color: #ab2a3e;
}

.input-container label {
    position: absolute;
    left: 10px;
    top: 10px;
    font-size: 14px;
    color: #888;
    transition: all 0.3s ease;
    pointer-events: none;
}

.pharaf {
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    padding-top: 5px;
}

.input-container input:focus+label,
.input-container input:not(:placeholder-shown)+label {
    top: -15px;
    font-size: 12px;
    color: #ab2a3e;
}

.input-container span {
    position: absolute;
    left: 10px;
    bottom: -20px;
    font-size: 12px;
    color: red;
    visibility: hidden;
}

.input-container input:invalid+span {
    visibility: visible;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.logo img {
    max-width: 100px;
}

.buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
}

.buttons button {
    font-size: 17px;
    border: solid;
    padding: 6px 12px;
    margin: 0 5px;
    border-radius: 30px;
    border-style: none;
    background-color: #c0bebe;
    color: black;
    cursor: pointer;

}

.buttons button:hover {
    background-color: #ab2a3e;
    color: white;

}

.buttons .btn-ingresar{
    background-color: #ab2a3e;
    width: 300px;
    border-radius: 5px;
    color: white;
}
.buttons .btn-ingresar:hover{
    background-color: #3d3d3d;
    color: white;
}
.buttons a {
    font-size: 14px;
    text-decoration: none;
}

.input-container i.material-icons {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    color: #ab2a3e;
    pointer-events: none;
}