/* Conteneur du menu latéral */
.sidebar-container {
  position: absolute;
  top: 80px; /* Coller la sidebar en dessous du header */
  bottom: 0px; /* Coller la sidebar au-dessus du footer */
  width: 180px; /* Largeur de la sidebar */
  background-color: #111827;
  color: white;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  z-index: 1000;
  transition: width 0.3s ease;
}

/* Media query pour les écrans de petite taille (téléphones) */
@media (max-width: 768px) {
  .sidebar-container {
    bottom: 60px; /* Coller la sidebar au-dessus du footer */
  }
}

/* Liste de navigation */
.nav-list {
  list-style-type: none; /* Supprimer les puces */
  padding: 0;
  margin: 0;
}

.nav-item {
  width: 100%;
  margin-bottom: 20px;
}

.nav-link {
  color: white; /* Couleur des liens */
  text-decoration: none; /* Supprimer la soulignure */
  font-size: 18px;
  display: block; /* Pour que chaque lien prenne toute la largeur */
  padding: 10px 20px;
  width: 100%;
  transition: padding-left 0.3s ease, background-color 0.3s ease; /* Transition fluide pour padding et couleur */
}

/* Animation au survol des liens */
.nav-link:hover {
  background-color: #042658; /* Changement de couleur de fond au survol */
  padding-left: 30px; /* Décalage du texte pour effet */
  transition: padding-left 0.3s ease, background-color 0.3s ease; /* Animation fluide */
}

/* Contenu principal */
.content {
  margin-left: 200px; /* Laisser de l'espace à gauche pour le menu */
  overflow-y: auto;
  height: 100%;
  box-sizing: border-box;
}

/* --------------------------------------------------------------------------------------------------------------------- */

#btnLogout {
    position: absolute; /* Positionné par rapport au body ou au parent */
    top: 25px;
    left: 85%; /* Centré horizontalement */
    padding: 10px 20px; /* Réduire la taille des marges internes du bouton */
    background-color: #f44336;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px; /* Réduire la taille du texte */
    z-index: 1000; /* S'assurer que le bouton reste au-dessus du header */
}

#btnLogout:hover {
    background-color: #e53935;
}

/* --------------------------------------------------------------------------------------------------------------------- */

/* Style du bouton */
#btnAudit {
  position: absolute;
  top: 25px;
  left: 5%;
  padding: 10px 20px;
  background-color: #4CAF50;
  color: white;
  border: none;
  cursor: pointer;
  font-size: 16px;
  z-index: 1000;
}

#btnAudit:hover {
  background-color: #45a049;
}

/* Style de la fenêtre modale */
.modal {
  display: none; /* Initialement cachée */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Fond semi-transparent */
  z-index: 999;
  align-items: center;
  justify-content: center;
}

/* Contenu de la fenêtre modale */
.modal-content {
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  width: 600px;
  position: relative;
}

/* Croix pour fermer */
.close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 30px;
  cursor: pointer;
  color: #aaa;
}

.close:hover {
  color: black;
}

/* --------------------------------------------------------------------------------------------------------------------- */

/* Style pour les champs du formulaire */
input[type="text"],
input[type="email"],
input[type="password"] {
  width: 100%;
  padding: 8px;
  margin: 5px 0;
  border: 1px solid #ccc;
  border-radius: 4px;
}

#startAuditBtn {
  background-color: #4CAF50;
  color: white;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  font-size: 16px;
  border-radius: 5px;
}

#startAuditBtn:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

#startAuditBtn:hover {
  background-color: #45a049;
}

/* Style pour les éléments d'information */
ul {
  padding-left: 20px;
  font-size: 14px;
}

ul li {
  margin-bottom: 10px;
  font-size: 14px;
}

label {
  display: block;
  margin-bottom: 5px;
  font-size: 14px;
}

p {
  font-size: 14px;
}

h2 {
  text-align: center;
}

/* Style pour les éléments du formulaire */
input[type="text"] {
  font-size: 15px;
  margin-bottom: 10px;
  width: 560px;
}

#startAuditBtn {
  display: block;
  margin: 10px auto;
}

.input-error {
  display: block;
  margin-top: 6px;
  color: red;
  font-size: 13px;
}

.input-invalid {
  border: 1px solid red;
}

/* --------------------------------------------------------------------------------------------------------------------- */

        .profile-details {
          margin-top: 20px;
          font-size: 16px;
        }

        .active {
          color: green;
        }

        .inactive {
          color: red;
        }

        .plan {
          font-weight: bold;
          color: #007BFF;
        }