



/* Grille exposant */
.emp-exposant-container {
  width: 100%;
  margin: 0 auto;
  font-family: sans-serif;
}

.emp-exposant-filters {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.2em;
  margin-bottom: 1.5em;
  flex-wrap: wrap;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(30,42,70,0.10);
  padding: 1.2em 2em;
  position: sticky;
  top: 0;
  z-index: 10;
}

.emp-exposant-filters label {
  font-weight: 600;
  font-size: 1.08em;
  display: flex;
  align-items: center;
  gap: 0.5em;
  color: #1e2a46;
  margin-bottom: 0;
}

.emp-exposant-filters label svg {
  width: 1.2em;
  height: 1.2em;
  margin-right: 0.3em;
  vertical-align: middle;
  fill: #0089c7;
  flex-shrink: 0;
}

.emp-exposant-filters select {
  padding: 8px 16px;
  font-size: 1em;
  border-radius: 8px;
  border: 1px solid #d0d6e1;
  background: #f7f9fb;
  transition: border 0.2s;
  outline: none;
  margin-left: 0.2em;
}

.emp-exposant-filters select:focus {
  border: 1.5px solid #0089c7;
  background: #fff;
}

#emp-exposant-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5em;
}

#emp-exposant-pagination {
  text-align: center;
  padding-top: 3rem;
  display: flex;
  gap: 1rem;
  align-content: flex-end;
  align-items: stretch;
  width: 100%;
  justify-content: center;
}

@media (max-width: 1100px) {
  #emp-exposant-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 2em;
  }
}

@media (max-width: 700px) {
  #emp-exposant-list {
    grid-template-columns: 1fr;
    gap: 1.5em;
  }
}

/* Animations et transitions pour les exposants */
@keyframes cardAppear {
  from {
    opacity: 0;
    transform: scale(0.8) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes cardDisappear {
  from {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
  to {
    opacity: 0;
    transform: scale(0.8) translateY(-20px);
  }
}

@keyframes cardSlideIn {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes cardSlideOut {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(30px);
  }
}

/* Classes pour les animations de filtrage */
.emp-exposant-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 22px;
  box-shadow: 0 4px 24px rgba(30, 42, 70, 0.10);
  overflow: hidden;
  transition: box-shadow 0.2s;
  position: relative;
  padding: 1.5em 1em 0 1em;
  background: #ffffff;
  box-sizing: border-box;
  gap: 1rem;
  cursor: pointer;
}

.emp-exposant-card:hover {
  box-shadow: 0 8px 32px rgba(30, 42, 70, 0.16);
}

/* Animation d'apparition */
.emp-exposant-card.appearing {
  animation: cardAppear 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* Animation de disparition */
.emp-exposant-card.disappearing {
  animation: cardDisappear 0.3s cubic-bezier(0.55, 0.055, 0.675, 0.19) forwards;
}

/* Animation de glissement */
.emp-exposant-card.sliding-in {
  animation: cardSlideIn 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.emp-exposant-card.sliding-out {
  animation: cardSlideOut 0.3s cubic-bezier(0.55, 0.055, 0.675, 0.19) forwards;
}

/* Suppression des animations sur le contenu des cards */


.emp-exposant-card .emp-nom, .emp-exposant-modal .emp-modal-nom {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1e2a46;
  margin-bottom: 0.3em;
  text-align: center;
  text-transform: uppercase;
}

.emp-exposant-card .emp-entreprise {
  color: #0089c7;
  font-size: 1.05em;
  margin-bottom: 0.5em;
  text-align: center;
}

.emp-exposant-card .emp-poles {
  max-height: 48px;
  overflow: hidden;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: auto;
}

.emp-exposant-card .emp-pole-badge,  .emp-exposant-modal  .emp-pole-badge  {
  display: inline-block;
  color: #fff !important;
  background: var(--emp-card-color, #0089c7);
  font-weight: 500;
  font-size: 0.95em;
  border-radius: 50px;
  padding: 2px 16px;
  margin-bottom: 8px;
  max-width: 95%;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.emp-exposant-card .emp-stand {
  font-size: 0.98em;
  color: #888;
  margin-bottom: 0.5em;
}

.emp-exposant-card .emp-btn-modal {
  background: #0089c7;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  font-size: 1.5em;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin: 1em auto 1.5em auto;
  box-shadow: 0 2px 8px rgba(0,137,199,0.08);
  transition: background 0.2s;
}

.emp-exposant-card .emp-btn-modal:hover {
  background: #005a8c;
}

/* Modal exposant */

#modal-overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 999998;
  background: rgba(0,0,0,0.7);
  display: none;
}

#modal-overlay.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 42px;
  height: 42px;
  border: 4px solid rgba(255,255,255,0.35);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: empSpin 0.8s linear infinite;
}

@keyframes empSpin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.emp-exposant-modal {
  display: flex;
  position: fixed;
  z-index: 999998;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background: none;
  justify-content: center;
  align-items: center;
  width: fit-content;
  height: fit-content;
  margin: auto;
}
.emp-exposant-modal.active {
  display: flex;
}
.emp-exposant-modal .emp-modal-content {
  background: #fff;
  border-radius: 22px;
  max-width: 480px;
  width: 95vw;
  padding: 2.2em 1.5em 1.5em 1.5em;
  box-shadow: 0 8px 32px rgba(30, 42, 70, 0.18);
  position: relative;
  z-index: 999999;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-y: auto;
  max-height: 90vh;
  margin: 0;
}
.emp-exposant-modal .emp-modal-close {
 
    position: absolute;
    top: 0;
    right: 0;
    font-size: 2em;
    color: #414141;
    background: #efefef;
    border: none;
    cursor: pointer;
}
.emp-exposant-modal .emp-modal-photo, .emp-exposant-card .emp-photo {
  width: clamp(150px, 80%, 250px);
    height: auto;
    max-height: 200px;
    object-fit: contain;
    border-radius: 0;
    padding: 1rem;
}



.emp-exposant-modal .emp-modal-entreprise {
  color: #0089c7;
  font-size: 1.05em;
  margin-bottom: 0.5em;
  text-align: center;
}
.emp-exposant-modal .emp-modal-poles {
  margin-bottom: 0;
  margin-top: 1em;
  justify-content: center;
  width: auto;
  max-width: 100%;
}
.emp-exposant-modal .emp-modal-stand {
  font-size: 0.98em;
  color: #888;
  margin-bottom: 0.5em;
  text-align: center;
}
.emp-exposant-modal .emp-modal-description {
  color: #444;
  margin: 1em 0 0.7em 0;
  
  word-break: break-word;
  overflow-wrap: break-word;
}
.emp-exposant-modal .emp-modal-contacts {
  margin: 0.7em 0 0.7em 0;
  text-align: center;
}
.emp-exposant-modal .emp-modal-socials {
  display: flex;
  gap: 0.7em;
  justify-content: center;
  margin-top: 1em;
}
.emp-exposant-modal .emp-modal-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f5f5f5;
  font-size: 1.3em;
  transition: background 0.2s;
}
.emp-exposant-modal .emp-modal-socials a:hover {
  background: #e0e0e0;
}

/* Form exposant front */
.emp-form-row {
  padding-block: 1rem;
}
.emp-form-modif-exposant label {
  padding-bottom: 1em;
  display: inline-block;
}
@media (max-width: 700px) {
  .emp-exposant-modal .emp-modal-content {
    max-width: 99vw;
    padding: 1.2em 1em 1em 1em;
  }

  
}

.emp-exposant-card .emp-pole-badge,
.emp-exposant-modal .emp-modal-pole-badge {
  display: inline-block;
  color: #fff !important;
  background: var(--emp-card-color, #0089c7);
  font-weight: 500;
  font-size: 0.95em;
  border-radius: 50px;
  padding: 2px 16px;
  margin-bottom: 8px;
  max-width: 95%;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}
.imp-object-svg-single, .imp-object-svg, .imp-object-poly {
  
  display: block!important; 
}

@keyframes modalAppear {
  from { opacity: 0; transform: translateY(20px) scale(0.99); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes modalDisappear {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to   { opacity: 0; transform: translateY(20px) scale(0.99); }
}

.emp-exposant-modal.modal-appearing {
  animation: modalAppear 0.2s cubic-bezier(0.25,0.46,0.45,0.94) forwards;
}
.emp-exposant-modal.modal-disappearing {
  animation: modalDisappear 0.15s cubic-bezier(0.55,0.055,0.675,0.19) forwards;
}

@keyframes overlayFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes overlayFadeOut {
  from { opacity: 1; }
  to   { opacity: 0; }
}

#modal-overlay.overlay-appearing {
  animation: overlayFadeIn 0.2s cubic-bezier(0.25,0.46,0.45,0.94) forwards;
}
#modal-overlay.overlay-disappearing {
  animation: overlayFadeOut 0.15s cubic-bezier(0.55,0.055,0.675,0.19) forwards;
}