/* Basic styling for the overlay and content */
.divi-popup-overlay {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.divi-popup-overlay.active {
  display: flex;
  animation: fadeIn 0.3s ease;
}

.divi-popup-content {
  position: relative;
  background: #fff;
  border-radius: 12px;
  max-width: 900px;
  width: 100%;
  overflow-y: auto;
  max-height: 90vh;
  padding: 1rem;
  animation: slideUp 0.4s ease;
}

/* Close button */
.divi-popup-close {
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  font-size: 2rem;
  border: none;
  background: none;
  cursor: pointer;
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { transform: translateY(30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
