html {
    background-image: url("../images/auth-bg.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    /* Esto fija la imagen de fondo para que no se desplace con el contenido de la página */
    background-position: center;
}

.custom-wrapper {
    position: absolute;
    /* height: 440px; */
    background: transparent;
    border: 2px solid rgba(255, 255, 255, .5);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    box-shadow: 0 0 30px rgba(0, 0, 0, .5);
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 15px 30px;
    transition:  0.1s ease-in-out;
}


.custom-wrapper .login,
.custom-wrapper .recovery,
.custom-wrapper .changePassword {
    height: 0px;
    overflow: hidden;
}

.custom-wrapper .login.active {
    transition: 0.3s ease-in-out;
    height: 260px;
}

.custom-wrapper .recovery.active {
    transition: 0.3s ease-in-out;
    height: 135px;
}

.custom-wrapper .changePassword.active {
    transition: 0.3s ease-in-out;
    height: 300px;
}

.input-box {
    position: relative;
    width: 100%;
    height: 40px;
    border-bottom: 2px solid #162938;
    margin: 20px 0;
}

.password-rules-text,
.password-rules-icon  {
    font-size: 0.7em;
    color: #162938;
    font-weight: 500;
    margin-top: 10px;
}

.input-box label {
    position: absolute;
    top: 50%;
    left: 5px;
    transform: translateY(-50%);
    font-size: 1em;
    color: #162938;
    font-weight: 500;
    pointer-events: none;
    transition: 0.5s;
}

.input-box input:focus~label,
.input-box input:valid~label{
    top: -5px;
}

.input-box input {
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    outline: none;
    font-size: 1em;
    color: #162938;
    font-weight: 600;
    padding: 0 35px 0 5px;
}

.input-box .login-icon {
    position: absolute;
    right: 8px;
    font-size: 1.2em;
    color: #162938;
    line-height: 47px;
}

.custom-forgot-block {
    color: #162938 !important;
    font-size: 0.9em;
}

.custom-forgot-block input[type="checkbox"]:checked {
    background-color: #162938 !important;
    border-color: #162938 !important;
}

.custom-forgot-block input[type="checkbox"]:checked {
    border-color: #2e4455 !important;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(8, 39, 85, 0.25) !important;
}

.custom-forgot-block a {
    text-decoration: none !important;
    color: #162938 !important;
    font-size: 0.9em;
}

.custom-forgot-block a:hover {
    text-decoration: underline !important;
    color: #162938 !important;
}

.changePasswordType:hover {
    cursor: pointer;
}

@media (max-width: 600px) {
    .custom-wrapper {
        width: 90%;
        max-width: none;
    }
}

@media (min-width: 601px) {
    .custom-wrapper {
        width: 400px;
    }
}