/* Notifications page + header bell. */

.notif-page {
  max-width: 760px;
  margin: 24px auto;
  padding: 0 16px;
}

.notif-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 20px;
  gap: 16px;
}

.notif-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border: 1px solid #e6dfd0;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.notif-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid #f1eadd;
  background: #fbf8f2;
}

.notif-row:last-child { border-bottom: none; }
.notif-row.is-unread { background: #f5faef; }

.notif-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #eef4ea;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.notif-body { flex: 1; min-width: 0; }

.notif-line {
  font-size: 14px;
  color: var(--text, #1c1c1c);
}

.notif-line .verb { color: #7a6d55; margin-left: 4px; }

.notif-preview {
  font-size: 13px;
  color: #444;
  margin-top: 3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.notif-when {
  margin-top: 2px;
  font-size: 11.5px;
}

.notif-open {
  align-self: center;
  color: #2f6f4a;
  font-size: 13px;
  text-decoration: none;
  padding: 4px 8px;
  border-radius: 6px;
}

.notif-open:hover { background: #eef4ea; }

/* Header bell + badge */
.nav-bell {
  position: relative;
}

.nav-bell-badge {
  position: absolute;
  top: -2px;
  right: 6px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  background: #b3505a;
  color: #fff;
  border-radius: 999px;
  font-size: 10.5px;
  line-height: 16px;
  text-align: center;
  font-weight: 700;
  box-shadow: 0 0 0 2px #f8ede6;
}

/* PWA install button — pill in the header nav */
.pwa-install-btn {
  display: none;
  background: #2f6f4a;
  color: #fff;
  border: none;
  padding: 6px 12px;
  border-radius: 999px;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.pwa-install-btn.is-available { display: inline-flex; align-items: center; gap: 4px; }

.pwa-install-btn:hover { background: #26593b; }
