/* Administration membres 2026 — identité, activité et actions ne se chevauchent plus. */
#page-admin .admin-members-heading{min-width:0}
#page-admin .admin-members-heading h3{margin:0!important}
#page-admin #mc{display:block;margin-top:.15rem;color:#687083!important;font-size:.64rem;font-weight:700;line-height:1.35}
.admin-members-toolbar{
  display:grid;
  grid-template-columns:minmax(180px,1fr) 145px 125px;
  gap:.48rem;
  margin-bottom:.45rem;
}
.admin-member-list-search{
  display:flex;
  min-width:0;
  min-height:42px;
  align-items:center;
  gap:.42rem;
  padding:0 .65rem;
  border:1px solid #d9dfe8;
  border-radius:12px;
  background:#fff;
  color:#7a8291;
}
.admin-member-list-search:focus-within{border-color:#ef8959;box-shadow:0 0 0 3px rgba(244,128,58,.1)}
.admin-member-list-search>span{font-size:1rem;line-height:1}
.admin-member-list-search input{
  width:100%;
  min-width:0;
  border:0;
  outline:0;
  background:transparent;
  color:#202338;
  font-family:inherit;
  font-size:.7rem;
  font-weight:700;
}
.admin-member-list-search input::placeholder{color:#969dab}
#page-admin .admin-member-filter{
  width:100%;
  max-width:none;
  min-height:42px;
  margin:0;
  padding:.45rem 1.7rem .45rem .58rem;
  border:1px solid #d9dfe8;
  border-radius:12px;
  background-color:#fff;
  color:#40485a;
  font-family:inherit;
  font-size:.66rem;
  font-weight:800;
  line-height:1.2;
}
.admin-members-result{min-height:20px;padding:0 .12rem .35rem;color:#737b8b;font-size:.61rem;font-weight:750}
#page-admin .admin-members-list{
  display:grid;
  gap:.55rem;
  max-height:560px;
  padding:.55rem;
  overflow-y:auto;
  overscroll-behavior:contain;
  border:1px solid #e1e6ed;
  border-radius:17px;
  background:#f5f7fa;
  scrollbar-color:#c8d0dc transparent;
}
#page-admin .mem-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) 154px 144px;
  align-items:center;
  gap:.7rem;
  min-height:94px;
  padding:.7rem;
  border:1px solid #e0e5ec!important;
  border-radius:15px;
  background:#fff!important;
  color:#202338;
  box-shadow:0 4px 14px rgba(31,41,70,.045);
  transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease;
}
#page-admin .mem-row:hover{border-color:#efc0a5!important;box-shadow:0 8px 22px rgba(31,41,70,.075);transform:translateY(-1px)}
.mem-identity{display:grid;grid-template-columns:44px minmax(0,1fr);align-items:center;gap:.65rem;min-width:0}
#page-admin .mem-av{
  width:44px;
  height:44px;
  border:3px solid #fff;
  border-radius:14px;
  background:linear-gradient(135deg,#ff8a4f,#ed5265);
  color:#fff;
  box-shadow:0 0 0 1px #e2e6ed,0 6px 15px rgba(238,82,101,.14);
  font-size:.75rem;
  font-weight:950;
}
#page-admin .mem-info{min-width:0}
#page-admin .mem-info strong{
  display:block;
  margin:0 0 .2rem;
  overflow:hidden;
  color:#202338!important;
  font-size:.77rem;
  font-weight:950;
  line-height:1.3;
  text-overflow:ellipsis;
  white-space:nowrap;
}
#page-admin .mem-info small{display:flex;min-width:0;flex-direction:column;gap:.08rem;color:#687083!important;font-size:.6rem;line-height:1.35}
#page-admin .mem-info small span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#page-admin .mem-info small i{color:#7c8494;font-style:normal;font-weight:750}
.mem-overview{display:flex;min-width:0;flex-direction:column;align-items:stretch;gap:.38rem}
.mem-statuses{display:flex;min-height:23px;align-items:center;flex-wrap:wrap;gap:.3rem}
.membership-admin-meta{flex-basis:100%;color:#737b8c;font-size:.58rem;line-height:1.35;font-weight:700}
.mem-status{display:inline-flex;align-items:center;min-height:23px;padding:.24rem .48rem;border:1px solid;border-radius:999px;font-size:.57rem;font-weight:900;line-height:1}
.mem-status.is-member{border-color:#e7cc71;background:#fff6d8;color:#755700}
.mem-status.is-standard{border-color:#dce2ea;background:#f5f7fa;color:#687083}
.mem-status.is-banned{border-color:#efbbc2;background:#fff0f2;color:#a92f43}
.member-event-count{
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  align-items:center;
  column-gap:.42rem;
  width:100%;
  min-height:48px;
  padding:.42rem .5rem;
  border:1px solid #cce2da;
  border-radius:12px;
  background:#eff9f5;
  color:#1c624a;
  text-align:left;
  cursor:pointer;
}
.member-event-count strong{grid-row:1/3;color:#147552;font-family:'Plus Jakarta Sans',sans-serif;font-size:1.2rem;font-weight:950;line-height:1}
.member-event-count span{align-self:end;color:#396b59;font-size:.56rem;font-weight:850;line-height:1.2}
.member-event-count i{align-self:start;color:#6a8178;font-size:.5rem;font-style:normal;font-weight:750;line-height:1.2}
.member-event-count:hover,.member-event-count:focus-visible{border-color:#83c8ad;background:#e4f7ef;outline:none;box-shadow:0 0 0 3px rgba(34,169,111,.1)}
.member-event-count:disabled{cursor:default;opacity:.68}
.mem-actions{display:grid;grid-template-columns:1fr;gap:.38rem;min-width:0}
.mem-action{
  display:flex;
  width:100%;
  min-height:37px;
  align-items:center;
  justify-content:flex-start;
  gap:.38rem;
  padding:.42rem .52rem;
  border:1px solid;
  border-radius:11px;
  background:#fff;
  font-family:inherit;
  font-size:.56rem;
  font-weight:850;
  line-height:1.2;
  text-align:left;
  cursor:pointer;
}
.mem-action span{display:grid;place-items:center;flex:0 0 22px;width:22px;height:22px;border-radius:7px;background:rgba(255,255,255,.72);font-size:.67rem}
.mem-action b{font:inherit}
.mem-action.is-grant{border-color:#b8dfcd;background:#edf9f3;color:#176b4c}
.mem-action.is-revoke{border-color:#efc0c6;background:#fff1f3;color:#a93346}
.mem-action.is-ban{border-color:#d9d0ee;background:#f6f2ff;color:#6847a8}
.mem-action.is-unban{border-color:#b8dfcd;background:#edf9f3;color:#176b4c}
.mem-action:hover{filter:brightness(.98);box-shadow:0 4px 11px rgba(31,41,70,.06)}
.admin-members-loading{display:flex;min-height:140px;align-items:center;justify-content:center;flex-direction:column;gap:.65rem;color:#687083;font-size:.67rem;font-weight:750}
.admin-members-loading span{width:30px;height:30px;border:3px solid #e5e8ee;border-top-color:#ed6a40;border-radius:50%;animation:spin .75s linear infinite}
.admin-members-loading p{margin:0!important;color:#687083!important}

@media(max-width:680px){
  .admin-members-toolbar{grid-template-columns:1fr 1fr}
  .admin-member-list-search{grid-column:1/-1}
  #page-admin .admin-members-list{max-height:68dvh;padding:.45rem}
  #page-admin .mem-row{grid-template-columns:minmax(0,1fr) 132px;gap:.55rem;min-height:0;padding:.62rem}
  .mem-identity{grid-column:1;grid-row:1}
  .mem-overview{grid-column:2;grid-row:1}
  .mem-actions{grid-column:1/-1;grid-row:2;grid-template-columns:1fr 1fr;padding-top:.48rem;border-top:1px solid #edf0f4}
  .mem-action{justify-content:center;text-align:center}
}
@media(max-width:430px){
  #page-admin .adm-card:has(.admin-members-list){padding:.72rem!important}
  #page-admin .mem-row{grid-template-columns:1fr;gap:.52rem}
  .mem-identity{grid-column:1;grid-row:1;grid-template-columns:40px minmax(0,1fr);gap:.55rem}
  .mem-overview{grid-column:1;grid-row:2;display:grid;grid-template-columns:auto minmax(138px,1fr);align-items:center;gap:.45rem}
  .mem-statuses{min-width:0}
  .mem-actions{grid-column:1;grid-row:3}
  #page-admin .mem-av{width:40px;height:40px;border-radius:12px}
  #page-admin .mem-info strong{display:-webkit-box;font-size:.76rem;line-height:1.28;white-space:normal;-webkit-box-orient:vertical;-webkit-line-clamp:2}
  #page-admin .mem-info small{font-size:.61rem}
  .member-event-count{padding:.42rem .5rem}.member-event-count strong{font-size:1.1rem}.member-event-count span{font-size:.56rem}.member-event-count i{font-size:.5rem}
  .mem-status{font-size:.56rem}
  .mem-action{font-size:.59rem}
}
@media(hover:none){#page-admin .mem-row:hover{transform:none}}
