/* Basic Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

/* Button Style */
#openPopup {
  padding: 10px 20px;
  background: #007bff;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  transition: 0.3s;
}

#openPopup:hover {
  background: #0056b3;
}

/* Overlay (hidden by default) */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s ease;
}

/* Show popup when active */
.popup-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* Popup Box */
.popup-box {
  background: #fff;
  width: 400px;
  max-width: 90%;
  padding: 25px;
  border-radius: 12px;
  position: relative;
  text-align: center;
  animation: fadeInUp 0.4s ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Title & Paragraph */
.popup-box h2 {
  margin-bottom: 10px;
  font-size: 22px;
}

.popup-box p {
  color: #555;
  margin-bottom: 20px;
}

/* Close Button */
.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
  color: #555;
  transition: 0.3s;
}

.close-btn:hover {
  color: #e74c3c;
}

/* Action Button */
.action-btn {
  padding: 10px 25px;
  background: #28a745;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 15px;
  transition: 0.3s;
}

.action-btn:hover {
  background: #218838;
}

/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}



