.notification-wrapper {
  margin: 20px 0;
}

.notification-box {
  display: inline-block;
  background-color: #fffdfb;
  border: 2px solid #ff6b6b;
  border-radius: 12px;
  padding: 14px 18px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  text-align: left;
  font-size: 1.5rem; /* increased font size */
}

/* Remove hover highlight from entire box */
.notification-box:hover {
  background-color: #fffdfb;
  transform: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Individual list items (notifications) */
.notification-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.notification-box li {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px; /* increased vertical spacing */
  transition: all 0.25s ease;
  padding: 4px 6px;
  border-radius: 8px;
}

/* Hover only highlights individual notifications */
.notification-box li:hover {
  background-color: #fff7f3;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(255, 99, 71, 0.2);
}

/* remove bottom margin from last item */
.notification-box li:last-child {
  margin-bottom: 0;
}

.new-badge {
  background-color: #ff4d4d;
  color: #fff;
  font-size: 1.5rem;
  padding: 2px 6px;
  border-radius: 6px;
  font-weight: bold;
  animation: blink 1.4s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Links */
.notification-link {
  color: #007bff;
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 500;
}

.notification-link:hover {
  color: #ff6347;
  text-decoration: underline;
}

/* Mobile responsiveness */
@media (max-width: 576px) {
  .notification-box {
    font-size: 1.5rem;
    padding: 12px 14px;
  }
  
  .notification-box li {
    justify-content: center;
    text-align: center;
  }
}
