#event-popup-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.65);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

#event-popup {
  position: relative;
  background: #fff;
  border: 4px solid #006400; /* nice dark green border */
  border-radius: 16px;
  overflow: hidden;
  max-width: 500px;
  width: 100%;
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
  animation: popIn 0.4s ease;
}

#event-popup img {
  width: 100%;
  height: auto;
  display: block;
}

.popup-content {
  display: block !important;
}

#event-popup .popup-content {
  padding: 1.5em;
  text-align: center;
}

#event-popup .popup-content h3 {
  margin: 0 0 0.3em;
  font-size: 1.6em;
  color: #222;
}

#event-popup .popup-content .event-date {
  margin: 0 0 1em;
  color: #555;
  font-size: 1em;
}

#event-popup .popup-button {
  display: inline-block;
  background: #006400;
  color: #fff;
  padding: 0.7em 1.5em;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}

#event-popup .popup-button:hover {
  background: #008000;
}

#event-popup .close-popup {
  position: absolute;
  top: 10px; right: 15px;
  font-size: 28px;
  cursor: pointer;
  color: #fff;
  background: rgba(0,0,0,0.5);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  line-height: 30px;
  text-align: center;
}

@keyframes popIn {
  from { transform: scale(0.85); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}


/*** override button css  ***/
#event-popup .popup-button {
  display: inline-block !important;
  background: #006400 !important;
  color: #fff !important;
  padding: 0.7em 1.5em !important;
  border-radius: 6px;
  text-decoration: none !important;
  font-weight: 600;
  margin-top: 1em;
  transition: background 0.3s ease;
}

#event-popup .popup-button:hover {
  background: #008000 !important;
  color: #fff !important;
}

