/* Root layout */

.terminal-layout {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Content area */
/* IMPORTANT: no internal scrolling */

.content-area {
  flex: 1;
  padding: 2rem 1.5rem 5rem; /* reserve space for fixed terminal */
}

/* Terminal bar */

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;

  padding: 0.75rem 1.5rem;
  border-top: 1px solid var(--accent-soft);

  background: rgba(13, 17, 23, 0.95);
  position: fixed;     /* ⬅️ fixed, not sticky */
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
}

#terminal-input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--fg);
  font-family: inherit;
  font-size: 1rem;
  width: 100%;
}

.prompt {
  color: var(--accent);
}

/* Tablet */

@media (max-width: 768px) {
  .content-area {
    padding: 1.25rem 1rem 4.5rem;
  }

  .terminal-bar {
    padding: 0.6rem 1rem;
  }
}

/* Mobile */

@media (max-width: 480px) {
  .content-area {
    padding: 1rem 0.75rem 4rem;
  }

  #terminal-input {
    font-size: 0.95rem;
  }
}
