html, body {
    height: 100%;
}

app {
    display: block;
    height: 100%;
}

.header-logo {
    flex-shrink: 0;
    background-image: url('../images/Logo.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 190px;
    height: 52px;
}

#blazor-error-ui {
    background: inherit;
    bottom: 0;
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 100001;
}

/* ============================================
   DevExpress Popup Z-Index Override
   Ensure DxFilterBuilder dropdowns appear above custom modals
   ============================================ */
.dxbl-dropdown-dialog,
.dxbl-popup,
.dxbl-modal,
.dxbs-popup,
.dxbs-dropdown,
.dxbl-listbox-popup,
.dxbl-treeview-popup {
    z-index: 10000 !important;
}

/* ============================================
   DevExpress Scheduler Appointment Text Override
   Month view: the theme caps the subject at ~2 lines and fixes
   the appointment height, clipping long event names. Let the
   subject wrap and the appointment grow so full text is visible.
   ============================================ */
.dxbl-sc-month .dxbl-sc-apt {
    height: auto !important;
}

.dxbl-sc-month .dxbl-sc-apt .dxbl-apt-content {
    height: auto;
}

.dxbl-sc-month .dxbl-sc-apt-subject {
    display: block;
    white-space: normal;
    overflow-wrap: anywhere;
    overflow: visible;
    max-height: none;
}
