/* Terminal Panel Styles - xterm.js based */

#terminal-panel {
  position: absolute;
  top: 0;
  right: -360px;
  width: 400px;
  height: 100%;
  background: #0a0a0f;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  transition: right 0.25s ease;
  z-index: 50;
  display: flex;
  flex-direction: column;
}

#terminal-panel.open {
  right: 0;
}

.terminal-tabs {
  display: flex;
  background: #12121a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  overflow-x: auto;
  flex-shrink: 0;
}

.terminal-tab {
  padding: 10px 16px;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: #64748b;
  font-size: 0.8125rem;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}

.terminal-tab:hover {
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.05);
}

.terminal-tab.active {
  color: #f97316;
  border-bottom-color: #f97316;
  background: rgba(249, 115, 22, 0.1);
}

.terminal-content {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.terminal-container {
  width: 100%;
  height: 100%;
  padding: 8px;
}

.terminal-container .xterm {
  height: 100%;
}

.terminal-container .xterm-viewport {
  overflow-y: auto !important;
}

.terminal-container .xterm-screen {
  height: 100%;
}
