/* Global background */
body {
    background-color: #f7f7f7;
    color: #0f0;
    font-family: monospace;
    margin: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  /* Terminal window frame */
  .terminal-window {
    background: #000;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    width: 750px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }
  
  /* Window header with mac-style dots */
  .window-header {
    background: #eaeaea;
    display: flex;
    align-items: center;
    padding: 6px 12px;
    border-bottom: 1px solid #ccc;
  }
  
  .dots {
    display: flex;
    gap: 6px;
    margin-right: 10px;
  }
  
  .dot {
    height: 12px;
    width: 12px;
    border-radius: 50%;
    display: inline-block;
  }
  
  .red { background: #ff5f56; }
  .yellow { background: #ffbd2e; }
  .green { background: #27c93f; }
  
  .window-title {
    color: #333;
    font-weight: bold;
    font-size: 14px;
  }
  
  /* Terminal body inside window */
  .terminal-body {
    background: #000;
    color: #0f0;
    padding: 16px;
    display: flex;
    flex-direction: column;
    height: 480px;
  }
  
  /* Input and buttons row */
  .controls {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
  }
  
  .controls input {
    flex: 1;
    padding: 8px;
    border: 1px solid #0f0;
    background: #111;
    color: #0f0;
    border-radius: 4px;
  }
  
  .controls button {
    background: #0f0;
    color: #000;
    border: none;
    border-radius: 4px;
    padding: 8px 12px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.2s;
  }
  
  .controls button:hover {
    background: #9f9;
  }
  
  /* Terminal output area */
  .terminal {
    flex: 1;
    background: #000;
    border: 1px solid #0f0;
    border-radius: 4px;
    padding: 10px;
    overflow-y: auto;
    white-space: pre-wrap;
    font-size: 14px;
  }
  
  .terminal-line {
    margin: 2px 0;
  }
  
  .success {
    color: #00ff66;
  }
  
  .error {
    color: #ff3333;
  }
  
  /* Scrollbar */
  ::-webkit-scrollbar {
    width: 8px;
  }
  ::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 10px;
  }
  