/* Notification bell — owns its own layout. Sneat's dropdown-notifications-list
   depends on perfect-scrollbar, so nothing here relies on theme components
   beyond the Bootstrap dropdown itself. */

#notificationBell .np-bell-badge {
  position: absolute;
  top: 2px;
  right: 0;
  font-size: .65rem;
  padding: .2rem .35rem;
}

#notificationBell .np-bell-menu {
  width: 380px;
  max-width: calc(100vw - 2rem);
  padding: 0;
  overflow: hidden;
}

#notificationBell .np-bell-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .85rem 1rem;
  border-bottom: 1px solid rgba(0, 0, 32, .08);
  font-weight: 600;
  font-size: .9rem;
  color: #000025;
}

#notificationBell .np-bell-readall {
  border: 0;
  background: none;
  cursor: pointer;
  color: #8A94A6;
  padding: .25rem;
  line-height: 1;
  border-radius: 6px;
}

  #notificationBell .np-bell-readall:hover {
    background: rgba(0, 0, 32, .05);
    color: #295AF2;
  }

#notificationBell .np-bell-scroll {
  max-height: 400px;
  overflow-y: auto;
}

#notificationBell .np-bell-item {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  padding: .8rem 1rem;
  border-bottom: 1px solid rgba(0, 0, 32, .06);
  cursor: pointer;
}

  #notificationBell .np-bell-item:last-child {
    border-bottom: 0;
  }

  #notificationBell .np-bell-item:hover {
    background: rgba(41, 90, 242, .05);
  }

#notificationBell .np-bell-icon {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(41, 90, 242, .12);
  color: #295AF2;
  font-size: .85rem;
}

  #notificationBell .np-bell-icon.reject {
    background: rgba(179, 38, 30, .12);
    color: #B3261E;
  }

/* min-width:0 lets long titles wrap instead of forcing the row wider */
#notificationBell .np-bell-body {
  flex: 1 1 auto;
  min-width: 0;
}

#notificationBell .np-bell-title {
  font-size: .875rem;
  font-weight: 500;
  line-height: 1.35;
  color: #000025;
  overflow-wrap: anywhere;
}

#notificationBell .np-bell-time {
  font-size: .75rem;
  color: #8A94A6;
  margin-top: .15rem;
}

#notificationBell .np-bell-dismiss {
  flex: 0 0 auto;
  border: 0;
  background: none;
  cursor: pointer;
  color: #8A94A6;
  padding: .2rem;
  line-height: 1;
  border-radius: 6px;
}

  #notificationBell .np-bell-dismiss:hover {
    background: rgba(0, 0, 32, .06);
    color: #B3261E;
  }

#notificationBell .np-bell-empty {
  padding: 2.25rem 1rem;
  text-align: center;
  font-size: .85rem;
  color: #8A94A6;
}

@keyframes np-bell-ring {
  0% {
    transform: rotate(0);
  }

  15% {
    transform: rotate(14deg);
  }

  30% {
    transform: rotate(-12deg);
  }

  45% {
    transform: rotate(9deg);
  }

  60% {
    transform: rotate(-7deg);
  }

  75% {
    transform: rotate(4deg);
  }

  100% {
    transform: rotate(0);
  }
}

#notificationBell .np-bell-ringing {
  display: inline-block;
  animation: np-bell-ring .8s ease-in-out;
  transform-origin: top center;
}

@media (prefers-reduced-motion: reduce) {
  #notificationBell .np-bell-ringing {
    animation: none;
  }
}

.notyf {
  padding-top: 4.5rem;
}
