/* ==========================================================
   LOGIN
   ========================================================== */

html,
body.welcome-anonymous {
    min-height: 100%;
    margin: 0 !important;
}

body.welcome-anonymous {
    min-height: 100vh !important;
    background-image: url(/pics/backgroundSINV.png) !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
}

body.welcome-anonymous .page-anonymous {
    min-height: 100vh !important;
    background: transparent !important;
}

body.welcome-anonymous
.flex-fill.d-flex.flex-column.justify-content-center {
    margin-top: 0 !important;
}

body.welcome-anonymous .card.card-md.main-content-card {
    background-color: rgba(255, 255, 255, 0.30) !important;
}

/* Ocultar logo en LOGIN */
body.welcome-anonymous .glpi-logo {
    display: none !important;
}

/* Centrado del login */
body.welcome-anonymous .page-anonymous {
    min-height: 100vh !important;
    height: 100vh !important;
    background: transparent !important;
}

body.welcome-anonymous
.flex-fill.d-flex.flex-column.justify-content-center {
    min-height: 100vh !important;
    margin: 0 !important;
    padding: 0 !important;
    justify-content: center !important;
}

/* Eliminar completamente el espacio del logo del login */
body.welcome-anonymous
.container-tight > .text-center:first-child {
    display: none !important;
}


/* ==========================================================
   INTERFAZ PRINCIPAL GLPI
   ========================================================== */

/* Mantener logo personalizado dentro de GLPI */
body:not(.welcome-anonymous) .glpi-logo {
    background: url(/pics/fd_logo.png) !important;
    background-repeat: no-repeat !important;
}
