/* NEON Terminal Styles */

#neon-terminal {
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 255, 170, 0.2);
  border-radius: 16px;
  overflow: hidden;
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  box-shadow: 
    0 0 60px rgba(0, 255, 170, 0.1),
    0 25px 50px rgba(0, 0, 0, 0.5);
}

.neon-terminal-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.25rem;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.neon-terminal-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.neon-terminal-dot.red { background: #ff5f57; }
.neon-terminal-dot.yellow { background: #febc2e; }
.neon-terminal-dot.green { background: #28c840; }

.neon-terminal-title {
  margin-left: auto;
  font-size: 0.75rem;
  color: #71717a;
  letter-spacing: 0.05em;
}

.neon-terminal-body {
  padding: 1.25rem;
}

.neon-output {
  max-height: 200px;
  overflow-y: auto;
  margin-bottom: 1rem;
  scrollbar-width: thin;
  scrollbar-color: #27272a #0a0a0f;
}

.neon-output::-webkit-scrollbar {
  width: 4px;
}

.neon-output::-webkit-scrollbar-track {
  background: #0a0a0f;
}

.neon-output::-webkit-scrollbar-thumb {
  background: #27272a;
  border-radius: 2px;
}

.neon-line {
  padding: 0.25rem 0;
  font-size: 0.85rem;
  line-height: 1.5;
}

.neon-system {
  color: #71717a;
}

.neon-hint {
  color: #525252;
  font-size: 0.8rem;
}

.neon-command {
  color: #fafafa;
}

.neon-prompt {
  color: #00ffaa;
  margin-right: 0.5rem;
}

.neon-response {
  color: #a1a1aa;
}

.neon-success {
  color: #00ffaa;
}

.neon-error {
  color: #ef4444;
}

.neon-input-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: border-color 0.2s ease;
}

.neon-input-wrapper:focus-within {
  border-color: rgba(0, 255, 170, 0.3);
}

.neon-input-prompt {
  color: #00ffaa;
  font-weight: 600;
}

.neon-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: #fafafa;
  font-family: inherit;
  font-size: 0.9rem;
  caret-color: #00ffaa;
}

.neon-input::placeholder {
  color: #525252;
}

/* Code popup */
.neon-code-popup {
  background: rgba(10, 10, 15, 0.95);
  border: 1px solid rgba(0, 255, 170, 0.2);
}

/* Responsive */
@media (max-width: 640px) {
  #neon-terminal {
    margin: 0 -1rem;
    border-radius: 12px;
  }
  
  .neon-output {
    max-height: 150px;
  }
  
  .neon-terminal-title {
    display: none;
  }
}
