﻿.vnc-inline-root {
    width: 100%;
}

.vnc-inline-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

.vnc-workspace {
    display: grid;
    gap: 16px;
    min-height: 620px;
}

.vnc-workspace-right {
    grid-template-columns: minmax(0, 1fr) 360px;
}

.vnc-workspace-left {
    grid-template-columns: 360px minmax(0, 1fr);
}

.vnc-main-panel {
    min-width: 0;
}

.vnc-content {
    position: relative;
    height: 620px;
    overflow: hidden;
    border-radius: 8px;
    background: #111;
}

.vnc-screen {
    width: 100%;
    height: 100%;
}

.vnc-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.35);
    z-index: 10;
}

.vnc-log-panel {
    min-width: 0;
}

.vnc-log-card {
    height: 620px;
    padding: 16px;
    overflow: hidden;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 8px;
}

.vnc-log-history {
    overflow-y: auto;
    max-height: 260px;
    padding-right: 4px;
}

.vnc-log-entry {
    padding: 10px;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 6px;
}

.vnc-updated {
    white-space: nowrap;
}

.vnc-status-alert {
    max-width: 420px;
}

@media (max-width: 1200px) {
    .vnc-inline-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .vnc-workspace,
    .vnc-workspace-right,
    .vnc-workspace-left {
        grid-template-columns: 1fr;
    }

    .vnc-content {
        height: 70vh;
    }

    .vnc-log-card {
        height: auto;
    }
}
