body {
  font-family: Arial, sans-serif;
  background: #ffccff;
  padding: 40px;
  margin: 0;
}

.container {
  max-width: 600px;
  margin: auto;
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

h1 {
  text-align: center;
  margin-bottom: 20px;
}

form input[type="text"] {
  width: 100%;
  padding: 10px;
  margin: 6px 0;
  border: 1px solid #ccc;
  border-radius: 6px;
}

form button {
  width: 100%;
  padding: 12px;
  background-color: #28a745;
  border: none;
  color: white;
  font-weight: bold;
  border-radius: 6px;
  margin-top: 10px;
  cursor: pointer;
}

.chart-container {
  margin-top: 40px;
}

/* Style de la modale */
.modal {
  display: none; /* Cacher la modale par défaut */
  position: fixed;
  z-index: 1; /* Rendre la modale au-dessus du contenu */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5); /* Fond sombre pour l'effet de superposition */
  padding-top: 60px;
  text-align: center;
}

/* Contenu de la modale */
.modal-content {
  background-color: white;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 400px;
  text-align: left;
  font-size: 16px;
}

/* Bouton de fermeture */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/* Conteneur pour les boutons côte à côte */
.button-container {
  display: flex;
  justify-content: space-between; /* Aligner les boutons côte à côte avec de l'espace entre */
  gap: 10px;
  width: 100%;
}

/* Style pour les boutons */
button {
  width: 48%;               /* Chaque bouton prend environ 48% de la largeur */
  padding: 10px;
  font-size: 16px;
  text-align: center;
  cursor: pointer;
  border: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  box-sizing: border-box;
  white-space: nowrap;       /* Empêche le texte de se couper */
  height: 50px;              /* Hauteur fixe pour les deux boutons */
  display: flex;             /* Utilisation de flex pour aligner le texte verticalement */
  justify-content: center;   /* Centre le texte horizontalement */
  align-items: center;       /* Centre le texte verticalement */
}

/* Style spécifique pour le bouton de soumission */
.button-submit {
  background-color: #864583;
  color: white;
}

.button-submit:hover {
  background-color: #da70d6;
}

/* Style spécifique pour le bouton des résultats */
.button-results {
  background-color: #ff00ff;
  color: white;
}

.button-results:hover {
  background-color: #ffccff;
}
