/* pre-popup.css */

/* Style général pour le popup */
#ptprelinker-modal-cgu {
    display: none;  /* Initialement caché */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);  /* Fond semi-transparent */
    z-index: 9999;
    overflow: hidden;  /* Empêche le défilement de l'arrière-plan */
}

/* Contenu du popup */
.ptprelinker-modal-cgu-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);  /* Centre le popup */
    background: white;
    padding: 20px;
    width: 80%;  /* Largeur à 80% de l'écran */
    max-height: 80vh;  /* Hauteur maximale à 80% de la hauteur de l'écran */
    overflow-y: auto;  /* Ajoute une barre de défilement verticale si le contenu dépasse */
    box-sizing: border-box;  /* Inclut le padding dans les calculs de taille */
}

.ptprelinker-modal-cgu-content h1,
.ptprelinker-modal-cgu-content h2,
.ptprelinker-modal-cgu-content h3,
.ptprelinker-modal-cgu-content h4,
.ptprelinker-modal-cgu-content h5,
.ptprelinker-modal-cgu-content h6 {
  color: inherit !important;
  font-size: inherit !important;
  letter-spacing: inherit !important;
}

/* Bouton de fermeture */
.ptprelinker-modal-cgu-close {
    font-size: 30px;
    color: black;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
}

/* Pour les petites tailles d'écran, vous pouvez ajuster la largeur ou la hauteur */
@media (max-width: 600px) {
    .ptprelinker-modal-cgu-content {
        width: 90%;  /* Largeur à 90% pour les écrans plus petits */
        max-height: 70vh;  /* Hauteur réduite à 70% de l'écran */
    }
	.tooltipemailerror {
  		max-width: 360px;
		padding: 16px;
	}
}

.ptprelinker-contents-register-form-iron .ptprelinker-content .error-register {
  margin-bottom: 1rem !important;
}

.tooltipemailerror {
  background-color: #f9f9f9;
  color: #666;
  border: 1px solid #ccc;
  padding: 20px;
  border-radius: 0px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  max-width: 640px;
  font-size: 14px;
  position: absolute;
  z-index: 97;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  line-height: 20px;
}

.besoin-aide {
    cursor: pointer;
    text-decoration: underline;
	-ms-user-select: none;  /* Pour Internet Explorer */
    user-select: none;
}

.close-tooltipemailerror {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
}
