.popup-client {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.65);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

.popup-client.hidden {
  display: none;
}

.popup-content {
  position: relative;
  background: #1e1e1e;
  color: #fff;
  padding: 1.5rem;
  border-radius: 40px;
  width: 90%;
  max-width: 350px;
  box-shadow: 0 0 10px rgba(0,0,0,0.4);
  font-family: 'TAModernTimes', sans-serif;
  text-align: center;
  animation: fadeIn 0.3s ease-out;
}

.popup-client .popup-content:hover {
  box-shadow: 0 0 15px #ffa900, 0 0 30px #ff5500;
  border-radius: 40px;
}

.popup-content h2 {
  font-size: 1rem;
  margin-bottom: 0.8rem;
  color: white;
}

.popup-content p {
  font-size: 0.8rem;
  margin-bottom: 1rem;
  color: white;
}

.popup-content input {
  width: 100%;
  padding: 0.6rem;
  margin: 0.5rem 0;
  border-radius: 6px;
  border: none;
  font-size: 0.6rem;
}

.popup-content button {
  background: #2c8249;
  color: white;
  border: none;
  padding: 0.4rem;
  border-radius: 30px;
  cursor: pointer;
  font-size: 1rem;
  margin-top: 1rem;
}
.popup-content button:hover {
  background: #1e5f35;
}

.popup-close {
  position: absolute;
  top: 1px;
  right: 12px;
  font-size: 1.4rem;
  color: #ccc;
  cursor: pointer;
  font-weight: bold;
  transition: transform 0.2s ease, color 0.2s ease;
  padding: 0.3rem;
}
.popup-close:hover {
  transform: scale(1.2);
  color: #ff4e4e;
}

/* Mobile optimisé */
@media (max-width: 500px) {
  .popup-content {
    padding: 1.2rem;
    font-size: 0.9rem;
  }

  .popup-content h2 {
    font-size: 1.1rem;
  }

  .popup-content input {
    font-size: 0.95rem;
  }

  .popup-content button {
    font-size: 0.95rem;
  }
}

/* Animation douce à l'ouverture */
@keyframes fadeIn {
  from {
    transform: scale(0.95);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}