/* ===== Members table (paste into assets/css/style.css) ===== */
.members-wrap { overflow-x: auto; margin-top: 8px; }

.members-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.members-table th,
.members-table td {
  border: 1px solid #d8d8d8;
  padding: 10px 12px;
  text-align: left;
  vertical-align: middle;
}
.members-table thead th { background: #d9ecf4; font-weight: 700; white-space: nowrap; }
.members-table tbody tr:nth-child(even) { background: #f8f8f8; }
.members-table img { display: block; width: 100px; height: 100px; object-fit: cover; }

/* sortable header arrows */
.members-table th.dt-sortable { cursor: pointer; position: relative; padding-right: 26px; user-select: none; }
.members-table th.dt-sortable::after { content: "\2195"; position: absolute; right: 9px; color: #9aa8ad; font-weight: 400; }
.members-table th.dt-asc::after  { content: "\25B2"; color: #006a4e; font-size: 11px; }
.members-table th.dt-desc::after { content: "\25BC"; color: #006a4e; font-size: 11px; }
.members-table th.dt-sortable:focus-visible { outline: 2px solid #006a4e; outline-offset: -2px; }
.members-table .dt-empty { text-align: center; color: #777; }

/* top bar: entries per page + search */
.dt-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; margin: 18px 0 14px; font-size: 14px; }
.dt-top select,
.dt-top input { padding: 5px 8px; border: 1px solid #bbb; border-radius: 3px; font: inherit; background: #fff; }
.dt-top input { margin-left: 8px; width: 210px; max-width: 100%; }

/* bottom bar: info + pagination */
.dt-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 14px; font-size: 14px; }
.dt-pager { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.dt-pager button { padding: 5px 11px; border: 1px solid #ccc; background: #fff; border-radius: 3px; font: inherit; cursor: pointer; }
.dt-pager button:hover:not(:disabled) { background: #eef6f3; }
.dt-pager button.active { background: #006a4e; border-color: #006a4e; color: #fff; }
.dt-pager button:disabled { opacity: .45; cursor: default; }
.dt-pager .dt-gap { padding: 0 4px; color: #777; }