/* Base styles for the shared VncSession component (stage, canvas, overlay). Served as
   _content/FixFix.ViewerKit/vnc.css and linked BEFORE the host app's stylesheet, so the host
   design (e.g. the Hub theme) can override any of these rules. */

/* Die Bühne ist ein Bildschirm, kein Text: Ein Zieh-Klick darin markierte sonst den Bereich blau
   (und der Doppelklick den ganzen Absatz) — Eingaben, die eigentlich zum Zielcomputer gehören. */
.vnc-stage {
    user-select: none;
    -webkit-user-select: none;
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}

.vnc-canvas {
    max-width: 100%;
    max-height: 100%;
    image-rendering: pixelated;
    outline: none;
}

.vnc-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(11, 13, 18, 0.82);
    backdrop-filter: blur(2px);
}

.vnc-overlay-card {
    padding: 1.2rem 1.6rem;
    background: #161a22;
    border: 1px solid #262c38;
    border-radius: 12px;
    text-align: center;
    max-width: 80%;
}
.vnc-overlay-card.vnc-overlay-error { border-color: #7d3b3b; }
.vnc-spinner-line { margin-bottom: 0.8rem; color: #cfd6e0; font-size: 0.95rem; }
