﻿html, body {
    height: 100%;
}

app {
    display: block;
    height: 100%;
}

.header-logo {
    flex-shrink: 0;
    background-color: currentColor;
    -webkit-mask: url('../images/perfsvg.svg');
    mask: url('../images/law-building-svgrepo-com.svg');
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    width: 180px;
    height: 24px;
}

#blazor-error-ui {
    background: inherit;
    bottom: 0;
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 100001;
}

.loading-items-center > .bg-primary {
    background-color: white !important;
}

.loading-items-center > .border-primary {
    border-color: deepskyblue !important;
}

/* Make XAF Blazor popup dialog bigger (Detail Views), but exclude confirmation dialogs */
.dxbl-popup:has(.dxbl-fl),
.dxbl-popup:has(.dxbl-grid) {
    width: 80vw !important; /* 80% of screen width */
    height: 80vh !important; /* 80% of screen height */
    max-width: 80vw !important;
    max-height: 80vh !important;
}

/* Ensure popup content stretches fully for Detail Views */
.dxbl-popup:has(.dxbl-fl) .dxbl-popup-content,
.dxbl-popup:has(.dxbl-grid) .dxbl-popup-content {
    height: calc(80vh - 60px) !important;
    overflow: auto !important;
}

/* Optional: Make the popup body scroll nicely */
.dxbl-popup:has(.dxbl-fl) .dxbl-popup-content-body,
.dxbl-popup:has(.dxbl-grid) .dxbl-popup-content-body {
    height: 100% !important;
    overflow-y: auto !important;
}



