/* Connexion / inscription LMS — copiées de DIASHI_Elearning (AuthFormShell, LoginPage, RegisterForm, RegisterPage).
 * Pages sans header : panneau marque à gauche, formulaire à droite. Couleurs Ingenious City. */
body.ic-auth-diashi { padding-top: 0 !important; background: #f7f4f6; }
.auth-shell { --font-euclid: inherit; --font-headline: inherit; }
.auth-shell .material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 20px;
  line-height: 1;
  display: inline-block;
  white-space: nowrap;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
}



@keyframes brand-auth-baffle-reveal {
0% {
  transform: scaleY(1);
  opacity: 1;
}
100% {
  transform: scaleY(0);
  opacity: 0.35;
}
}

@keyframes brand-auth-veil-in {
to {
  opacity: 1;
}
}

@keyframes brand-auth-panel-in {
from {
  opacity: 0;
  transform: scale(0.88) translateY(1rem);
}
to {
  opacity: 1;
  transform: scale(1) translateY(0);
}
}

.auth-copy p {
  font-family: var(--font-euclid);
}

.auth-copy h1 {
  font-family: var(--font-headline);
  font-weight: 700;
}

.auth-shell {
position: relative;
height: 100dvh;
min-height: 100dvh;
background: #ffffff;
color: #0b1220;
display: flex;
align-items: stretch;
justify-content: stretch;
padding: 0;
box-sizing: border-box;
overflow: hidden;
}

.auth-page-back {
position: absolute;
top: max(0.75rem, env(safe-area-inset-top));
left: max(0.75rem, env(safe-area-inset-left));
z-index: 30;
background: #fff;
}

.auth-frame {
width: 100%;
max-width: none;
height: 100%;
margin: 0;
padding-top: 0;
}

.auth-shell--wide .auth-frame { max-width: none; }

.auth-layout {
display: grid;
align-items: stretch;
width: 100%;
height: 100%;
min-height: 100%;
background: #ffffff;
border-radius: 0;
overflow: hidden;
border: 0;
box-shadow: none;
}

@media (min-width: 900px) {
.auth-layout {
  width: fit-content;
  max-width: calc(100% - 3rem);
  margin-inline: auto;
  grid-template-columns: min(29.5rem, 42vw) max-content;
  justify-content: center;
  column-gap: clamp(3.5rem, 7.5vw, 7.5rem);
  align-items: center;
}
}

.auth-brand-panel {
display: none;
position: relative;
background: linear-gradient(165deg, #6e1458 0%, #5b0f44 45%, #3d0a30 100%);
color: #fff;
}

@media (min-width: 900px) {
.auth-brand-panel {
  display: block;
  align-self: center;
  justify-self: stretch;
  height: min(30rem, calc(100dvh - 4rem));
  width: 100%;
  margin: 0;
  min-height: 0;
  border-radius: 1.75rem;
  overflow: hidden;
}
}

.auth-shell--trainer .auth-brand-panel {
background: linear-gradient(165deg, #3d0a30 0%, #5b0f44 50%, #5b0f44 100%);
}

.auth-brand-panel-inner {
height: 100%;
min-height: 100%;
padding: 2rem 2rem 2.25rem;
display: flex;
flex-direction: column;
justify-content: center;
gap: 1.5rem;
box-sizing: border-box;
}

.auth-brand-editorial { flex: 1; display: flex; align-items: center; }

.auth-brand-stage { width: 100%; }

.auth-brand-motion--in { opacity: 1; transform: translateY(0); transition: opacity 0.52s ease, transform 0.52s ease; }

.auth-brand-motion--out { opacity: 0; transform: translateY(8px); transition: opacity 0.52s ease, transform 0.52s ease; }

.auth-brand-eyebrow {
margin: 0 0 0.85rem;
font-family: var(--font-euclid);
font-size: 0.75rem;
letter-spacing: 0.12em;
text-transform: uppercase;
color: rgba(255,255,255,0.72);
font-weight: 700;
}

.auth-brand-manifesto {
margin: 0;
font-family: var(--font-headline);
font-size: clamp(1.45rem, 2.4vw, 1.95rem);
line-height: 1.18;
letter-spacing: -0.03em;
font-weight: 700;
text-wrap: balance;
}

.auth-brand-manifesto-highlight { color: #ffffff; }

.auth-brand-manifesto-rest { color: #c7d7ff; }

.auth-brand-subtitle {
margin: 0.85rem 0 0;
max-width: 28rem;
font-family: var(--font-euclid);
font-size: clamp(0.95rem, 1.4vw, 1.05rem);
line-height: 1.55;
color: rgba(255, 255, 255, 0.78);
text-wrap: pretty;
}

.auth-brand-models { margin-top: 1.5rem; }

.auth-brand-models-label {
display: block;
margin-bottom: 0.65rem;
font-family: var(--font-euclid);
font-size: 0.72rem;
letter-spacing: 0.08em;
text-transform: uppercase;
color: rgba(255,255,255,0.65);
}

.auth-brand-models-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.auth-brand-model {
display: inline-flex;
align-items: center;
padding: 0.35rem 0.75rem;
border-radius: 9999px;
font-size: 0.75rem;
font-weight: 600;
color: #fff;
background: rgba(255, 255, 255, 0.12);
border: 1px solid rgba(255, 255, 255, 0.18);
}

.auth-brand-partners {
margin-top: auto;
padding-top: 1.35rem;
display: flex;
flex-direction: column;
flex-shrink: 0;
}

.auth-brand-partners__label {
margin: 0 0 0.9rem;
text-align: center;
font-family: var(--font-euclid);
font-size: 0.75rem;
font-weight: 700;
letter-spacing: 0.12em;
text-transform: uppercase;
color: #64748b;
}

.auth-brand-partners__row {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: center;
gap: 1.15rem 1.75rem;
}

.auth-brand-partners__link {
display: inline-flex;
align-items: center;
text-decoration: none;
background: transparent;
}

.auth-brand-partners__logo {
display: block;
width: auto;
max-width: 100%;
object-fit: contain;
object-position: left center;
background: transparent;
}

.auth-brand-partners__logo--rawbank {
height: 1.65rem;
max-width: 8.75rem;
}

.auth-brand-partners__logo--we-act {
height: 3.75rem;
width: auto;
max-width: 5rem;
mix-blend-mode: normal;
background: #ffffff;
}

.auth-brand-partners--panel {
margin-top: 0;
background: #fff;
border-radius: 1rem;
padding: 0.65rem 0.8rem 0.45rem;
}

.auth-brand-partners--panel .auth-brand-partners__logo--rawbank {
height: 1.35rem;
max-width: 7.5rem;
}

.auth-brand-partners--panel .auth-brand-partners__logo--we-act {
height: 2.35rem;
max-width: 4rem;
}

.auth-form-partners {
width: min(100%, 24.5rem);
margin: 0.55rem auto 0;
flex-shrink: 0;
border-top: 0;
padding-top: 0;
}

.auth-form-partners .auth-brand-partners__row {
gap: 0.35rem 0.45rem;
}

.auth-form-partners .auth-brand-partners__logo--rawbank {
height: 1.45rem;
max-width: 7.5rem;
}

.auth-form-partners .auth-brand-partners__logo--we-act {
height: 2.35rem;
max-width: 3.6rem;
}

.auth-card {
position: relative;
background: #fff;
padding:
  max(0.75rem, env(safe-area-inset-top))
  max(1rem, env(safe-area-inset-right))
  max(0.75rem, env(safe-area-inset-bottom))
  max(1rem, env(safe-area-inset-left));
display: flex;
flex-direction: column;
justify-content: flex-start;
height: 100%;
min-height: 0;
max-height: none;
overflow: hidden;
box-sizing: border-box;
}

@media (min-width: 900px) {
.auth-card {
  justify-self: start;
  width: max-content;
  max-width: 100%;
  padding: 1.5rem 0;
  overflow: hidden;
}
}

.auth-card-top {
display: flex;
align-items: center;
margin: 0;
min-height: 2.25rem;
flex-shrink: 0;
}

@media (min-width: 900px) {
.auth-card-top {
  display: none;
}
}

.auth-form-brand {
display: flex;
justify-content: flex-start;
width: fit-content;
margin: 0 0 0.65rem;
text-decoration: none;
}

.auth-form-brand__mark {
width: auto;
}

.auth-form-brand__mark .brand-logo__mark {
height: 2.15rem;
width: auto;
max-width: 11rem;
object-fit: contain;
}

@media (min-width: 900px) {
.auth-form-brand {
  margin-bottom: 0.85rem;
}
}

@media (min-width: 900px) {
.auth-form-brand__mark .brand-logo__mark {
  height: 2.35rem;
}
}

.auth-wizard {
flex: 1 1 auto;
display: flex;
flex-direction: column;
justify-content: safe center;
width: min(100%, 24.5rem);
margin-inline: auto;
min-height: 0;
overflow: auto;
scrollbar-width: none;
}

.auth-wizard::-webkit-scrollbar {
display: none;
width: 0;
height: 0;
}

.auth-wizard-stepper {
list-style: none;
margin: 0 0 1.25rem;
padding: 0;
display: flex;
gap: 0.5rem;
flex-wrap: wrap;
}

.auth-wizard-step {
display: inline-flex;
align-items: center;
gap: 0.4rem;
font-size: 0.78rem;
color: #94a3b8;
}

.auth-wizard-step-num {
width: 1.35rem; height: 1.35rem; border-radius: 999px;
display: inline-grid; place-items: center;
border: 1px solid #dbe3f0; font-weight: 700; font-size: 0.7rem;
}

.auth-wizard-step-current { color: #5b0f44; font-weight: 700; }

.auth-wizard-step-current .auth-wizard-step-num { background: #5b0f44; color: #fff; border-color: #5b0f44; }

.auth-wizard-step-done { color: #0f172a; }

.auth-wizard-step-done .auth-wizard-step-num { background: #e8eefc; border-color: #5b0f44; color: #5b0f44; }

.auth-copy h1 {
margin: 0 0 0.2rem;
font-size: clamp(1.35rem, 3vw, 1.65rem);
letter-spacing: -0.03em;
font-weight: 700;
color: #0b1220;
text-align: left;
}

.auth-copy p {
margin: 0 0 0.65rem;
color: #64748b;
font-size: 0.95rem;
line-height: 1.45;
text-align: left;
}

.auth-form { display: flex; flex-direction: column; gap: 0.75rem; }

.auth-google-btn {
display: flex;
align-items: center;
justify-content: center;
width: 100%;
height: 2.75rem;
gap: 0.75rem;
padding: 0 1rem;
box-sizing: border-box;
background: #fff;
border: 1px solid #cfd9de;
border-radius: 9999px;
color: #0f1419;
font-size: 0.95rem;
font-weight: 700;
line-height: 1;
text-decoration: none;
}

.auth-google-btn:hover {
background: #f7f9f9;
}

.auth-google-btn svg {
width: 1.125rem;
height: 1.125rem;
flex-shrink: 0;
}

.auth-or {
display: flex;
align-items: center;
gap: 0.75rem;
margin: 0.15rem 0;
color: #536471;
font-size: 0.9375rem;
font-weight: 400;
line-height: 1;
text-align: center;
}

.auth-or::before,
.auth-or::after {
content: "";
flex: 1 1 auto;
height: 1px;
background: #cfd9de;
}

.auth-field { display: flex; flex-direction: column; gap: 0.35rem; }

.auth-field label { font-size: 0.85rem; font-weight: 700; color: #334155; }

.auth-field input,
.auth-field select,
.auth-field textarea {
width: 100%;
border: 1px solid #d7e0ef;
border-radius: 0.75rem;
padding: 0.7rem 0.9rem;
min-height: 2.6rem;
background: #f8fafc;
color: #0b1220;
font-size: 0.95rem;
box-sizing: border-box;
}

.auth-field input:focus,
.auth-field select:focus,
.auth-field textarea:focus {
outline: none;
border-color: #5b0f44;
box-shadow: 0 0 0 3px rgba(91, 15, 68, 0.15);
background: #fff;
}

.auth-form--compact { gap: 0.4rem; }

.auth-form--compact .auth-field { gap: 0.15rem; }

.auth-form--compact .auth-field label { font-size: 0.78rem; }

.auth-form--compact .auth-field input,
.auth-form--compact .auth-field textarea {
min-height: 2.2rem;
padding: 0.4rem 0.7rem;
font-size: 0.9rem;
}

.auth-form--compact .auth-grid { gap: 0.55rem 0.85rem; }

.auth-form--compact .auth-grid--2 {
grid-template-columns: 1fr 1fr;
align-items: end;
}

.auth-form--compact .auth-field .auth-input-wrap input { padding-right: 2.15rem; }

.auth-form--compact .auth-eye {
width: 1.85rem;
height: 1.85rem;
right: 0.2rem;
}

.auth-form--compact .auth-submit {
min-height: 2.4rem;
padding: 0.5rem 1rem;
margin-top: 0.45rem;
}

.auth-form--compact .auth-google-btn { height: 2.4rem; font-size: 0.875rem; }

.auth-form--compact .auth-terms {
margin-top: 0.35rem;
font-size: 0.75rem;
gap: 0.5rem;
line-height: 1.35;
}

.auth-form--compact .auth-hint { margin-top: 0.1rem; font-size: 0.68rem; }

@media (max-height: 760px) {
.auth-card {
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
}
}

@media (max-height: 760px) {
.auth-card-top { min-height: 1.35rem; }
}

@media (max-height: 760px) {
.auth-form-brand { margin-bottom: 0.2rem; }
}

@media (max-height: 760px) {
.auth-form-brand__mark .brand-logo__mark { height: 1.6rem; }
}

@media (max-height: 760px) {
.auth-copy h1 { font-size: 1.15rem; margin: 0; }
}

@media (max-height: 760px) {
.auth-footer { margin-bottom: 0.25rem; font-size: 0.78rem; }
}

@media (max-height: 760px) {
.auth-form--compact { gap: 0.12rem; }
}

@media (max-height: 760px) {
.auth-form--compact .auth-field input,
.auth-form--compact .auth-field textarea { min-height: 1.9rem; }
}

@media (max-height: 760px) {
.auth-form--compact .auth-google-btn,
.auth-form--compact .auth-submit { height: 2.05rem; min-height: 2.05rem; }
}

@media (max-height: 760px) {
.auth-shell--trainer .auth-hint { margin: 0; line-height: 1.15; }
}

@media (max-height: 760px) {
.auth-shell--trainer .auth-form--compact textarea { min-height: 1.7rem; padding-top: 0.25rem; padding-bottom: 0.25rem; }
}

@media (max-height: 760px) {
.auth-wizard { justify-content: flex-start; }
}

@media (max-height: 760px) and (max-width: 899px) {
.auth-card-top { display: none; }
}

@media (min-width: 900px) {
.auth-form-brand {
  margin-left: auto;
  margin-right: auto;
}
}

@media (min-width: 900px) {
.auth-wizard {
  justify-content: flex-start;
  flex: 1 1 auto;
  width: min(24.5rem, 46vw);
  margin-inline: 0;
  margin-top: max(0px, calc((100dvh - min(30rem, 100dvh - 4rem)) / 2 - 1.5rem));
}
}

.auth-shell--dense .auth-wizard { width: 19.5rem; max-width: 100%; }

.auth-shell--dense .auth-form-brand { margin-bottom: 0.3rem; }

.auth-shell--dense .auth-form-brand__mark .brand-logo__mark { height: 1.75rem; }

.auth-shell--dense .auth-copy h1 {
font-size: 1.15rem;
margin: 0;
line-height: 1.15;
}

.auth-shell--dense .auth-footer {
margin: 0.08rem 0 0.28rem;
font-size: 0.78rem;
line-height: 1.15;
}

.auth-shell--dense .auth-footer p { gap: 0.28rem; }

.auth-shell--dense .auth-form { gap: 0.28rem; }

.auth-shell--dense .auth-or { margin: 0; font-size: 0.75rem; }

.auth-shell--dense .auth-field { gap: 0.12rem; }

.auth-shell--dense .auth-field label { font-size: 0.72rem; }

.auth-shell--dense .auth-field input {
min-height: 1.95rem;
padding: 0.3rem 0.65rem;
font-size: 0.84rem;
}

.auth-shell--dense .auth-google-btn,
.auth-shell--dense .auth-submit {
height: 2rem;
min-height: 2rem;
padding-top: 0;
padding-bottom: 0;
font-size: 0.84rem;
}

.auth-shell--dense .auth-eye { width: 1.9rem; height: 1.9rem; }

.auth-shell--dense .auth-form-partners { margin-top: 0.4rem; }

.auth-shell--dense .auth-brand-partners__label { margin-bottom: 0.3rem; font-size: 0.62rem; }

.auth-shell--dense .auth-brand-partners__logo--rawbank { height: 1.4rem; max-width: 8.5rem; }

.auth-shell--dense .auth-brand-partners__logo--we-act { height: 2.15rem; max-width: 4.4rem; }

@media (max-width: 899px) {
.auth-card {
  padding-top: calc(3.1rem + env(safe-area-inset-top));
  padding-right: max(1rem, env(safe-area-inset-right));
  padding-bottom: max(0.85rem, env(safe-area-inset-bottom));
  padding-left: max(1rem, env(safe-area-inset-left));
}
}

@media (max-width: 899px) {
.auth-form-brand {
  margin-left: auto;
  margin-right: auto;
}
}

@media (max-width: 899px) {
.auth-wizard {
  width: min(100%, 24.5rem);
  margin-inline: auto;
  margin-top: 0;
}
}

@media (max-width: 899px) {
.auth-shell--dense .auth-card {
  padding-top: max(0.75rem, env(safe-area-inset-top));
}
}

@media (max-width: 899px) {
.auth-shell--dense .auth-wizard {
  justify-content: safe center;
}
}

@media (max-width: 479px) {
.auth-form--compact .auth-grid--2 {
  grid-template-columns: 1fr;
}
}

@media (min-width: 900px) {
.auth-shell--dense .auth-wizard {
  justify-content: center;
  margin-top: 0;
}
}

@media (max-width: 899px) {
.auth-shell--centered .auth-card {
  padding-top: max(0.75rem, env(safe-area-inset-top));
}
}

@media (max-width: 899px) {
.auth-shell--centered .auth-wizard {
  justify-content: safe center;
  margin-top: 0;
}
}

@media (min-width: 900px) {
.auth-shell--centered .auth-wizard {
  justify-content: safe center;
  margin-top: 0;
}
}

.auth-label-row { display: flex; justify-content: space-between; align-items: center; gap: 0.75rem; }

.auth-input-wrap { position: relative; }

.auth-input-wrap input { padding-right: 2.75rem; }

.auth-eye {
position: absolute;
right: 0.35rem;
top: 50%;
transform: translateY(-50%);
border: 0;
background: transparent;
color: #64748b;
cursor: pointer;
width: 2.75rem;
height: 2.75rem;
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: 0.55rem;
}

.auth-submit {
margin-top: 0.15rem;
width: 100%;
border: 0;
border-radius: 9999px;
padding: 0.7rem 1rem;
min-height: 2.75rem;
background: #5b0f44;
color: #fff;
font-weight: 700;
font-size: 0.95rem;
cursor: pointer;
}

.auth-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.auth-email-entry {
width: 100%;
border: 0;
border-radius: 0.75rem;
padding: 0.8rem 1rem;
min-height: 2.75rem;
background: #5b0f44;
color: #fff;
font-weight: 700;
font-size: 0.95rem;
cursor: pointer;
}

.auth-email-entry:hover {
filter: brightness(1.05);
}

.auth-footer {
margin: 0 0 0.85rem;
text-align: left;
font-size: 0.9rem;
line-height: 1.4;
color: #64748b;
}

.auth-footer p {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 0.5rem;
margin: 0;
}

.auth-footer a {
color: #5b0f44;
text-decoration: none;
}

.auth-footer a:hover { text-decoration: underline; }

.auth-footer a:focus-visible {
outline: 2px solid #5b0f44;
outline-offset: 2px;
}

.auth-wizard > .auth-footer:last-child { margin: 0.75rem 0 0; }

.auth-back {
display: inline-flex;
align-items: center;
justify-content: center;
width: 2.75rem;
height: 2.75rem;
margin: 0;
border-radius: 0.75rem;
color: #0f172a;
background: #f8fafc;
border: 1px solid #e8eef5;
box-shadow: none;
text-decoration: none;
flex-shrink: 0;
transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.auth-back:hover {
color: #5b0f44;
background: #eff6ff;
border-color: rgba(91, 15, 68, 0.25);
}

.auth-back__icon {
display: block;
}

.auth-back--page {
display: none;
position: absolute;
top: 1rem;
left: 1rem;
z-index: 30;
background: #ffffff;
box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
}

@media (min-width: 900px) {
.auth-back--page {
  display: inline-flex;
}
}

.auth-back--inline {
position: static;
}

@media (min-width: 900px) {
.auth-back--inline {
  display: none;
}
}

.auth-alert {
margin: 0 0 0.85rem;
padding: 0.75rem 0.9rem;
border-radius: 0.75rem;
font-size: 0.88rem;
}

.auth-alert--error { background: rgba(220, 38, 38, 0.08); color: #b91c1c; }

.auth-alert--success { background: rgba(22, 163, 74, 0.1); color: #166534; }

.auth-alert--info { background: rgba(91, 15, 68, 0.08); color: #0f172a; }

.auth-ready {
display: grid;
gap: 1.25rem;
justify-items: center;
text-align: center;
padding-block: 0.5rem 0.25rem;
}

.auth-ready p {
margin: 0;
max-width: 28rem;
font-family: var(--font-euclid);
font-size: 1.05rem;
line-height: 1.6;
color: #334155;
}

.auth-text-btn {
border: 0; background: transparent; color: #5b0f44; font-weight: 700; cursor: pointer; padding: 0; font-size: 0.82rem;
}

.auth-text-btn--center { display: block; width: 100%; text-align: center; margin-top: 0.75rem; }

.auth-grid { display: grid; gap: 0.95rem; }

.auth-grid--2 { grid-template-columns: 1fr; }

@media (min-width: 640px) {
.auth-grid--2 { grid-template-columns: 1fr 1fr; }
}

.auth-terms {
display: flex; align-items: flex-start; gap: 0.65rem; font-size: 0.82rem; color: #475569; line-height: 1.4;
}

.auth-terms a {
color: #5b0f44;
font-weight: 700;
text-decoration: none;
}

.auth-terms a:hover { text-decoration: underline; }

.auth-hint { display: block; margin-top: 0.25rem; font-size: 0.75rem; color: #64748b; font-style: normal; }

.auth-input--code { letter-spacing: 0.35em; text-align: center; font-weight: 700; }

@media (max-width: 639px) {
.auth-copy h1 {
  font-size: 1.35rem;
}
}

.auth-ready a.auth-submit {
display: grid;
place-items: center;
text-decoration: none;
text-align: center;
}
/* ─── Intégration ic_core ─── */
.auth-form-brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.auth-form-brand img { width: 44px; height: 44px; border-radius: 10px; }
.auth-form-brand__name { font-weight: 800; font-size: 1.05rem; color: #5b0f44; line-height: 1.1; }
.auth-form-brand__tag { display: block; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #f39247; }
.auth-field .auth-field-error { display: block; margin-top: 0.3rem; font-size: 0.8rem; color: #cd212a; }
.auth-choice { display: flex; flex-direction: column; gap: 0.75rem; }
.auth-choice a { text-align: center; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
.auth-brand-stage { transition: opacity 0.52s ease, transform 0.52s ease; }
.auth-brand-motion--out { opacity: 0; transform: translateY(8px); }
.auth-brand-motion--in { opacity: 1; transform: none; }

/* Panneau Ingenious City : fond clair, illustration IC, devise prune, pastilles */
.auth-brand-panel {
  background: linear-gradient(160deg, #fff4ec 0%, #fbeef6 100%) !important;
  border: 1px solid #f6dccb;
}
.auth-brand-panel::before,
.auth-brand-panel::after { display: none !important; }
.auth-brand-panel-inner { position: relative; }
.ic-auth-panel { display: flex; flex-direction: column; align-items: flex-start; }
.ic-auth-panel__art {
  width: min(15rem, 70%);
  height: auto;
  margin: 0 0 1.5rem;
  border-radius: 1.4rem;
  box-shadow: 0 18px 40px rgba(91, 15, 68, 0.14);
}
.ic-auth-panel .auth-brand-eyebrow { color: #f39247 !important; text-transform: uppercase; }
.ic-auth-manifesto { margin: 0; font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 800; line-height: 1.1; color: #2b0722 !important; }
.ic-auth-manifesto span { color: #f39247; }
.ic-auth-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.25rem 0 0; padding: 0; list-style: none; }
.ic-auth-chips li {
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #f0d6e5;
  color: #5b0f44;
  font-size: 0.8rem;
  font-weight: 700;
}
.ic-auth-note { margin: 0 0 0.75rem; font-size: 0.85rem; line-height: 1.5; color: #5c4a56; }

/* ─── Formulaire plus aéré et plus soigné (identité IC) ─── */
.auth-wizard { gap: 0; }
.auth-form-brand { margin-bottom: 1.75rem; }
.auth-copy { margin-bottom: 1.5rem; }
.auth-copy h1 { margin: 0; font-size: 1.85rem !important; font-weight: 800; letter-spacing: -0.02em; color: #1a181b; }
.ic-auth-subtitle { margin: 0.5rem 0 0; font-size: 0.98rem; line-height: 1.55; color: #5c4a56; }
.ic-auth-subtitle:empty { display: none; }
.auth-form { display: grid !important; gap: 1.25rem !important; }
.auth-field { display: grid; gap: 0.5rem; margin: 0 !important; }
.auth-field label { font-size: 0.875rem !important; font-weight: 700 !important; color: #2b0722 !important; }
.auth-label-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.auth-field input,
.auth-input-wrap input {
  width: 100%;
  min-height: 3.1rem !important;
  padding: 0.8rem 1rem !important;
  border: 1.5px solid #ecdde6 !important;
  border-radius: 0.9rem !important;
  background: #fcf9fb !important;
  font-size: 0.95rem !important;
  color: #1a181b;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.auth-field input:focus,
.auth-input-wrap input:focus {
  outline: none;
  border-color: #5b0f44 !important;
  background: #fff !important;
  box-shadow: 0 0 0 4px rgba(91, 15, 68, 0.1) !important;
}
.auth-input-wrap { position: relative; }
.auth-input-wrap input { padding-right: 3rem !important; }
.auth-eye { position: absolute; right: 0.6rem; top: 50%; transform: translateY(-50%); }
.auth-text-btn { font-size: 0.82rem; font-weight: 600; color: #5b0f44; }
.auth-submit {
  min-height: 3.3rem !important;
  margin-top: 0.5rem;
  border-radius: 0.95rem !important;
  background: #5b0f44 !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  box-shadow: 0 12px 28px rgba(91, 15, 68, 0.22);
}
.auth-submit:hover { background: #3d0a30 !important; }
.auth-footer { margin-top: 1.5rem !important; padding-top: 1.25rem; border-top: 1px solid #f3e6ee; text-align: center; }
.auth-footer p { margin: 0; font-size: 0.92rem; color: #5c4a56; }
.auth-footer a { margin-left: 0.3rem; font-weight: 700; color: #5b0f44; }
.auth-terms { margin-top: 0.25rem; font-size: 0.85rem; line-height: 1.5; }
.auth-footer p { display: block !important; text-align: center !important; }
.auth-footer a { display: inline !important; }
