/* Background Overlay */
.custom-popup-overlay {
  display: none; /* Hidden by default */
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  overflow: hidden;
}

/* Show Popup (with flex centering) */
.custom-popup-overlay.show {
  display: flex;
  justify-content: center;
  align-items: center;
}


/* Popup Content Container */
.custom-popup-content {
  background: #111;
  color: #fff;
  padding: 30px;
  border-radius: 12px;
  width: 90%;
  max-width: 800px;
  max-height: 80vh;
  overflow-y: auto; /* Scroll inside if content overflows */
  position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}

/* Close Button */
.custom-close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 24px;
  cursor: pointer;
  color: #fff;
}

/* Scrollbar Styling (optional) */
.custom-popup-content::-webkit-scrollbar {
  width: 8px;
}
.custom-popup-content::-webkit-scrollbar-thumb {
  background: #444;
  border-radius: 4px;
}
