html, body { height: 100%; margin: 0; }
.tv-main { height: 100vh; display: flex; flex-direction: column; }
.tv-viewer-wrap { position: relative; flex: 1; min-height: calc(100vh - 48px); }
.tv-viewer { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tv-empty { display: flex; align-items: center; justify-content: center; color: #888; font-size: 1.1rem; }
.tv-toolbar { position: absolute; top: 12px; left: 12px; z-index: 10; width: 300px; max-height: calc(100% - 24px); overflow: auto; }
#pano.tv-viewer { background: #111; }

/* Giris sayfasi (statik, MudBlazor'suz) */
.tv-login-bg { min-height: 100vh; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #0b5394 0%, #073763 100%); font-family: Roboto, Arial, sans-serif; }
.tv-login-card { background: #fff; padding: 32px 36px; border-radius: 10px; width: 340px; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.tv-login-title { font-size: 20px; font-weight: 500; color: #0b5394; }
.tv-login-sub { font-size: 12px; color: #666; margin: 4px 0 20px; }
.tv-login-card label { display: block; font-size: 12px; color: #555; margin: 10px 0 4px; }
.tv-login-card input { width: 100%; box-sizing: border-box; padding: 10px; border: 1px solid #ccc; border-radius: 6px; font-size: 14px; }
.tv-login-card input:focus { outline: none; border-color: #0b5394; }
.tv-login-card button { margin-top: 20px; width: 100%; padding: 11px; background: #0b5394; color: #fff; border: 0; border-radius: 6px; font-size: 15px; cursor: pointer; }
.tv-login-card button:hover { background: #073763; }
.tv-login-err { background: #fdecea; color: #b71c1c; padding: 8px 10px; border-radius: 6px; font-size: 13px; margin-bottom: 8px; }
