/* Fix for Activity Popup */
.activity-popup {
  position: fixed;
  bottom: 80px; /* Position above the footer */
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 580px;
  background-color: #1e1e1e;
  border-radius: 10px;
  padding: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  display: none;
  border: 1px solid #333333;
  margin: 0 auto; /* Center horizontally */
}

.activity-popup.visible {
  display: block;
  animation: slideUp 0.3s ease-in-out;
}

.activity-popup-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

.activity-avatar-container {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #ff3366;
  background-color: #333333; /* Fallback background */
  display: flex;
  justify-content: center;
  align-items: center;
  color: #ffffff;
  font-weight: bold;
}

.activity-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-initial {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #333;
  color: #fff;
  font-weight: bold;
  font-size: 18px;
}

/* Add this to your CSS file to be included in the head */
@keyframes slideUp {
  from {
    transform: translate(-50%, 20px);
    opacity: 0;
  }
  to {
    transform: translate(-50%, 0);
    opacity: 1;
  }
}
