/* General styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
  }
  
  #formPages {
    margin: 20px auto;
    max-width: 500px;
  }
  
  .page {
    display: none;
  }
  
  .page.active {
    display: block;
  }
  
  /* Form styles */
  input[type="text"],
  input[type="email"],
  textarea {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
  }
  
  button {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 5px;
  }
  
  button:hover {
    background-color: #45a049;
  }
  
  /* Page navigation buttons */
  #page1 button:first-child {
    margin-left: auto;
  }
  
  #page3 button:last-child {
    margin-left: auto;
  }
  
  /* Form details display */
  .output {
    margin-top: 20px;
    padding: 10px;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 4px;
    width:500px;
    top:50%;
    left:50%;
    transform: translate(-50%, -50%);
    position: absolute;
  }

  