.notif-dropdown .dropdown-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }

  .notif-badge {
      background: #e53935;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    padding: 3px 6px;
    border-radius: 999px;
    min-width: 16px;
    text-align: center;
    display: none;
    width: 20px;
    height: 20px;
    line-height: 20px;
    align-items: center;
    align-content: center;
    justify-content: center;
  }

  .notif-menu {
    width: 350px;
    max-width: 75vw;
    padding: 0;
    overflow: hidden;
    color: var(--text);
  }
  
  .notif-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: #f80;
      flex-wrap: wrap;
}

.notif-title > i {
  font-size: 14px;
}

.notif-type {
  font-size: 10px;
  color:var(--text);
  font-weight: 500;
  padding: 3px 7px;
  border-radius: 10px;
  background: rgba(100, 100, 100, 0.12);
  opacity: .8;
  margin-left: auto;
  white-space: nowrap;
      position: absolute;
    bottom: 8px;
    right: 10px;
}

.notif-msg {
  margin-top: 5px;
}

.notif-time {
  margin-top: 5px;
  font-size: 11px;
  opacity: .6;
}
  
  .open .dropdown-menu {
  display:flex; }

  .notif-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px;
    font-weight: 600;
    border-bottom: 1px solid #84848448;
  }

  .notif-menu-header a {
    font-size: 12px!important;
    font-weight: 500;
    color: #2196f3;
    cursor: pointer;
  width: auto;
  }

  .notif-list {
    max-height: 400px;
    overflow-y: auto;
  }

  .notif-empty {
    padding: 20px 10px;
    text-align: center;
    font-size: 13px;
    opacity: .6;
  }

  .notif-item {
    display: flex;
    gap: 10px;
    padding: 8px 10px;
    border-bottom: 1px solid rgba(0,0,0,.06);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    transition: background .15s;
  position: relative;
  }

  .notif-item:hover {
    background: rgba(33,150,243,.06);
  }

  .notif-item.unread {
    background: rgba(33,150,243,.08);
  }

  .notif-item .notif-dot {
    flex: 0 0 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2196f3;
    margin-top: 6px;
    visibility: hidden;
  }

  .notif-item.unread .notif-dot {
    visibility: visible;
  }

  .notif-item .notif-body {
    flex: 1;
    min-width: 0;
  }

  .notif-item .notif-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 2px;
  }

  .notif-item .notif-msg {
    font-size: 13px;
    opacity: .8;
    white-space: normal;
    word-break: break-word;
  }

  .notif-item .notif-time {
    font-size: 12px;
    opacity: .5;
  }
