body {
    font-family: Arial, sans-serif;
  }
  
  form {
    max-width: 400px;
    margin: 0 auto;
  }
  
  div {
    margin-bottom: 10px;
  }
  
  label {
    display: inline-block;
    width: 150px;
  }
  
  input[type="text"],
  input[type="date"],
  input[type="time"],
  select {
    width: 200px;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 3px;
  }
/* ✅ Image promotionnelle fixe */
.fixed-promo {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  flex-direction: column;
  padding: 20px;
}

/* Boutons en haut à droite de la modale */
.promo-top-buttons {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  gap: 10px;
  z-index: 10000;
}

/* Conteneur centré pour l'image */
.promo-image-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  pointer-events: auto;
}

.promo-image {
  max-width: min(88vw, 900px);
  max-height: min(85vh, 1200px);
  width: auto;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 0 30px rgba(0,0,0,0.6);
  object-fit: contain;
}

/* ✅ Boutons en haut à droite de la modale */
.promo-top-buttons {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  gap: 10px;
  z-index: 10000;
}

.btn-participer-top,
.btn-fermer-top {
  padding: 10px 18px;
  border: none;
  font-weight: bold;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  color: white;
  font-size: 14px;
}

.btn-participer-top {
  background-color: #28a745;
}

.btn-fermer-top {
  background-color: #dc3545;
}

/* ✅ Bouton fixe en bas à droite */
.btn-participer-fixed {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #007bff;
  color: white;
  padding: 12px 20px;
  border-radius: 50px;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  z-index: 9998;
  transition: background-color 0.3s ease;
}

.btn-participer-fixed:hover {
  background-color: #0056b3;
}

/* ✅ Responsive adaptation pour écrans ≤ 600px */
@media screen and (max-width: 600px) {
  form {
    max-width: 90%;
    padding: 0 10px;
  }

  label {
    width: 100%;
    margin-bottom: 5px;
  }

  input[type="text"],
  input[type="date"],
  input[type="time"],
  select {
    width: 100%;
  }

  .promo-image {
    max-width: 95%;
    max-height: 80%;
  }

  .promo-top-buttons {
    top: 10px;
    right: 10px;
    flex-direction: column;
    gap: 10px;
  }

  .btn-participer-top,
  .btn-fermer-top {
    padding: 12px 16px;
    font-size: 16px;
    border-radius: 6px;
  }

  .btn-participer-fixed {
    bottom: 10px;
    right: 10px;
    padding: 10px 16px;
    font-size: 16px;
    border-radius: 40px;
  }
}

