.notification-panel-content {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100dvh;
  z-index: 10;
  background-color: #fbfbfb;
}

.notification-header {
  display: flex;
  align-items: center;
  background-color: white;
  padding: 1rem;
  border-bottom: 1px solid #d7d7d7;
}

.notification-back-btn {
  display: none;
  background: none;
  border: none;
  padding: 0;
}

@media (max-width: 767px) {
  .notification-back-btn {
    display: block;
  }
}

.notification-title {
  font-weight: 600;
  color: #243134;
  font-size: 1.125rem;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 0;
}

.notification-tabs {
  display: flex;
  overflow-x: auto;
  padding: 1rem;
  gap: 0.5rem;
}

.notification-tab {
  padding: 0.25rem 0.75rem;
  font-size: 0.8125rem;
  white-space: nowrap;
  border-radius: 0.25rem;
  transition: all 0.2s;
  background: none;
  border: none;
  cursor: pointer;
}

.notification-tab.active {
  color: #6d29d9;
  background-color: rgba(109, 40, 217, 0.05);
  border-color: rgba(255, 255, 255, 0.7);
}

.notification-tab:not(.active) {
  color: #434343;
  border-color: #f2f2f2;
  background-color: white;
}

.notification-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.notification-empty-icon {
  width: 4rem;
  height: 4rem;
  background-color: rgba(59, 130, 246, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.notification-empty-icon i {
  font-size: 2rem;
  color: #3b82f6; /* blue tone to match previous bell */
}

.notification-empty-text {
  color: #6b7280;
  text-align: center;
}

.notification-content {
  flex: 1;
  overflow-y: auto;
}

.notification-group {
  margin-bottom: 0.5rem;
}

.notification-group-title {
  padding: 0.5rem 1rem;
}

.notification-group-title h3 {
  font-size: 0.875rem;
  font-weight: 500;
  color: #111827;
  margin: 0;
}

.notification-list {
  padding: 0 1rem;
}

.notification-item {
  padding: 1rem;
  display: flex;
  align-items: center;
  background-color: white;
  border-radius: 1rem;
  margin-bottom: 1rem;
  transition: all 0.2s;
}

.notification-item-content {
  flex: 1;
  min-width: 0;
}

.notification-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.notification-avatar {
  width: 2.5rem;
  height: 2.5rem;
  margin-right: 0.5rem;
  border-radius: 50%;
  object-fit: cover;
}

.notification-item-body {
  flex: 1;
}

/* Inline event icon */
.notification-icon {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.25rem;
  background-color: rgba(17, 24, 39, 0.06); /* subtle default bg */
  color: #6b7280; /* default icon color */
}

.notification-icon i {
  font-size: 1rem;
  line-height: 1;
}

/* Event-specific colors */
.notification-icon[data-event="wish_item_status_changed"] {
  background-color: rgba(59, 130, 246, 0.12); /* blue */
  color: #3b82f6;
}

.notification-icon[data-event="comment_mention"] {
  background-color: rgba(109, 40, 217, 0.12); /* purple */
  color: #7c3aed;
}

.notification-icon[data-event="wishlist_tagged"] {
  background-color: rgba(34, 197, 94, 0.12); /* green */
  color: #22c55e;
}

.notification-icon[data-event="wishlist_untagged"] {
  background-color: rgba(239, 68, 68, 0.12); /* red */
  color: #ef4444;
}

.notification-icon[data-event="followed_you"] {
  background-color: rgba(34, 197, 94, 0.12); /* green */
  color: #22c55e;
}

.notification-icon[data-event="unfollowed_you"] {
  background-color: rgba(245, 158, 11, 0.15); /* orange */
  color: #f59e0b;
}

.notification-item-title {
  font-size: 0.875rem;
  font-weight: 500;
  color: #242424;
  margin-bottom: 0.25rem;
  margin: 0;
}

/* Links inside notification messages: no underline */
.notification-item-title a {
  text-decoration: none;
  color: #6d29d9 !important; /* app primary color */
}

.notification-item-title a:hover,
.notification-item-title a:focus {
  text-decoration: none;
  color: #5b22b8; /* slight darken on hover/focus */
}

.notification-action {
  margin-left: 0.75rem;
  flex-shrink: 0;
}

.notification-btn {
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 0.375rem;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
}

.notification-btn-primary {
  background-color: #6d29d9;
  color: white;
}

.notification-btn-primary:hover {
  opacity: 0.8;
}

.notification-btn-secondary {
  color: #6d29d9;
  padding: 0.5rem 0.625rem;
  border-radius: 0.375rem;
  background-color: rgba(109, 40, 217, 0.1);
}

.notification-divider {
  border-top: 1px solid #d7d7d7;
  margin-top: 0.5rem;
}

.notification-message {
  font-size: 0.875rem;
  color: rgba(36, 36, 36, 0.6);
  margin-top: 0.25rem;
  margin-bottom: 0;
}

.notification-amount {
  font-size: 0.875rem;
  font-weight: 600;
  color: #242424;
  margin-bottom: 0;
}

.gift-milestone {
  padding: 1rem;
  background-color: white;
  border-top: 1px solid rgba(243, 244, 246, 1);
}

.gift-milestone-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.gift-milestone-title {
  font-size: 0.875rem;
  font-weight: 500;
  color: #111827;
  margin: 0;
}

.gift-milestone-link {
  font-size: 0.75rem;
  color: #7c3aed;
  text-decoration: none;
  cursor: pointer;
}

.gift-milestone-link:hover {
  text-decoration: underline;
}

.gift-milestone-progress {
  margin-bottom: 0.5rem;
}

.gift-milestone-stats {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #4b5563;
  margin-bottom: 0.25rem;
}

/* Force hide toastr progress bar globally */
#toast-container .toast-progress {
  display: none !important;
}
