/* ========================================================================
 * PFB Premium Editorial · Espace membre / Réglages · v1.12
 * Refonte visuelle uniquement. La logique BuddyPress / Youzer reste native.
 * ====================================================================== */

body.pfb-premium-member-account{
  --pfbm-bg:#050a10;
  --pfbm-bg2:#08121d;
  --pfbm-panel:#0b1723;
  --pfbm-panel2:#101e2c;
  --pfbm-panel3:#132536;
  --pfbm-white:#f8fafc;
  --pfbm-text:#dce5ee;
  --pfbm-muted:#8fa2b4;
  --pfbm-red:#df2631;
  --pfbm-red2:#f13a45;
  --pfbm-gold:#e4bb61;
  --pfbm-blue:#2f86d8;
  --pfbm-green:#34c67a;
  --pfbm-border:rgba(255,255,255,.095);
  --pfbm-border2:rgba(255,255,255,.14);
  background:var(--pfbm-bg)!important;
  overflow-x:hidden!important;
}
body.pfb-premium-member-account #main{
  background:
    radial-gradient(circle at 8% 8%,rgba(47,134,216,.12),transparent 27%),
    radial-gradient(circle at 92% 12%,rgba(223,38,49,.085),transparent 25%),
    linear-gradient(180deg,#06101a 0%,#08121d 54%,#050a10 100%)!important;
  min-height:72vh!important;
}
body.pfb-premium-member-account #page-title-wrapper{display:none!important}
body.pfb-premium-member-account .container.no-sidebar,
body.pfb-premium-member-account #content.no-sidebar{
  width:100%!important;max-width:none!important;margin:0!important;padding:0!important;
}

/* ------------------------------------------------------------------------
 * HEADER : sur les pages Youzer certains styles du thème rendaient le menu
 * primary noir sur noir. On force ici une lecture cohérente avec la refonte.
 * --------------------------------------------------------------------- */
body.pfb-premium-member-account #header,
body.pfb-premium-member-account #header-wrapper,
body.pfb-premium-member-account header#header{
  color:#fff!important;
}
body.pfb-premium-member-account #header a,
body.pfb-premium-member-account #header a:visited,
body.pfb-premium-member-account #header nav a,
body.pfb-premium-member-account #header .menu a,
body.pfb-premium-member-account #header .menu-item>a,
body.pfb-premium-member-account #nav-primary a,
body.pfb-premium-member-account .menu-primary-menu-container a{
  color:#fff!important;
}
body.pfb-premium-member-account #header .current-menu-item>a,
body.pfb-premium-member-account #header .current-menu-ancestor>a,
body.pfb-premium-member-account #nav-primary .current-menu-item>a{
  color:var(--pfbm-red2)!important;
}
body.pfb-premium-member-account #header .fa,
body.pfb-premium-member-account #header .fas,
body.pfb-premium-member-account #header .far,
body.pfb-premium-member-account #header .symbol,
body.pfb-premium-member-account #header svg{
  color:#fff!important;fill:currentColor;
}

/* ------------------------------------------------------------------------
 * CANEVAS
 * --------------------------------------------------------------------- */
body.pfb-premium-member-account #youzer.yz-account-page{
  position:relative!important;
  background:transparent!important;
  padding:clamp(36px,5vw,72px) 0 clamp(72px,8vw,118px)!important;
  color:var(--pfbm-text)!important;
  min-height:720px!important;
}
body.pfb-premium-member-account #youzer.yz-account-page:before{
  content:"";
  position:absolute;inset:0;pointer-events:none;
  background:
    linear-gradient(90deg,transparent 0%,rgba(255,255,255,.014) 50%,transparent 100%),
    radial-gradient(circle at 20% 28%,rgba(47,134,216,.055),transparent 22%),
    radial-gradient(circle at 80% 15%,rgba(223,38,49,.045),transparent 22%);
}
body.pfb-premium-member-account #youzer .yz-page-main-content{
  position:relative;z-index:2;
  width:min(1320px,calc(100% - 48px))!important;
  max-width:none!important;
  margin:0 auto!important;
  display:grid!important;
  grid-template-columns:330px minmax(0,1fr)!important;
  gap:30px!important;
  align-items:start!important;
}
body.pfb-premium-member-account #youzer .youzer-sidebar,
body.pfb-premium-member-account #youzer .youzer-main-content{
  float:none!important;width:auto!important;margin:0!important;min-width:0!important;
}

/* ------------------------------------------------------------------------
 * SIDEBAR PROFIL
 * --------------------------------------------------------------------- */
body.pfb-premium-member-account #youzer .youzer-sidebar{
  position:sticky!important;top:118px!important;
  border:1px solid var(--pfbm-border)!important;
  border-radius:24px!important;
  overflow:hidden!important;
  background:linear-gradient(180deg,rgba(13,26,39,.97),rgba(7,16,25,.98))!important;
  box-shadow:0 30px 80px rgba(0,0,0,.30)!important;
}
body.pfb-premium-member-account #youzer .yz-account-header,
body.pfb-premium-member-account #youzer .yz-account-settings-menu{
  border:0!important;border-radius:0!important;background:transparent!important;
  box-shadow:none!important;overflow:hidden!important;margin:0!important;
}
body.pfb-premium-member-account #youzer .yz-account-head{
  min-height:116px!important;
  padding:23px 22px!important;
  background:
    radial-gradient(circle at 18% 10%,rgba(47,134,216,.14),transparent 35%),
    linear-gradient(145deg,#111f2e 0%,#0a1520 100%)!important;
  border-bottom:1px solid var(--pfbm-border)!important;
}
body.pfb-premium-member-account #youzer .yz-account-img img{
  width:64px!important;height:64px!important;object-fit:cover!important;
  border:2px solid var(--pfbm-red)!important;border-radius:50%!important;
  box-shadow:0 0 0 5px rgba(223,38,49,.10),0 12px 26px rgba(0,0,0,.22)!important;
}
body.pfb-premium-member-account #youzer .yz-account-head-content h2{
  color:#fff!important;font-size:16px!important;line-height:1.2!important;
  letter-spacing:.01em!important;margin-bottom:5px!important;
}
body.pfb-premium-member-account #youzer .yz-account-head-content span{
  color:#91a5b7!important;font-size:12px!important;
}

/* 6 icônes de raccourcis : petites, aérées, sans pavés géants. */
body.pfb-premium-member-account #youzer .yz-head-buttons{
  padding:9px!important;background:#07111b!important;border:0!important;
  border-bottom:1px solid var(--pfbm-border)!important;
}
body.pfb-premium-member-account #youzer .yz-head-buttons-inner{
  display:flex!important;gap:7px!important;align-items:center!important;
}
body.pfb-premium-member-account #youzer .yz-button-item{
  width:auto!important;flex:1 1 0!important;padding:0!important;
}
body.pfb-premium-member-account #youzer .yz-button-item a{
  display:flex!important;align-items:center!important;justify-content:center!important;
  height:40px!important;min-height:40px!important;padding:0!important;
  background:#0e1d2b!important;color:#dce5ee!important;
  border:1px solid rgba(255,255,255,.075)!important;border-radius:10px!important;
  transition:transform .18s ease,border-color .18s ease,background .18s ease,color .18s ease,box-shadow .18s ease!important;
}
body.pfb-premium-member-account #youzer .yz-button-item a:hover{
  transform:translateY(-2px)!important;background:#14283a!important;color:#fff!important;
  border-color:rgba(228,187,97,.28)!important;box-shadow:0 9px 18px rgba(0,0,0,.16)!important;
}

/* Têtes d'accordéon. */
body.pfb-premium-member-account #youzer .yz-account-menu{
  min-height:74px!important;padding:15px 18px!important;
  background:transparent!important;border:0!important;border-bottom:1px solid var(--pfbm-border)!important;
  transition:background .18s ease!important;
}
body.pfb-premium-member-account #youzer .yz-account-menu:hover{background:rgba(255,255,255,.025)!important}
body.pfb-premium-member-account #youzer .yz-menu-icon{
  width:40px!important;height:40px!important;min-width:40px!important;border-radius:12px!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.10)!important;
}
body.pfb-premium-member-account #youzer .yz-menu-title{color:#fff!important;font-size:13px!important;font-weight:800!important}
body.pfb-premium-member-account #youzer .yz-menu-description{color:#8296a8!important;font-size:11px!important;margin-top:3px!important}
body.pfb-premium-member-account #youzer .yz-arrow-bottom{opacity:.65!important;transform:scale(.8)!important}

/* Sous-menu : entièrement sombre, compact et moderne. */
body.pfb-premium-member-account #youzer .yz-account-menus{
  margin:0!important;padding:8px!important;
  background:#07111b!important;border-bottom:1px solid var(--pfbm-border)!important;
}
body.pfb-premium-member-account #youzer .yz-account-menus ul{margin:0!important;padding:0!important;background:transparent!important}
body.pfb-premium-member-account #youzer .yz-account-menus li{
  position:relative!important;display:flex!important;align-items:center!important;
  min-height:42px!important;margin:2px 0!important;padding:0!important;
  background:transparent!important;border:0!important;border-radius:10px!important;overflow:hidden!important;
}
body.pfb-premium-member-account #youzer .yz-account-menus li>i{
  position:absolute!important;left:12px!important;top:50%!important;transform:translateY(-50%)!important;
  z-index:2!important;width:18px!important;text-align:center!important;
  color:#667b8e!important;font-size:12px!important;line-height:1!important;
}
body.pfb-premium-member-account #youzer .yz-account-menus li a{
  display:flex!important;align-items:center!important;
  width:100%!important;min-height:42px!important;height:auto!important;
  padding:9px 12px 9px 40px!important;margin:0!important;
  color:#aab8c5!important;background:transparent!important;border:0!important;border-radius:10px!important;
  font-size:12px!important;line-height:1.2!important;font-weight:650!important;
  transition:background .18s ease,color .18s ease,transform .18s ease,box-shadow .18s ease!important;
}
body.pfb-premium-member-account #youzer .yz-account-menus li:hover a{
  color:#fff!important;background:#102131!important;transform:translateX(2px)!important;
}
body.pfb-premium-member-account #youzer .yz-account-menus li:hover>i{color:var(--pfbm-gold)!important}
body.pfb-premium-member-account #youzer .yz-account-menus li a.yz-active-menu,
body.pfb-premium-member-account #youzer .yz-account-menus li.current a,
body.pfb-premium-member-account #youzer .yz-account-menus li.current-menu-item a{
  color:#fff!important;background:linear-gradient(90deg,rgba(223,38,49,.18),rgba(223,38,49,.045))!important;
  box-shadow:inset 3px 0 0 var(--pfbm-red)!important;
}
body.pfb-premium-member-account #youzer .yz-account-menus li:has(a.yz-active-menu)>i{color:#fff!important}

/* ------------------------------------------------------------------------
 * CONTENU PRINCIPAL
 * --------------------------------------------------------------------- */
body.pfb-premium-member-account #youzer .youzer-inner-content,
body.pfb-premium-member-account #youzer .yz-settings-form,
body.pfb-premium-member-account #youzer .settings-inner-content{
  border:0!important;background:transparent!important;border-radius:0!important;box-shadow:none!important;
}
body.pfb-premium-member-account #youzer .yz-settings-form,
body.pfb-premium-member-account #youzer .pfb-oaw-member-card{
  border:1px solid var(--pfbm-border)!important;border-radius:24px!important;overflow:hidden!important;
  background:
    linear-gradient(145deg,rgba(13,26,39,.985),rgba(7,17,27,.985))!important;
  box-shadow:0 30px 80px rgba(0,0,0,.27)!important;
}
body.pfb-premium-member-account #youzer .options-section-title{
  position:relative!important;min-height:82px!important;
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  padding:18px 22px!important;margin:0!important;
  background:linear-gradient(90deg,#0d1b29,#0a1420)!important;
  border:0!important;border-bottom:1px solid var(--pfbm-border)!important;
}
body.pfb-premium-member-account #youzer .options-section-title:before{
  content:"";position:absolute!important;left:22px!important;bottom:-1px!important;width:74px!important;height:2px!important;
  background:linear-gradient(90deg,var(--pfbm-red),var(--pfbm-gold))!important;
}
body.pfb-premium-member-account #youzer .options-section-title h2{
  color:#fff!important;font-size:18px!important;line-height:1.25!important;font-weight:850!important;margin:0!important;
}
body.pfb-premium-member-account #youzer .options-section-title h2 i{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  width:38px!important;height:38px!important;margin-right:12px!important;border-radius:10px!important;
  background:#fff!important;color:#566575!important;font-size:14px!important;
}
body.pfb-premium-member-account #youzer .youzer-section-content{
  background:transparent!important;padding:6px 0!important;
}
body.pfb-premium-member-account #youzer .uk-option-item{
  display:grid!important;grid-template-columns:minmax(180px,.72fr) minmax(240px,1fr)!important;
  gap:28px!important;align-items:center!important;
  min-height:96px!important;padding:20px 28px!important;margin:0!important;
  border:0!important;border-bottom:1px solid rgba(255,255,255,.065)!important;background:transparent!important;
}
body.pfb-premium-member-account #youzer .uk-option-item:last-child{border-bottom:0!important}
body.pfb-premium-member-account #youzer .option-title{
  color:#eef4f9!important;font-size:13px!important;font-weight:800!important;line-height:1.35!important;
}
body.pfb-premium-member-account #youzer .option-desc{
  color:#7f93a6!important;font-size:11px!important;line-height:1.5!important;margin-top:5px!important;
}
body.pfb-premium-member-account #youzer .option-content{min-width:0!important}
body.pfb-premium-member-account #youzer input[type=text],
body.pfb-premium-member-account #youzer input[type=password],
body.pfb-premium-member-account #youzer input[type=email],
body.pfb-premium-member-account #youzer input[type=url],
body.pfb-premium-member-account #youzer textarea,
body.pfb-premium-member-account #youzer select{
  width:100%!important;max-width:520px!important;
  min-height:44px!important;height:auto!important;padding:10px 13px!important;
  border:1px solid #2b3c4c!important;border-radius:11px!important;
  background:#07111b!important;color:#fff!important;box-shadow:none!important;
  font-size:13px!important;line-height:1.35!important;outline:none!important;
  transition:border-color .18s ease,box-shadow .18s ease,background .18s ease!important;
}
body.pfb-premium-member-account #youzer textarea{min-height:110px!important;resize:vertical!important}
body.pfb-premium-member-account #youzer input:focus,
body.pfb-premium-member-account #youzer textarea:focus,
body.pfb-premium-member-account #youzer select:focus{
  border-color:rgba(228,187,97,.72)!important;background:#091522!important;
  box-shadow:0 0 0 3px rgba(228,187,97,.095)!important;
}

/* Boutons : hauteur contenue, animation propre, pas de gros pavés. */
body.pfb-premium-member-account #youzer .yz-save-options,
body.pfb-premium-member-account #youzer button[type=submit]:not(.pfb-oaw-member-button){
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  min-height:40px!important;height:40px!important;padding:0 16px!important;
  border:1px solid rgba(255,255,255,.08)!important;border-radius:10px!important;
  background:linear-gradient(135deg,var(--pfbm-red),#c81722)!important;
  color:#fff!important;font-size:11px!important;line-height:1!important;font-weight:900!important;
  letter-spacing:.01em!important;box-shadow:0 8px 22px rgba(223,38,49,.18)!important;
  transition:transform .18s ease,box-shadow .18s ease,filter .18s ease!important;
}
body.pfb-premium-member-account #youzer .yz-save-options:hover,
body.pfb-premium-member-account #youzer button[type=submit]:not(.pfb-oaw-member-button):hover{
  transform:translateY(-2px)!important;filter:brightness(1.08)!important;
  box-shadow:0 12px 28px rgba(223,38,49,.25)!important;
}
body.pfb-premium-member-account #youzer .yza-form-actions{display:flex!important;align-items:center!important;margin:0!important}
body.pfb-premium-member-account #youzer .youzer-settings-actions{
  display:flex!important;align-items:center!important;padding:16px 22px!important;margin:0!important;
  background:#08131e!important;border-top:1px solid var(--pfbm-border)!important;
}

/* ------------------------------------------------------------------------
 * ONCE A WEEK DANS L'ESPACE MEMBRE
 * --------------------------------------------------------------------- */
body.pfb-premium-member-account .pfb-oaw-member-card{
  position:relative!important;padding:0!important;color:var(--pfbm-text)!important;
}
body.pfb-premium-member-account .pfb-oaw-member-card:before{
  content:"";position:absolute;inset:0 0 auto 0;height:3px;
  background:linear-gradient(90deg,#174d91 0%,#fff 31%,#df2631 63%,#e4bb61 100%);
}
body.pfb-premium-member-account .pfb-oaw-member-card:after{
  content:"OAW";position:absolute;right:-24px;top:24px;pointer-events:none;
  color:rgba(255,255,255,.023);font-size:150px;line-height:.75;font-weight:950;letter-spacing:-.08em;
}
body.pfb-premium-member-account .pfb-oaw-member-kicker{
  position:relative;z-index:2;display:block;padding:28px 30px 0!important;
  color:var(--pfbm-gold)!important;font-size:10px!important;letter-spacing:2.6px!important;text-transform:uppercase!important;font-weight:900!important;
}
body.pfb-premium-member-account .pfb-oaw-member-card h2{
  position:relative;z-index:2;color:#fff!important;font-size:clamp(34px,4vw,54px)!important;
  line-height:.95!important;letter-spacing:-.045em!important;margin:9px 30px 12px!important;font-weight:900!important;
}
body.pfb-premium-member-account .pfb-oaw-member-card>p{
  position:relative;z-index:2;color:#99aabb!important;line-height:1.65!important;font-size:14px!important;
  max-width:760px!important;margin:0 30px 22px!important;
}
body.pfb-premium-member-account .pfb-oaw-member-status{
  position:relative;z-index:2;display:flex!important;gap:13px!important;align-items:center!important;
  margin:0 30px 18px!important;padding:16px 17px!important;
  border:1px solid var(--pfbm-border)!important;border-radius:15px!important;
  background:linear-gradient(90deg,rgba(255,255,255,.027),rgba(255,255,255,.012))!important;
}
body.pfb-premium-member-account .pfb-oaw-member-status strong{display:block!important;color:#fff!important;font-size:14px!important}
body.pfb-premium-member-account .pfb-oaw-member-status small{display:block!important;color:#7890a4!important;margin-top:3px!important;font-size:11px!important}
body.pfb-premium-member-account .pfb-oaw-member-status-dot{
  width:11px!important;height:11px!important;min-width:11px!important;border-radius:50%!important;background:#53697b!important;
}
body.pfb-premium-member-account .pfb-oaw-member-status.is-active .pfb-oaw-member-status-dot{
  background:var(--pfbm-green)!important;box-shadow:0 0 0 5px rgba(52,198,122,.11),0 0 16px rgba(52,198,122,.25)!important;
}
body.pfb-premium-member-account .pfb-oaw-member-consent{
  position:relative;z-index:2;display:block!important;margin:0 30px 13px!important;
  color:#8fa2b4!important;line-height:1.55!important;font-size:11px!important;
}
body.pfb-premium-member-account .pfb-oaw-member-language{
  position:relative;z-index:2;display:flex!important;align-items:center!important;gap:12px!important;
  margin:0 30px 18px!important;padding:14px 16px!important;border:1px solid var(--pfbm-border)!important;
  border-radius:14px!important;background:#07121c!important;
}
body.pfb-premium-member-account .pfb-oaw-member-language>span{
  color:#fff!important;font-size:12px!important;font-weight:800!important;white-space:nowrap!important;
}
body.pfb-premium-member-account .pfb-oaw-member-language select{
  margin-left:auto!important;max-width:220px!important;min-height:40px!important;padding:7px 11px!important;
}
body.pfb-premium-member-account .pfb-oaw-member-button{
  position:relative;z-index:2;display:inline-flex!important;align-items:center!important;justify-content:center!important;
  min-height:42px!important;height:42px!important;margin:0 30px 28px!important;padding:0 18px!important;
  border:1px solid transparent!important;border-radius:11px!important;
  background:linear-gradient(135deg,#ed3340,#c81722)!important;color:#fff!important;
  font-size:12px!important;line-height:1!important;font-weight:900!important;cursor:pointer!important;
  box-shadow:0 10px 26px rgba(223,38,49,.22)!important;
  transition:transform .18s ease,box-shadow .18s ease,filter .18s ease!important;
}
body.pfb-premium-member-account .pfb-oaw-member-button:hover{
  transform:translateY(-2px)!important;filter:brightness(1.08)!important;
  box-shadow:0 14px 30px rgba(223,38,49,.29)!important;border-color:transparent!important;
}
body.pfb-premium-member-account .pfb-oaw-member-preferences{position:relative;z-index:2;padding-bottom:2px!important}
body.pfb-premium-member-account .pfb-oaw-member-form{margin:0!important;padding:0!important}
body.pfb-premium-member-account .pfb-oaw-member-form--preferences{margin-bottom:4px!important}
body.pfb-premium-member-account .pfb-oaw-member-button.is-save{
  background:#132536!important;border-color:#2c4355!important;box-shadow:none!important;color:#eaf0f5!important;
}
body.pfb-premium-member-account .pfb-oaw-member-button.is-save:hover{
  background:#193247!important;border-color:rgba(228,187,97,.30)!important;box-shadow:0 10px 22px rgba(0,0,0,.18)!important;
}
body.pfb-premium-member-account .pfb-oaw-member-button.is-secondary{
  background:#132536!important;border-color:#2b4153!important;box-shadow:none!important;
}
body.pfb-premium-member-account .pfb-oaw-member-button.is-secondary:hover{background:#193146!important;box-shadow:0 10px 22px rgba(0,0,0,.17)!important}
body.pfb-premium-member-account .pfb-oaw-member-footer{
  position:relative;z-index:2;margin:0!important;padding:18px 30px!important;
  border-top:1px solid var(--pfbm-border)!important;background:rgba(0,0,0,.12)!important;
}
body.pfb-premium-member-account .pfb-oaw-member-footer a{
  display:inline-flex!important;align-items:center!important;gap:7px!important;
  color:var(--pfbm-gold)!important;text-decoration:none!important;font-size:13px!important;font-weight:800!important;
  transition:color .18s ease,transform .18s ease!important;
}
body.pfb-premium-member-account .pfb-oaw-member-footer a:hover{color:#f5d98e!important;transform:translateX(3px)!important}
body.pfb-premium-member-account .pfb-oaw-member-notice{
  position:relative;z-index:2;padding:12px 14px!important;margin:0 30px 18px!important;
  background:#102333!important;color:#dce5ee!important;border:1px solid var(--pfbm-border)!important;border-radius:11px!important;
}
body.pfb-premium-member-account .pfb-oaw-member-notice.is-success{border-color:rgba(52,198,122,.34)!important;box-shadow:inset 3px 0 0 var(--pfbm-green)!important}

/* Registration opt-in (page claire possible) */
.pfb-oaw-register-optin{margin:16px 0;padding:15px 16px;border:1px solid #d7dde3;border-radius:12px;background:#f8fafc;color:#1b2732}

/* ------------------------------------------------------------------------
 * RESPONSIVE
 * --------------------------------------------------------------------- */
@media(max-width:1050px){
  body.pfb-premium-member-account #youzer .yz-page-main-content{
    grid-template-columns:290px minmax(0,1fr)!important;width:calc(100% - 30px)!important;gap:20px!important;
  }
}
@media(max-width:860px){
  body.pfb-premium-member-account #youzer .yz-page-main-content{
    grid-template-columns:1fr!important;width:min(760px,calc(100% - 26px))!important;
  }
  body.pfb-premium-member-account #youzer .youzer-sidebar{position:relative!important;top:auto!important}
  body.pfb-premium-member-account #youzer .uk-option-item{grid-template-columns:1fr!important;gap:10px!important;padding:18px!important}
}
@media(max-width:560px){
  body.pfb-premium-member-account #youzer.yz-account-page{padding:22px 0 58px!important}
  body.pfb-premium-member-account #youzer .yz-page-main-content{width:calc(100% - 18px)!important;gap:15px!important}
  body.pfb-premium-member-account #youzer .youzer-sidebar,
  body.pfb-premium-member-account #youzer .yz-settings-form,
  body.pfb-premium-member-account #youzer .pfb-oaw-member-card{border-radius:18px!important}
  body.pfb-premium-member-account #youzer .options-section-title{padding:15px!important;min-height:70px!important}
  body.pfb-premium-member-account #youzer .options-section-title h2{font-size:16px!important}
  body.pfb-premium-member-account #youzer .options-section-title h2 i{width:34px!important;height:34px!important}
  body.pfb-premium-member-account #youzer .yza-form-actions{display:none!important}
  body.pfb-premium-member-account .pfb-oaw-member-kicker{padding:23px 20px 0!important}
  body.pfb-premium-member-account .pfb-oaw-member-card h2{margin:8px 20px 10px!important;font-size:36px!important}
  body.pfb-premium-member-account .pfb-oaw-member-card>p,
  body.pfb-premium-member-account .pfb-oaw-member-status,
  body.pfb-premium-member-account .pfb-oaw-member-consent,
  body.pfb-premium-member-account .pfb-oaw-member-language{margin-left:20px!important;margin-right:20px!important}
  body.pfb-premium-member-account .pfb-oaw-member-language{align-items:flex-start!important;flex-direction:column!important}
  body.pfb-premium-member-account .pfb-oaw-member-language select{width:100%!important;max-width:none!important;margin-left:0!important}
  body.pfb-premium-member-account .pfb-oaw-member-button{margin-left:20px!important;margin-right:20px!important}
  body.pfb-premium-member-account .pfb-oaw-member-footer{padding:16px 20px!important}
}


/* ========================================================================
 * v1.12 · FINITION COMPTE MEMBRE
 * ====================================================================== */

/* La zone compte reste claire autour de cartes sombres : plus de bande noire
   parasite entre le contenu et le footer. */
body.pfb-premium-member-account #main{
  min-height:0!important;
  background:#eef1f4!important;
}
body.pfb-premium-member-account #youzer.yz-account-page{
  min-height:0!important;
  padding:38px 0 48px!important;
  background:
    radial-gradient(circle at 15% 18%,rgba(47,134,216,.055),transparent 26%),
    radial-gradient(circle at 84% 16%,rgba(223,38,49,.045),transparent 24%),
    #eef1f4!important;
}
body.pfb-premium-member-account #youzer.yz-account-page:before{display:none!important}
body.pfb-premium-member-account #main>.clear,
body.pfb-premium-member-account #youzer+.clear{height:0!important;min-height:0!important;margin:0!important;padding:0!important;background:transparent!important}

/* Le menu et le contenu commencent exactement sur la même ligne. */
body.pfb-premium-member-account #youzer .yz-page-main-content{
  align-items:start!important;
}
body.pfb-premium-member-account #youzer .youzer-sidebar,
body.pfb-premium-member-account #youzer .youzer-main-content{
  align-self:start!important;
  margin-top:0!important;
}

/* Avatar : neutralisation des anciens anneaux/pseudo-éléments Youzer. */
body.pfb-premium-member-account #youzer .yz-account-img,
body.pfb-premium-member-account #youzer .yz-account-img:before,
body.pfb-premium-member-account #youzer .yz-account-img:after,
body.pfb-premium-member-account #youzer .yz-account-img img:before,
body.pfb-premium-member-account #youzer .yz-account-img img:after{
  border:0!important;background:transparent!important;box-shadow:none!important;
}
body.pfb-premium-member-account #youzer .yz-account-img:before,
body.pfb-premium-member-account #youzer .yz-account-img:after{display:none!important}
body.pfb-premium-member-account #youzer .yz-account-img img{
  border:2px solid var(--pfbm-red)!important;
  box-shadow:0 0 0 4px rgba(223,38,49,.10),0 10px 22px rgba(0,0,0,.20)!important;
}

/* Entêtes de catégories : icône discrète À CÔTÉ du texte, palette PFB. */
body.pfb-premium-member-account #youzer .yz-account-menu{
  display:grid!important;
  grid-template-columns:38px minmax(0,1fr) 18px!important;
  column-gap:12px!important;
  align-items:center!important;
  padding:14px 16px!important;
}
body.pfb-premium-member-account #youzer .yz-menu-icon{
  position:static!important;float:none!important;margin:0!important;
  width:36px!important;height:36px!important;min-width:36px!important;
  border-radius:11px!important;
  background:#102131!important;color:var(--pfbm-gold)!important;
  box-shadow:inset 0 0 0 1px rgba(228,187,97,.18)!important;
}
body.pfb-premium-member-account #youzer .yz-menu-icon i{
  color:var(--pfbm-gold)!important;font-size:14px!important;
}
body.pfb-premium-member-account #youzer .yz-menu-head{
  position:static!important;float:none!important;width:auto!important;margin:0!important;padding:0!important;
}
body.pfb-premium-member-account #youzer .yz-arrow-bottom{
  position:static!important;float:none!important;margin:0!important;justify-self:end!important;
}

/* Contenu : contraste lisible sur toutes les pages natives Youzer. */
body.pfb-premium-member-account #youzer .youzer-main-content,
body.pfb-premium-member-account #youzer .settings-inner-content,
body.pfb-premium-member-account #youzer .youzer-inner-content,
body.pfb-premium-member-account #youzer .youzer-section-content{
  color:#cbd7e2!important;
}
body.pfb-premium-member-account #youzer .youzer-section-content p,
body.pfb-premium-member-account #youzer .youzer-section-content li,
body.pfb-premium-member-account #youzer .youzer-section-content label,
body.pfb-premium-member-account #youzer .youzer-section-content span:not(.yz-switch):not(.yz-toggle),
body.pfb-premium-member-account #youzer .settings-inner-content p,
body.pfb-premium-member-account #youzer .settings-inner-content li{
  color:#b9c8d5!important;
  line-height:1.62!important;
}
body.pfb-premium-member-account #youzer .youzer-section-content strong,
body.pfb-premium-member-account #youzer .settings-inner-content strong{color:#fff!important}

/* Export de données : respiration et CTA décollé du bord. */
body.pfb-premium-member-account #youzer .youzer-section-content{
  padding-bottom:24px!important;
}
body.pfb-premium-member-account #youzer .youzer-settings-actions{
  min-height:70px!important;
  padding:15px 22px!important;
}
body.pfb-premium-member-account #youzer .youzer-settings-actions .yz-save-options,
body.pfb-premium-member-account #youzer .yz-save-options{
  min-height:40px!important;height:40px!important;
  padding:0 18px!important;border-radius:10px!important;
}

/* Toggles : état lisible au premier regard. */
body.pfb-premium-member-account #youzer input[type="checkbox"].pfb-member-toggle,
body.pfb-premium-member-account #youzer .pfb-member-toggle input[type="checkbox"]{
  appearance:none!important;-webkit-appearance:none!important;
  width:46px!important;height:24px!important;min-width:46px!important;
  border:1px solid #536979!important;border-radius:999px!important;
  background:#536979!important;position:relative!important;margin:0!important;
  box-shadow:inset 0 1px 3px rgba(0,0,0,.25)!important;
  transition:.2s ease!important;cursor:pointer!important;
}
body.pfb-premium-member-account #youzer input[type="checkbox"].pfb-member-toggle:before,
body.pfb-premium-member-account #youzer .pfb-member-toggle input[type="checkbox"]:before{
  content:""!important;position:absolute!important;left:3px!important;top:3px!important;
  width:16px!important;height:16px!important;border-radius:50%!important;background:#fff!important;
  transform:none!important;margin:0!important;transition:.2s ease!important;
}
body.pfb-premium-member-account #youzer input[type="checkbox"].pfb-member-toggle:checked,
body.pfb-premium-member-account #youzer .pfb-member-toggle input[type="checkbox"]:checked{
  background:var(--pfbm-red)!important;border-color:var(--pfbm-red)!important;
}
body.pfb-premium-member-account #youzer input[type="checkbox"].pfb-member-toggle:checked:before,
body.pfb-premium-member-account #youzer .pfb-member-toggle input[type="checkbox"]:checked:before{
  transform:translateX(22px)!important;
}
body.pfb-premium-member-account .pfb-toggle-state{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  min-width:74px!important;height:26px!important;padding:0 9px!important;margin-left:12px!important;
  border-radius:999px!important;border:1px solid rgba(255,255,255,.11)!important;
  background:#101f2d!important;color:#a7b7c5!important;
  font-size:10px!important;font-weight:900!important;letter-spacing:.08em!important;text-transform:uppercase!important;
}
body.pfb-premium-member-account .pfb-toggle-state.is-on{
  background:rgba(223,38,49,.13)!important;color:#fff!important;border-color:rgba(223,38,49,.45)!important;
}

/* Select OAW : même langage visuel que les champs du compte. */
body.pfb-premium-member-account .pfb-oaw-member-language select{
  background:#07111b!important;color:#f8fafc!important;border:1px solid #31485b!important;
  border-radius:10px!important;box-shadow:none!important;
}

/* Le primaire reste blanc, y compris lorsque Rosie passe en sticky/fixed. */
body.pfb-premium-member-account #header a,
body.pfb-premium-member-account #header .menu-item>a,
body.pfb-premium-member-account #header nav a,
body.pfb-premium-member-account .sticky-header a,
body.pfb-premium-member-account .is-sticky a,
body.pfb-premium-member-account .stuck a,
body.pfb-premium-member-account .header-fixed a,
body.pfb-premium-member-account #header.sticky a{
  color:#fff!important;
}
body.pfb-premium-member-account #header a:hover,
body.pfb-premium-member-account #header .menu-item>a:hover,
body.pfb-premium-member-account .sticky-header a:hover,
body.pfb-premium-member-account .is-sticky a:hover,
body.pfb-premium-member-account .stuck a:hover,
body.pfb-premium-member-account .header-fixed a:hover{
  color:var(--pfbm-red2)!important;
}
body.pfb-premium-member-account #header .menu-toggle span,
body.pfb-premium-member-account #header .hamburger span,
body.pfb-premium-member-account #header [class*="menu-button"] span{
  background:#fff!important;border-color:#fff!important;
}

/* Anciennes pages Profil/Gadgets : cartes et champs homogènes. */
body.pfb-premium-member-account #youzer .yz-settings-form,
body.pfb-premium-member-account #youzer .yz-profile-settings,
body.pfb-premium-member-account #youzer .yz-widget-settings,
body.pfb-premium-member-account #youzer form[class*="settings"]{
  border-radius:20px!important;overflow:hidden!important;
  border:1px solid var(--pfbm-border)!important;
  background:linear-gradient(180deg,#0b1926,#08131e)!important;
  box-shadow:0 22px 60px rgba(0,0,0,.18)!important;
}

/* OAW actif : préférences vraiment modifiables, CTA secondaires propres. */
body.pfb-premium-member-account .pfb-oaw-member-form--preferences{
  padding:0 0 4px!important;
}
body.pfb-premium-member-account .pfb-oaw-member-button.is-save{
  background:#173149!important;border-color:#31506a!important;color:#fff!important;
}
body.pfb-premium-member-account .pfb-oaw-member-button.is-save:hover{
  background:#1e405d!important;border-color:#4d6f89!important;
}

/* Mobile : sidebar non sticky et densité maîtrisée. */
@media(max-width:860px){
  body.pfb-premium-member-account #youzer.yz-account-page{padding-top:22px!important}
  body.pfb-premium-member-account #youzer .youzer-sidebar{position:relative!important;top:auto!important}
}

/* ========================================================================
 * v1.13.0 — finitions espace membre / réglages
 * ===================================================================== */

/* Alignement absolu : le bloc de navigation commence sur la même ligne que
   le contenu. Le sticky Youzer est volontairement neutralisé ici. */
body.pfb-premium-member-account #youzer .youzer-sidebar,
body.pfb-premium-member-account #youzer .yz-settings-sidebar{
  position:relative!important;
  top:auto!important;
  bottom:auto!important;
  left:auto!important;
  right:auto!important;
  transform:none!important;
  align-self:start!important;
  margin:0!important;
  padding:0!important;
}
body.pfb-premium-member-account #youzer .yz-page-main-content{
  align-items:start!important;
}
body.pfb-premium-member-account #youzer .yz-account-header{
  margin:0!important;
  padding:0!important;
  transform:none!important;
}

/* Icônes de rubriques : palette PFB sobre, plus de vert/orange/violet. */
body.pfb-premium-member-account #youzer .yz-account-menu .yz-menu-icon,
body.pfb-premium-member-account #youzer .yz-account-menu [class*="yz-menu-icon"]{
  width:36px!important;height:36px!important;min-width:36px!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  background:#07111b!important;
  background-image:none!important;
  color:#fff!important;
  border:1px solid rgba(255,255,255,.13)!important;
  border-radius:10px!important;
  box-shadow:0 8px 18px rgba(0,0,0,.18)!important;
}
body.pfb-premium-member-account #youzer .yz-account-menu .yz-menu-icon i,
body.pfb-premium-member-account #youzer .yz-account-menu [class*="yz-menu-icon"] i{
  color:#fff!important;background:transparent!important;
  font-size:13px!important;
}
body.pfb-premium-member-account #youzer .yz-account-menu:hover .yz-menu-icon{
  border-color:rgba(223,38,49,.50)!important;
  box-shadow:inset 3px 0 0 #df2631,0 8px 18px rgba(0,0,0,.20)!important;
}

/* Toggles Youzer : l'ancien faux interrupteur est masqué ; le vrai input est
   rendu visible et accompagné d'un libellé ON/OFF impossible à confondre. */
body.pfb-premium-member-account #youzer .ukai-checkbox-item{
  display:flex!important;align-items:center!important;justify-content:flex-end!important;
  gap:10px!important;min-height:38px!important;
}
body.pfb-premium-member-account #youzer .ukai-checkbox-item > label.pfb-toggle-legacy-label{
  display:none!important;
}
body.pfb-premium-member-account #youzer input[type="checkbox"].pfb-member-toggle{
  display:inline-block!important;visibility:visible!important;opacity:1!important;
  position:relative!important;left:auto!important;right:auto!important;top:auto!important;
  clip:auto!important;clip-path:none!important;pointer-events:auto!important;
  width:48px!important;height:26px!important;min-width:48px!important;
  margin:0!important;padding:0!important;
  appearance:none!important;-webkit-appearance:none!important;
  background:#344859!important;border:1px solid #647889!important;border-radius:999px!important;
  outline:none!important;box-shadow:inset 0 1px 4px rgba(0,0,0,.34)!important;
}
body.pfb-premium-member-account #youzer input[type="checkbox"].pfb-member-toggle:before{
  content:""!important;display:block!important;position:absolute!important;
  left:4px!important;top:4px!important;width:16px!important;height:16px!important;
  margin:0!important;border:0!important;border-radius:50%!important;
  background:#fff!important;box-shadow:0 2px 6px rgba(0,0,0,.28)!important;
  transform:translateX(0)!important;transition:transform .18s ease!important;
}
body.pfb-premium-member-account #youzer input[type="checkbox"].pfb-member-toggle:checked{
  background:#df2631!important;border-color:#f14a54!important;
}
body.pfb-premium-member-account #youzer input[type="checkbox"].pfb-member-toggle:checked:before{
  transform:translateX(22px)!important;
}
body.pfb-premium-member-account .pfb-toggle-state{
  min-width:96px!important;height:28px!important;margin:0!important;padding:0 10px!important;
  border:1px solid #44596b!important;border-radius:999px!important;
  background:#0c1a27!important;color:#aebdca!important;
  font-size:10px!important;font-weight:900!important;letter-spacing:.055em!important;
}
body.pfb-premium-member-account .pfb-toggle-state.is-on{
  background:rgba(223,38,49,.14)!important;color:#fff!important;border-color:rgba(223,38,49,.55)!important;
}

/* Menu hamburger/Sidr : override générique pour les pages membre. Il ne dépend
   plus du nom exact du conteneur de menu généré par Rosie/Youzer. */
body.pfb-premium-member-account #sidr.sidr,
body.pfb-premium-member-account #sidr .sidr-desktop,
body.pfb-premium-member-account #sidr .sidr-mobile,
body.pfb-premium-member-account #sidr ul,
body.pfb-premium-member-account #sidr li{
  background-color:#04070b!important;
  color:#fff!important;
}
body.pfb-premium-member-account #sidr a,
body.pfb-premium-member-account #sidr li>a,
body.pfb-premium-member-account #sidr ul li a,
body.pfb-premium-member-account #sidr .sub-menu a{
  color:#f7f8fa!important;
  background-color:transparent!important;
  text-shadow:none!important;
}
body.pfb-premium-member-account #sidr li>a:hover,
body.pfb-premium-member-account #sidr li>a:focus,
body.pfb-premium-member-account #sidr li.current-menu-item>a,
body.pfb-premium-member-account #sidr li.current-menu-ancestor>a{
  color:#fff!important;
  background:linear-gradient(90deg,rgba(223,38,49,.20),rgba(223,38,49,.04))!important;
  border-color:rgba(223,38,49,.30)!important;
  box-shadow:inset 3px 0 0 #df2631!important;
}
body.pfb-premium-member-account #sidr a:hover *,
body.pfb-premium-member-account #sidr a:focus *{
  color:#fff!important;
}
body.pfb-premium-member-account #sidr .yz-primary-nav-settings,
body.pfb-premium-member-account #sidr .yz-primary-nav-settings *{
  color:#fff!important;
  background-color:transparent!important;
}
body.pfb-premium-member-account #sidr-menu .lines,
body.pfb-premium-member-account #sidr-menu .lines:before,
body.pfb-premium-member-account #sidr-menu .lines:after,
body.pfb-premium-member-account .lines-button .lines,
body.pfb-premium-member-account .lines-button .lines:before,
body.pfb-premium-member-account .lines-button .lines:after{
  background:#fff!important;
  border-color:#fff!important;
}
body.pfb-premium-member-account #sidr-menu:hover .lines,
body.pfb-premium-member-account #sidr-menu:hover .lines:before,
body.pfb-premium-member-account #sidr-menu:hover .lines:after{
  background:#df2631!important;
}

/* Évite les anciens aplats/bandes de Youzer juste avant le footer. */
body.pfb-premium-member-account #youzer,
body.pfb-premium-member-account #youzer.yz-account-page,
body.pfb-premium-member-account #main{
  margin-bottom:0!important;
  border-bottom:0!important;
}
body.pfb-premium-member-account #youzer .yz-page-main-content:after,
body.pfb-premium-member-account #youzer .yz-page-main-content:before{
  max-height:0!important;
}


/* ========================================================================
 * v1.14.0 — finitions Youzer complètes
 * Export RGPD, profils, visibilité, interrupteurs et gadgets homogénéisés.
 * ===================================================================== */

/* Tous les champs natifs BuddyPress/Youzer utilisent enfin la même palette. */
body.pfb-premium-member-account #youzer input[type="number"],
body.pfb-premium-member-account #youzer input[type="tel"],
body.pfb-premium-member-account #youzer input[type="date"],
body.pfb-premium-member-account #youzer input[type="time"],
body.pfb-premium-member-account #youzer input[type="datetime-local"]{
  width:100%!important;max-width:520px!important;min-height:44px!important;
  padding:10px 13px!important;border:1px solid #2b3c4c!important;border-radius:11px!important;
  background:#07111b!important;color:#fff!important;box-shadow:none!important;
  font-size:13px!important;line-height:1.35!important;outline:none!important;
}
body.pfb-premium-member-account #youzer input[type="number"]:focus,
body.pfb-premium-member-account #youzer input[type="tel"]:focus,
body.pfb-premium-member-account #youzer input[type="date"]:focus{
  border-color:rgba(228,187,97,.72)!important;background:#091522!important;
  box-shadow:0 0 0 3px rgba(228,187,97,.095)!important;
}
body.pfb-premium-member-account #youzer input::placeholder,
body.pfb-premium-member-account #youzer textarea::placeholder{color:#718598!important;opacity:1!important;text-align:left!important}

/* Édition du profil : suppression des bandes blanches et des vieux cyan/bleu. */
body.pfb-premium-member-account #youzer .editfield{
  margin:0!important;padding:24px 28px!important;
  background:transparent!important;border:0!important;border-bottom:1px solid rgba(255,255,255,.075)!important;
}
body.pfb-premium-member-account #youzer .editfield:last-of-type{border-bottom:0!important}
body.pfb-premium-member-account #youzer .editfield>fieldset{margin:0!important;padding:0!important;border:0!important;min-width:0!important}
body.pfb-premium-member-account #youzer .editfield label,
body.pfb-premium-member-account #youzer .editfield legend{color:#eef4f9!important;font-weight:800!important}
body.pfb-premium-member-account #youzer .editfield input:not([type=radio]):not([type=checkbox]),
body.pfb-premium-member-account #youzer .editfield textarea,
body.pfb-premium-member-account #youzer .editfield select{
  background:#07111b!important;color:#fff!important;border:1px solid #2b3c4c!important;
  border-radius:11px!important;box-shadow:none!important;min-height:44px!important;
}
body.pfb-premium-member-account #youzer .editfield .nice-select,
body.pfb-premium-member-account #youzer .nice-select{
  background:#07111b!important;color:#fff!important;border:1px solid #2b3c4c!important;border-radius:11px!important;
}
body.pfb-premium-member-account #youzer .nice-select .current{color:#fff!important}
body.pfb-premium-member-account #youzer .nice-select .list{background:#0a1724!important;border:1px solid #26394a!important;box-shadow:0 20px 46px rgba(0,0,0,.30)!important}
body.pfb-premium-member-account #youzer .nice-select .option{color:#cbd7e2!important;background:transparent!important}
body.pfb-premium-member-account #youzer .nice-select .option:hover,
body.pfb-premium-member-account #youzer .nice-select .option.focus,
body.pfb-premium-member-account #youzer .nice-select .option.selected{color:#fff!important;background:#132536!important}

/* Badges « obligatoire » sobres et lisibles. */
body.pfb-premium-member-account #youzer .bp-required-field-label,
body.pfb-premium-member-account #youzer .bp-required-label,
body.pfb-premium-member-account #youzer .required,
body.pfb-premium-member-account #youzer label .required{
  display:inline-flex!important;align-items:center!important;min-height:20px!important;
  padding:2px 7px!important;margin-left:7px!important;border-radius:999px!important;
  border:1px solid rgba(228,187,97,.28)!important;background:rgba(228,187,97,.09)!important;
  color:#e9c97f!important;font-size:9px!important;font-weight:900!important;letter-spacing:.04em!important;text-transform:uppercase!important;
}

/* Visibilité des champs : fini les grands pavés blancs et le bouton turquoise. */
body.pfb-premium-member-account #youzer .editfield .field-visibility-settings-toggle,
body.pfb-premium-member-account #youzer .editfield .field-visibility-settings-notoggle{
  display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;
  margin:14px 0 0!important;padding:12px 14px!important;
  background:#091725!important;border:1px solid rgba(255,255,255,.09)!important;border-radius:12px!important;
  color:#8fa2b4!important;box-shadow:none!important;
}
body.pfb-premium-member-account #youzer .editfield .field-visibility-settings-toggle>span,
body.pfb-premium-member-account #youzer .editfield .field-visibility-settings-notoggle{color:#8fa2b4!important}
body.pfb-premium-member-account #youzer .editfield .current-visibility-level{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  min-height:26px!important;padding:4px 10px!important;margin-left:7px!important;
  border-radius:999px!important;border:1px solid rgba(228,187,97,.26)!important;
  background:rgba(228,187,97,.08)!important;color:#f2d58f!important;
  font-size:10px!important;font-weight:900!important;line-height:1!important;
}
body.pfb-premium-member-account #youzer .editfield .visibility-toggle-link,
body.pfb-premium-member-account #youzer .editfield .field-visibility-settings-close,
body.pfb-premium-member-account #youzer .editfield .clear-value{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;
  min-height:34px!important;padding:0 12px!important;margin:0!important;
  border:1px solid #354b5e!important;border-radius:9px!important;
  background:#132536!important;background-image:none!important;color:#fff!important;
  font-size:10px!important;font-weight:900!important;line-height:1!important;text-transform:uppercase!important;box-shadow:none!important;
}
body.pfb-premium-member-account #youzer .editfield .visibility-toggle-link:hover,
body.pfb-premium-member-account #youzer .editfield .field-visibility-settings-close:hover{
  background:#1b3143!important;border-color:rgba(228,187,97,.36)!important;color:#fff!important;
}
body.pfb-premium-member-account #youzer .editfield .field-visibility-settings{
  margin:10px 0 0!important;padding:16px!important;border:1px solid #2b3f51!important;border-radius:12px!important;
  background:#07111b!important;color:#dce5ee!important;box-shadow:0 14px 34px rgba(0,0,0,.18)!important;
}
body.pfb-premium-member-account #youzer .editfield .field-visibility-settings fieldset{border:0!important;margin:0 0 10px!important;padding:0!important}
body.pfb-premium-member-account #youzer .editfield .field-visibility-settings legend{color:#fff!important;margin-bottom:10px!important}
body.pfb-premium-member-account #youzer .editfield .field-visibility-settings label{color:#cbd7e2!important}
body.pfb-premium-member-account #youzer .editfield .yz_field_indication{background:#283b4c!important;border:1px solid #52687a!important}
body.pfb-premium-member-account #youzer .editfield .yz-label-radio input:checked~.yz_field_indication{background:#df2631!important;border-color:#f14a54!important}

/* Export RGPD : explication claire, liste en cartes et CTA centré. */
body.pfb-premium-member-account #youzer #yz-export-data .youzer-section-content{
  padding:26px 28px 30px!important;background:transparent!important;border:0!important;
}
body.pfb-premium-member-account #youzer #yz-export-data .youzer-section-content>h2:first-child,
body.pfb-premium-member-account #youzer #yz-export-data .youzer-section-content>p:first-of-type{display:none!important}
body.pfb-premium-member-account #youzer #yz-export-data .pfb-export-guide{
  margin:0 0 22px!important;padding:20px!important;border:1px solid rgba(255,255,255,.09)!important;border-radius:16px!important;
  background:linear-gradient(145deg,#102131,#0a1622)!important;box-shadow:0 16px 38px rgba(0,0,0,.17)!important;
}
body.pfb-premium-member-account #youzer #yz-export-data .pfb-export-guide strong{display:block!important;color:#fff!important;font-size:16px!important;margin-bottom:7px!important}
body.pfb-premium-member-account #youzer #yz-export-data .pfb-export-guide p{margin:0!important;color:#9fb0bf!important;font-size:12px!important;line-height:1.65!important}
body.pfb-premium-member-account #youzer #yz-export-data .pfb-export-guide-badges{display:flex!important;flex-wrap:wrap!important;gap:8px!important;margin-top:14px!important}
body.pfb-premium-member-account #youzer #yz-export-data .pfb-export-guide-badges span{display:inline-flex!important;padding:6px 9px!important;border-radius:999px!important;background:#07111b!important;border:1px solid #2a3d4e!important;color:#c9d5df!important;font-size:10px!important;font-weight:800!important}
body.pfb-premium-member-account #youzer #yz-export-data .youzer-section-content ul{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px 10px!important;
  margin:0 0 24px!important;padding:0!important;border:0!important;border-left:0!important;list-style:none!important;
}
body.pfb-premium-member-account #youzer #yz-export-data .youzer-section-content ul li{
  position:relative!important;margin:0!important;padding:10px 12px 10px 34px!important;border:1px solid rgba(255,255,255,.075)!important;border-radius:10px!important;
  background:#091725!important;color:#c6d4df!important;font-size:11px!important;line-height:1.45!important;
}
body.pfb-premium-member-account #youzer #yz-export-data .youzer-section-content ul li:before{
  content:"✓"!important;position:absolute!important;left:12px!important;top:10px!important;color:#e4bb61!important;font-weight:900!important;
}
body.pfb-premium-member-account #youzer #yz-export-data .pfb-export-action-copy{
  margin:18px auto 12px!important;max-width:680px!important;text-align:center!important;color:#92a5b6!important;font-size:12px!important;
}
body.pfb-premium-member-account #youzer #bp-data-export{
  display:flex!important;justify-content:center!important;align-items:center!important;margin:0!important;padding:4px 0 6px!important;
}
body.pfb-premium-member-account #youzer #bp-data-export button{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;
  min-height:42px!important;margin:0 auto!important;padding:0 18px!important;border-radius:10px!important;
  border:1px solid rgba(255,255,255,.08)!important;background:linear-gradient(135deg,#df2631,#c81722)!important;
  color:#fff!important;font-size:11px!important;font-weight:900!important;box-shadow:0 10px 24px rgba(223,38,49,.20)!important;
}
body.pfb-premium-member-account #youzer #bp-data-export button:hover{transform:translateY(-1px)!important;filter:brightness(1.07)!important}

/* Interrupteurs : le texte d'état est placé à côté du switch, pas derrière son label natif. */
body.pfb-premium-member-account #youzer .ukai-checkbox-item.pfb-toggle-host{
  display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:11px!important;min-height:42px!important;
}
body.pfb-premium-member-account #youzer .ukai-checkbox-item.pfb-toggle-host>label[for]{display:none!important}
body.pfb-premium-member-account #youzer input[type="checkbox"].pfb-member-toggle{
  display:inline-block!important;visibility:visible!important;opacity:1!important;position:relative!important;
  width:50px!important;height:28px!important;min-width:50px!important;margin:0!important;padding:0!important;
  appearance:none!important;-webkit-appearance:none!important;border-radius:999px!important;
  background:#283b4c!important;border:1px solid #5c7182!important;box-shadow:inset 0 1px 4px rgba(0,0,0,.32)!important;cursor:pointer!important;
}
body.pfb-premium-member-account #youzer input[type="checkbox"].pfb-member-toggle:before{
  content:""!important;position:absolute!important;left:4px!important;top:4px!important;width:18px!important;height:18px!important;
  border-radius:50%!important;background:#fff!important;box-shadow:0 2px 7px rgba(0,0,0,.28)!important;transform:translateX(0)!important;transition:transform .18s ease!important;
}
body.pfb-premium-member-account #youzer input[type="checkbox"].pfb-member-toggle:checked{background:#df2631!important;border-color:#f14a54!important}
body.pfb-premium-member-account #youzer input[type="checkbox"].pfb-member-toggle:checked:before{transform:translateX(22px)!important}
body.pfb-premium-member-account #youzer .pfb-toggle-state{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:116px!important;height:30px!important;
  margin:0!important;padding:0 11px!important;border-radius:999px!important;border:1px solid #42586a!important;background:#0b1824!important;
  color:#9badbc!important;font-size:9px!important;font-weight:950!important;letter-spacing:.06em!important;text-transform:uppercase!important;white-space:nowrap!important;
}
body.pfb-premium-member-account #youzer .pfb-toggle-state.is-on{border-color:rgba(228,187,97,.42)!important;background:rgba(228,187,97,.085)!important;color:#f3d993!important}

/* Widgets : Skill/Portfolio/Diaporama/Services/etc. débarrassés du vieux blanc/cyan. */
body.pfb-premium-member-account #youzer .yz-wg-opts,
body.pfb-premium-member-account #youzer .yz-wg-container,
body.pfb-premium-member-account #youzer .yz-wg-item,
body.pfb-premium-member-account #youzer .yz-wg-skills-item,
body.pfb-premium-member-account #youzer .yz-wg-portfolio-item{
  background:#091725!important;color:#dce5ee!important;border-color:rgba(255,255,255,.09)!important;box-shadow:none!important;
}
body.pfb-premium-member-account #youzer .yz-wg-item{border-radius:14px!important;overflow:hidden!important}
body.pfb-premium-member-account #youzer .yz-wg-skills-options .yz-wg-item,
body.pfb-premium-member-account #youzer .yz-wg-services-options .yz-wg-item{border-left:3px solid #df2631!important;border-top:0!important}
body.pfb-premium-member-account #youzer .yza-item-button,
body.pfb-premium-member-account #youzer .yz-upload-photo,
body.pfb-premium-member-account #youzer .uk-upload-button,
body.pfb-premium-member-account #youzer .yz-option-item button{
  background:#132536!important;background-image:none!important;border:1px solid #354b5e!important;color:#fff!important;border-radius:9px!important;box-shadow:none!important;
}
body.pfb-premium-member-account #youzer .yza-item-button:hover,
body.pfb-premium-member-account #youzer .yz-upload-photo:hover,
body.pfb-premium-member-account #youzer .uk-upload-button:hover{background:#1a3144!important;border-color:rgba(228,187,97,.34)!important;color:#fff!important}
body.pfb-premium-member-account #youzer .yz-delete-item{background:#162838!important;color:#cbd7e2!important}
body.pfb-premium-member-account #youzer .yz-delete-item:hover{background:#df2631!important;color:#fff!important}
body.pfb-premium-member-account #youzer .wp-picker-container,
body.pfb-premium-member-account #youzer .wp-picker-holder{color:#dce5ee!important}


.pfb-oaw-legal-note{margin:34px 0;padding:22px 24px;border:1px solid rgba(255,255,255,.12);border-radius:16px;background:#0b1723;color:#dce5ee}
.pfb-oaw-legal-note h2{color:#fff!important;margin:0 0 10px!important}.pfb-oaw-legal-note p{color:#aebdca!important;line-height:1.65!important}

@media(max-width:760px){
  body.pfb-premium-member-account #youzer #yz-export-data .youzer-section-content ul{grid-template-columns:1fr!important}
  body.pfb-premium-member-account #youzer .editfield .field-visibility-settings-toggle,
  body.pfb-premium-member-account #youzer .editfield .field-visibility-settings-notoggle{align-items:flex-start!important;flex-direction:column!important}
}

/* v1.14.0b — gadgets Youzer : fin des cartes blanches/cyan héritées. */
body.pfb-premium-member-account #youzer .yz-wg-opts{
  background:transparent!important;padding:24px!important;
}
body.pfb-premium-member-account #youzer .yz-wg-skills-options .yz-wg-item,
body.pfb-premium-member-account #youzer .yz-wg-services-options .yz-wg-item,
body.pfb-premium-member-account #youzer .yz-cphoto-options .yz-wg-item,
body.pfb-premium-member-account #youzer .yz-wg-opts>.yz-wg-item{
  margin:0 0 16px!important;padding:0!important;border:1px solid rgba(255,255,255,.09)!important;
  border-left:3px solid #df2631!important;border-radius:14px!important;background:#0a1724!important;
  box-shadow:0 12px 32px rgba(0,0,0,.13)!important;overflow:hidden!important;
}
body.pfb-premium-member-account #youzer .yz-wg-skills-options .yz-wg-item .uk-option-item,
body.pfb-premium-member-account #youzer .yz-wg-services-options .yz-wg-item .uk-option-item,
body.pfb-premium-member-account #youzer .yz-wg-item .uk-option-item{
  background:transparent!important;border:0!important;border-right:1px solid rgba(255,255,255,.065)!important;
  color:#dce5ee!important;
}
body.pfb-premium-member-account #youzer .yz-wg-item .uk-option-item:last-of-type{border-right:0!important}
body.pfb-premium-member-account #youzer .yz-wg-item .yz-option-inner{padding:20px!important}
body.pfb-premium-member-account #youzer .yz-wg-item .option-infos label{
  color:#f3f6f8!important;font-size:12px!important;font-weight:850!important;
}
body.pfb-premium-member-account #youzer .yz-wg-item .option-desc{
  color:#7f94a6!important;font-size:10px!important;line-height:1.45!important;margin-top:5px!important;
}
body.pfb-premium-member-account #youzer .yz-wg-item .option-content input:not([type=radio]):not([type=checkbox]),
body.pfb-premium-member-account #youzer .yz-wg-item .option-content textarea,
body.pfb-premium-member-account #youzer .yz-wg-item .option-content select{
  background:#06101a!important;border:1px solid #2c4052!important;color:#fff!important;border-radius:10px!important;box-shadow:none!important;
}
body.pfb-premium-member-account #youzer .wp-picker-container .wp-color-result,
body.pfb-premium-member-account #youzer .wp-picker-container .wp-color-result.button,
body.pfb-premium-member-account #youzer .youzer-main-content .wp-color-result,
body.pfb-premium-member-account #youzer .youzer-main-content .wp-color-result.button{
  background-color:#07111b!important;border:1px solid #2c4052!important;color:#dce5ee!important;box-shadow:none!important;border-radius:9px!important;
}
body.pfb-premium-member-account #youzer .wp-color-result-text{
  color:#dce5ee!important;border-left-color:#2c4052!important;background:#10202e!important;
}
body.pfb-premium-member-account #youzer .yz-wg-opts+.youzer-settings-actions,
body.pfb-premium-member-account #youzer .youzer-settings-actions{
  border-top:1px solid rgba(255,255,255,.075)!important;background:#08131f!important;
}
/* Boutons "ajouter" : plus de turquoise/orange hérité. */
body.pfb-premium-member-account #youzer .options-section-title .yza-item-button,
body.pfb-premium-member-account #youzer .options-section-title .yz-add-item,
body.pfb-premium-member-account #youzer .options-section-title [id$="-button"]{
  background:#122536!important;background-image:none!important;border:1px solid #354b5e!important;color:#fff!important;
  border-radius:10px!important;box-shadow:none!important;text-transform:none!important;
}
body.pfb-premium-member-account #youzer .options-section-title .yza-item-button:hover,
body.pfb-premium-member-account #youzer .options-section-title [id$="-button"]:hover{
  background:#1a3143!important;border-color:rgba(228,187,97,.38)!important;color:#fff!important;
}
/* Portfolio / diaporama : panneaux sans grand fond blanc. */
body.pfb-premium-member-account #youzer .yz-cphoto-options,
body.pfb-premium-member-account #youzer .yz-slideshow-options,
body.pfb-premium-member-account #youzer .yz-portfolio-options{
  background:transparent!important;
}
body.pfb-premium-member-account #youzer .yz-cphoto-options .yz-wg-item,
body.pfb-premium-member-account #youzer .yz-slideshow-options .yz-wg-item{
  color:#dce5ee!important;
}
body.pfb-premium-member-account #youzer .yz-cphoto-options .yz-photo-preview,
body.pfb-premium-member-account #youzer .yz-uploader-item .yz-photo-preview{
  border:2px solid #2c4052!important;box-shadow:0 8px 22px rgba(0,0,0,.22)!important;
}
@media(max-width:760px){
  body.pfb-premium-member-account #youzer .yz-wg-skills-options .yz-wg-item .uk-option-item,
  body.pfb-premium-member-account #youzer .yz-wg-services-options .yz-wg-item .uk-option-item{
    width:100%!important;float:none!important;border-right:0!important;border-bottom:1px solid rgba(255,255,255,.065)!important;
  }
  body.pfb-premium-member-account #youzer .yz-wg-skills-options .yz-wg-item .uk-option-item:last-of-type,
  body.pfb-premium-member-account #youzer .yz-wg-services-options .yz-wg-item .uk-option-item:last-of-type{border-bottom:0!important}
}

/* ========================================================================
 * v1.15.0 — finitions compte membre / XProfile / éditeurs
 * ===================================================================== */

/* Datebox XProfile : trois sélecteurs compacts au lieu d'une rangée surdimensionnée. */
body.pfb-premium-member-account #youzer .editfield.field_type_datebox .input-options.datebox-selects{
  display:flex!important;align-items:flex-end!important;flex-wrap:wrap!important;gap:10px 14px!important;
  margin:10px 0 0!important;padding:0!important;background:transparent!important;
}
body.pfb-premium-member-account #youzer .editfield.field_type_datebox .input-options.datebox-selects>label{
  display:flex!important;align-items:center!important;gap:8px!important;margin:0!important;padding:0!important;
  color:#9fb0bf!important;font-size:11px!important;font-weight:800!important;line-height:1.2!important;
}
body.pfb-premium-member-account #youzer .editfield.field_type_datebox .input-options.datebox-selects select,
body.pfb-premium-member-account #youzer .editfield.field_type_datebox .input-options.datebox-selects .nice-select{
  width:auto!important;min-width:86px!important;max-width:150px!important;height:38px!important;min-height:38px!important;
  margin:0!important;padding:0 34px 0 12px!important;border-radius:9px!important;line-height:38px!important;
  background:#07111b!important;border:1px solid #2b3c4c!important;color:#fff!important;font-size:12px!important;
}
body.pfb-premium-member-account #youzer .editfield.field_type_datebox .input-options.datebox-selects .nice-select .current{
  height:36px!important;line-height:36px!important;color:#fff!important;
}
body.pfb-premium-member-account #youzer .editfield.field_type_datebox .input-options.datebox-selects .nice-select:after{
  right:13px!important;width:6px!important;height:6px!important;margin-top:-4px!important;
}

/* Blocs de visibilité XProfile : aucun grand rectangle blanc résiduel. */
body.pfb-premium-member-account #youzer .editfield .field-visibility-settings-toggle,
body.pfb-premium-member-account #youzer .editfield .field-visibility-settings-notoggle,
body.pfb-premium-member-account #youzer .editfield .field-visibility-settings{
  background:#0a1724!important;color:#aebdca!important;border-color:#263b4d!important;
}
body.pfb-premium-member-account #youzer .editfield .field-visibility-settings-toggle *,
body.pfb-premium-member-account #youzer .editfield .field-visibility-settings-notoggle *{
  color:inherit!important;
}
body.pfb-premium-member-account #youzer .editfield .current-visibility-level{
  background:#121f2c!important;color:#f0d18a!important;border-color:rgba(228,187,97,.30)!important;
}

/* Nouveau switch PFB : le statut est lisible sans devoir interpréter la position du bouton. */
body.pfb-premium-member-account #youzer input[type="checkbox"].pfb-member-toggle-v2{
  position:absolute!important;opacity:0!important;pointer-events:none!important;width:1px!important;height:1px!important;
}
body.pfb-premium-member-account #youzer label.pfb-toggle-native-hidden{display:none!important}
body.pfb-premium-member-account #youzer .pfb-switch-v2{
  display:inline-grid!important;grid-template-columns:48px auto!important;grid-template-rows:auto auto!important;
  column-gap:10px!important;row-gap:0!important;align-items:center!important;min-width:142px!important;
  margin:0!important;padding:8px 11px!important;border:1px solid #314658!important;border-radius:12px!important;
  background:#0a1724!important;color:#fff!important;cursor:pointer!important;box-shadow:none!important;
}
body.pfb-premium-member-account #youzer .pfb-switch-v2-track{
  grid-row:1 / span 2!important;position:relative!important;width:48px!important;height:26px!important;border-radius:999px!important;
  background:#263948!important;border:1px solid #516779!important;box-shadow:inset 0 1px 4px rgba(0,0,0,.35)!important;
  transition:.18s ease!important;
}
body.pfb-premium-member-account #youzer .pfb-switch-v2-track:after{
  content:""!important;position:absolute!important;left:3px!important;top:3px!important;width:18px!important;height:18px!important;
  border-radius:50%!important;background:#fff!important;box-shadow:0 2px 7px rgba(0,0,0,.35)!important;transition:transform .18s ease!important;
}
body.pfb-premium-member-account #youzer .pfb-switch-v2 strong{
  align-self:end!important;color:#fff!important;font-size:10px!important;font-weight:950!important;letter-spacing:.10em!important;line-height:1.1!important;
}
body.pfb-premium-member-account #youzer .pfb-switch-v2 small{
  align-self:start!important;color:#8094a6!important;font-size:9px!important;font-weight:700!important;line-height:1.25!important;
}
body.pfb-premium-member-account #youzer .pfb-switch-v2.is-on{
  border-color:rgba(228,187,97,.42)!important;background:#101d28!important;
}
body.pfb-premium-member-account #youzer .pfb-switch-v2.is-on .pfb-switch-v2-track{
  background:#df2631!important;border-color:#ef4b54!important;
}
body.pfb-premium-member-account #youzer .pfb-switch-v2.is-on .pfb-switch-v2-track:after{transform:translateX(22px)!important}
body.pfb-premium-member-account #youzer .pfb-switch-v2.is-on strong{color:#f5d994!important}
body.pfb-premium-member-account #youzer .pfb-switch-v2.is-on small{color:#b7c5d1!important}
/* Ancienne UI injectée par v1.14 masquée si elle existe encore. */
body.pfb-premium-member-account #youzer .pfb-toggle-state{display:none!important}

/* Upload : libellé réellement centré. */
body.pfb-premium-member-account #youzer .yz-upload-photo,
body.pfb-premium-member-account #youzer .uk-upload-button,
body.pfb-premium-member-account #youzer .upload-photo-button,
body.pfb-premium-member-account #youzer #bp-browse-button,
body.pfb-premium-member-account #youzer .yza-item-button{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;
  min-height:42px!important;padding:0 18px!important;line-height:1.2!important;vertical-align:middle!important;
}


/* Widgets projets / vidéo / à propos : champs plus propres et moins hauts. */
body.pfb-premium-member-account #youzer .yz-wg-opts .wp-editor-wrap,
body.pfb-premium-member-account #youzer .yz-wg-opts .wp-editor-container{
  width:100%!important;max-width:640px!important;border-radius:12px!important;overflow:hidden!important;
}
body.pfb-premium-member-account #youzer .yz-wg-opts textarea,
body.pfb-premium-member-account #youzer .yz-wg-opts .wp-editor-area{min-height:160px!important}

@media(max-width:760px){
  body.pfb-premium-member-account #youzer .editfield.field_type_datebox .input-options.datebox-selects{display:grid!important;grid-template-columns:1fr!important;gap:8px!important}
  body.pfb-premium-member-account #youzer .editfield.field_type_datebox .input-options.datebox-selects>label{justify-content:space-between!important}
  body.pfb-premium-member-account #youzer .editfield.field_type_datebox .input-options.datebox-selects select,
  body.pfb-premium-member-account #youzer .editfield.field_type_datebox .input-options.datebox-selects .nice-select{min-width:150px!important;max-width:190px!important}
}


/* ========================================================================
 * v1.16.0 — éditeur WordPress classique dans Youzer
 * On ne "redesigne" plus TinyMCE : barre claire, boutons standards, texte noir.
 * ===================================================================== */
body.pfb-premium-member-account #youzer .wp-editor-wrap,
body.pfb-premium-member-account #youzer .wp-editor-container{
  background:#fff!important;color:#1d2327!important;border-color:#c3c4c7!important;box-shadow:none!important;
}
body.pfb-premium-member-account #youzer .mce-container,
body.pfb-premium-member-account #youzer .mce-panel,
body.pfb-premium-member-account #youzer .mce-container-body{
  background:#f6f7f7!important;color:#1d2327!important;border-color:#c3c4c7!important;box-shadow:none!important;
}
body.pfb-premium-member-account #youzer .mce-menubar,
body.pfb-premium-member-account #youzer .mce-toolbar-grp,
body.pfb-premium-member-account #youzer .quicktags-toolbar{
  background:#f6f7f7!important;border-color:#dcdcde!important;color:#1d2327!important;
}
body.pfb-premium-member-account #youzer .mce-btn,
body.pfb-premium-member-account #youzer .mce-menubtn,
body.pfb-premium-member-account #youzer .mce-btn:hover,
body.pfb-premium-member-account #youzer .mce-menubtn:hover{
  background:transparent!important;background-image:none!important;border-color:transparent!important;box-shadow:none!important;
}
body.pfb-premium-member-account #youzer .mce-btn:hover,
body.pfb-premium-member-account #youzer .mce-menubtn:hover,
body.pfb-premium-member-account #youzer .mce-btn.mce-active{background:#e2e4e7!important;border-color:#c3c4c7!important}
body.pfb-premium-member-account #youzer .mce-btn button,
body.pfb-premium-member-account #youzer .mce-menubtn button,
body.pfb-premium-member-account #youzer .mce-ico,
body.pfb-premium-member-account #youzer .mce-txt,
body.pfb-premium-member-account #youzer .mce-menubar .mce-menubtn button span{
  color:#3c434a!important;text-shadow:none!important;
}
body.pfb-premium-member-account #youzer .wp-switch-editor{
  background:#f0f0f1!important;color:#2c3338!important;border-color:#c3c4c7!important;box-shadow:none!important;
}
body.pfb-premium-member-account #youzer .html-active .switch-html,
body.pfb-premium-member-account #youzer .tmce-active .switch-tmce{
  background:#fff!important;color:#1d2327!important;border-bottom-color:#fff!important;
}
body.pfb-premium-member-account #youzer .wp-editor-area{
  background:#fff!important;color:#1d2327!important;border-color:#c3c4c7!important;min-height:180px!important;font-family:Consolas,Monaco,monospace!important;
}
body.pfb-premium-member-account #youzer iframe[id$="_ifr"],
body.pfb-premium-member-account #youzer iframe.tox-edit-area__iframe{background:#fff!important}
body.pfb-premium-member-account #youzer .yz-wg-opts .wp-editor-wrap,
body.pfb-premium-member-account #youzer .yz-wg-opts .wp-editor-container{
  width:100%!important;max-width:680px!important;border-radius:6px!important;overflow:hidden!important;background:#fff!important;
}
body.pfb-premium-member-account #youzer .yz-wg-opts textarea,
body.pfb-premium-member-account #youzer .yz-wg-opts .wp-editor-area{min-height:180px!important}
