/**
 * Front page terminal widget styles.
 *
 * @package TDM_Tech
 */

.terminal-window {
  background: #1e1e1e;
  color: #f0f0f0;
  font-family: 'Courier New', Courier, monospace;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  max-width: 800px;
  width: 100%;
  margin: 40px auto;
  overflow: hidden;
  text-align: left;
}

.terminal-header {
  background: #2d2d2d;
  padding: 10px 15px;
  display: flex;
  align-items: center;
  position: relative;
}

.terminal-buttons {
  display: flex;
  gap: 8px;
}

.t-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}
.t-red { background: #ff5f56; }
.t-yellow { background: #ffbd2e; }
.t-green { background: #27c93f; }

.terminal-title {
  position: absolute;
  left: 0;
  right: 0;
  text-align: center;
  color: #999;
  font-size: 14px;
  pointer-events: none;
}

.terminal-body {
  padding: 20px;
  height: 350px;
  overflow-y: auto;
  cursor: text;
}

.input-line {
  display: flex;
  align-items: center;
  margin-top: 5px;
}

.prompt {
  color: #00ff88;
  margin-right: 10px;
  font-weight: bold;
}

#cli-input {
  background: transparent;
  border: none;
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  flex-grow: 1;
  outline: none;
}

.output-line { margin-bottom: 8px; line-height: 1.5; }
.cmd-echo { color: #aaa; margin-bottom: 4px; }
.response-text { color: #fff; white-space: pre-wrap; }
.keyword { color: #569cd6; font-weight: bold; }

.cursor {
  display: inline-block;
  width: 8px;
  height: 15px;
  background: #00ff88;
  animation: blink 1s infinite;
  vertical-align: middle;
}
@keyframes blink { 0% { opacity: 1; } 50% { opacity: 0; } 100% { opacity: 1; } }
