html, body {
    height: 100%;
}

app {
    display: block;
    height: 100%;
}

.loading-image {
    width: 70px;
    height: 40px;
}

.header-logo {
    flex-shrink: 0;
    background-image: url('../images/stapel-maxx-logo-2024.png');
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    width: 142px;
    height: 24px;
}

#blazor-error-ui {
    background: inherit;
    bottom: 0;
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 100001;
}

#unity-host-canvas, .unity-host-placeholder {
    width: 100%;
    height: 100%;
    border: var(--bs-dark-bg-subtle) var(--bs-border-style) var(--bs-border-width);
    border-radius: var(--bs-border-radius);
}

#unity-host-canvas:focus {
    border-color: var(--bs-primary-border-subtle);
    outline: var(--bs-primary-border-subtle) solid 0.1rem;
    outline-offset: -0.1rem;
}

.unity-host-placeholder {
    background-color: #231F20;
}

.unity-loading-indicator {
    border: 3px solid var(--bs-primary);
    border-top: 3px solid transparent;
    border-radius: 50%;
    position: relative;
    top: calc(50% - 15px);
    width: 30px;
    height: 30px;
    margin: auto;
    animation: loading 1s infinite linear;
}

.unity-loading-message {
    display: none;
    position: relative;
    top: 50%;
    text-align: center;
    color: white;
}

.unity-loading-solutions {
    display: inline-block;
    text-align: left;
}

#unity-idle-container {
    display: none;
}

.unity-work-container {
    width: 100%;
    aspect-ratio: 16 / 8.8;
}

#loading-indicator-lock {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.25);
    z-index: 10000;
    display: none;
    justify-content: center;
    align-items: center;
}

#loading-indicator-content {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    background-color: var(--bs-body-bg);
    border-radius: calc(var(--dx-border-radius) * 4);
    box-shadow: var(--bs-box-shadow);
}

#loading-indicator-animation {
    padding: 20px 0px 15px 12px;
}

.loading-indicator-devexpress {
    width: 32px;
    height: 32px;
}

#loading-indicator-description {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    max-width: 300px;
    padding: 12px;
}

#loading-indicator-caption {
    width: auto;
    text-align: left;
    box-sizing: border-box;
    font-weight: bold;
    font-size: 15px
}

#loading-indicator-status {
    width: auto;
    text-align: left;
    box-sizing: border-box;
    margin-top: 4px;
}
