/* ================================
   🤝 FRIEND INVITE POPUP (GLOBAL)
   Matches Home Page Style EXACTLY
================================ */

/* Overlay (safe, already consistent) */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* 🔒 Invite popup ONLY */
.invite-popup {
  background: rgba(20, 20, 20, 0.95);
  border: 2px solid cyan;
  border-radius: 14px;
  padding: 26px 34px;
  text-align: center;
  color: white;
  width: 90%;
  max-width: 420px;
  box-shadow: 0 0 25px rgba(0, 235, 252, 0.85);
}

/* Title */
.invite-popup h2 {
  color: cyan;
  font-size: 22px;
  margin-bottom: 14px;
  text-shadow: 0 0 8px cyan;
}

/* Text */
.invite-popup p {
  margin: 6px 0;
  font-size: 16px;
  opacity: 0.95;
}

/* Buttons row */
.invite-actions {
  display: flex;
  gap: 14px;
  margin-top: 20px;
}

/* Accept / Decline base */
.invite-actions button {
  flex: 1;
  padding: 12px;
  border-radius: 10px;
  font-weight: bold;
  cursor: pointer;
  border: none;
  transition: 0.2s ease;
}

/* Accept */
#acceptInviteBtn {
  background: cyan;
  color: black;
}

#acceptInviteBtn:hover {
  background: #00ffff90;
  transform: scale(1.04);
}

/* Decline */
.secondary-btn {
  background: #ff6b6b;          /* 🔴 red by default */
  border: 2px solid #ff6b6b;
  color: black;
  font-weight: bold;
  box-shadow: 0 0 10px rgba(255, 107, 107, 0.6);
}

.secondary-btn:hover {
  background: #ff4d4d;          /* 🔥 stronger red on hover */
  border-color: #ff4d4d;
  color: black;
  transform: scale(1.04);
  box-shadow:
    0 0 12px rgba(255, 77, 77, 0.9),
    0 0 22px rgba(255, 77, 77, 0.6);
}

