/* Overlay */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.popup-overlay.show {
  opacity: 1;
  visibility: visible;
}

/* Popup container */
.popup-content {
  position: relative;
  max-width: 500px;
  width: 90%;
  border-radius: 5px;
  overflow: hidden;
  background: #fff;
  transform: translateY(60px);
  opacity: 0;
  transition: opacity 1s ease, transform 1s ease;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.popup-overlay.show .popup-content {
  opacity: 1;
  transform: translateY(0);
}

/* Header section above image */
.popup-header {
  background: #008b9a; /* your corporate color (change as needed) */
  color: #fff;
  text-align: center;
  padding: 5px 20px;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.popup-content img {
  width: 100%;
  display: block;
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
}

/* Close button */
.close-btn {
  position: absolute;
  top: 0px;
  right: 10px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1100;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-btn img {
  width: 20px;
  height: 20px;
  filter: invert(1);
  transition: opacity 0.2s ease;
}

.close-btn:hover img {
  transform: scale(0.8);
}
