#ajvi-access-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.ajvi-popup-content {
    background: #fff;
    color: #333;
    padding: 30px 40px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    max-width: 400px;
}

.ajvi-popup-content p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.4;
}

#ajvi-close-popup {
    background: #0073aa;
    color: #fff;
    border: none;
    padding: 8px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 15px;
}

#ajvi-close-popup:hover {
    background: #005f8d;
}
/* Overlay (background) */
.access-denied-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* Popup box */
.access-denied-popup {
  background: #fff;
  color: #333;
  padding: 25px 30px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  max-width: 400px;
  width: 90%;
  text-align: center;
  animation: popupFade 0.3s ease-out;
  font-family: "Inter", sans-serif;
}

/* Close button */
.access-denied-popup button {
  background: #0073aa;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 8px 16px;
  margin-top: 15px;
  cursor: pointer;
  transition: background 0.2s;
}
.access-denied-popup button:hover {
  background: #005d8a;
}
.ajvi-popup-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
}

#ajvi-request-access {
  background: #28a745;
  color: #fff;
  text-decoration: none;
  padding: 8px 20px;
  border-radius: 6px;
  font-size: 15px;
  display: inline-block;
}

#ajvi-request-access:hover {
  background: #218838;
}

/* Animation */
@keyframes popupFade {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile tweaks */
@media (max-width: 480px) {
  .access-denied-popup {
    padding: 20px;
    font-size: 14px;
  }
}
