.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 15, 15, 0.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  backdrop-filter: blur(6px);
}

.popup-container {
  background: #ffffff;
  color: #222;
  max-width: 700px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  padding: 2rem;
  font-family: "Open Sans", sans-serif;
  line-height: 1.6;
  animation: fadeIn 0.4s ease;
  border-top: 8px solid #0a3d62;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.popup-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.popup-logo img {
  max-width: 100px;
  height: auto;
}

.popup-container h2 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: #0a3d62;
  text-align: center;
}

.popup-container p {
  margin-bottom: 0.8rem;
  text-align: justify;
}

.popup-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.popup-buttons button {
  background: #0a3d62;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 0.8rem 1.4rem;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

.popup-buttons button:hover {
  background: #145a86;
  transform: scale(1.03);
}

.popup-buttons .decline {
  background: #a00;
}

.popup-buttons .decline:hover {
  background: #c00;
}

@media (max-width: 600px) {
  .popup-container {
    padding: 1.2rem;
    font-size: 0.95rem;
  }

  .popup-logo img {
    max-width: 80px;
  }
}