body {
  font-family: "Segoe UI", sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  background: #f6f9fc;
  color: #333;
  padding-top: 70px; /* Ajuste selon la hauteur de ta navbar */
}
.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    max-width: 1200px;
    margin: auto;
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  }
  form, #preview-container {
    flex: 1 1 480px;
    min-width: 320px;
  }
  form {
    padding-right: 25px;
    border-right: 2px dashed #ccc;
  }
  #preview-container {
    padding-left: 25px;
  }
  textarea, select {
    width: 100%;
    
    padding: 10px 12px;
    margin-top: 5px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 6px;
    transition: border 0.2s;
  }
  input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #2980b9;
    box-shadow: 0 0 0 2px rgba(41, 128, 185, 0.2);
  }
  button {
    margin-top: 20px;
    padding: 12px 24px;
    background: #2980b9;
    color: white;
    border: none;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
  }
  button:hover {
    background: #1abc9c;
  }
  #preview-container h3 {
    margin-bottom: 20px;
    color: #2c3e50;
  }
  
  #preview h4 {
    color: #2c3e50;
    margin-top: 20px;
    font-size: 17px;
  }
  
  #preview p {
    background: #f6f9fc;
    padding: 10px;
    border-radius: 8px;
    font-size: 15px;
    line-height: 1.6;
  }
  @media (max-width: 768px) {
    .container {
      flex-direction: column;
      padding: 20px;
    }
    form, #preview-container {
      padding: 0 !important;
      border: none;
    }
  }
  input{
    width: 100%;
    
    padding: 10px 12px;
    margin-top: 5px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 6px;
    transition: border 0.2s;
  }          
  
 
  footer {
    text-align: center;
    padding: 1rem;
    background-color: #222;
    color: white;
  }