.terminal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 14, 39, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  backdrop-filter: blur(10px);
}

.terminal-container {
  width: 90%;
  max-width: 700px;
  background: #0d1117;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--secondary);
  box-shadow: 0 0 50px rgba(0, 217, 255, 0.3);
}

.terminal-header {
  background: #161b22;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 15px;
  border-bottom: 1px solid #30363d;
}

.terminal-buttons {
  display: flex;
  gap: 8px;
}

.terminal-btn {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.terminal-btn.close { background: #ff5f56; }
.terminal-btn.minimize { background: #ffbd2e; }
.terminal-btn.maximize { background: #27c93f; }

.terminal-title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--secondary);
  font-family: var(--font-primary);
  font-size: 0.9rem;
}

.terminal-body {
  padding: 20px;
  min-height: 300px;
  max-height: 400px;
  overflow-y: auto;
  font-family: 'Source Code Pro', monospace;
  font-size: 0.95rem;
}

.terminal-line {
  margin-bottom: 10px;
  line-height: 1.5;
}

.terminal-line.command {
  color: var(--secondary);
}

.terminal-line.output {
  color: #8b949e;
}

.terminal-line.success {
  color: var(--success);
}

.terminal-line.error {
  color: var(--danger);
}

.terminal-line .prompt {
  color: var(--accent);
  margin-right: 8px;
}

.terminal-line .cursor {
  animation: blink 1s infinite;
  color: var(--secondary);
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.terminal-footer {
  background: #161b22;
  padding: 12px 16px;
  border-top: 1px solid #30363d;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.terminal-status {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--success);
  font-size: 0.85rem;
}

.terminal-status .status-indicator {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.terminal-progress {
  width: 200px;
  height: 4px;
  background: #30363d;
  border-radius: 2px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  transition: width 0.3s ease;
}
