/* Notification Bot - Floating Button */
.notification-bot {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9998;
  cursor: pointer;
  transition: all 0.3s ease;
}

.bot-button {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 3px solid white;
  position: relative;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
  }
  50% {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.6);
  }
}

.bot-button:hover {
  transform: scale(1.15) rotate(10deg);
  box-shadow: 0 12px 40px rgba(102, 126, 234, 0.6);
  animation: none;
}

.bot-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #e74c3c;
  color: white;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: bold;
  border: 2px solid white;
  animation: bounce 1s infinite;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

/* Notification Popup */
.notification-popup {
  position: fixed;
  bottom: 120px;
  right: 30px;
  width: 350px;
  max-height: 500px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  z-index: 9997;
  display: none;
  flex-direction: column;
  overflow: hidden;
  animation: slideUp 0.3s ease;
}

.notification-popup.active {
  display: flex;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.popup-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.popup-header h3 {
  margin: 0;
  font-size: 1.2rem;
}

.popup-close-btn {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.popup-close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.popup-content {
  padding: 1rem;
  overflow-y: auto;
  max-height: 400px;
}

.notification-item {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.notification-item:hover {
  background: #e9ecef;
  border-color: #667eea;
  transform: translateX(5px);
}

.notification-item img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 0.5rem;
}

.notification-item h4 {
  margin: 0 0 0.5rem 0;
  color: #2c3e50;
  font-size: 1rem;
}

.notification-item p {
  margin: 0;
  color: #7f8c8d;
  font-size: 0.85rem;
}

.notification-empty {
  text-align: center;
  padding: 2rem;
  color: #95a5a6;
}

.notification-empty-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
  .notification-bot {
    bottom: 20px;
    right: 20px;
  }

  .bot-button {
    width: 60px;
    height: 60px;
    font-size: 1.75rem;
  }

  .notification-popup {
    width: calc(100vw - 40px);
    right: 20px;
    bottom: 100px;
  }
}

