/* ── Notification Bell ─────────────────────────────────────────────────────── */
.btn-notification-bell {
  position: relative;
  width: 36px; height: 36px;
  background: var(--button-soft);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 50%;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
  box-shadow: 0 7px 16px rgba(0,0,0,.25), inset 0 1px 1px rgba(255,255,255,.1);
  transition: transform .18s, box-shadow .22s, background .22s, color .22s;
}
.btn-notification-bell svg { width: 18px; height: 18px; }
.btn-notification-bell:hover { background: var(--button-soft-hover); color: #fff; }

/* ── Notification Badge ──────────────────────────────────────────────────── */
.notification-badge {
  position: absolute;
  top: -4px; right: -4px;
  min-width: 18px; height: 18px;
  padding: 0 5px;
  background: #e53e3e;
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* ── User Search Card ────────────────────────────────────────────────────── */
.user-search-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all .18s;
}
.user-search-card:hover { background: var(--bg-card-hover); box-shadow: var(--shadow-sm); }

.user-search-avatar {
  width: 44px; height: 44px;
  border-radius: 8px;
  background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem; font-weight: 700; color: #fff;
  flex-shrink: 0;
  overflow: hidden;
}
.user-search-avatar img { width: 100%; height: 100%; object-fit: cover; }

.user-search-info { flex: 1; min-width: 0; }
.user-search-name { font-size: .95rem; font-weight: 600; color: var(--text); }
.user-search-meta { font-size: .78rem; color: var(--text-muted); margin-top: 2px; }

.user-search-card .btn-send {
  font-size: .78rem; padding: 7px 16px; flex-shrink: 0;
}

/* ── Group Card ──────────────────────────────────────────────────────────── */
.group-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all .18s;
}
.group-card:hover { background: var(--bg-card-hover); box-shadow: var(--shadow-sm); }
.group-card-name { font-size: 1rem; font-weight: 700; color: var(--text); }
.group-card-meta { font-size: .78rem; color: var(--text-muted); }

/* ── Notification Item ───────────────────────────────────────────────────── */
.notification-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all .15s;
}
.notification-item.unread {
  border-left: 3px solid var(--accent);
  background: rgba(245,213,98,.06);
}
.notification-item-body { flex: 1; min-width: 0; }
.notification-item-title { font-size: .88rem; font-weight: 600; color: var(--text); }
.notification-item-body-preview { font-size: .8rem; color: var(--text-muted); margin-top: 4px; line-height: 1.5; }
.notification-item-time { font-size: .73rem; color: var(--text-muted); margin-top: 2px; }
.notification-item-actions { display: flex; gap: 6px; flex-shrink: 0; }
.notification-item-actions .btn-send { font-size: .75rem; padding: 6px 12px; }
.notification-item-actions .btn-card { font-size: .75rem; padding: 6px 12px; }

/* ── Group Member Card ───────────────────────────────────────────────────── */
.group-member-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.group-member-avatar {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem; font-weight: 700; color: #fff;
  flex-shrink: 0;
  overflow: hidden;
}
.group-member-avatar img { width: 100%; height: 100%; object-fit: cover; }
.group-member-name { font-size: .9rem; font-weight: 600; color: var(--text); }
.group-member-uid { font-size: .75rem; color: var(--text-muted); }

/* ── Invite Group Picker ─────────────────────────────────────────────────── */
.invite-group-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all .15s;
  margin-bottom: 6px;
}
.invite-group-option:hover { background: var(--bg-card-hover); border-color: var(--accent); }
.invite-group-option.selected { background: rgba(245,213,98,.1); border-color: var(--accent); }
.invite-group-radio {
  width: 18px; height: 18px;
  border: 2px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: all .15s;
}
.invite-group-option.selected .invite-group-radio {
  border-color: var(--accent); background: var(--accent);
}
.invite-group-option.selected .invite-group-radio::after {
  content: ''; width: 6px; height: 6px; background: #fff; border-radius: 50%;
}
.invite-group-name { font-size: .9rem; font-weight: 600; color: var(--text); }
.invite-group-count { font-size: .75rem; color: var(--text-muted); margin-left: auto; }
