/*VARIABLES PARA LOGIN*/
:root {
    --logBg: #F2F5F7;
    --logBgBox: #FFFFFF;
    --logLblColor: #0092D5;
    --logInptColor: #4A4A4A;
}

body {
    background-color: var(--logBg);
}

.loginCnt {
    /*Restamos el footer*/
    height: calc(100vh - 40px);
    width: 100%;
    position: relative;
}

.centerFrm {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    visibility: hidden;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: all .3s;
}

.actvFrm {
    opacity: 1;
    visibility: visible;
}

.frmBoxCnt {
    background-color: var(--logBgBox);
    border-radius: 20px;
    box-shadow: 0 2px 20px 0 rgba(0, 0, 0, 0.1);
    flex-direction: column;
    padding: 35px 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(90% - 90px);
    max-width: 300px;
}

.frmBoxCnt button {
    margin-top: 15px;
}

#forgotFrm button:first-of-type,
#recoverFrm button:first-of-type {
    margin-top: 35px;
}

.logLogo {
    height: 60px;
    width: 100%;
    background-image: url('../img/logo.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    margin-bottom: 9vh;
}

.logTitFrm {
    font-style: italic;
    font-weight: 600;
    font-family: 'FiraSans';
    width: 100%;
    text-align: left;
    font-size: 1.45rem;
    color: var(--logLblColor);
}

.logSubTitFrm {
    font-family: 'Lato';
    font-weight: 400;
    color: var(--logInptColor);
    font-size: .87rem;
    margin-bottom: 10px;
}

.logInptFrm {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    margin-top: 20px;
}

#recoverFrm .logInptFrm:has(.logInpt~.errMsgLbl) {
    margin-bottom: 10px;
}

.logLbl {
    font-family: 'Lato';
    font-weight: 300;
    color: var(--logLblColor);
    font-size: .75rem;
    padding-bottom: 5px;
    padding-left: 5px;
}

.logInptCnt {
    border: 1px solid #D7D7D7;
    border-radius: 6px;
    height: 40px;
    width: 100%;
    position: relative;
}

/*Si tiene un hijo 'lbl err' muestra el borde rojo*/
.logInptCnt:has(.errMsgLbl) {
    border-color: var(--errColor);
}

.logInpt {
    width: 100%;
    margin: 0;
    height: 100%;
    padding: 0;
    border: none;
    color: var(--logInptColor);
    font-family: 'Lato';
    font-weight: 400;
    font-size: .875rem;
    outline: none;
    border-radius: inherit;
}

.logInpt::placeholder {
    color: #D7D7D7;
}

.logInpt[type="text"] {
    padding: 0px 10px;
    width: calc(100% - 20px);
}

/*Se reduce el width por el eye icon*/
.logInpt[type="password"] {
    padding: 0px 10px;
    width: calc(90% - 20px);
}

.logFgtBtn {
    color: var(--logLblColor);
    width: 100%;
    text-align: center;
    font-size: .75rem;
    font-family: 'Lato';
    font-weight: 400;
    padding: 20px 0px 5px;
    cursor: pointer;
}

.logUrsFrmLbl {
    width: 100%;
    color: var(--logInptColor);
    font-family: 'Lato';
    font-weight: bold;
    font-size: .95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #F4F7F8;
    border-color: #D7D7D7;
    margin-top: 5px;
    margin-bottom: 10px;
    border: 1px solid #D7D7D7;
    border-radius: 6px;
    height: 38px;
}