/* Ideal Gym — 3Vision Credit v1.0.0 */
.ig3v-credit{
  position:relative;
  z-index:30;
  width:100%;
  box-sizing:border-box;
  padding:10px 16px;
  background:#101113;
  border-top:1px solid rgba(255,255,255,.07);
  color:#d8dadd;
}
.ig3v-credit-link{
  width:min(1180px,100%);
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  color:#d8dadd;
  text-decoration:none!important;
  font:600 12px/1.2 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  transition:opacity .18s ease,transform .18s ease;
}
.ig3v-credit-link:hover{
  opacity:.95;
  transform:translateY(-1px);
}
.ig3v-credit-label{
  color:#a9adb3;
  letter-spacing:.01em;
  white-space:nowrap;
}
.ig3v-credit-brand{
  display:inline-flex;
  align-items:center;
  gap:7px;
  min-width:0;
}
.ig3v-credit-logo{
  width:42px;
  height:27px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
}
.ig3v-credit-logo svg{
  display:block;
  width:42px;
  height:auto;
}
.ig3v-credit-wordmark{
  display:flex;
  flex-direction:column;
  min-width:0;
}
.ig3v-credit-wordmark strong{
  color:#fff;
  font-size:13px;
  line-height:1.05;
  font-weight:800;
  white-space:nowrap;
}
.ig3v-credit-wordmark small{
  color:#8f969e;
  font-size:10px;
  line-height:1.15;
  white-space:nowrap;
}

/* Anciennes signatures : éviter tout doublon visuel. */
.igm-product-signature,
.igm-product-signature-app{
  display:none!important;
}
.igd-copy span:has(a[href*="3vision-group.com"]),
.igd-copy span:has(a[href*="3vision-group"]){
  display:none!important;
}

/* Application / gestion : signature compacte à la fin de l'interface. */
body.igm-bare-app > .ig3v-credit{
  margin-top:0;
}

/* QR / accès : la signature est déplacée dans le panneau par JS.
   On garde une version plus compacte, cohérente avec l'écran membre. */
body.igm-access-body .igm-ax-panel > .ig3v-credit{
  margin:18px -26px -25px;
  width:calc(100% + 52px);
  padding:9px 10px;
  border-top-color:rgba(255,255,255,.08);
  border-radius:0 0 29px 29px;
}
body.igm-access-body .igm-ax-panel > .ig3v-credit .ig3v-credit-link{
  gap:7px;
  font-size:10px;
}
body.igm-access-body .igm-ax-panel > .ig3v-credit .ig3v-credit-logo{
  width:34px;height:22px;
}
body.igm-access-body .igm-ax-panel > .ig3v-credit .ig3v-credit-logo svg{
  width:34px;
}
body.igm-access-body .igm-ax-panel > .ig3v-credit .ig3v-credit-wordmark strong{
  font-size:11px;
}
body.igm-access-body .igm-ax-panel > .ig3v-credit .ig3v-credit-wordmark small{
  font-size:8.5px;
}

/* Mobile */
@media(max-width:640px){
  .ig3v-credit{padding:8px 10px}
  .ig3v-credit-link{
    gap:7px;
    flex-wrap:wrap;
    row-gap:4px;
  }
  .ig3v-credit-label{font-size:10px}
  .ig3v-credit-logo{width:36px;height:24px}
  .ig3v-credit-logo svg{width:36px}
  .ig3v-credit-wordmark strong{font-size:11.5px}
  .ig3v-credit-wordmark small{font-size:9px}

  body.igm-access-body .igm-ax-panel > .ig3v-credit{
    margin-left:-24px;
    margin-right:-24px;
    margin-bottom:max(-24px,calc(-1 * env(safe-area-inset-bottom)));
    width:calc(100% + 48px);
    border-radius:0;
  }
}

@media(max-width:360px){
  body.igm-access-body .igm-ax-panel > .ig3v-credit{
    margin-left:-18px;
    margin-right:-18px;
    width:calc(100% + 36px);
  }
  .ig3v-credit-label{font-size:9.5px}
}

@media(prefers-reduced-motion:reduce){
  .ig3v-credit-link{transition:none}
}

@media print{
  .ig3v-credit{display:none!important}
}
