html, body {
    height: 100%;
}

app {
    display: block;
    height: 100%;
}

/*.header-logo {
    flex-shrink: 0;*/
/*background-color: yellow;*/
/*-webkit-mask: url('../images/LogoPequenoIACartorioBrasil.png');
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    width: 115px;
    height: 30px;
}*/

.header-logo {
    flex-shrink: 0;
    width: 115px;
    height: 30px;
    background-image: url('../images/LogoPequenoTopoBranco.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain; /* Faz a imagem caber dentro do espaço */
}


.loading-image {
    width: 100px;
    height: 100px;
}


#blazor-error-ui {
    background: inherit;
    bottom: 0;
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 100001;
}

/* ============================================
   CUSTOMIZAÇÃO DE POPUPS MODAIS - 90% DA TELA
   ============================================ */

/* Popup modal ocupando 90% da tela - TODAS AS CLASSES POSSÍVEIS */
.dxbs-popup-window.dxbs-modal,
.dxbl-popup-window.dxbl-modal,
.modal-dialog.modal-xl,
.dxbs-window-popup {
    max-width: 90vw !important;
    max-height: 90vh !important;
    width: 90vw !important;
    height: 90vh !important;
}

/* Conteúdo do popup com altura total */
.dxbs-popup-window .dxbs-popup-content,
.dxbl-popup-window .dxbl-popup-content,
.modal-body {
    max-height: calc(90vh - 80px) !important;
    height: calc(90vh - 80px) !important;
    overflow-y: auto;
}

/* ListView dentro do popup com altura total */
.xaf-listview-container {
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Grid dentro do popup ocupa todo o espaço disponível */
.dxbs-grid-main-container,
.dxbl-grid-main-container {
    flex: 1;
    min-height: 0;
}

