/* Exit Intent Popup Styling */
#leaveModal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999999;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
}

#leaveModal[style*="display: block"] {
  display: flex !important;
}

#leaveModal > div {
  background: white;
  border-radius: 12px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  padding: 2rem;
  width: 90%;
  max-width: 28rem;
  margin: 0 auto;
  transform: translateY(0) scale(1);
  transition: all 0.3s ease-out;
  animation: modalSlideIn 0.3s ease-out;
  text-align: center;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

#leaveModal h3 {
  font-size: 1.5rem;
  font-weight: bold;
  color: #111827;
  margin-bottom: 0.75rem;
}

#leaveModal p {
  color: #4B5563;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

#leaveModal button {
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: all 0.2s;
  margin: 0 0.5rem;
  font-size: 1rem;
  border: none;
  cursor: pointer;
}

#stayBtn {
  background-color: #fa6501;
  color: white;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

#stayBtn:hover {
  background-color: #e45c01;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

#stayBtn:active {
  transform: scale(0.95);
}

#leaveBtn {
  background-color: #E5E7EB;
  color: #374151;
}

#leaveBtn:hover {
  background-color: #D1D5DB;
}

#leaveBtn:active {
  transform: scale(0.95);
}

/* Responsive aanpassingen */
@media (max-width: 640px) {
  #leaveModal > div {
    padding: 1.5rem;
    width: 95%;
  }
  
  #leaveModal h3 {
    font-size: 1.25rem;
  }
  
  #leaveModal button {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    margin: 0 0.25rem;
  }
}
