/* Fond de la popup */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.6);
}

/* Boîte blanche */
.modal-content {
  background: #fff;
  padding: 20px;
  margin: 10% auto;
  width: 500px;
  border-radius: 8px;
  position: relative;  
}
.modal-content label {
  margin-top:1rem;
}
.modal-content input, textarea {
  width: 100%;
  font-size: 14px;
  color: #636466;
  padding: 10px;
  border-width: 1px;
  border-style: solid;
  border-color: #005CAB;
  border-radius: 5px !important;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-bottom:1.5rem;
  margin-top:1rem
}

/* Croix de fermeture */
.close {
  position: absolute;
  right: 10px; top: 10px;
  cursor: pointer;
  font-size: 22px;
}


#magasins-list {
  background-color: #fff;
  box-shadow: 0.2rem 0.2rem 2.4rem rgba(0, 0, 0, 0.1);
  -webkit-box-shadow: 0.2rem 0.2rem 2.4rem rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0.2rem 0.2rem 2.4rem rgba(0, 0, 0, 0.1);
  padding: 2rem 1.2rem;
  
}
#magasins-list li {
  cursor:pointer;
  padding-bottom:7px;
  padding-top:7px; 
  border-bottom: solid 1px #c6c6c6;
}

.error{
  color: white;
  text-align: center;
  padding-bottom: 9px;
  background-color: #f00;
  padding-top: 9px;
  margin-bottom: 15px;
  border-radius: 5px;
  padding-left:5px;
  padding-right:5px;
}

.swal2-popup {
  position: relative; /* nécessaire pour le positionnement absolu de la croix */
  background-color: #fff;
  border-radius: 10px;
  color: #005cab;
  height: 300px;
  max-height: 50vh;
  width: 800px !important;
  font-size: 3.5rem !important;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;   
  align-items: center;       
  text-align: center;
}

.swal2-popup-small {
  position: relative; /* nécessaire pour le positionnement absolu de la croix */
  background-color: #fff;
  border-radius: 10px;
  color: #005cab;
  height: 200px;
  max-height: 30vh;
  width: 500px !important;
  font-size: 2rem !important;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;   
  align-items: center;       
  text-align: center;
}
.custom-close-btn {
  position: absolute;
  top: 5px;   
  right: 5px; 
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  outline: none !important;
  box-shadow: none !important;
  font-size: 2rem; /* ajuste la taille de la croix si nécessaire */
  z-index: 10; /* s'assurer qu'elle reste au-dessus du contenu */
}

.custom-close-btn:focus {
  outline: none !important;
  box-shadow: none !important;
}

/* Le texte à l’intérieur */
.swal2-popup .poptext {
  /*max-width: 90%;
  line-height: 1.4;*/
  color: #636466;
  font-size: 2rem !important;  
}

#add-member-btn {
  display: flex;
  justify-content: center;
  margin : 0 auto;
  margin-top:2rem;
}


#add-member-btn2 {
  display: flex;
  justify-content: center;
  margin : 0 auto;
  margin-top:2rem;
}

.member-close-btn {
  background: url(../../image/close.png) right no-repeat;
  float: right;
}

.lien, .lien:hover, .lien:focus, .lien:visited {
  color: #fff;
}
 
.fancybox-content img, 
.fancybox-content iframe {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    height: auto;
}

input[readonly] {
    background-color: #f0f0f0; /* gris clair pour indiquer non-modifiable */
    color: #555; /* texte moins contrasté */
    border: 1px solid #ccc; /* optionnel, pour le rendre “désactivé” visuellement */
    cursor: not-allowed; /* curseur interdit au survol */
}
  