/* v1.0.12 - aide orientation + checklist mot de passe lisible */
body .coab-route-helper {
  margin: 0 0 12px !important;
  color: #9fb1bf !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
}

body .coab-auth-field--password .coab-password-rules {
  display: grid !important;
  gap: 9px !important;
  margin: 12px 0 0 !important;
}

body .coab-auth-field--password .coab-password-rules__item {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  color: #9fb1bf !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
}

body .coab-auth-field--password .coab-password-rules__icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(159, 177, 191, .42) !important;
  background: rgba(255, 255, 255, .04) !important;
  color: #9fb1bf !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}

body .coab-auth-field--password .coab-password-rules__icon::before {
  content: "x" !important;
}

body .coab-auth-field--password .coab-password-rules__item.is-pending {
  color: #9fb1bf !important;
}

body .coab-auth-field--password .coab-password-rules__item.is-missing {
  color: #fca5a5 !important;
}

body .coab-auth-field--password .coab-password-rules__item.is-missing .coab-password-rules__icon {
  border-color: rgba(239, 68, 68, .62) !important;
  background: rgba(239, 68, 68, .14) !important;
  color: #fca5a5 !important;
}

body .coab-auth-field--password .coab-password-rules__item.is-valid {
  color: #86efac !important;
}

body .coab-auth-field--password .coab-password-rules__item.is-valid .coab-password-rules__icon {
  border-color: #27ae60 !important;
  background: #27ae60 !important;
  color: #06150c !important;
}

body .coab-auth-field--password .coab-password-rules__item.is-valid .coab-password-rules__icon::before {
  content: "\2713" !important;
}

html[data-theme="light"] body .coab-route-helper {
  color: #52697a !important;
}

html[data-theme="light"] body .coab-auth-field--password .coab-password-rules__item {
  color: #65798a !important;
}

html[data-theme="light"] body .coab-auth-field--password .coab-password-rules__icon {
  background: #f4f7fa !important;
  border-color: #cbd6df !important;
  color: #65798a !important;
}

html[data-theme="light"] body .coab-auth-field--password .coab-password-rules__item.is-missing {
  color: #b42318 !important;
}

html[data-theme="light"] body .coab-auth-field--password .coab-password-rules__item.is-missing .coab-password-rules__icon {
  background: #fff1f0 !important;
  border-color: #f04438 !important;
  color: #b42318 !important;
}

html[data-theme="light"] body .coab-auth-field--password .coab-password-rules__item.is-valid {
  color: #167b42 !important;
}

html[data-theme="light"] body .coab-auth-field--password .coab-password-rules__item.is-valid .coab-password-rules__icon {
  background: #27ae60 !important;
  border-color: #27ae60 !important;
  color: #fff !important;
}

/* Certigate Auth v1.0.13 — téléphone intelligent */
body .coab-auth-phone-grid{display:grid;grid-template-columns:minmax(140px,.75fr) minmax(0,1.25fr);gap:12px;align-items:start}
body .coab-auth-field input.is-invalid{border-color:#EF4444!important;box-shadow:0 0 0 4px rgba(239,68,68,.12)!important}
body .coab-auth-help.is-error{color:#FCA5A5!important;font-weight:700}
html[data-theme="light"] body .coab-auth-help.is-error{color:#B91C1C!important}
@media(max-width:640px){body .coab-auth-phone-grid{grid-template-columns:1fr}}


/* Certigate Auth v1.0.16 — language switcher hardening */
body .coab-auth-topbar{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important}
body .coab-auth-lang-switcher{display:inline-flex!important;align-items:center!important;gap:4px!important;padding:4px!important;border:1px solid rgba(255,255,255,.10)!important;border-radius:999px!important;background:rgba(255,255,255,.045)!important;box-shadow:0 10px 26px rgba(0,0,0,.12)!important}
body .coab-auth-lang-switcher a{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:38px!important;height:34px!important;padding:0 10px!important;border-radius:999px!important;color:#A8B5C3!important;text-decoration:none!important;font-weight:900!important;font-size:12px!important;letter-spacing:.03em!important}
body .coab-auth-lang-switcher a.is-active{background:#C9A227!important;color:#091E2B!important;box-shadow:0 8px 18px rgba(201,162,39,.20)!important}
html[data-theme="light"] body .coab-auth-lang-switcher{background:#fff!important;border-color:rgba(15,36,51,.14)!important;box-shadow:0 8px 24px rgba(10,31,48,.08)!important}
html[data-theme="light"] body .coab-auth-lang-switcher a{color:#52697a!important}
html[data-theme="light"] body .coab-auth-lang-switcher a.is-active{background:#C9A227!important;color:#102533!important}
@media(max-width:640px){body .coab-auth-lang-switcher a{min-width:34px!important;height:32px!important}}
