/*VARIABLES PARA LOGIN*/
:root {
    --logBg: #F2F5F7;
    --logBgBox: #FFFFFF;
    --logLblColor: #000000;
    --logInptColor: #4A4A4A;    
    --waitBg: rgba(242, 245, 247, .85);
    --waitColor: #0092D5;
    --fotColor: #9B9B9B;
    --firstBtnBg: #f2cd00;
    --firstBtnColor: #000000;
    --firstBtnDisBg: #B7BEC2;
    --errColor: #FE0303;
}

/*FONTS PARA EL LOGIN*/
@font-face {
    font-family: "Montserrat";
    src: url("./resources/fonts/Montserrat-Medium.ttf");
    font-weight: 300;
}

@font-face {
    font-family: "OpenSans";
    src: url("./resources/fonts/OpenSans-Regular.ttf");
    font-weight: 400;
}

html {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
    font-size: 16px;
    background-image: linear-gradient(#18bdff, #1a58a3);
}

.waitScreen {
    z-index: 200;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--waitBg);
    color: var(--waitColor);
    display: flex;
    align-items: center;
    transition: all .3s;
    opacity: 0;
    justify-content: center;
}

.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 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(94% - 70px);
    max-width: 300px;
    background-image: url(./resources/bg-top-header.png);
}

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

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

.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: 'Montserrat';
    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: 10px;
}

.logLbl {
    font-family: 'Montserrat';
    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;
}

.errMsgLbl {
    /*top: 100%;
    left: 5px;*/
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    font-size: .75rem;
    text-align: left;
    font-weight: 400;
    font-family: 'Montserrat';
    width: calc(100% - 5px);
    padding-left: 5px;
    color: var(--errColor);
    outline: none;
}
/*Si tiene un hijo 'lbl err' muestra el borde rojo*/
.logInptCnt:has(.errMsgLbl) {
    border-color: var(--errColor);
    margin-bottom:8px;
}

.logInpt {
    width: 100%;
    margin: 0;
    height: 100%;
    padding: 0;
    border: none;
    color: var(--logInptColor);
    font-family: 'OpenSans';
    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: 'Montserrat';
    font-weight: 400;
    padding: 20px 0px 5px;
    cursor: pointer;
}

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

.fmBtn {
    cursor: pointer;
    display: flex;
    color: var(--firstBtnColor);
    background-color: var(--firstBtnBg);
    border-radius: 50px;
    width: calc(100% - 1.6px);
    border: 1px solid var(--firstBtnBg);
    height: 40px;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat';
    font-weight: bold;
    text-transform: uppercase;
    font-size: .87rem;
}