/* Interactive profile terminal. No external dependencies. */

.terminal-card-interactive {
   min-height: 460px;
}

.terminal-screen {
   min-height: 400px;
   padding: 18px;
   background:
      radial-gradient(circle at top left, rgba(203, 40, 33, 0.16), transparent 16rem),
      #0c0505;
   color: #f4efef;
   font-family: "DejaVu Sans Mono", monospace;
   font-size: 0.83rem;
   overflow: hidden;
}

.terminal-output {
   min-height: 340px;
   max-height: 340px;
   overflow-y: auto;
   padding-right: 8px;
   white-space: pre-wrap;
   scrollbar-color: #cb2821 #1a0d0d;
   scrollbar-width: thin;
}

.terminal-line {
   margin: 0 0 6px;
}

.terminal-command {
   color: #ffffff;
}

.terminal-muted {
   color: #c8b5b5;
}

.terminal-error {
   color: #ff8b84;
}

.terminal-accent {
   color: #ff5a52;
}

.terminal-input-row {
   display: flex;
   align-items: center;
   gap: 8px;
   margin: 12px 0 0;
   border-top: 1px solid rgba(203, 40, 33, 0.28);
   padding-top: 12px;
}

.terminal-prompt {
   color: #cb2821;
   font-weight: 700;
}

.terminal-input {
   flex: 1;
   min-width: 0;
   border: 0;
   outline: 0;
   background: transparent;
   color: #f4efef;
   font: inherit;
   caret-color: #cb2821;
}

.terminal-input::selection,
.terminal-output::selection {
   background: rgba(203, 40, 33, 0.45);
}

@media (max-width: 900px) {
   .terminal-screen {
      min-height: 360px;
   }

   .terminal-output {
      min-height: 300px;
      max-height: 300px;
   }
}
