/* Modale de l’espace commerçant */
#partner-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: none; /* masqué par défaut */
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 1rem;
}

#partner-modal.active {
  display: flex;
}

#partner-modal .modal-content {
  background: #fff;
  max-width: 800px;
  width: 100%;
  border-radius: 16px;
  overflow: auto;
  max-height: 90vh;
  position: relative;
  animation: fadeInUp 0.3s ease;
}

#partner-modal .modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #333;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
