#unity-host-canvas {
    width: 100%;
    height: 100%;
}

#unity-idle-container {
    display: none;
}

.unity-work-border {
    border: var(--bs-dark-bg-subtle) var(--bs-border-style) var(--bs-border-width);
    border-radius: 0.125rem;
    overflow: hidden;
}

.unity-work-border:focus-within {
    border-color: var(--bs-primary-border-subtle);
    outline: var(--bs-primary-border-subtle) var(--bs-border-style) var(--bs-border-width);
    outline-offset: calc(-1 * var(--bs-border-width));
}

.unity-work-container {
    position: relative;
    width: 100%;
    min-height: 30vh;
    max-height: 100vh;
    aspect-ratio: 16 / 7.75;
    resize: vertical;
    scrollbar-width: thin;
    overflow: hidden;
}

.unity-host-placeholder {
    width: 100%;
    height: 100%;
    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-connection-indicator {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 4px;
    text-align: center;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    font-size: 14px;
}