/* ============================================================
   Styles OWNED by the Notifications module
   (convention: css/modules/<module-name>.css)
   ============================================================ */

/* ---------- Bell + unread badge (sidebar & mobile top bar) ---------- */
.notif-bell {
  position: relative;
  border: 0;
  background: transparent;
  color: #aab3c2; /* matches the dark sidebar chrome */
  padding: 2px 6px;
  line-height: 1;
  font-size: 1.05rem;
}

.notif-bell:hover {
  color: #fff;
}

.notif-badge {
  position: absolute;
  top: -4px;
  right: -2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 8px;
  background: #dc3545;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
}

/* ---------- Slide-over panel ---------- */
.notif-panel {
  width: min(420px, 92vw);
}

.notif-item {
  display: flex;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid #eef0f4;
  cursor: pointer;
}

.notif-item:hover {
  background: #f5f7fb;
}

/* Unread: tinted background + accent bar */
.notif-item.unread {
  background: #eef4ff;
  box-shadow: inset 3px 0 0 #0d6efd;
}

.notif-item.unread .notif-text {
  font-weight: 600;
}

.notif-icon {
  font-size: 1.1rem;
  margin-top: 2px;
}

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

.notif-text {
  line-height: 1.4;
  word-break: break-word;
}
