/* The Keep Layout */
#keep {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0;
  margin: 0;
}

#keep-header {
  flex-shrink: 0;
  padding: 2rem 2rem 1rem 2rem;
  text-align: left;
}

/* Terminal Styles */
#terminal {
  font-family: 'Courier New', monospace;
  font-size: 14px;
  max-width: 1200px;
  margin: 0 auto;
}

#terminal-prompt {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  color: rgba(255,255,255,0.9);
}

#prompt-text {
  color: #00ff00;
  font-weight: bold;
}

#active-project {
  color: #00ffff;
  font-weight: bold;
}

#active-project:not(:empty)::before {
  content: '~';
  color: rgba(255,255,255,0.6);
  margin-right: 0.25rem;
}

.prompt-symbol {
  color: rgba(255,255,255,0.9);
  margin-left: 0.25rem;
}

#terminal-input {
  flex: 1;
  background: transparent;
  border: none;
  color: #ffffff;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  outline: none;
  padding: 0;
  margin-left: 0.5rem;
  caret-color: #00ff00;
}

#terminal-input::placeholder {
  color: rgba(255,255,255,0.3);
}

#terminal-input:disabled {
  opacity: 0.5;
  cursor: wait;
}

#terminal-output {
  font-family: 'Courier New', monospace;
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  white-space: pre-wrap;
  word-wrap: break-word;
  max-height: 200px;
  overflow-y: auto;
  line-height: 1.6;
  padding: 1rem;
  background: rgba(0,0,0,0.3);
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.5);
  transition: border-color 0.3s ease;
}

#terminal-output.loading {
  border-color: rgba(0,255,0,0.5);
  animation: terminalPulse 1.5s ease-in-out infinite;
}

#terminal-output:empty::before {
  content: 'Select a project with ❯ and run git commands (e.g., "git log --oneline -10")';
  color: rgba(255,255,255,0.3);
  font-style: italic;
}

#terminal-output::-webkit-scrollbar {
  width: 6px;
}

#terminal-output::-webkit-scrollbar-track {
  background: transparent;
}

#terminal-output::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.2);
  border-radius: 3px;
}
