/* ============================================================
   H2B V82 — Admin UX: menu hamburger, recherche profil, actions rapides
   ============================================================ */

/* --- Menu administration compact --- */
.h2b-admin-nav-bar{display:flex;align-items:center;gap:10px;margin:0 0 18px;position:relative;z-index:76}
.h2b-admin-menu-toggle{display:inline-flex;align-items:center;gap:10px;min-height:48px;padding:0 16px;border:1px solid rgba(255,255,255,.16);border-radius:15px;background:rgba(8,13,20,.92);color:#fff;font-family:Kanit,Inter,sans-serif;font-weight:900;font-style:italic;letter-spacing:.02em;cursor:pointer;box-shadow:0 10px 30px rgba(0,0,0,.22)}
.h2b-admin-menu-toggle:hover,.h2b-admin-menu-toggle:focus-visible{border-color:rgba(72,166,255,.7);outline:none;background:rgba(14,25,38,.98)}
.h2b-hamburger{display:grid;gap:4px;width:22px}
.h2b-hamburger i{display:block;height:2px;border-radius:999px;background:currentColor;transition:transform .2s ease,opacity .2s ease}
body.h2b-admin-menu-open .h2b-hamburger i:nth-child(1){transform:translateY(6px) rotate(45deg)}
body.h2b-admin-menu-open .h2b-hamburger i:nth-child(2){opacity:0}
body.h2b-admin-menu-open .h2b-hamburger i:nth-child(3){transform:translateY(-6px) rotate(-45deg)}
.h2b-admin-quick-search{position:relative;flex:1 1 300px;max-width:520px}
.h2b-admin-quick-search input{width:100%;min-height:48px;padding:0 44px 0 15px;border-radius:15px}
.h2b-admin-quick-search-icon{position:absolute;right:15px;top:50%;transform:translateY(-50%);opacity:.62;pointer-events:none}

.h2b-admin-menu-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.64);backdrop-filter:blur(3px);z-index:1997;opacity:0;pointer-events:none;transition:opacity .2s ease}
body.h2b-admin-menu-open .h2b-admin-menu-backdrop{opacity:1;pointer-events:auto}
#adminView .admin-section-tabs{position:fixed!important;left:0;top:0;bottom:0;width:min(390px,90vw);height:100dvh;overflow:auto;display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:7px!important;padding:92px 18px 28px!important;margin:0!important;border-radius:0 24px 24px 0!important;background:linear-gradient(180deg,rgba(6,12,20,.995),rgba(4,8,14,.995))!important;border:0!important;border-right:1px solid rgba(92,167,255,.26)!important;box-shadow:26px 0 70px rgba(0,0,0,.58)!important;z-index:1998!important;transform:translateX(-104%);visibility:hidden;transition:transform .24s ease,visibility .24s step-end}
body.h2b-admin-menu-open #adminView .admin-section-tabs{transform:translateX(0);visibility:visible;transition:transform .24s ease,visibility 0s}
#adminView .admin-section-tabs::before{content:'MENU ADMINISTRATION';position:absolute;left:22px;top:27px;color:#fff;font-family:Kanit,Inter,sans-serif;font-weight:900;font-style:italic;font-size:20px;letter-spacing:.035em}
#adminView .admin-section-tabs .section-tab{width:100%!important;min-height:50px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;text-align:left!important;padding:12px 14px!important;border-radius:13px!important;margin:0!important;white-space:normal!important}
#adminView .admin-section-tabs .section-tab.active{box-shadow:inset 3px 0 0 rgba(82,166,255,.95),0 7px 20px rgba(0,0,0,.18)}
.h2b-admin-menu-close{position:fixed;left:min(326px,calc(90vw - 64px));top:20px;width:42px;height:42px;border:1px solid rgba(255,255,255,.18);border-radius:13px;background:#111923;color:#fff;font-size:26px;z-index:1999;display:none;place-items:center;cursor:pointer}
body.h2b-admin-menu-open .h2b-admin-menu-close{display:grid}

/* --- Recherche adhérent avec aperçu latéral --- */
.h2b-member-search-preview{position:absolute;z-index:1200;top:calc(100% + 8px);left:calc(100% + 12px);width:340px;max-height:min(560px,70vh);overflow:auto;padding:10px;border:1px solid rgba(82,166,255,.38);border-radius:18px;background:rgba(5,11,18,.985);box-shadow:0 24px 60px rgba(0,0,0,.58),0 0 24px rgba(37,133,255,.08);backdrop-filter:blur(15px)}
.h2b-member-search-preview.hidden{display:none!important}
.h2b-member-preview-main{width:100%;border:0;border-radius:15px;padding:13px;text-align:left;background:linear-gradient(145deg,rgba(33,115,209,.17),rgba(12,21,32,.65));color:#fff;cursor:pointer;border:1px solid rgba(89,168,255,.18)}
.h2b-member-preview-main:hover,.h2b-member-preview-main:focus-visible{outline:none;border-color:rgba(82,166,255,.65);background:linear-gradient(145deg,rgba(33,115,209,.25),rgba(12,21,32,.82))}
.h2b-member-preview-person{display:flex;gap:12px;align-items:center}
.h2b-member-preview-photo{width:58px;height:58px;flex:0 0 58px;border-radius:16px;overflow:hidden;display:grid;place-items:center;background:linear-gradient(145deg,rgba(36,126,232,.3),rgba(104,51,194,.22));border:1px solid rgba(255,255,255,.12);font:900 16px Kanit,Inter,sans-serif}
.h2b-member-preview-photo img{width:100%;height:100%;object-fit:cover;display:block}
.h2b-member-preview-copy{min-width:0;display:flex;flex-direction:column;gap:2px}
.h2b-member-preview-copy strong{font:900 18px Kanit,Inter,sans-serif;font-style:italic;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.h2b-member-preview-copy span,.h2b-member-preview-copy small{color:#a9bacd;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.h2b-member-preview-state{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:11px}
.h2b-member-preview-state span{padding:7px 8px;border-radius:9px;background:rgba(255,255,255,.05);font-size:11px;color:#b7c6d5}
.h2b-member-preview-state b{display:block;color:#fff;font-size:13px;margin-top:1px}
.h2b-member-preview-open{display:block;margin-top:10px;font-size:11px;color:#77baff;font-weight:800}
.h2b-member-preview-others{margin-top:8px;border-top:1px solid rgba(255,255,255,.07);padding-top:6px}
.h2b-member-preview-other{width:100%;border:0;background:transparent;color:#fff;display:flex;align-items:center;gap:9px;text-align:left;padding:8px;border-radius:10px;cursor:pointer}
.h2b-member-preview-other:hover{background:rgba(72,151,244,.11)}
.h2b-member-preview-mini-avatar{width:32px;height:32px;border-radius:9px;overflow:hidden;display:grid;place-items:center;background:rgba(67,145,231,.18);font-size:10px;font-weight:900;flex:0 0 32px}
.h2b-member-preview-mini-avatar img{width:100%;height:100%;object-fit:cover}
.h2b-member-preview-other div{min-width:0}.h2b-member-preview-other strong,.h2b-member-preview-other small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.h2b-member-preview-other small{color:#899db4;font-size:10px}
/* La V82 remplace la petite liste V53 pour la recherche principale par la fiche latérale. */
#memberSearch~.h2b-smart-member-suggestions,#h2bAdminQuickSearch~.h2b-smart-member-suggestions{display:none!important}

/* --- Profil admin : résumé + actions rapides + Top 3 --- */
#memberModal .modal-card{position:relative}
.h2b-profile-command-center{display:grid;grid-template-columns:minmax(0,1fr) minmax(230px,320px);gap:12px;margin:-2px 0 16px}
.h2b-profile-quick-actions,.h2b-profile-top3{border:1px solid rgba(255,255,255,.1);border-radius:16px;background:rgba(7,13,21,.7);padding:12px}
.h2b-profile-quick-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.h2b-profile-quick-actions .btn{min-height:42px}
.h2b-profile-whatsapp-wrap{display:flex;gap:6px;flex-wrap:wrap}
.h2b-profile-top3-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}
.h2b-profile-top3-head strong{font:900 13px Kanit,Inter,sans-serif;font-style:italic;text-transform:uppercase}.h2b-profile-top3-head small{color:#7f94aa;font-size:10px}
.h2b-profile-top3-list{display:grid;gap:5px}
.h2b-profile-top3-row{display:grid;grid-template-columns:24px 1fr auto;gap:7px;align-items:center;padding:6px 7px;border-radius:9px;background:rgba(255,255,255,.035);font-size:11px}
.h2b-profile-top3-row.is-current{outline:1px solid rgba(78,165,255,.54);background:rgba(48,137,231,.13)}
.h2b-profile-top3-row b{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.h2b-profile-top3-row em{font-style:normal;color:#91a7bd}.h2b-profile-top3-row .medal{font-size:16px;text-align:center}
.h2b-profile-no-reminder{font-size:11px;color:#86a0b8;padding:6px 3px}

/* rendre l'identité visible pendant le défilement d'une longue fiche */
#memberModal .admin-member-photo-header{position:sticky;top:-1px;z-index:8;background:linear-gradient(180deg,rgba(7,12,19,.985),rgba(7,12,19,.92));padding-top:8px;padding-bottom:9px;border-radius:12px}

@media (max-width:1180px){
  .h2b-member-search-preview{left:auto;right:0;width:min(360px,88vw)}
}
@media (max-width:760px){
  .h2b-admin-nav-bar{position:sticky;top:8px;z-index:90;margin-bottom:12px;padding:6px;border-radius:16px;background:rgba(4,9,15,.88);backdrop-filter:blur(12px)}
  .h2b-admin-menu-toggle{padding:0 13px;min-height:46px}.h2b-admin-menu-toggle .h2b-menu-word{display:none}
  .h2b-admin-quick-search{min-width:0}.h2b-admin-quick-search input{min-height:46px;font-size:13px;padding-left:12px}
  #adminView .admin-section-tabs{width:88vw;padding:82px 13px 24px!important;border-radius:0 20px 20px 0!important}.h2b-admin-menu-close{left:calc(88vw - 54px);top:17px}
  .h2b-member-search-preview{position:absolute;left:0;right:auto;top:calc(100% + 7px);width:min(88vw,355px);max-height:58vh}
  .h2b-profile-command-center{grid-template-columns:1fr}.h2b-profile-top3{order:-1}
  #memberModal .admin-member-photo-header{top:0}
}
@media (prefers-reduced-motion:reduce){#adminView .admin-section-tabs,.h2b-admin-menu-backdrop,.h2b-hamburger i{transition:none!important}}

/* ============================================================
   H2B V84 — CORRECTIFS MENU + RECHERCHE LATERALE
   ============================================================ */

/* Le menu V84 n'utilise plus l'ancien panneau translucide dans #adminView. */
#adminView .admin-section-tabs.h2b-v84-source-tabs{
  display:none!important;
}

/* Tiroir menu V84 : totalement opaque, net, sans aucun flou. */
.h2b-admin-menu-backdrop{
  z-index:3390!important;
  background:rgba(0,0,0,.72)!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
}
.h2b-admin-menu-drawer{
  position:fixed;
  inset:0 auto 0 0;
  width:min(390px,92vw);
  height:100dvh;
  z-index:3400;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  background:#05070a;
  border-right:1px solid rgba(97,170,255,.26);
  box-shadow:26px 0 72px rgba(0,0,0,.72);
  transform:translate3d(-104%,0,0);
  visibility:hidden;
  opacity:1!important;
  filter:none!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
  transition:transform .24s cubic-bezier(.22,.61,.36,1),visibility .24s step-end;
}
body.h2b-admin-menu-open .h2b-admin-menu-drawer{
  transform:translate3d(0,0,0);
  visibility:visible;
  transition:transform .24s cubic-bezier(.22,.61,.36,1),visibility 0s;
}
.h2b-admin-menu-drawer-head{
  flex:0 0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:22px 18px 17px 20px;
  min-height:82px;
  background:#070a0f;
  border-bottom:1px solid rgba(255,255,255,.09);
}
.h2b-admin-menu-drawer-head>div{display:flex;flex-direction:column;gap:1px;min-width:0}
.h2b-admin-menu-drawer-head span{font:800 10px Kanit,Inter,sans-serif;letter-spacing:.16em;color:#69afff}
.h2b-admin-menu-drawer-head strong{font:900 21px Kanit,Inter,sans-serif;font-style:italic;color:#fff;line-height:1.05}
#h2bAdminMenuClose{
  width:44px;height:44px;flex:0 0 44px;display:grid;place-items:center;
  border:1px solid rgba(255,255,255,.15);border-radius:13px;background:#10151c;color:#fff;
  font-size:27px;line-height:1;cursor:pointer;
}
.h2b-admin-menu-drawer-list{
  flex:1 1 auto;
  overflow:auto;
  padding:13px 12px 28px;
  display:grid;
  align-content:start;
  gap:7px;
  background:#05070a;
  scrollbar-width:thin;
}
.h2b-admin-menu-item{
  width:100%;min-height:52px;display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:11px 13px;border:1px solid rgba(255,255,255,.075);border-radius:13px;
  background:#0a0e14;color:#eaf2fb;text-align:left;cursor:pointer;
  font:850 15px Kanit,Inter,sans-serif;font-style:italic;
  box-shadow:none!important;filter:none!important;opacity:1!important;
}
.h2b-admin-menu-item>span{min-width:0;display:block}
.h2b-admin-menu-item em{font-style:normal;font-size:22px;color:#6eaef7;line-height:1}
.h2b-admin-menu-item:hover,.h2b-admin-menu-item:focus-visible{outline:none;background:#101824;border-color:rgba(86,160,247,.5)}
.h2b-admin-menu-item.active{background:#f3f3f3;color:#080b10;border-color:#fff;box-shadow:inset 4px 0 0 #4b9cff!important}
.h2b-admin-menu-item.active em{color:#111}

/* Recherche adhérent : véritable intercalaire qui glisse depuis la droite. */
.h2b-member-search-backdrop{
  position:fixed;inset:0;z-index:3590;background:rgba(0,0,0,.36);
  opacity:0;visibility:hidden;pointer-events:none;
  -webkit-backdrop-filter:none!important;backdrop-filter:none!important;
  transition:opacity .2s ease,visibility .2s step-end;
}
body.h2b-member-search-open .h2b-member-search-backdrop{
  opacity:1;visibility:visible;pointer-events:auto;transition:opacity .2s ease,visibility 0s;
}
.h2b-member-search-drawer{
  position:fixed;top:0;right:0;bottom:0;width:min(410px,92vw);height:100dvh;z-index:3600;
  display:flex;flex-direction:column;background:#05080d;color:#fff;
  border-left:1px solid rgba(80,159,250,.32);box-shadow:-28px 0 76px rgba(0,0,0,.72);
  transform:translate3d(104%,0,0);visibility:hidden;overflow:visible;
  filter:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;
  transition:transform .26s cubic-bezier(.22,.61,.36,1),visibility .26s step-end;
}
body.h2b-member-search-open .h2b-member-search-drawer{
  transform:translate3d(0,0,0);visibility:visible;transition:transform .26s cubic-bezier(.22,.61,.36,1),visibility 0s;
}
.h2b-member-search-tab{
  position:absolute;left:-42px;top:126px;width:42px;min-height:132px;
  display:flex;align-items:center;justify-content:center;padding:9px 0;
  background:#0a111b;border:1px solid rgba(83,160,250,.38);border-right:0;border-radius:13px 0 0 13px;
  color:#8fc5ff;font:900 10px Kanit,Inter,sans-serif;font-style:italic;letter-spacing:.11em;
  writing-mode:vertical-rl;transform:rotate(180deg);box-shadow:-10px 8px 28px rgba(0,0,0,.32);
}
.h2b-member-search-drawer-head{
  flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:22px 17px 15px 19px;background:#070b11;border-bottom:1px solid rgba(255,255,255,.085);
}
.h2b-member-search-drawer-head>div{display:flex;flex-direction:column;gap:1px}
.h2b-member-search-drawer-head span{font:800 10px Kanit,Inter,sans-serif;letter-spacing:.14em;color:#6fb4ff}
.h2b-member-search-drawer-head strong{font:900 22px Kanit,Inter,sans-serif;font-style:italic;color:#fff}
#h2bMemberSearchClose{width:43px;height:43px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.15);border-radius:13px;background:#111720;color:#fff;font-size:27px;cursor:pointer}
.h2b-member-search-query{flex:0 0 auto;padding:11px 19px;color:#8399af;font-size:11px;border-bottom:1px solid rgba(255,255,255,.055);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.h2b-member-search-drawer-content{flex:1 1 auto;overflow:auto;padding:15px 14px 30px;background:#05080d}
.h2b-member-preview-kicker{margin:2px 3px 8px;font:800 10px Kanit,Inter,sans-serif;letter-spacing:.12em;color:#66819d}

/* La carte principale devient plus "profil" avec une photo clairement visible. */
.h2b-member-search-drawer .h2b-member-preview-main{
  display:block;width:100%;padding:15px;border-radius:18px;background:#0b121c;color:#fff;
  border:1px solid rgba(82,163,255,.26);box-shadow:0 12px 34px rgba(0,0,0,.28);
}
.h2b-member-search-drawer .h2b-member-preview-person{align-items:center;gap:14px}
.h2b-member-search-drawer .h2b-member-preview-photo{
  width:82px;height:82px;flex:0 0 82px;border-radius:18px;background:#101722;border-color:rgba(255,255,255,.13);
}
.h2b-member-search-drawer .h2b-member-preview-copy strong{font-size:20px}
.h2b-member-search-drawer .h2b-member-preview-copy span{color:#c0d1e2;font-size:12px}
.h2b-member-search-drawer .h2b-member-preview-copy small{font-size:11px;color:#8297ac}
.h2b-member-search-drawer .h2b-member-preview-state{margin-top:13px;gap:8px}
.h2b-member-search-drawer .h2b-member-preview-state span{background:#080d13;border:1px solid rgba(255,255,255,.06);padding:9px 10px}
.h2b-member-search-drawer .h2b-member-preview-open{margin-top:12px;padding-top:11px;border-top:1px solid rgba(255,255,255,.07);color:#80bdff;font-size:12px}
.h2b-member-search-drawer .h2b-member-preview-open b{float:right;font-size:17px}
.h2b-member-search-drawer .h2b-member-preview-others{margin-top:17px;padding-top:0;border-top:0}
.h2b-member-search-drawer .h2b-member-preview-other{
  min-height:58px;margin-bottom:6px;padding:8px 9px;border:1px solid rgba(255,255,255,.055);border-radius:13px;background:#080d14;
}
.h2b-member-search-drawer .h2b-member-preview-other:hover{background:#0d1621;border-color:rgba(83,161,250,.28)}
.h2b-member-search-drawer .h2b-member-preview-other em{margin-left:auto;font-style:normal;font-size:20px;color:#6daef8}
.h2b-member-search-drawer .h2b-member-preview-mini-avatar{width:40px;height:40px;flex-basis:40px;border-radius:11px}
.h2b-member-search-empty{min-height:180px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:5px;padding:24px;color:#8ca0b4}
.h2b-member-search-empty strong{color:#fff;font:900 18px Kanit,Inter,sans-serif;font-style:italic}.h2b-member-search-empty span{font-size:12px;max-width:260px}

/* L'ancien aperçu flottant ne doit plus jamais apparaître derrière le menu. */
.h2b-member-search-preview{display:none!important}

@media(max-width:760px){
  .h2b-admin-menu-drawer{width:90vw}
  .h2b-member-search-drawer{width:91vw}
  .h2b-member-search-tab{left:-34px;width:34px;top:112px;min-height:112px;font-size:9px}
  .h2b-member-search-drawer .h2b-member-preview-photo{width:72px;height:72px;flex-basis:72px}
}
@media(prefers-reduced-motion:reduce){
  .h2b-admin-menu-drawer,.h2b-member-search-drawer,.h2b-member-search-backdrop{transition:none!important}
}

/* ============================================================
   H2B V88 — paiement rapide depuis recherche / profil
   ============================================================ */
.h2b-member-preview-actions{
  display:flex;gap:7px;margin:8px 0 1px;
}
.h2b-member-preview-actions .btn{
  width:100%;min-height:40px;border-radius:11px;font-size:11px;
}
.h2b-quick-payment-backdrop{
  position:fixed;inset:0;z-index:3690;background:rgba(0,0,0,.48);
  opacity:0;visibility:hidden;pointer-events:none;
  -webkit-backdrop-filter:none!important;backdrop-filter:none!important;
  transition:opacity .2s ease,visibility .2s step-end;
}
body.h2b-quick-payment-open{overflow:hidden}
body.h2b-quick-payment-open .h2b-quick-payment-backdrop{
  opacity:1;visibility:visible;pointer-events:auto;transition:opacity .2s ease,visibility 0s;
}
.h2b-quick-payment-drawer{
  position:fixed;top:0;right:0;bottom:0;width:min(470px,94vw);height:100dvh;z-index:3700;
  display:flex;flex-direction:column;background:#05080d;color:#fff;
  border-left:1px solid rgba(81,161,255,.38);box-shadow:-30px 0 80px rgba(0,0,0,.76);
  transform:translate3d(104%,0,0);visibility:hidden;overflow:visible;
  transition:transform .26s cubic-bezier(.22,.61,.36,1),visibility .26s step-end;
}
body.h2b-quick-payment-open .h2b-quick-payment-drawer{
  transform:translate3d(0,0,0);visibility:visible;transition:transform .26s cubic-bezier(.22,.61,.36,1),visibility 0s;
}
.h2b-quick-payment-tab{
  position:absolute;left:-38px;top:126px;width:38px;min-height:126px;
  display:flex;align-items:center;justify-content:center;padding:8px 0;
  background:#09111b;border:1px solid rgba(83,160,250,.4);border-right:0;border-radius:12px 0 0 12px;
  color:#8fc5ff;font:900 9px Kanit,Inter,sans-serif;font-style:italic;letter-spacing:.1em;
  writing-mode:vertical-rl;transform:rotate(180deg);
}
.h2b-quick-payment-head{
  flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:18px 16px 13px 18px;background:#070b11;border-bottom:1px solid rgba(255,255,255,.08);
}
.h2b-quick-payment-head>div{display:flex;flex-direction:column;gap:1px}
.h2b-quick-payment-head span{font:800 9px Kanit,Inter,sans-serif;letter-spacing:.14em;color:#6fb4ff}
.h2b-quick-payment-head strong{font:900 22px Kanit,Inter,sans-serif;font-style:italic;line-height:1;color:#fff}
#h2bQuickPaymentClose{
  width:40px;height:40px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.14);
  border-radius:12px;background:#111720;color:#fff;font-size:25px;cursor:pointer;
}
.h2b-quick-payment-member{
  flex:0 0 auto;padding:12px 14px;background:#070c12;border-bottom:1px solid rgba(255,255,255,.065);
}
.h2b-quick-payment-identity{display:flex;align-items:center;gap:10px;margin-bottom:10px}
.h2b-quick-payment-identity>span:last-child{display:flex;flex-direction:column;min-width:0}
.h2b-quick-payment-identity strong{font:900 17px Kanit,Inter,sans-serif;font-style:italic;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.h2b-quick-payment-identity small{font-size:10px;color:#91a7bd}
.h2b-quick-payment-photo{width:44px;height:44px;flex:0 0 44px;border-radius:12px;overflow:hidden;border:1px solid rgba(255,255,255,.14);background:#0d141d}
.h2b-quick-payment-photo img{width:100%;height:100%;display:block;object-fit:cover}
.h2b-quick-payment-balance{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.h2b-quick-payment-balance>span{display:flex;flex-direction:column;gap:2px;padding:8px 9px;border-radius:10px;background:#090f16;border:1px solid rgba(255,255,255,.055);min-width:0}
.h2b-quick-payment-balance small{font-size:8.5px;color:#8398ad;text-transform:uppercase;letter-spacing:.04em}
.h2b-quick-payment-balance b{font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.h2b-quick-payment-balance .remaining b{font-size:15px;color:#fff}
.h2b-quick-payment-form-host{flex:1 1 auto;overflow:auto;padding:13px 14px 28px;background:#05080d}
#h2bQuickPaymentDrawer #paymentForm{margin:0;gap:10px}
#h2bQuickPaymentDrawer .h2b-quick-payment-hidden-search{display:none!important}
#h2bQuickPaymentDrawer #paymentForm label{font-size:10px;margin-bottom:4px}
#h2bQuickPaymentDrawer #paymentDues,
#h2bQuickPaymentDrawer #paymentDate,
#h2bQuickPaymentDrawer #paymentMode,
#h2bQuickPaymentDrawer #paymentInstallments,
#h2bQuickPaymentDrawer #paymentNote,
#h2bQuickPaymentDrawer #paymentAmount{
  min-height:43px;border-radius:10px;
}
#h2bQuickPaymentDrawer #paymentAmount{
  min-height:52px;font-size:22px;font-weight:900;padding:10px 12px;
}
#h2bQuickPaymentDrawer #paymentPlanPreview{font-size:9.5px;line-height:1.3;padding:8px 9px;margin:0}
#h2bQuickPaymentDrawer #paymentForm small.muted{font-size:9px;line-height:1.25}
#h2bQuickPaymentDrawer .payment-correction-actions{position:sticky;bottom:-16px;padding:9px 0 2px;background:linear-gradient(180deg,rgba(5,8,13,0),#05080d 24%);z-index:2}
#h2bQuickPaymentDrawer #paymentSubmitBtn{min-height:44px;flex:1 1 auto}

@media(max-width:620px){
  .h2b-quick-payment-drawer{width:94vw}
  .h2b-quick-payment-tab{left:-31px;width:31px;top:112px;min-height:108px;font-size:8px}
  .h2b-quick-payment-balance{grid-template-columns:1fr 1fr}
  .h2b-quick-payment-balance .remaining{grid-column:1/-1}
  #h2bQuickPaymentDrawer #paymentForm .grid-2{grid-template-columns:1fr 1fr!important;gap:8px}
}
@media(prefers-reduced-motion:reduce){
  .h2b-quick-payment-drawer,.h2b-quick-payment-backdrop{transition:none!important}
}

/* ============================================================
   H2B V94 — recherche admin fiable + fin des chevauchements
   ============================================================ */
.h2b-admin-quick-search{padding-right:0!important}
.h2b-admin-quick-search input{padding-right:76px!important}
.h2b-admin-quick-search-icon{right:47px!important}
.h2b-admin-quick-search-clear{
  position:absolute;right:9px;top:50%;transform:translateY(-50%);
  width:30px;height:30px;border:1px solid rgba(255,255,255,.13);
  border-radius:9px;background:#0d141e;color:#fff;font-size:20px;
  line-height:1;display:grid;place-items:center;cursor:pointer;z-index:3;
}
.h2b-admin-quick-search-clear:hover{border-color:rgba(88,169,255,.65);background:#131e2c}

/* La recherche + filtre de la liste Adhérents ne peuvent plus se superposer. */
#adminView .panel-tools{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  justify-content:flex-end!important;
  min-width:0!important;
}
#adminView .panel-tools #memberSearch{
  flex:1 1 280px!important;
  min-width:220px!important;
  max-width:440px!important;
}
#adminView .panel-tools #statusFilter{
  flex:0 1 210px!important;
  min-width:170px!important;
  max-width:240px!important;
}
@media(max-width:1100px){
  #adminView .panel-head{align-items:stretch!important}
  #adminView .panel-tools{width:100%!important;justify-content:flex-start!important}
}
@media(max-width:760px){
  #adminView .panel-tools #memberSearch,
  #adminView .panel-tools #statusFilter{
    width:100%!important;max-width:none!important;min-width:0!important;flex:1 1 100%!important;
  }
}

/* Tiroir recherche : un seul panneau, opaque, sans duplication visuelle. */
.h2b-member-search-drawer{background:#05080d!important;overflow:hidden!important}
.h2b-member-search-drawer-content{background:#05080d!important}
body.h2b-member-search-open .h2b-member-search-drawer{isolation:isolate!important}
