* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

.login {
    height: 100vh;
    width: 100%;
    align-items: center;
    display: flex;
    justify-content: center;
}

.restablecer {
    height: 100vh;
    width: 100%;
    align-items: center;
    display: flex;
    justify-content: center;
}

.restablecer .form {
    position: relative;
    border-radius: 5px;
    width: 360px;
    height: 430px;
    background-color: #ffffff;
    padding: 75px 40px 40px 40px;
}

.form {
    position: relative;
    border-radius: 10px;
    width: 365px;
    background-color: rgba(255, 255, 255, 0.074);
    border: 1px solid rgba(255, 255, 255, 0.222);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    padding: 10px 30px 25px 30px;
}

.form h2 {
    text-align: center;
    font-family: "Poppins", sans-serif;
    color: white;
    display: block;
    font-size: 1.5em;
    padding-bottom: 19px;
    margin-inline-start: 0px;
    font-weight: bold;
    margin-top: 20px;
}

.invalid-feedback {
    display: block;
    width: 100%;
    font-size: 85%;
    text-align: center;
    color: #ef1f33;
    animation: shake 0.2s 2;
}

.password-input-container {
    display: flex;
    align-items: center;
}

.container {
    position: relative;
}

label {
    font-weight: 600;
    font-size: 14px;
    padding-top: 10px;
    color: #fff;
}

.form .res-password a {
    text-align: center;
    color: white;
    display: block;
    font-size: 15px;
    font-weight: 600;
    margin-top: 26px;
    text-decoration: none;
}

.label-pass {
    padding-top: 10px;
}

.form img {
    position: absolute;
    cursor: pointer;
    height: 20px;
    right: 45px;
    margin-bottom: 10px;
}

.form .form-logo {
    left: 50%;
    transform: translate(-52%, -140%);
    z-index: 1;
    height: 75px;
}

.form input {
    outline: 0;
    background: #f2f2f2;
    border-radius: 5px;
    width: 100%;
    border: 0;
    margin: 5px 0 15px 0;
    padding: 15px;
    font-size: 14px;
}

.form input:focus {
    box-shadow: 0 0 5px 0 rgb(91, 117, 189);
}

.button-login {
    outline: 0;
    background: #d61c4e;
    width: 100%;
    border: 0;
    margin-top: 20px;
    border-radius: 5px;
    padding: 15px;
    color: #ffffff;
    font-size: 15px;
    -webkit-transition: all 0.3 ease;
    transition: all 0.4s ease-in-out;
    cursor: pointer;
}

.form button:hover,
.form button:active,
.form button:focus {
    background: #3c7f11;
    color: #ffffff;
}

.message {
    margin: 16px 0;
    text-align: center;
}

.form .message a {
    font-size: 14px;
    font-weight: 500;
    color: #0093ff;
    text-decoration: none;
}

.form-control.is-invalid,
.was-validated .form-control:invalid {
    background-image: none;
}

@keyframes shake {
    25% {
        translate: 6px 0;
    }
    50% {
        translate: -6px 0;
    }
    75% {
        translate: 6px 0;
    }
}

/* Formulario de registro */
.registro {
    width: 100%;
    align-items: center;
    display: flex;
    justify-content: center;
}

.form-registro {
    position: relative;
    border-radius: 10px;
    width: 385px;
    background-color: rgba(255, 255, 255, 0.074);
    border: 1px solid rgba(255, 255, 255, 0.222);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    padding: 34px 25px 45px 25px;
}

.form-registro input {
    outline: 0;
    background: #f2f2f2;
    border-radius: 5px;
    width: 100%;
    border: 0;
    margin: 5px 0px 13px 0px;
    padding: 15px;
    font-size: 14px;
}

.form-registro .message a {
    font-size: 14px;
    font-weight: 500;
    color: #0093ff;
    text-decoration: none;
}

.form-registro button {
    outline: 0;
    background: #d61c4e;
    width: 100%;
    border: 0;
    margin-top: 30px;
    border-radius: 5px;
    padding: 15px;
    color: #ffffff;
    font-weight: 600;
    font-size: 15px;
    -webkit-transition: all 0.3 ease;
    transition: all 0.4s ease-in-out;
    cursor: pointer;
}

.form-registro button:hover,
.form-registro button:active,
.form-registro button:focus {
    background: #3c7f11;
    color: #ffffff;
}

.form-registro input:focus {
    box-shadow: 0 0 5px 0 rgb(91, 117, 189);
}

.form-registro h2 {
    text-align: center;
    font-family: "Poppins", sans-serif;
    color: white;
    display: block;
    font-size: 1.5em;
    margin-inline-start: 0px;
    font-weight: bold;
    margin-top: 20px;
}

.registro .alerta {
    width: 100%;
    margin-top: 15px;
    font-size: 85%;
    text-align: center;
    color: #dc3545;
}
