/*VARIABLES PARA LOGIN*/
:root {
    --logBg: #F8F8FA;
    --logBgBox: #FFFFFF;
    --logLblColor: #0035AA;
    --logInptColor: #4A4A4A;
}

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

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

.logTitFrm {
    font-weight: 800;
    font-family: 'Montserrat';
    width: 100%;
    text-align: center;
    font-size: 120%;
    margin-bottom: 10px;
    color: var(--logLblColor);
}

[id="forgotFrm"] .logTitFrm{
    margin-top: 20px;
}

[id="forgotCnfFrm"] .logTitFrm {
    margin-top: 30px;
}

.logSubTitFrm {
    font-family: 'Montserrat';
    font-weight: 600;
    color: var(--logInptColor);
    font-size: 85%;
    margin-top:10px;
    margin-bottom: 10px;
    text-align: left;
    width: 100%;
}

.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: 30px 55px 45px 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(90% - 90px);
    max-width: 270px;
}

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

[id="forgotCnfFrm"] button:first-of-type,
[id="forgotFrm"] button:first-of-type,
[id="recoverFrm"] button:first-of-type {
    margin-top: 25px;
}

.logLogo {
    height: 110px;
    width: 100%;
    /*background-image: url(../img/logo_gr.svg);*/
    background-image: url(../img/Logo_SM.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    margin-bottom: 2vh;
}

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

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

[id="forgotCnfFrm"] .logInptFrm{
    margin-top: 0;
}

[id="recoverFrm"] .logSubTitFrm+.logInptFrm {
    margin-top: 0;
}

[id="recoverFrm"] .logInptFrm:has(.logInpt~.errMsgLbl) {
    margin-bottom: 28px;
}

.logLblFx{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.logLbl {
    font-family: 'Montserrat';
    font-weight: bold;
    color: var(--logLblColor);
    font-size: 75%;
    padding-bottom: 5px;
    padding-left: 5px;
}

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

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

[id="forgotCnfFrm"] .logInpt{
    text-align: center;
}

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

.logInptCnt:has(.logInpt[disabled]){
    border: none;
}

.logInpt[disabled]{
    background-color: #F0F0F4;
}

.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);
}

.readPwd {
    position: absolute;
    bottom: 0;
    height: 100%;
    display: flex;
    right: 4%;
    align-items: center;
    color: #D7D7D7;
    font-size: 1rem;
}

.logFgtBtn {
    color: var(--logLblColor);
    width: auto;
    text-align: center;
    font-size: 70%;
    font-family: 'Montserrat';
    font-weight: 600;
    cursor: pointer;
}

.logUrsFrmLbl {
    width: 100%;
    color: var(--logInptColor);
    font-family: 'Montserrat';
    font-weight: bold;
    font-size: 95%;
    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;
}