/* terminal.css - moonterm terminal styling */

.terminal-app {
  width: 100%;
  height: 100%;
  background: rgba(5, 8, 16, 0.25);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.5;
  padding: 12px;
  overflow-y: auto;
  outline: none;
  cursor: text;
  box-sizing: border-box;
  text-shadow: 0 0 12px rgba(130, 184, 255, 0.15);
}

.terminal-output {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.terminal-line {
  white-space: pre-wrap;
  word-break: break-all;
}

.terminal-welcome {
  color: var(--dim);
  margin-bottom: 8px;
}

.terminal-prompt-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 4px;
}

.term-user {
  color: var(--accent);
  font-weight: 500;
}

.term-colon {
  color: var(--dim);
}

.term-path {
  color: #7dc4e4;
  font-weight: 500;
}

.term-dollar {
  color: var(--dim);
  margin: 0 6px 0 2px;
}

.term-input-wrapper {
  display: inline-flex;
  align-items: center;
  position: relative;
  flex: 1;
  min-width: 100px;
}

.term-input {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text);
  border: none;
  background: transparent;
  outline: none;
  width: 100%;
  caret-color: var(--accent);
}

/* Custom Block Cursor */
.term-cursor {
  display: inline-block;
  width: 8px;
  height: 15px;
  background: var(--accent);
  vertical-align: middle;
  margin-left: 1px;
  animation: term-blink 1s step-end infinite;
}

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

/* Neofetch layout */
.neofetch-container {
  display: flex;
  gap: 20px;
  margin: 6px 0;
  color: var(--text);
}

.neofetch-ascii {
  color: var(--accent);
  font-family: var(--font-mono);
  font-weight: bold;
  line-height: 1.2;
}

.neofetch-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 12px;
}

.neofetch-title {
  font-weight: bold;
  color: var(--accent);
  margin-bottom: 2px;
}

.neofetch-divider {
  color: var(--dim);
}

.neofetch-key {
  color: var(--accent);
  font-weight: 500;
}

/* Colors in terminal */
.term-dir {
  color: #7dc4e4;
  font-weight: bold;
}

.term-file {
  color: var(--text);
}

.term-error {
  color: #e06c75;
}

.term-success {
  color: #98c379;
}

.term-dim {
  color: var(--dim);
}

/* Help two-column list */
.help-grid {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 3px 12px;
  margin: 4px 0;
}

.help-cmd {
  color: var(--accent);
  font-weight: 500;
}

.help-desc {
  color: var(--dim);
}
