* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    overflow: hidden;
}

.wave {
    position: fixed;
    bottom: 0;
    left: 0;
    height: 100%;
    z-index: -1;
}

.imgBiblioteca {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;             /* Ocupa todo el ancho de la ventana */
    height: 100vh;            /* Ocupa todo el alto de la ventana */
    object-fit: cover;        /* Asegura que la imagen se recorte proporcionalmente */
    filter: blur(8px);        /* Aplica un desenfoque suave */
    opacity: 1.0;             /* Transparencia para enfocar el formulario */
    z-index: -1;              /* Detrás del contenido */
}

.container {
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.login-content {
    width: 100%;
    max-width: 400px;          /* Limita el ancho del formulario */
    background-color: rgba(255, 255, 255, 0.9); /* Fondo blanco con transparencia */
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
}


.login-content img {
    height: 100px;
}

.login-content h2 {
    margin: 15px 0;
    color: #151515;
    text-transform: uppercase;
    font-size: 2.9rem;
}

.input-div {
    position: relative;
    display: grid;
    grid-template-columns: 7% 93%;
    margin: 25px 0;
    padding: 5px 0;
    border-bottom: 2px solid #0400e3;
}

.input-div.one {
    margin-top: 0;
}

.i {
    color: #08d7fc;
    display: flex;
    justify-content: center;
    align-items: center;
}

.i i {
    transition: .3s;
}

.input-div > div {
    position: relative;
    height: 45px;
}

.input-div > div > h5 {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #f01111;
    font-size: 18px;
    transition: .3s;
}

.input-div:before,
.input-div:after {
    content: '';
    position: absolute;
    bottom: -2px;
    width: 0%;
    height: 2px;
    background-color: #04a1fc;
    transition: .4s;
}

.input-div:before {
    right: 50%;
}

.input-div:after {
    left: 50%;
}

.input-div.focus:before,
.input-div.focus:after {
    width: 50%;
}

.input-div.focus > div > h5 {
    top: -5px;
    font-size: 15px;
}

.input-div.focus > .i > i {
    color: #04a1fc;
}

.input-div > div > input {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    background: none;
    padding: 0.5rem 0.7rem;
    font-size: 1.2rem;
    color: #000000;
    font-family: 'Poppins', sans-serif;
}

.input-div > div > select {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    background: none;
    padding: 0.5rem 0.7rem;
    font-size: 1.2rem;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
}

.input-div.pass {
    margin-bottom: 4px;
}

a {
    display: block;
    text-align: right;
    text-decoration: none;
    color: #e96a6a;
    font-size: 0.9rem;
    transition: .3s;
}

a:hover {
    color: #04a1fc;
}

.btn {
    display: block;
    width: 100%;
    height: 50px;
    border-radius: 25px;
    outline: none;
    border: none;
    background: #04a1fc;
    background-size: 200%;
    font-size: 1.2rem;
    color: #000000;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    margin: 1rem 0;
    cursor: pointer;
    transition: .5s;
}

.btn:hover {
    background-position: right;
    background: #777474;
    color: wheat;
}

@media screen and (max-width: 1050px) {
    .container {
        grid-gap: 5rem;
    }
}

@media screen and (max-width: 1000px) {
    form {
        width: 290px;
    }

    .login-content h2 {
        font-size: 2.4rem;
        margin: 8px 0;
    }

    .img img {
        width: 400px;
    }
}

@media screen and (max-width: 900px) {
    .container {
        grid-template-columns: 1fr;
    }

    .img {
        display: none;
    }

    .wave {
        display: none;
    }

    .login-content {
        justify-content: center;
    }
}

.error {
    background: #FF3D3D;
    color: white;
}

.verPassword {
    font-size: 20px;
    cursor: pointer;
    position: absolute;
    float: right;
    margin-top: -60px;
    color: rgb(0, 0, 0);
}

.view {
    width: 100%; 
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
