/* ── Notification center (header bell + dropdown) ─────────────────────────── */

.ntf-bell-btn { position: relative; flex-shrink: 0; }

.ntf-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 16px;
  height: 16px;
  padding: 0 var(--space-1);
  border-radius: var(--radius-pill);
  background: var(--danger);
  color: var(--text-on-accent);
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
  pointer-events: none;
  box-sizing: border-box;
}

.ntf-dropdown {
  position: fixed;
  z-index: 400;
  width: 360px;
  max-width: calc(100vw - var(--space-4));
  max-height: 60vh;
  display: flex;
  flex-direction: column;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2);
  overflow: hidden;
}

.ntf-head {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.ntf-head-title {
  flex: 1;
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--text);
}

.ntf-list {
  overflow-y: auto;
  flex: 1;
}

.ntf-item {
  padding: var(--space-2) var(--space-3);
  border-bottom: 1px solid var(--border);
  border-left: 3px solid transparent;
  cursor: pointer;
}
.ntf-item:last-child { border-bottom: none; }
.ntf-item:hover { background: var(--overlay-1); }
.ntf-item.ntf-unread {
  border-left-color: var(--accent);
  background: var(--overlay-2);
}

.ntf-item-title {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}
.ntf-item-body {
  font-size: var(--fs-sm);
  color: var(--text-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ntf-item-meta {
  margin-top: var(--space-1);
  font-size: 10px;
  color: var(--text-dim);
}

.ntf-empty {
  padding: var(--space-6) var(--space-3);
  text-align: center;
  font-size: var(--fs-sm);
  color: var(--text-dim);
}

/* Settings modal — hint line under the Webhook URL formGroup */
.ntf-field-hint {
  margin-top: var(--space-1);
  font-size: var(--fs-xs);
  color: var(--text-dim);
}
