/* ============================================================
   popup.min.css — Popup modal/overlay base styles
   ============================================================ */

/* Popup backdrop + container */
.elementor-popup-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.elementor-popup-modal .dialog-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.elementor-popup-modal .dialog-widget-content {
  position: relative;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.18);
  max-width: 600px;
  width: 92%;
  max-height: 90vh;
  overflow-y: auto;
  z-index: 1;
}

.elementor-popup-modal .dialog-message {
  padding: 0;
}

/* Close button */
.elementor-popup-modal .dialog-close-button,
.elementor-popup-modal .dialog-lightbox-close-button {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: #69727d;
  z-index: 2;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: color .2s;
}

.elementor-popup-modal .dialog-close-button:hover,
.elementor-popup-modal .dialog-lightbox-close-button:hover {
  color: #0B1C3E;
}

/* Entrance animation */
@keyframes slideInUp {
  from { transform: translateY(40px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.dialog-widget-content {
  animation: slideInUp 0.4s ease-out;
}

/* Popup section inside */
.elementor-location-popup .elementor-section {
  padding: 0;
}

.elementor-location-popup .elementor-top-section > .elementor-container {
  max-width: 100%;
}
