/* ===== Styles de base ===== */
body {
  background-color: #f9f9f9; /* Fond clair */
  color: #333333; /* Texte sombre */
  font-family: sans-serif;
  margin: 0;
  padding: 0;
}

.container {
  padding: 20px;
  padding-bottom: 100px; /* Espace pour le menu fixe */
}

h1 {
  text-align: center;
  margin-bottom: 20px;
}

/* ===== Section Parrainage ===== */
.parrainage {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}

.parrainage input {
  width: 80%;
  padding: 10px;
  margin-top: 5px;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  background-color: #1e1e1e;
  color: #ffffff;
}

.parrainage input:focus {
  outline: 2px solid #00bfa5;
}

.parrainage button {
  margin-top: 10px;
  padding: 10px 20px;
  border: none;
  background-color: #00bfa5;
  color: white;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s;
}

.parrainage button:hover {
  background-color: #009e8e;
}

/* ===== Tableau des filleuls ===== */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  background-color: #1e1e1e;
}

table th, table td {
  padding: 12px;
  border: 1px solid #333;
  text-align: center;
  color: #ffffff;
}

/* ===== Bouton WhatsApp ===== */
.whatsapp-btn {
  position: fixed;
  bottom: 80px;
  left: 10px;
  z-index: 999;
}

.whatsapp-btn img {
  width: 50px;
  height: 50px;
}

/* ===== Menu fixe en bas de l'écran ===== */
.menu {
  position: fixed; /* Fixe la barre en bas de la page */
  bottom: 0; /* Place la barre en bas */
  width: 100%; /* La barre occupe toute la largeur */
  display: flex; /* Utilise Flexbox pour aligner les éléments */
  justify-content: space-around; /* Espace égal entre les éléments */
  background: #4B0082; /* Couleur de fond */
  padding: 10px 0; /* Espacement vertical */
  z-index: 1000; /* Assure que la barre est au-dessus des autres éléments */
}

.menu a {
  color: white; /* Couleur du texte */
  text-decoration: none; /* Supprime le soulignement */
  padding: 12px 18px; /* Espacement interne des liens */
  font-size: 16px; /* Taille de la police */
  border-radius: 5px; /* Coins arrondis */
  font-weight: bold; /* Texte en gras */
  transition: 0.3s; /* Animation pour les interactions */
}

.menu a:hover {
  background: yellow; /* Couleur de fond au survol */
  color: black; /* Couleur du texte au survol */
}

.menu .active {
  background: yellow; /* Couleur de fond pour l'élément actif */
  color: black; /* Couleur du texte pour l'élément actif */
  border-radius: 8px; /* Coins arrondis pour l'élément actif */
}

/* ===== Responsive Design (mobile) ===== */
@media (max-width: 600px) {
  .menu a {
    font-size: 14px;
    padding: 10px 12px;
  }

  .parrainage input {
    width: 95%;
  }

  .parrainage button {
    width: 90%;
    text-align: center;
  }
}
