body {
  font-family: 'Poppins', sans-serif;
  text-align: center;
  margin: 20px;
  background-color: #c0392b; /* Fond clair */
}

h1 {
  color: #ffffff; /* Rouge foncé pour le titre */
  margin-bottom: 20px;
}

.drop-zone {
  border: 2px dashed #c0392b; /* Bordure rouge */
  border-radius: 10px;
  padding: 20px;
  margin: 20px auto;
  width: 80%;
  max-width: 500px;
  background-color: #ffffff; /* Fond blanc pour le drop zone */
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s, border-color 0.3s;
}

.drop-zone.hover {
  background-color: #f2dede; /* Fond rouge clair au survol */
  border-color: #c0392b;
}

.file-list li {
  padding: 10px 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin: 5px 0;
  background: #f7f7f7;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background-color 0.3s;
}

.drop-zone input[type="file"] {
  display: none; /* Masquer l'élément input */
}




.file-list {
  list-style: none;
  padding: 0;
  margin: 10px auto;
  text-align: left;
  max-width: 500px;
  cursor: grab;
}

.file-list li {
  padding: 10px 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin: 5px 0;
  background: #f7f7f7;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background-color 0.3s; /* Transition douce */
}

.file-list li:hover {
  background: #f2dede; /* Fond rouge clair au survol */
}

.message-box {
  margin: 20px auto;
  max-width: 500px;
  padding: 10px;

  font-size: 14px;
  display: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Ombre douce */
}

.message-box.error {
  color: white;
  background-color: #e74c3c;
}

.message-box.success {
  color: white;
  background-color: #2ecc71;
}

.order {
  color: white;
}

a, button {
  display: inline-block;
  margin: 10px auto; /* Centrer la liste */
  padding: 10px 20px;
  background-color: #2ecc71;
  color: white;
  border: none;
  cursor: pointer;
  font-size: 16px;
  border-radius: 5px;
  text-decoration: none;
  max-width: 200px; /* Limite la largeur */
  text-align: center;
  transition: background-color 0.3s, transform 0.2s; /* Transition douce */
}

button:hover, a:hover {
  background-color: #27ae60;
  transform: translateY(-2px); /* Légère élévation au survol */
}

button#resetButton {
  background-color: #e74c3c;
}

button#resetButton:hover {
  background-color: #c0392b;
}
