@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono&display=swap');

.panel-terminal {
  font-family: 'IBM Plex Mono', monospace;
  background-color: #000;
  color: #00ff88;
  width: 100%;
  max-width: 500px;
  margin: 0 auto 32px auto;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

/* Top bar with faux mac-style buttons */
.panel-terminal-nav {
  background-color: #1e1e1e;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  border-radius: 10px 10px 0 0;
}

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

.panel-terminal-buttons .btn {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.panel-terminal-buttons .red    { background-color: #ff5f56; }
.panel-terminal-buttons .yellow { background-color: #ffbd2e; }
.panel-terminal-buttons .green  { background-color: #27c93f; }

/* Terminal body with aligned ASCII + text */
.panel-terminal-body {
  padding: 0 16px 16px 16px;
  font-size: 12px;
  line-height: 1.5;
  white-space: pre;
  overflow-x: auto;
  background-color: #000;
  border-radius: 0 0 10px 10px;
}

/* Blinking shell cursor */
.cursor {
  display: inline-block;
  animation: blink 1s step-start infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

/* Responsive for mobile screens */
@media (max-width: 540px) {
  .panel-terminal-body {
    font-size: 10px;
    line-height: 1.4;
  }
}
