/* Terminal Styles */
.terminal-section {
  margin: 3rem 0;
  text-align: center;
}

.terminal-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  background: var(--text);
  color: var(--bg);
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  transition: all 0.2s ease;
  margin-bottom: 1rem;
}

.terminal-toggle-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.terminal-icon {
  font-family: monospace;
  font-weight: bold;
}

.terminal {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  background: #1e1e1e;
  color: #c5c8c6;
  font-family: 'Courier New', monospace;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  text-align: left;
}

.terminal.hidden {
  display: none;
}

.terminal-bar {
  background: #2d2d2d;
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #333;
}

.terminal-bar .dot {
  height: 12px;
  width: 12px;
  border-radius: 50%;
  margin-right: 8px;
  display: inline-block;
}

.terminal-bar .red { 
  background: #ff5f56; 
}

.terminal-bar .yellow { 
  background: #ffbd2e; 
}

.terminal-bar .green { 
  background: #27c93f; 
}

.terminal-bar .title {
  margin-left: auto;
  color: #ccc;
  font-size: 0.875rem;
  font-weight: 500;
}

.terminal-body {
  padding: 1rem;
  max-height: 400px;
  overflow-y: auto;
  font-size: 0.875rem;
  line-height: 1.4;
}

.line {
  margin-bottom: 4px;
  word-wrap: break-word;
}

.prompt-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.prompt {
  color: #00ff00;
  margin-right: 8px;
  font-weight: bold;
}

#terminal-input {
  flex: 1;
  background: transparent;
  border: none;
  color: #c5c8c6;
  font-family: 'Courier New', monospace;
  font-size: 0.875rem;
  outline: none;
  min-width: 200px;
}

#terminal-input::placeholder {
  color: #666;
}

.command-output {
  color: #8cc8ff;
}

.error-output {
  color: #ff6b6b;
}

.success-output {
  color: #51cf66;
}

@media (max-width: 768px) {
  .terminal {
    margin: 0 1rem;
  }
  
  .terminal-body {
    padding: 0.75rem;
    font-size: 0.8rem;
  }
  
  .terminal-toggle-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
}
