/* Committees settings — feature-specific additions on top of vx-design-system.css */

/* ── List header: count pill + add button ────────────────────────────────── */
.com-list-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }

/* ── Count pill ──────────────────────────────────────────────────────────── */
.com-count-pill { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 20px; background: #F1F4FA; color: #3D486A; font-size: 13px; font-weight: 700; white-space: nowrap; }
.com-count-pill i { font-size: 14px; color: #94A0B8; }

/* ── Card grid ───────────────────────────────────────────────────────────── */
.com-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }

/* ── Individual committee card ───────────────────────────────────────────── */
.com-card { background: #fff; border: 1px solid #E6EBF3; border-radius: 14px; padding: 18px; transition: border-color .15s, box-shadow .15s; }
.com-card:hover { border-color: #C9D6EC; box-shadow: 0 4px 14px rgba(20,30,70,.05); }

/* ── Icon tile (colored square with icon, replaces avatar for committee cards) */
.com-icon-tile { width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0; font-size: 19px; }

/* ── Drag handle ─────────────────────────────────────────────────────────── */
.com-drag-handle { color: #C2CBDC; font-size: 15px; cursor: grab; flex-shrink: 0; padding: 2px 4px; border-radius: 6px; transition: color .15s; line-height: 1; align-self: center; }
.com-drag-handle:hover { color: #8892A8; }
.com-drag-handle:active { cursor: grabbing; }

/* ── Top row: handle · icon-tile · identity · actions ───────────────────── */
.com-card-top { display: flex; align-items: flex-start; gap: 10px; }
.com-card-identity { flex: 1; min-width: 0; padding-top: 1px; }
.com-card-name { font-size: 15px; font-weight: 800; color: #1C2540; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.com-card-actions { display: flex; align-items: center; gap: 2px; flex-shrink: 0; }

/* ── Meta row: member count + status badge ───────────────────────────────── */
.com-card-meta { display: flex; align-items: center; gap: 8px; margin-top: 6px; flex-wrap: wrap; }
.com-member-count { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; color: #8892A8; }
.com-member-count i { font-size: 12px; }

/* ── Footer: Members button ──────────────────────────────────────────────── */
.com-card-footer { display: flex; align-items: center; gap: 6px; margin-top: 14px; padding-top: 12px; border-top: 1px solid #F2F5FA; }

/* ── Members page: header row ────────────────────────────────────────────── */
.com-members-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.com-members-header-left { display: flex; flex-direction: column; gap: 3px; }
.com-members-title { font-size: 18px; font-weight: 800; color: #1C2540; }
.com-members-sub { font-size: 13px; color: #8892A8; }
.com-members-header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; padding-top: 2px; }

/* ── Members grid (mirrors bm-grid) ─────────────────────────────────────── */
.com-members-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }

/* ── Contact / User type indicator ──────────────────────────────────────── */
.com-person-type { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; color: #94A0B8; font-weight: 600; margin-top: 4px; }
.com-person-type i { font-size: 11px; }
