/* OS-2045 Terminal Polish (Wave B)
 * Adds visual support for reverse-search indicator and improved input
 * cursor blink. Module-level styles only — does not touch the existing
 * terminal layout in index.html.
 */

.terminal-reverse-status {
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  background: rgba(0, 0, 0, 0.35);
  border-top: 1px solid var(--theme-color-dark, #050);
  border-bottom: 1px solid var(--theme-color-dark, #050);
  user-select: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body[data-theme-mode="os2045"] .terminal-reverse-status {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.7);
}

/* Subtle caret pulse on focused input — purely cosmetic */
body[data-theme-mode="os2045"] .terminal-input:focus {
  caret-color: var(--theme-color, #fff);
}

/* Light-mode adjustments for the reverse-status bar */
.terminal.light-mode .terminal-reverse-status {
  background: #f0f0f0;
  border-color: #ccc;
  color: #444;
}
