/* Keep persona selection outside the horizontally scrolling profile tabs. */
.profil-menu:has(.fl-profile-navigation) { height:auto; overflow:visible; }
.fl-profile-navigation { display:flex; align-items:center; min-width:0; width:100%; }
.fl-profile-navigation__tabs { flex:1 1 auto; min-width:0; overflow-x:auto; }
.fl-profile-navigation .profile-nav { flex-wrap:nowrap!important; min-width:max-content; margin-bottom:0!important; }
.fl-profile-navigation .profile-tab { margin-bottom:0; }
.fl-profile-navigation .fl-profile-navigation__switch { flex:0 0 auto; height:60px; margin:0; padding:0 16px; }
.fl-profile-navigation .profil-align { display:flex; align-items:center; justify-content:center; gap:8px; width:auto!important; height:auto; margin:0; float:none; }
.fl-profile-navigation :is(.profil-perso,.profil-pro) { float:none; margin:0!important; white-space:nowrap; }
.fl-profile-navigation .switch { flex:0 0 48px; width:48px; height:44px; margin:0; cursor:pointer; }
.fl-profile-navigation .switch input { display:block; position:absolute; inset:0; z-index:1; width:100%; height:100%; margin:0; opacity:0; cursor:pointer; }
.fl-profile-navigation .switch .slider { top:10px; bottom:10px; }
.fl-profile-navigation .switch .slider::before { background:var(--fl-profile-entity-action,#6866ac); width:16px!important; height:16px!important; left:4px!important; bottom:4px!important; }
.fl-profile-navigation .switch input:checked + .slider::before { transform:translateX(24px); }
.fl-profile-navigation .switch input:focus-visible + .slider { outline:3px solid currentColor; outline-offset:3px; }
.fl-profile-navigation .switch input:disabled { cursor:wait; }
@media (max-width:767px) {
  .fl-profile-navigation { flex-direction:column; align-items:stretch; }
  .fl-profile-navigation .fl-profile-navigation__switch { order:-1; height:auto; min-height:52px; padding:4px 12px; border-bottom:1px solid #ffffff40; }
  .fl-profile-navigation__tabs { flex:0 1 auto; width:100%; }
}
