body {
  background-color: #0a0a0a;
  color: #00ff00;
  font-family: 'Courier New', monospace;
  margin: 0;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: 
    repeating-linear-gradient(
      0deg,
      rgba(0, 255, 0, 0.03),
      rgba(0, 255, 0, 0.03) 1px,
      transparent 1px,
      transparent 2px
    );
}

#terminal-container {
  width: 90%;
  max-width: 1200px;
  height: 85vh;
  background-color: rgba(0, 0, 0, 0.95);
  border: 2px solid #00ff00;
  border-radius: 5px;
  box-shadow: 
    0 0 20px rgba(0, 255, 0, 0.5),
    inset 0 0 20px rgba(0, 255, 0, 0.1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  margin: 0 auto;
}

.terminal-header {
  background-color: #00ff00;
  color: #000;
  padding: 5px 10px;
  font-weight: bold;
  font-size: 14px;
  border-bottom: 2px solid #00ff00;
}

#terminal {
  flex: 1;
  padding: 10px;
  overflow-y: auto;
}

/* Custom xterm theme overrides */
.xterm {
  font-family: 'Courier New', monospace;
  font-size: 14px;
  padding: 10px;
  line-height: 1.4;
  letter-spacing: 0.5px;
}

.xterm-viewport {
  background-color: transparent !important;
  overflow-x: hidden !important;
}

.xterm-screen {
  background-color: transparent !important;
}

/* Better readability for terminal text */
.xterm-rows {
  font-smooth: always;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: rgba(0, 255, 0, 0.1);
}

::-webkit-scrollbar-thumb {
  background: #00ff00;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #00cc00;
}

/* Cursor animation */
@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.terminal-cursor {
  animation: blink 1s infinite;
}