/* popup.css */

#popup-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  z-index: 998;
  animation: fadeIn 0.3s ease;
}

#popup {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  background: #fff;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  z-index: 999;
  max-width: 400px;
  width: 90%;
  text-align: center;
  animation: popupAppear 0.4s ease forwards;
  opacity: 0;
}

.popup-close-btn {
  position: absolute;
  top: 10px;
  right: 12px;
  background: transparent;
  border: none;
  font-size: 24px;
  font-weight: bold;
  color: #888;
  cursor: pointer;
  transition: color 0.2s;
}
.popup-close-btn:hover {
  color: #333;
}

.popup-image {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 15px;
}

.popup-text {
  font-weight: 500;
  margin-bottom: 10px;
  color: #333;
}

.popup-btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #28a745;
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s;
}

.popup-btn:hover {
  background-color: #218838;
}

@keyframes popupAppear {
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
