.notification-popover {
  width: 390px;
  max-width: calc(100vw - 24px);
  padding: 0;
  overflow: hidden;
  border: 1px solid #e9ecef !important;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(24, 39, 75, 0.12) !important;
}

.notification-popover__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 0 14px;
  border-bottom: 1px solid #eef0f2;
  color: #343a40;
  font-size: 0.82rem;
  font-weight: 600;
}

.notification-popover__count {
  color: #6c757d;
  font-size: 0.72rem;
  font-weight: 400;
}

.notification-popover__body {
  max-height: 390px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.navbar .navbar-menu-wrapper .navbar-nav .nav-item.dropdown .notification-popover .notification-item {
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 10px 14px;
  border-bottom: 1px solid #f2f3f5;
  white-space: normal;
}

.notification-item:last-child {
  border-bottom: 0;
}

.notification-item:hover,
.notification-item:focus {
  background: #f8f9fa;
}

.notification-item__dot {
  width: 7px;
  height: 7px;
  margin-top: 5px;
  border-radius: 50%;
  background: #198754;
}

.notification-item--read .notification-item__dot {
  background: #ced4da;
}

.notification-item__content {
  min-width: 0;
}

.notification-item__title {
  display: block;
  overflow: hidden;
  color: #212529;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.notification-item--read .notification-item__title {
  color: #6c757d;
  font-weight: 400;
}

.notification-item__meta {
  display: block;
  margin-top: 3px;
  color: #8a9198;
  font-size: 0.68rem;
  line-height: 1.2;
}

.notification-popover__empty {
  margin: 0;
  padding: 24px 14px;
  color: #8a9198;
  font-size: 0.78rem;
  text-align: center;
}

@media (max-width: 575.98px) {
  .notification-popover {
    width: calc(100vw - 24px) !important;
    max-width: calc(100vw - 24px);
  }
}
