.form-with-icon {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: 0 auto; /* Centrer le champ de saisie */
}

.form-with-icon input {
  width: 100%;
  padding: 10px 10px 10px 40px;
  font-size: 1em;
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: #1F1F1F;
  color: #FFFFFF;
}

.form-with-icon input::placeholder {
  color: #AAAAAA;
}

.form-with-icon img {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
}

.ok-button {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #4CAF50; /* Vert vif */
  color: #FFFFFF;
  border: none;
  border-radius: 5px;
  padding: 12px 20px;
  font-size: 1em;
  cursor: pointer;
  margin: 20px auto 0;
  transition: background-color 0.3s;
}

.ok-button:hover {
  background-color: #388E3C; /* Vert foncé */
}

.ok-button .button-icon {
  width: 24px;
  height: 24px;
  margin-right: 10px;
}

.spinner {
  margin: 20px auto;
  width: 80px;
  height: 80px;
  border: 12px solid #4CAF50; /* Vert */
  border-top: 12px solid transparent;
  border-radius: 50%;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

#localisation-link {
  display: block;
  margin: 50px auto;
  padding: 15px 30px;
  background-color: #4CAF50; /* Vert */
  color: #FFFFFF;
  text-decoration: none;
  font-size: 1.2em;
  border-radius: 5px;
  transition: background-color 0.3s;
}

#localisation-link:hover {
  background-color: #388E3C; /* Vert foncé */
}

#access-form {
  background-color: rgba(31, 31, 31, 0.9); /* Fond sombre et semi-transparent */
  padding: 20px;
  border-radius: 10px;
  max-width: 400px;
  margin: 20px auto;
  color: #FFFFFF;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Ombre pour relief */
}

#access-form label {
  font-size: 1em;
  color: #4CAF50; /* Texte vert */
  margin-bottom: 5px;
  display: block;
}

#access-form input[type="text"] {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #4CAF50; /* Bordure verte */
  border-radius: 5px;
  background-color: #1F1F1F;
  color: #FFFFFF;
}

#access-form input[type="text"]::placeholder {
  color: #AAAAAA;
}

#access-form button {
  width: 100%;
  padding: 12px;
  background-color: #4CAF50; /* Vert vif */
  color: #FFFFFF;
  border: none;
  border-radius: 5px;
  font-size: 1em;
  cursor: pointer;
  transition: background-color 0.3s;
}

#access-form button:hover {
  background-color: #388E3C; /* Vert foncé */
}

/* Ajouts pour la responsivité */
@media screen and (max-width: 768px) {
  #access-form {
    padding: 15px;
    width: 90%; /* Limiter la largeur à l'écran */
  }

  #access-form input[type="text"], #access-form button {
    width: 100%; /* S'adapte à la largeur disponible */
    font-size: 1em;
  }
}
