body {
    margin: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: sans-serif;
    background-color: #f5f5f7;
}

.login-cointainer {
    width: 60vw;
    min-width: 230px;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.logo,
.contenido {
    flex: 1;
}

.logo {
    margin: 1rem auto;
    display: flex;
    justify-content: center;
}

.imagen {
    width: 85%;
    min-width: 220px;
}

.contenido {
    width: 100%;
    text-align: center;
}

.form-container {
    width: 100%;
}

.form-login {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.25rem;
}

.mensaje {
    margin-top: 0;
    padding: 0.2rem;
    color: red;
    font-size: medium;
    height: 0.75rem;
}

.texto-recuperacion,
.mensaje-confirmacion {
    margin-bottom: 1.75rem;
    font-size: medium;
    color: #6d6d6d;
}

.mensaje-confirmacion {
    margin-top: 0;
    margin-bottom: .75rem;
    text-align: center;
}

.form-login input[type="text"],
.form-login input[type="email"],
.form-login input[type="password"] {
    outline: none;
    font-size: medium;
    padding: .5rem 0.5rem;
    margin: 0 auto;
    width: 95%;
    border: none;
    border-bottom: 1px solid #DCCDCF;
    display: block;
    background: transparent;
    display: inline-block;
}

.form-login input[type="text"]:focus,
.form-login input[type="email"]:focus,
.form-login input[type="password"]:focus {
    border-bottom: 2px solid rgba(2, 81, 247, 1);
}

.form-login input::placeholder {
    color: #888;
    font-style: italic;
    opacity: 0.5;
}

.btn-entrar,
.btn-recuperar,
.btn-guardar {
    color: rgb(13 74 201 / 85%);
    margin: 1rem auto 1rem auto;
    padding: .75rem 1.5rem;
    font-size: large;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 40px;
    border: 2px solid rgba(2, 81, 247, 1);
    background-color: rgb(255 255 255);
}

.btn-entrar:hover,
.btn-recuperar:hover,
.btn-guardar:hover {
    color: rgba(2, 81, 247, 1);
    background-color: rgba(2, 81, 247, 0.2);
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
    cursor: pointer;
}

.link-recuperacion,
.link-volverLogin {
    line-height: 2.5rem;
    font-size: small;
    color: rgb(13, 74, 201);
    font-style: italic;
    opacity: 0.5;
    text-decoration: none;
}

.link-recuperacion:hover,
.link-volverLogin:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Estilos para orientacion vertical */
@media (orientation: portrait) {
    .login-cointainer {
        width: 60vw;
        flex-direction: column;
    }

    .logo {
        margin: 1rem auto;
    }

    .form-login {
        gap: 3rem;
    }

    .mensaje {
        font-size: large;
    }

    .link-recuperacion,
    .link-volverLogin {
        font-size: large;
        opacity: 0.5;
    }
}

@media (max-width: 768px) {
    .form-login input::placeholder {
        font-size: 1.25rem;
    }

    .form-login {
        gap: 1.85rem;
    }
}

@media (max-height: 330px) {
    .form-login {
        gap: 1.5rem;
    }
}