.notification-container {
  position: relative;
  display: inline-block;
}

.notification-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 8px;
  height: 8px;
  background-color: #ef4444; /* Neon red */
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.8);
  display: none;
}

.notification-badge.active {
  display: block;
  animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
  0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
  70% { box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.notifications-dropdown {
  position: absolute;
  top: 120%;
  right: -10px;
  width: 340px;
  max-height: 450px;
  background: rgba(30, 41, 59, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 12px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
  overflow: hidden;
}

@media (max-width: 768px) {
  .notifications-dropdown {
    position: fixed;
    top: 60px;
    right: 10px;
    left: 10px;
    width: auto;
  }
}

.notifications-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.notifications-header {
  padding: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.notifications-header h4 {
  margin: 0;
  font-size: 1.1rem;
  color: #f8fafc;
  font-weight: 600;
}

.notifications-clear {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 0.8rem;
  cursor: pointer;
  transition: color 0.2s ease;
  font-weight: 600;
}

.notifications-clear:hover {
  color: #38bdf8;
}

.notifications-list {
  flex: 1;
  overflow-y: auto;
  padding: 0;
  margin: 0;
  list-style: none;
}

/* Custom scrollbar for list */
.notifications-list::-webkit-scrollbar {
  width: 6px;
}
.notifications-list::-webkit-scrollbar-track {
  background: transparent;
}
.notifications-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.notification-item {
  padding: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: background 0.2s ease;
  cursor: pointer;
}

.notification-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.notification-item.unread {
  background: rgba(56, 189, 248, 0.08);
}

.notification-item.unread:hover {
  background: rgba(56, 189, 248, 0.12);
}

.notification-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.notification-icon.success {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
}

.notification-icon.warning {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
}

.notification-icon.danger {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}

.notification-content {
  flex: 1;
}

.notification-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #f8fafc;
  margin: 0 0 4px 0;
}

.notification-desc {
  font-size: 0.85rem;
  color: #94a3b8;
  margin: 0 0 8px 0;
  line-height: 1.4;
}

.notification-time {
  font-size: 0.75rem;
  color: #64748b;
  display: block;
}

.notifications-empty {
  padding: 40px 16px;
  text-align: center;
  color: #64748b;
  font-size: 0.95rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
