/**
 * Styles SCSS pour le module modale avec iframe
 * Compatible WordPress
 */
body.modal-open {
  overflow: hidden;
  padding-right: 0;
}

.project-map-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 9999999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
.project-map-overlay.active {
  opacity: 1;
  visibility: visible;
}

.project-map-modal {
  position: relative;
  width: 95vw;
  height: 90vh;
  max-width: 1200px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transform: scale(0.7) translateY(-50px);
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  overflow: hidden;
}
.project-map-modal.active {
  transform: scale(1) translateY(0);
}
.project-map-modal.fullscreen {
  width: 100vw;
  height: 100vh;
  max-width: none;
  border-radius: 0;
}
.project-map-modal.fullscreen .modal-header {
  border-radius: 0;
}
.project-map-modal .modal-header {
  position: relative;
  height: 50px;
  background-color: #f8f9fa;
  border-bottom: 1px solid #dee2e6;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  padding: 0 15px;
  flex-shrink: 0;
  border-radius: 8px 8px 0 0;
}
.project-map-modal .modal-header .modal-controls {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}
.project-map-modal .modal-fullscreen-btn,
.project-map-modal .modal-close-btn {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  border: none;
  background-color: transparent;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.project-map-modal .modal-fullscreen-btn svg,
.project-map-modal .modal-close-btn svg {
  width: 16px;
  height: 16px;
  color: #343a40;
  transition: color 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.project-map-modal .modal-fullscreen-btn:hover,
.project-map-modal .modal-close-btn:hover {
  background-color: rgba(0, 0, 0, 0.1);
}
.project-map-modal .modal-fullscreen-btn:hover svg,
.project-map-modal .modal-close-btn:hover svg {
  color: #007cba;
}
.project-map-modal .modal-fullscreen-btn:focus,
.project-map-modal .modal-close-btn:focus {
  outline: 2px solid #007cba;
  outline-offset: 2px;
}
.project-map-modal .modal-close-btn:hover {
  background-color: rgba(220, 53, 69, 0.1);
}
.project-map-modal .modal-close-btn:hover svg {
  color: #dc3545;
}
.project-map-modal .modal-content {
  position: relative;
  flex: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: stretch;
  align-items: stretch;
}
.project-map-modal .iframe-container {
  position: relative;
  width: 100%;
  height: 100%;
}
.project-map-modal .iframe-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
.project-map-modal .modal-loader {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #f8f9fa;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.project-map-modal .modal-loader.active {
  opacity: 1;
  visibility: visible;
}
.project-map-modal .modal-loader .loader-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #007cba;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 15px;
}
.project-map-modal .modal-loader p {
  margin: 0;
  color: #343a40;
  font-size: 14px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@media (max-width: 768px) {
  .project-map-modal {
    width: 98vw;
    height: 95vh;
  }
  .project-map-modal .modal-header {
    height: 45px;
    padding: 0 10px;
  }
}
@media (max-width: 480px) {
  .project-map-modal {
    width: 100vw;
    height: 100vh;
    border-radius: 0;
  }
  .project-map-modal .modal-header {
    height: 50px;
    border-radius: 0;
  }
  .project-map-modal .modal-fullscreen-btn,
  .project-map-modal .modal-close-btn {
    width: 40px;
    height: 40px;
  }
  .project-map-modal .modal-fullscreen-btn svg,
  .project-map-modal .modal-close-btn svg {
    width: 18px;
    height: 18px;
  }
}
.project-map-trigger {
  display: inline-block;
  padding: 10px 20px;
  background-color: #007cba;
  color: #ffffff;
  text-decoration: none;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.project-map-trigger:hover {
  background-color: #005a87;
  color: #ffffff;
  text-decoration: none;
}
.project-map-trigger:focus {
  outline: 2px solid #007cba;
  outline-offset: 2px;
}

.project-map-iframe-url {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .project-map-overlay,
  .project-map-modal,
  .modal-fullscreen-btn,
  .modal-close-btn,
  .modal-loader {
    transition: none;
  }
  .loader-spinner {
    animation: none;
  }
}
@media print {
  .project-map-overlay {
    display: none !important;
  }
}

/*# sourceMappingURL=modal-iframe-styles.css.map */
