/* Styles pour le bouton */
.button {
  position: relative; /* Changer en relative pour ne pas interférer avec la popup */
  background: #fff;
  padding: 20px 30px;
  width: 100%;
  border: 5px solid #4ac0ee;
  color: #4ac0ee;
  font-weight: bold;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  z-index: 2;
  transition: all .15s .15s ease-out; /* Transition pour le bouton */
  margin-top: 10px;
}

.button:after,
.button:before {
  position: absolute;
  width: 100%;
  max-width: 100%;
  top: 100%;
  left: 0;
  bottom: -10px;
  z-index: 1;
  transition: all .15s .15s ease-out; /* Transition pour les effets de hover */
}

.button:before {
  background: #4ac0ee;
  top: 10px;
  left: -15px;
  height: 100%;
  width: 15px;
}

.button:after {
  width: 100%;
  background: #4ac0ee;
  right: 0px;
  left: -15px;
  height: 15px;
}

.button:hover {
  background: #4ac0ee;
  color: #fff;
  margin-left: -7.5px;
  margin-bottom: -7.5px;
}

.button:hover:after,
.button:hover:before {
  top: 100%;
  left: 0;
  bottom: 0px;
}

.button:hover:before {
  top: 0px;
  left: 0px;
  width: 0px;
}

.button:hover:after {
  right: 0px;
  left: 0px;
  height: 0px;
}

/* Styles pour la popup */
.popup {
  display: none; /* Caché par défaut */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.7); /* Fond semi-transparent */
}

.popup-content {
  background-color: #fff;
  margin: 15% auto;
  margin-top: 20px;
  padding: 20px;
  border: 1px solid #888;
  width: 80%; /* Largeur de la popup */
  max-width: 600px; /* Largeur max de la popup */
  position: relative;
}

/* Bouton stylé pour le tableau de synthèse */
.btn-a12x7 {
  display: inline-block;
  padding: 12px 24px;
  font-size: 16px;
  text-decoration: none;
  color: white;
  background-color: #007bff; /* Bleu */
  border: none;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  transition: background-color 0.3s ease, transform 0.2s ease;
  cursor: pointer;
}

.btn-a12x7:hover {
  background-color: #0056b3;
  transform: scale(1.05);
}

.btn-a12x7::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300%;
  height: 300%;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.5s ease;
}

.btn-a12x7:hover::before {
  transform: translate(-50%, -50%) scale(1);
}

.btn-a12x7 span {
  position: relative;
  z-index: 1;
}

/* Popup */
.overlay-b37z8 {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

.popup-b37z8 {
  background: white;
  padding: 20px;
  border-radius: 10px;
  width: 90%; /* Largeur ajustable */
  max-width: 900px; /* Largeur maximale */
  height: 95%; /* Hauteur ajustable */
  max-height: 95%; /* Hauteur maximale */
  position: absolute; /* Nécessaire pour centrer */
  top: 50%; /* Centrage vertical */
  left: 50%; /* Centrage horizontal */
  transform: translate(-50%, -50%); /* Ajustement précis pour le centrage */
  overflow: hidden; /* Pas de débordement */
  display: flex;
  flex-direction: column;
}

.popup-b37z8 iframe {
  width: 100%;
  height: 100%; /* Remplit toute la hauteur de la popup */
  flex-grow: 1; /* Permet à l'iframe d'occuper l'espace disponible */
  border: none;
}

.close-btn-d4k6x {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #ff4d4d;
  color: white;
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  font-size: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.close-btn-d4k6x:hover {
  background: #cc0000;
}

/* Centrer uniquement le bouton */
.btn-container-y9v4j {
  display: flex;
  justify-content: center;
  align-items: center;
}

