:root {
    --color-icon: #d6d1ca;
    --color-primario-login: #9f2241;
    --color-primario-login-btn-degradado: #612b39;
    --color-form-background: linear-gradient(to right, #d6d1ca78, rgb(238 238 238));
    --color-button-background: linear-gradient(to right, var(--color-primario-login), var(--color-primario-login), var(--color-primario-login-btn-degradado));
    --color-button-focus-shadow: hsl(347.55deg 62.35% 33.33% / 45%);
}

@font-face {
    font-family: "Agency FB";
    src: url("../fonts/Lionel Text Diesel Regular.ttf");
}

.fondo{
    background-image:url('images/fondo.png');
    background-position: top center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    font-family: 'Agency FB' !important;
    color: #ffffff;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    padding: 0;
}

.loginFormPasword{
    margin-top: 6%;
    background: #1a335280;
    max-width: 480px;
    width: 100%;
    padding: 58px 44px;
    border: 0px solid #1a335280;
    border-radius: 16px 16px 16px 16px;
    box-shadow: 0px 5px 0px 2px #1a335242;
    transition: all 0.3s ease;
}
body .ui-panel .ui-panel-content {
    border: none!important;
    background: transparent!important;
    color: #495057;
    padding: 0rem!important; 
}
.version{
    margin-top: 5%;
    position: absolute;
    right: 9px;
}

body .ui-message.ui-message-error, body .ui-message.ui-message-fatal {
    background: transparent;
    border: 1px solid transparent;
    border-width: 0 0 0 3px;
    color: transparent;
}

.img{
    width: 75%;
    height: 75%;
}

body .ui-inputfield {
    text-align: center;
    width: 100%;
    color: #5d5757;
    background: #ffffff80;
    padding: 0.5rem 0.5rem;
    border: 1px solid #ced4da;
    outline: 0 none;
    font-size: 1rem;
    border-radius: 4px;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
    -webkit-appearance: none;
    appearance: none;
    padding: 10px;
    border: none;
    border-bottom: 2px solid var(--color-primario-login);
    font-size: 13px;
    transition: border-bottom 0.3s ease-in-out;
}

body .custom-ui-button {
    background: var(--color-button-background);
    color: #ffffff;
    padding: 4px 10px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px !important;
    transition: background 0.3s ease;
}

/* Dispositivos grandes (Monitores grandes 1920 px) */
@media only screen and (max-width: 1920px) {
    .fondo{
        background-image: url('images/fondo-large1920px.png');
        background-position: top center;
        background-repeat: no-repeat;
        background-attachment: fixed;
        background-size: cover;
    }

}

/* Dispositivos grandes (pc, y laptops) */
@media only screen and (max-width: 1280px) {
    .fondo{
        background: url('images/fondo-md-1280px.png');
        background-position: top center;
        background-repeat: no-repeat;
        background-attachment: fixed;
        background-size: cover;
    }

}
/* Dispositivos medianos (tabletas horizontales, 768px y más) */
@media only screen and (max-width: 768px){
    .fondo{
        background: url('images/tablet.png');
        height:1024px;
        background-position: top center;
        background-repeat: no-repeat;
        background-attachment: scroll;
        background-size: cover;
    }

    .version {
        margin-top: 8%;
        position: absolute;
        right: 9px;
    }
}
/* Monitores medianos */
@media only screen and (min-width: 780px) and (max-width: 1024px){
    .fondo{
        background: url('images/fondo-md-1024px.png');
        height:1024px;
        background-position: top center;
        background-repeat: no-repeat;
        background-attachment: scroll;
        background-size: cover;
    }
}
@media only screen and (max-width: 411px) {
    .fondo{
        background: url('images/fondo-small411px.png');
        height:1024px;
        background-position: top center;
        background-repeat: no-repeat;
        background-attachment: scroll;
        background-size: cover;
    }


    .version {
        margin-top: 11%;
        position: absolute;
        right: 9px;
    }

    .form-signin {
        max-width: 330px!important;
    }
}

.mxw-100{
    width: 100%!important;
    max-width: 100%!important;
    min-width: 100%!important;
}

/* Dispositivos extra pequeños (teléfonos, 600px y menos) */

@media only screen and (max-width: 540px) {
    .fondo{
        background: url('images/fondo-small375px.png');
        height:720px;
        background-position: top center;
        background-repeat: no-repeat;
        background-attachment: scroll;
        background-size: cover;
    }

    .version {
        margin-top: 11%;
        position: absolute;
        right: 9px;
    }

    .form-signin {
        max-width: 340px!important;
    }
}

@media only screen and (max-width: 280px) {
    .fondo{
        background: url('images/fondo-small280px.png');
        height:653px;
        background-position: top center;
        background-repeat: no-repeat;
        background-attachment: scroll;
        background-size: cover;
    }

    .version {
        margin-top: 15%;
        position: absolute;
        right: 9px;
    }

    .form-signin {
        max-width: 330px!important;
    }

}


/* Dispositivos grandes (Monitores grandes 1920 px) */
@media only screen and (min-width: 1280px) and (max-width: 1280px){
    .fondo{
        background-image: url('images/fondo-md-1280px.png');
        background-position: top center;
        background-repeat: no-repeat;
        background-attachment: fixed;
        background-size: cover;
    }
}


/* Dispositivos grandes (Monitores grandes 1920 px) */
@media only screen and (min-width: 1024px) and (max-width: 1024px){
    .fondo{
        background-image: url('images/fondo-md-1024px.png');
        background-position: top center;
        background-repeat: no-repeat;
        background-attachment: fixed;
        background-size: cover;
    }
    .version {
        margin-top: 9%;
        position: absolute;
        right: 9px;
    }
}

.form-dialog{
    max-width: 360px!important;
    margin-top: -5%!important;
}
.dialog-rc{
    background: rgba(0, 49, 85, 0.88);
    border-radius: 16px;
    top: 12%!important
}

.ui-input-icon-left, body .ui-input-icon-right {
    position: relative;
    display: inline-block;
}
.form-signin{
    background: var(--color-form-background)!important;
    background-color: none!important;
    border-radius: 10px;
    max-width: 380px;
    width: 100%;
    padding: 90px 20px;
    border: 0px solid #d1bfa5;
    border-radius: 16px 16px 16px 16px;
    box-shadow: 0 0.1rem 0.5rem #d6d1ca78, 0 0.25rem 1rem rgb(55 60 67 / 20%);
    transition: all 0.3s ease;
}

