@tailwind base; @tailwind components; @tailwind utilities; /* XTerm terminal styling */ .xterm { padding: 0 !important; } .xterm .xterm-viewport { background-color: transparent !important; } /* Hide XTerm input textarea in session views (we handle input separately) */ session-view .xterm-helper-textarea { display: none !important; opacity: 0 !important; pointer-events: none !important; } /* Ensure terminal container has proper size */ #terminal-player, #interactive-terminal { min-height: 480px; min-width: 640px; width: 100%; } /* Terminal focus indicator */ .terminal-focused { box-shadow: 0 0 0 2px #00ff00; border-color: #00ff00 !important; } /* Keyboard capture indicator */ .keyboard-capture-indicator { position: fixed; top: 10px; right: 10px; background: rgba(0, 255, 0, 0.1); border: 1px solid #00ff00; color: #00ff00; padding: 4px 8px; border-radius: 4px; font-size: 12px; z-index: 1000; } /* Force XTerm terminal to fit within session card bounds */ .session-preview .xterm { min-width: unset !important; min-height: unset !important; max-width: 100% !important; max-height: 100% !important; width: 100% !important; height: 100% !important; overflow: hidden !important; } .session-preview .xterm .xterm-screen { max-width: 100% !important; max-height: 100% !important; /* Scaling now handled by ScaleFitAddon */ } .session-preview .xterm .xterm-viewport { overflow: hidden !important; } /* Hide the helper textarea in session previews too */ .session-preview .xterm-helper-textarea { display: none !important; opacity: 0 !important; pointer-events: none !important; }