.notification-wrapper .popover {
  max-width: 300px;
}

.notification-container {
  position: absolute;
  background: var(--bs-popover-bg);
  width: 400px;
  right: -16px;
  top: -1px;
  border-radius: 3px;
  box-shadow: 0 0 5px #ccc;
}

[data-bs-theme=dark] .notification-container {
  border: 1px solid var(--bs-border-color);
  box-shadow: none;
}

@media (min-width: 768px) {
  .notification-container {
    right: -10px;
  }
}

.notification-container .notification-header {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  border-bottom: 1px solid var(--bs-border-color);
  font-size: 16px;
  font-weight: 600;
  position: relative;
  overflow: hidden;
}

.notification-container .notification-header .seahub-modal-btn {
  position: absolute;
  right: 14px;
}

.notification-container .notification-body {
  padding: 0;
}

.notification-container .notification-body .show-weixin-qrcode {
  cursor: pointer;
  border-bottom: 1px solid var(--bs-border-color);
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 10px;
}

.show-weixin-qrcode .weixin-icon {
  color: var(--bs-icon-secondary-color);
  font-size: 20px;
  margin-left: 20px;
}

.notification-container .mark-all-read {
  color: var(--bs-body-secondary-color);
}

.notification-body .notification-list-container {
  max-height: 260px;
  overflow: auto;
}

.notification-list-container .notification-item {
  padding: 14px 16px 14px 10px;
  border-bottom: 1px solid var(--bs-border-secondary-color);
  position: relative;
  cursor: pointer;
}

.notification-list-container .notification-item:last-child {
  border-bottom: none;
}

.notification-list-container .notification-item:hover {
  background: var(--bs-nav-hover-bg);
}

.notification-list-container .notification-item .notification-item-header {
  display: flex;
  align-items: center
}

.notification-list-container .notification-item .notification-point {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: red;
  margin-right: 12px;
  position: absolute;
}

.notification-list-container .notification-item .notification-header-info {
  display: flex;
  justify-content: space-between;
  flex: 1;
  margin-left: 20px;
  width: calc(100% - 20px);
}

.notification-user-detail {
  display: flex;
  width: 65%;
}

.notification-user-detail img {
  margin-top: 3px;
}

.notification-user-name {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  font-weight: 500;
}

.notification-item .notification-header-info .notification-time {
  color: #b4b4b4;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  font-size: 13px;
}

.notification-list-container .notification-item .notification-content-wrapper {
  font-size: 13px;
}

.notification-item .notification-content-quotes {
  width: 8px;
}

.notification-list-container .notification-item .notification-comment-content {
  max-width: calc(100% - 16px);
}

.notification-list-container .notification-item .notification-comment-content p {
  display: inline-block;
  letter-spacing: 1px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-bottom: 0;
}

.notification-list-container .notification-item .notification-comment-content p img {
  max-width: 70%;
  height: auto;
  max-height: 60px;
}

.notification-body .notification-footer {
  height: 40px;
  border-top: 1px solid var(--bs-border-secondary-color)!important;
}

.notification-body .notification-footer:hover {
  text-decoration: underline;
}

.notification-container .notification-body .mark-notifications {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--bs-border-secondary-color);
  padding: 0 16px;
}

.notification-container .notification-body .mark-notifications .mark-all-read:hover {
  text-decoration: underline;
}

.notification-container .notification-body .nav .nav-item .nav-link {
  height: 46px;
  margin-right: 15px;
  margin-left: 15px;
  font-size: 14px;
  color: var(--bs-body-color);
}

.notification-container .notification-body .nav .nav-item .nav-link.active {
  color: #ED7109;
}

.notification-container .nav-indicator-container::before {
  bottom: 0px;
}

@media (max-width: 768px) {
  .notification-container {
    right: -60px;
    width: 360px;
  }
}
