/* ============================================
   FAIRCLOUD LOCKDOWN — esconde TODA a interface
   Preserva APENAS o canvas da sessão remota
   ============================================ */

/* --- LOGIN --- */
.login-ui,
.login-dialog,
.login-form,
form.login,
.login .buttons,
.login label,
.login input,
.login h1,
.login p,
.login img.logo {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* --- HOME (lista de conexões) --- */
.home,
.home-header,
.connection-list,
.recent-connections,
.all-connections,
.connection-group,
.home .header,
.home .buttons,
.home h2,
.home p {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* --- NAVEGAÇÃO / MENU / HEADER GLOBAL --- */
.header,
.navigation,
.user-menu,
.logout,
.home-link,
.settings-link,
.menu-dropdown,
.session-menu,
.notification-area,
.language-select,
a[href="#/"],
a[href="#/settings/"] {
    display: none !important;
}

/* --- SETTINGS (admin) --- */
.settings-ui,
.manage-connections,
.manage-users,
.manage-sessions,
.user-preferences {
    display: none !important;
}

/* --- TELAS DE STATUS (disconnect, error, reconnect) --- */
.notification,
.notification h3,
.notification p,
.notification .buttons,
.notification button,
.notification a,
.status-notification,
.client-error .notification,
.client-disconnected .notification,
.reconnect .notification {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* --- BOTÕES GENÉRICOS (exceto teclas do teclado virtual) --- */
button:not(.guac-keyboard-key),
.action-buttons,
.buttons,
input[type="submit"],
input[type="button"],
a.button {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* --- MENU LATERAL (Ctrl+Alt+Shift) --- */
.menu,
.guac-menu,
.clipboard,
.guac-menu .menu-body,
.guac-menu .header {
    display: none !important;
}

/* --- FUNDO SEMPRE BRANCO --- */
html, body,
.login-ui,
.home,
.client,
.client-display,
.view {
    background: #FFFFFF !important;
}

/* --- TEXTOS: invisível + não selecionável --- */
h1, h2, h3, h4, h5, h6,
p,
label,
span:not(.guac-display),
.description,
.help-text,
.error-message,
.status-text {
    font-size: 0 !important;
    line-height: 0 !important;
    color: transparent !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    pointer-events: none !important;
}

/* --- LOGO DO GUACAMOLE --- */
.logo,
img.logo,
.branding-logo {
    display: none !important;
}

/* ============================================
   PRESERVA: canvas da sessão remota
   ============================================ */
.display,
.client-display,
.guac-display,
.guac-display canvas,
canvas {
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}
