/* ==========================================================
   ANSANM_0190_PUBLIC_BRAND
   ========================================================== */

.ansanm-brand-banner{
  width:min(1320px,calc(100% - 40px));
  margin:28px auto 12px;
  overflow:hidden;
  background:#fff;
  border:1px solid rgba(17,49,81,.10);
  border-radius:18px;
  box-shadow:0 18px 50px rgba(18,42,66,.10);
}

.ansanm-brand-banner img{
  display:block;
  width:100%;
  height:auto;
}

.auth-brand-banner{
  grid-column:1 / -1;
  width:100%;
  margin:0 0 8px;
}

.ansanm-public-footer{
  margin-top:48px;
  background:#092f52;
  color:#fff;
}

.ansanm-footer-inner{
  width:min(1180px,calc(100% - 48px));
  margin:auto;
  padding:36px 0;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:48px;
}

.ansanm-footer-brand{
  min-width:240px;
  display:flex;
  flex-direction:column;
  gap:8px;
}

.ansanm-footer-solution{
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.12em;
  opacity:.68;
}

.ansanm-footer-brand a{
  display:inline-flex;
  width:max-content;
  max-width:100%;
}

.ansanm-footer-brand img{
  display:block;
  width:220px;
  max-width:100%;
  height:auto;
}

.ansanm-footer-content{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:8px;
  text-align:right;
}

.ansanm-footer-content strong{
  font-size:18px;
}

.ansanm-footer-content > span,
.ansanm-footer-content small{
  opacity:.72;
}

.ansanm-legal-links{
  display:flex;
  justify-content:flex-end;
  flex-wrap:wrap;
  gap:8px 18px;
  margin:5px 0;
}

.ansanm-legal-links a{
  color:#fff;
  text-decoration:none;
  font-size:13px;
  opacity:.88;
}

.ansanm-legal-links a:hover,
.ansanm-legal-links a:focus-visible{
  opacity:1;
  text-decoration:underline;
}

@media(max-width:760px){

  .ansanm-brand-banner{
    width:calc(100% - 24px);
    margin-top:16px;
    border-radius:12px;
  }

  .auth-brand-banner{
    width:100%;
    margin-top:0;
  }

  .ansanm-footer-inner{
    width:calc(100% - 32px);
    padding:28px 0;
    flex-direction:column;
    align-items:flex-start;
    gap:26px;
  }

  .ansanm-footer-content{
    align-items:flex-start;
    text-align:left;
  }

  .ansanm-legal-links{
    justify-content:flex-start;
  }

  .ansanm-footer-brand img{
    width:190px;
  }
}


/* ==========================================================
   ANSANM_0190_AUTH_LAYOUT_FIX
   Page publique connexion / inscription
   ========================================================== */

/* L'ancienne identité visuelle n'est plus affichée sur / */
body.dashboard-page > .topbar{
  display:none !important;
}

/* Les deux cartes conservent leur hauteur naturelle */
body.dashboard-page #authPanel{
  align-items:start;
}

/* La bannière reste sur toute la largeur de la grille */
body.dashboard-page #authPanel > .auth-brand-banner{
  grid-column:1 / -1;
  align-self:start;
}

/* Le footer COLOMBO est public uniquement */
body.dashboard-page:has(#appPanel:not(.hidden))
  > .ansanm-public-footer{
  display:none;
}
