/* Terminal Auto-suggestion styles */

.terminal-suggestions {
  position: absolute;
  bottom: 100%;
  left: 0;
  width: 100%;
  max-height: 180px;
  overflow-y: auto;
  background-color: rgba(86, 156, 214, 0.95);
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
  z-index: 100;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(100, 100, 100, 0.2);
  border-bottom: none;
  transition: all 0.3s ease;
}

.suggestion-item {
  padding: 8px 15px;
  cursor: pointer;
  color: #a9b7c6;
  font-family: 'Fira Code', monospace;
  font-size: 14px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
}

.suggestion-item:hover {
  background-color: rgba(80, 80, 80, 0.5);
  color: #569cd6;
}

.suggestion-item.active {
  background-color: rgba(100, 100, 100, 0.5);
  color: #569cd6;
}

.suggestion-icon {
  margin-right: 10px;
  color: #569cd6;
  font-size: 16px;
}

.suggestion-text {
  flex: 1;
}

.suggestion-description {
  font-size: 12px;
  color: #608b4e;
  margin-left: 10px;
  opacity: 0.8;
}

/* Terminal command highlighting */
.command-help {
  color: #4ec9b0;
}

.command-skills {
  color: #c586c0;
}

.command-experience {
  color: #dcdcaa;
}

.command-projects {
  color: #9cdcfe;
}

.command-contact {
  color: #ce9178;
}

.command-about {
  color: #b5cea8;
}

.command-clear {
  color: #d16969;
}

/* Enhanced typing effect for terminal */
.terminal-typing {
  position: relative;
}

.terminal-typing::after {
  content: '';
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 16px;
  background-color: #569cd6;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Enhanced terminal scrollbar */
.terminal-body::-webkit-scrollbar {
  width: 8px;
}

.terminal-body::-webkit-scrollbar-track {
  background: rgba(86, 156, 214, 0.5);
  border-radius: 4px;
}

.terminal-body::-webkit-scrollbar-thumb {
  background: rgba(100, 100, 100, 0.7);
  border-radius: 4px;
}

.terminal-body::-webkit-scrollbar-thumb:hover {
  background: rgba(120, 120, 120, 0.8);
}

/* Terminal glowing effect on focus */
.terminal-window:focus-within {
  box-shadow: 0 0 15px rgba(86, 156, 214, 0.5);
  transition: box-shadow 0.3s ease;
}

.terminal-suggestions::-webkit-scrollbar {
  width: 6px;
}

.terminal-suggestions::-webkit-scrollbar-track {
  background: rgba(20, 20, 20, 0.8);
}

.terminal-suggestions::-webkit-scrollbar-thumb {
  background: rgba(80, 80, 80, 0.7);
  border-radius: 3px;
}
