body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f4f4f8;
  margin: 0;
  padding: 0;
}

.container {
  max-width: 700px;
  margin: 40px auto;
  padding: 30px;
  background-color: #ffffff;
  box-shadow: 0 0 10px rgba(0,0,0,0.08);
  border-radius: 8px;
}

h1 {
  text-align: center;
  margin-bottom: 30px;
  color: #333;
}

label {
  font-weight: bold;
  margin-top: 20px;
  display: block;
  color: #444;
}

input[type="file"] {
  display: block;
  margin-top: 10px;
  margin-bottom: 20px;
  padding: 6px;
  font-size: 16px;
}

textarea {
  width: 100%;
  height: 180px;
  padding: 10px;
  font-size: 15px;
  margin-top: 10px;
  margin-bottom: 20px;
  resize: vertical;
  border-radius: 4px;
  border: 1px solid #ccc;
  font-family: monospace;
}

button {
  display: block;
  width: 100%;
  padding: 14px;
  background-color: #0061a8;
  color: white;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

button:hover {
  background-color: #004b82;
}

#resultat {
  margin-top: 40px;
  font-size: 15px;
}

#resultat h2 {
  margin-bottom: 10px;
  font-size: 18px;
  color: #333;
  text-align: center;
}

#resultat table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

#resultat th,
#resultat td {
  border: 1px solid #aaa;
  padding: 8px;
  text-align: center;
  font-size: 15px;
}

#resultat th {
  background-color: #f0f0f0;
  font-weight: bold;
}

/* Impression */
@media print {
  body {
    background: white;
  }

  .container,
  label,
  textarea,
  input,
  #genererBtn {
    display: none !important;
  }

  #resultat {
    margin-top: 0;
  }

  #resultat table {
    font-size: 12px;
  }

  button {
    display: none !important;
  }
}
