.auth-side {
  isolation: isolate;
}

.auth-side::before {
  width: min(52vw, 780px);
  height: min(52vw, 780px);
  pointer-events: none;
  z-index: -1;
  background: radial-gradient(circle at 44% 42%, rgb(97 79 228 / 48%), rgb(80 70 228 / 14%) 43%, transparent 69%);
}

.auth-side::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  width: clamp(220px, 32vw, 540px);
  aspect-ratio: 1;
  right: -10%;
  bottom: -25%;
  border-radius: 50%;
  border: 1px solid rgb(186 178 255 / 17%);
  box-shadow: 0 0 0 36px rgb(186 178 255 / 5%), 0 0 0 72px rgb(186 178 255 / 3%);
}

:is(.auth-side .brand .brand-mark, .header .brand .mark) {
  position: relative;
  overflow: hidden;
}

@media (prefers-reduced-motion: no-preference) {
  .auth-side::before {
    animation: locpresto-auth-halo 19s ease-in-out infinite alternate;
  }

  :is(.auth-side .brand .brand-mark, .header .brand .mark) {
    animation: locpresto-auth-mark 800ms cubic-bezier(.23, 1, .32, 1) both;
  }

  :is(.auth-side .brand .brand-mark, .header .brand .mark)::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(112deg, transparent 23%, rgb(220 228 255 / 52%) 49%, transparent 71%);
    animation: locpresto-auth-shine 1100ms 180ms ease-out both;
  }
}

@keyframes locpresto-auth-halo {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-10%, 14%, 0) scale(1.13); }
}

@keyframes locpresto-auth-mark {
  from { transform: translateY(4px) scale(.87) rotate(-8deg); }
  to { transform: none; }
}

@keyframes locpresto-auth-shine {
  from { transform: translateX(-110%); }
  to { transform: translateX(110%); }
}

/* Consentement d’inscription : liens explicites, une phrase et une seule case. */
.auth-card #login-form .signup-consent{display:flex;align-items:flex-start;gap:10px;margin:2px 0 20px;padding:0;background:transparent;border:0;border-radius:0;font-size:13px;font-weight:400;line-height:1.5;color:#60667e;cursor:pointer}
.auth-card #login-form .signup-consent>input{appearance:auto;accent-color:#5846d6;flex:0 0 16px;width:16px;height:16px;margin:2px 0 0;padding:0;border-radius:4px;cursor:pointer}
.auth-card #login-form .signup-consent-copy{display:block;min-width:0}
.auth-card #login-form .signup-consent-copy>span{display:block}
.auth-card #login-form .signup-consent a{color:#5040bc;font-size:inherit;font-weight:400;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;border-radius:2px}
.auth-card #login-form .signup-consent a:hover{color:#32247f;text-decoration-thickness:2px}
.auth-card #login-form .signup-consent a:focus-visible,.auth-card #login-form .signup-consent>input:focus-visible{outline:2px solid #7967e8;outline-offset:4px}
@media(max-width:480px){.auth-card #login-form .signup-consent{font-size:13px;gap:9px;padding:0;line-height:1.5}}
