 /* Reset base */
    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }
    body {
      background-color: #1e1e1e;
      color: #fff;
      font-family: 'Courier New', monospace;
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 20px;
    }
    .container {
      width: 100%;
      max-width: 800px;
      padding: 10px;
    }
    /* Form per l'input utente */
    #userInput {
      margin-bottom: 20px;
      text-align: left;
    }
    #userInput p {
      margin-bottom: 10px;
      font-size: 1.2em;
    }
    #userInput div {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }
    #userInput input {
      flex: 1;
      padding: 10px;
      font-size: 1em;
      border: 1px solid #444;
      border-radius: 4px;
      background-color: #333;
      color: #fff;
    }
    #userInput button {
      padding: 10px 20px;
      font-size: 1em;
      border: none;
      border-radius: 4px;
      background-color: #007acc;
      color: #fff;
      cursor: pointer;
    }
    /* Contenitore terminale */
    #terminalContainer {
      display: none;
      border: 1px solid #444;
      border-radius: 4px;
      overflow: hidden;
      box-shadow: 0 0 5px rgba(0,0,0,0.5);
      margin-bottom: 20px;
    }
    #terminal {
      width: 100%;
      height: 300px;
    }
    /* Bottone per salvare la GIF */
    #saveGifBtn {
      display: none;
      margin: 10px auto;
      padding: 10px 20px;
      font-size: 1em;
      border: none;
      border-radius: 4px;
      background-color: #28a745;
      color: #fff;
      cursor: pointer;
    }
    /* Anteprima GIF */
    #gifPreview {
      text-align: center;
      margin-top: 20px;
    }
    /* Responsività */
    @media (max-width: 600px) {
      #userInput div {
        flex-direction: column;
      }
      #userInput input, 
      #userInput button {
        width: 100%;
      }
    }
