html, body {
    height: 100%;
}

app {
    display: block;
    height: 100%;
}

.header-logo {
    flex-shrink: 0;
    background-image: url(../images/Logo1.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 181px;
    height: 24px;
}

#blazor-error-ui {
    background: inherit;
    bottom: 0;
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 100001;
}
/* Editors */
.editor-icon,
.dxbl-btn .editor-icon {
    width: 1rem;
    height: 1rem;
    background-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    background-position: center center;
    background-color: currentColor;
    opacity: 0.7;
}

.editor-icon-barcode {
    -webkit-mask-image: url("../images/icons/barcode.svg");
    mask-image: url("../images/icons/barcode.svg");
}

.editor-icon-close {
    background-image: url('../images/icons/closeview.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 1rem;
    height: 1rem;
    display: inline-block;
    opacity: 0.7;
}

.dxbl-image:not(.dxbl-image-fill) {
    fill: currentcolor;
}

/* Styles for the video container to center it on the screen */
.video-overlay {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 10px;
    border-radius: 8px;
}

    .video-overlay video {
        width: 400px;
        height: 300px;
        border: 2px solid white;
        border-radius: 4px;
    }

/* To dim the background */
.dim-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 500;
    pointer-events: none; /* Allow clicks through the overlay */
}

