.popup-delegates {
  background-color: #7FB83F;
  bottom: 0;
  color: #fff;
  cursor: pointer;
  right: 3.75rem;
  padding: 35px 24px 17px;
  position: fixed;
  max-width: 191px;
  width: 100%;
  z-index: 999;
  
  .popup-delegates__images {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 12px;
    margin-top: -60px;
    
    img {
      border: 4px solid #7FB83F;
      border-radius: 100%;
      height: 48px;
      object-fit: cover;
      width: 48px;
    }
    
    img:not(:last-of-type) {
      margin-right: -16px;
    }
  }
  
  .popup-delegates__title {
    font-family: Roboto;
    font-size: 14px;
    font-weight: 700;
    line-height: 16px;
    letter-spacing: 0.07999999821186066px;
    text-align: center;
    text-transform: uppercase;
  }
}

.popup-delegates-info {
  background-color: #fff;
  border: 1px solid #DCDDDE;
  bottom: -1000px;
  box-shadow: 0 4px 6px 0 #0000000D;
  color: #3B3C3D;
  right: 40px;
  max-width: 320px;
  opacity: 0;
  padding: 16px 16px 20px;
  position: fixed;
  transition: bottom 250ms ease-in-out, opacity 250ms ease-in-out;
  width: 100%;
  z-index: 9999;
  
  a {
    transition: color 250ms ease-in-out;
    font-size: 12px;
  }
  
  a:hover {
    color: #7FB83F;
  }
  
  .popup-delegates-info__close {
    background: url("../images/delegate-close.svg");
    background-repeat: no-repeat;
    background-size: 13.5px 13.5px;
    cursor: pointer;
    height: 13.5px;
    position: absolute;
    right: 21px;
    top: 21px;
    width: 13.5px;
  }
  
  .popup-delegates-info__title {
    font-family: Roboto;
    font-size: 18px;
    font-weight: 600;
    line-height: 24px;
    text-align: left;
    text-transform: uppercase;
  }
  
  .popup-delegates-info__item {
    align-items: center;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    padding: 16px 0;
  }
  
  .popup-delegates-info__item:not(:last-of-type) {
    border-bottom: solid 1px #DCDDDE;
  }
  
  .popup-delegates-info__item-images {
    position: relative;
    width: fit-content;
    
    img {
      border-radius: 100%;
      height: 48px;
      object-fit: cover;
      width: 48px;
    }
    
    .popup-delegates-info__item-category {
      border: 1px solid #fff;
      border-radius: 100%;
      bottom: -5px;
      position: absolute;
      right: -5px;
      
      img {
        height: 24px;
        width: 24px;
      }
    }
  }
  
  .popup-delegates-info__item-content {
    padding-left: 12px;
    font-size: 12px;
  }
  
  .popup-delegates-info__item-name {
    margin: 0 0 4px 0; /* CORRECTION : Uniformiser l'espacement */
    font-size: 12px;
    line-height: 1.2;
  }
  
  .popup-delegates-info__item-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px; /* Espacement uniforme entre téléphone et email */
  }
  
  .popup-delegates-info__item-phone {
    display: inline-flex;
    align-items: center;
    margin: 0; /* CORRECTION : Supprimer les margins par défaut */
  }
  
  .popup-delegates-info__item-email {
    display: inline-flex;
    align-items: center;
    background-size: 20px 16px;
    white-space: nowrap;
    margin: 0; /* CORRECTION : Supprimer les margins par défaut */
  }
}

.popup-delegates,
.popup-delegates-info {
  display: none;
}

#tarteaucitronAlertSmall {
  left: 0;
  right: auto;
}

#tarteaucitronAlertSmall #tarteaucitronCookiesListContainer {
  left: 0;
  right: auto;
}

@media only screen and (max-width: 1319px) {
  .popup-delegates,
  .popup-delegates-info {
    left: auto;
    right: 0.9375rem;
  }
}

.footer .scroll-top {
  bottom: 7.5rem !important;
}
