/* ==================== members-ui.css - اعضا و اعضای من: نوار ابزار و منوی مرتب‌سازی ==================== */
.mem-toolbar { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.mem-toolbar .search-bar { margin: 0; flex: 1; min-width: 0; height: 46px; padding: 0 16px; }
.mem-sort-wrap { position: relative; flex: none; }
.mem-lines-btn {
    width: 46px; height: 46px; border: 2px solid var(--border, #e2e8f0); border-radius: 16px; cursor: pointer;
    background: var(--surface-3, #f1f5f9);
    display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: 5px; padding: 0 12px;
    transition: border-color .2s, background .2s;
}
.mem-lines-btn span { display: block; height: 3px; border-radius: 2px; background: var(--text-3, #475569); }
.mem-lines-btn span:nth-child(1) { width: 22px; }
.mem-lines-btn span:nth-child(2) { width: 16px; }
.mem-lines-btn span:nth-child(3) { width: 10px; }
.mem-lines-btn:hover, .mem-lines-btn.open { border-color: var(--gold, #d4a017); background: var(--surface, #fff); }
.mem-sort-menu {
    position: absolute; top: 52px; right: 0; z-index: 200; min-width: 210px; overflow: hidden;
    background: var(--surface, #fff); border: 1px solid var(--border, #e2e8f0); border-radius: 16px;
    box-shadow: 0 10px 28px rgba(0,0,0,.18);
}
.mem-sort-head { padding: 9px 16px; font-size: 11.5px; font-weight: bold; color: var(--text-soft, #64748b); background: var(--surface-3, #f1f5f9); }
.mem-sort-item { padding: 12px 16px; cursor: pointer; font-size: 13.5px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--border-soft, #f1f5f9); }
.mem-sort-item:hover { background: var(--surface-3, #f1f5f9); }
.mem-sort-item.active { background: rgba(var(--primary-rgb, 2,132,199), .10); color: var(--primary-dark, var(--primary)); font-weight: bold; }
.mem-sort-item.active::after { content: '✓'; font-weight: 900; }
.mem-add { flex: none; height: 46px; padding: 0 16px; border-radius: 16px; align-items: center; gap: 6px; font-size: 13px; white-space: nowrap; }
.mem-add-plus { font-size: 20px; line-height: 1; }
@media (max-width: 480px) {
    .mem-add { width: 46px; padding: 0; justify-content: center; }
    .mem-add-txt { display: none; }
    .mem-title h2 { font-size: 1.1rem; }
}

.mem-info { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 12px; color: var(--text-soft, #64748b); margin: -4px 4px 10px; }
.mem-info b { color: var(--primary-dark, var(--primary)); }
.mem-info-dot { opacity: .6; }
