 body {
       background-color: whitesmoke;
      margin: 0;
      height: 100vh;
      display: flex;
      justify-content: center;
      align-items: center;
      animation: backgroundChange 10s infinite alternate;
    }
  
     
    @keyframes backgroundChange {
      0% { background-color: #336699; }
      20% { background-color: #3d3d5c; }
      50% { background-color: #145252; }
      70% { background-color: #006699; }
      100% { background-color: #008055; }
    }

 
.logo-container {
  width: 100%;  
  text-align: center;  
  padding-top: 20px; 
  position: relative;
  height: 40%;  
}

 
.logo {
  max-width: 100%; 
  height: auto; 
  width: 250px; 
  position: relative; 
  top: 90px;  
  margin-right: 20%;
}

.main-content {
  text-align: center;
  padding: 20px;
   margin-bottom: 100px;
}

.outer-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 50px;
}

/* Form Image */
.form-image {
  width: 300px; 
  height: 720px; 
  object-fit: cover; 
  margin-right: 0;   
  border-radius: 2px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
  /* Cacher l'image sur les petits écrans */
}

.form-panel {
width: 700px;
max-width: 100%;
  padding: 30px;
  background-color: whitesmoke;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
  border-radius: 2px;
  margin-left: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  margin-top: 0;
  justify-content: space-between; 
}

/* Champs de texte avec icônes */
.mb-3.position-relative {
  position: relative;
}
.mb-3 .fa-envelope{
  position: absolute;
  left: 10px;
  top: 82%;
  transform: translateY(-50%);
  font-size: 18px;
  color: #888;
}
.mb-3 .fa-lock{
  position: absolute;
  left: 10px;
  top: 74%;
  transform: translateY(-50%);
  font-size: 18px;
  color: #888;
}

 .mb-3 .fa-user,
 .mb-3 .fa-user-pen,
 .mb-3 .fa-phone,
 .mb-3 .fa-book {
  position: absolute;
  left: 10px;
  top: 75%;
  transform: translateY(-50%);
  font-size: 18px;
  color: #888;
}
input.form-control.ps-5 {
  padding-left: 35px; 
}

/* Lien d'inscription */
.modal-footer h6 {
  margin-top: 5px;
}

.modal-footer a {
  color: #007bff;
}

.modal-footer a:hover {
  text-decoration: underline;
}

.form-label {
  color: dimgray;
  margin-right: 90%;
}

h2 {
  margin-bottom: 0;  
  padding-bottom: 0;  
  border-bottom: 1px solid #A9A9A9;
}

@media (max-width: 768px) {

  .form-image {
    display: none;
  }

  .outer-container {
    flex-direction: column; 
    align-items: stretch;  
  }

  .form-panel {
    max-width: 80%; 
    margin: 0; 
    height: auto;  
  }
}

@media (min-width: 769px) {
  .form-image {
    display: block;
  }

  .outer-container {
    flex-direction: row;  
  }

  .form-panel {
    max-width: 700px; 
  }
}
.ml-2 {
  margin-left: 10px;
}

#togglePassword {
    right: 10px;  
    top: 45px;    
    cursor: pointer;
    color: gray;  
}



















