/* Mindblow Login V8 — WP native + Wordfence 2FA + CapsLock fix + reCAPTCHA badge */

:root {
  --mb-black: #05050a;
  --mb-night: #090912;
  --mb-panel: rgba(12, 12, 19, .82);
  --mb-panel-strong: rgba(8, 8, 13, .94);
  --mb-border: rgba(255,255,255,.14);
  --mb-text: #f8f7ff;
  --mb-muted: rgba(248,247,255,.66);
  --mb-faint: rgba(248,247,255,.40);
  --mb-purple: #3e31aa;
  --mb-purple-light: #7568ff;
  --mb-pink: #ff4fd8;
  --mb-radius: 28px;
  --mb-shadow: 0 34px 110px rgba(0,0,0,.56);
  --mb-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mb-logo-white: url("https://mindblow.fr/wp-content/uploads/2024/03/Mindblow-White.svg");
}

* { box-sizing: border-box; }

html,
body.login { min-height: 100%; }

body.login {
  position: relative;
  margin: 0;
  overflow: hidden;
  color: var(--mb-text);
  font-family: var(--mb-font);
  background:
    radial-gradient(circle at 17% 18%, rgba(117,104,255,.24), transparent 29%),
    radial-gradient(circle at 82% 20%, rgba(255,79,216,.13), transparent 31%),
    radial-gradient(circle at 50% 92%, rgba(62,49,170,.31), transparent 36%),
    linear-gradient(135deg, #05050a 0%, #080811 45%, #0d0b19 100%) !important;
}

body.login a { color: inherit; }

.mb-login-atmosphere,
#mb-login-particles,
.mb-orb,
.mb-grid,
.mb-vignette,
.mb-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.mb-login-atmosphere {
  z-index: 0;
  overflow: hidden;
}

#mb-login-particles {
  width: 100%;
  height: 100%;
  z-index: 4;
  opacity: .38;
  mix-blend-mode: screen;
}

.mb-grid {
  z-index: 1;
  opacity: .46;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at 50% 44%, #000 0%, rgba(0,0,0,.78) 42%, transparent 78%);
}

.mb-orb {
  z-index: 2;
  border-radius: 999px;
  filter: blur(58px);
  opacity: .24;
  transform: translateZ(0);
}

.mb-orb-one {
  width: 520px;
  height: 520px;
  left: calc(50% - 560px);
  top: calc(50% - 380px);
  background: var(--mb-purple-light);
  animation: mbOrbOne 12s ease-in-out infinite alternate;
}

.mb-orb-two {
  width: 520px;
  height: 520px;
  right: calc(50% - 590px);
  bottom: calc(50% - 430px);
  background: var(--mb-pink);
  animation: mbOrbTwo 14s ease-in-out infinite alternate;
}

.mb-orb-three {
  width: 430px;
  height: 430px;
  left: calc(50% - 215px);
  top: calc(50% + 120px);
  background: var(--mb-purple);
  opacity: .18;
  animation: mbOrbThree 16s ease-in-out infinite alternate;
}

@keyframes mbOrbOne {
  from { transform: translate3d(-24px, -16px, 0) scale(.92); }
  to { transform: translate3d(32px, 22px, 0) scale(1.06); }
}

@keyframes mbOrbTwo {
  from { transform: translate3d(28px, 18px, 0) scale(1); }
  to { transform: translate3d(-26px, -24px, 0) scale(.9); }
}

@keyframes mbOrbThree {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(0, -32px, 0) scale(1.08); }
}

.mb-vignette {
  z-index: 3;
  background:
    linear-gradient(180deg, rgba(0,0,0,.18), transparent 25%, rgba(0,0,0,.36)),
    radial-gradient(circle at 50% 44%, transparent 0%, rgba(0,0,0,.48) 74%, rgba(0,0,0,.8) 100%);
}

.mb-noise {
  z-index: 5;
  opacity: .07;
  mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.76' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='.66'/%3E%3C/svg%3E");
}

.mb-return-site {
  position: fixed;
  z-index: 30;
  top: 26px;
  right: 28px;
  color: rgba(248,247,255,.66);
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  padding: 11px 14px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 999px;
  background: rgba(255,255,255,.045);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: color .18s ease, border-color .18s ease, background .18s ease, transform .18s ease;
}

.mb-return-site:hover,
.mb-return-site:focus {
  color: #fff;
  border-color: rgba(255,255,255,.25);
  background: rgba(255,255,255,.075);
  transform: translateY(-1px);
  outline: none;
  box-shadow: none;
}

body.login #login {
  position: relative;
  z-index: 10;
  width: min(430px, calc(100vw - 40px)) !important;
  min-height: 100vh;
  margin: 0 auto !important;
  padding: clamp(28px, 6vh, 58px) 0 28px !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  animation: mbLoginIn .72s cubic-bezier(.22,.61,.36,1) both;
}

@keyframes mbLoginIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Logo */
body.login #login h1,
body.login #login h1.wp-login-logo,
body.login #login h1[role="presentation"] {
  order: 1;
  width: 100% !important;
  height: 74px !important;
  margin: 0 0 22px !important;
  padding: 0 !important;
  text-align: center;
  position: relative;
  line-height: 0 !important;
  font-size: 0 !important;
  text-decoration: none !important;
}

body.login #login h1::before,
body.login #login h1.wp-login-logo::before,
body.login #login h1[role="presentation"]::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 310px;
  height: 92px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 50%, rgba(117,104,255,.20), transparent 66%),
    radial-gradient(circle at 50% 50%, rgba(255,79,216,.08), transparent 72%);
  filter: blur(16px);
  opacity: .84;
  pointer-events: none;
}

body.login #login h1 a,
body.login #login h1.wp-login-logo a,
body.login #login h1[role="presentation"] a {
  position: relative;
  display: block !important;
  width: min(286px, 72vw) !important;
  height: 74px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  border: 0 !important;
  background-color: transparent !important;
  background-image: var(--mb-logo-white) !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-size: contain !important;
  color: transparent !important;
  text-indent: -99999px !important;
  overflow: hidden !important;
  font-size: 0 !important;
  line-height: 0 !important;
  text-decoration: none !important;
  outline: none !important;
  box-shadow: none !important;
  filter: drop-shadow(0 18px 34px rgba(0,0,0,.42));
}

body.login #login h1 a::before,
body.login #login h1 a::after { content: none !important; }

body.login #login h1 a:hover,
body.login #login h1 a:focus {
  color: transparent !important;
  text-decoration: none !important;
  box-shadow: none !important;
  outline: none !important;
}

body.login #login::before {
  content: "Accès sécurisé";
  order: 2;
  align-self: center;
  margin: 0 0 16px;
  padding: 7px 11px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px;
  background: rgba(255,255,255,.045);
  color: rgba(248,247,255,.62);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

/* Formulaires WordPress + Wordfence */
body.login #login form,
body.login #loginform,
body.login form#lostpasswordform,
body.login form#registerform {
  order: 3;
  position: relative;
  width: 100% !important;
  min-height: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 30px 30px 28px !important;
  box-sizing: border-box;
  border: 1px solid var(--mb-border) !important;
  border-radius: var(--mb-radius) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.032)),
    var(--mb-panel) !important;
  box-shadow: var(--mb-shadow), inset 0 1px 0 rgba(255,255,255,.08) !important;
  backdrop-filter: blur(28px) saturate(130%);
  -webkit-backdrop-filter: blur(28px) saturate(130%);
  overflow: hidden;
}

body.login #login form::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.48), transparent);
  opacity: .72;
}

body.login #login form::after {
  content: "";
  position: absolute;
  right: -84px;
  top: -84px;
  width: 170px;
  height: 170px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(117,104,255,.18), transparent 68%);
  pointer-events: none;
}

body.login #loginform p,
body.login #login form p,
body.login .user-pass-wrap {
  position: relative;
  z-index: 1;
  margin: 0 0 17px !important;
}

body.login label,
body.login #login form label {
  display: block;
  margin: 0 0 8px !important;
  color: rgba(248,247,255,.74) !important;
  font-size: 13px !important;
  font-weight: 650 !important;
  letter-spacing: -.01em;
}

body.login #login form p,
body.login #login form .description {
  color: rgba(248,247,255,.66) !important;
  font-size: 13px;
  line-height: 1.55;
}

body.login .input,
body.login input[type="text"],
body.login input[type="password"],
body.login input[type="email"],
body.login input[type="number"],
body.login input[type="tel"],
body.login input[name="wfls-token"],
body.login input[name="authcode"],
body.login input[name="otp"],
body.login input[name="code"],
body.login input[name="two-factor-code"],
body.login input[name="two_factor_code"] {
  width: 100% !important;
  min-height: 48px !important;
  margin: 0 !important;
  padding: 0 15px !important;
  box-sizing: border-box;
  border: 1px solid rgba(255,255,255,.12) !important;
  border-radius: 15px !important;
  background: rgba(3,3,8,.58) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 8px 24px rgba(0,0,0,.18) !important;
  color: #fff !important;
  font-size: 15px !important;
  line-height: 48px !important;
  outline: none !important;
    caret-color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}

body.login .input::placeholder,
body.login input::placeholder {
  color: rgba(248,247,255,.38) !important;
}

body.login input:-webkit-autofill,
body.login input:-webkit-autofill:hover,
body.login input:-webkit-autofill:focus,
body.login textarea:-webkit-autofill,
body.login select:-webkit-autofill {
  -webkit-text-fill-color: #fff !important;
  caret-color: #fff !important;
  border: 1px solid rgba(117,104,255,.32) !important;
  -webkit-box-shadow: 0 0 0px 1000px rgba(5,5,12,.94) inset, 0 8px 24px rgba(0,0,0,.18) !important;
  box-shadow: 0 0 0px 1000px rgba(5,5,12,.94) inset, 0 8px 24px rgba(0,0,0,.18) !important;
}

body.login input[name="wfls-token"],
body.login input[name="authcode"],
body.login input[name="otp"],
body.login input[name="code"],
body.login input[name="two-factor-code"],
body.login input[name="two_factor_code"] {
  text-align: center !important;
  letter-spacing: .28em;
  font-weight: 800;
  font-size: 18px !important;
}

body.login .input:hover,
body.login input:hover {
  border-color: rgba(255,255,255,.2) !important;
}

body.login .input:focus,
body.login input[type="text"]:focus,
body.login input[type="password"]:focus,
body.login input[type="email"]:focus,
body.login input[type="number"]:focus,
body.login input[type="tel"]:focus,
body.login input.password-input:focus,
body.login input.password-input:active {
  border-color: rgba(117,104,255,.82) !important;
  background: rgba(5,5,12,.96) !important;
  background-color: rgba(5,5,12,.96) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  box-shadow: 0 0 0 4px rgba(117,104,255,.15), inset 0 1px 0 rgba(255,255,255,.05) !important;
}

body.login input[type="password"],
body.login input.password-input {
  background: rgba(5,5,12,.92) !important;
  background-color: rgba(5,5,12,.92) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

body.login input[type="hidden"] {
  display: none !important;
}

body.login .wp-pwd {
  position: relative;
}

body.login .button.wp-hide-pw,
body.login .wp-hide-pw,
body.login .button-secondary.wp-hide-pw {
  position: absolute !important;
  right: 5px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 38px !important;
  min-width: 38px !important;
  height: 38px !important;
  min-height: 38px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: rgba(255,255,255,.02) !important;
  color: rgba(248,247,255,.74) !important;
  box-shadow: none !important;
}

body.login .button.wp-hide-pw:hover,
body.login .button.wp-hide-pw:focus {
  color: #fff !important;
  background: rgba(255,255,255,.055) !important;
  outline: none !important;
  box-shadow: none !important;
}

body.login .button.wp-hide-pw .dashicons,
body.login .wp-hide-pw .dashicons {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  font-size: 16px;
  line-height: 1;
  color: currentColor !important;
}

body.login .forgetmenot {
  float: none !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px;
  margin: 2px 0 21px !important;
}

body.login .forgetmenot input[type="checkbox"] {
  appearance: auto !important;
  -webkit-appearance: checkbox !important;
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  margin: 0 !important;
  transform: none !important;
  accent-color: #ffffff;
  cursor: pointer;
}

body.login .forgetmenot label {
  display: inline-block !important;
  margin: 0 !important;
  color: rgba(248,247,255,.62) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 16px !important;
  cursor: pointer;
}

body.login p.submit,
body.login #login form .submit {
  display: block !important;
  clear: both !important;
  margin: 0 !important;
  padding: 0 !important;
}

.wp-core-ui body.login .button-primary,
body.login.wp-core-ui .button-primary,
body.login #wp-submit,
body.login #wfls-token-submit,
body.login #login form input[type="submit"],
body.login #login form button[type="submit"] {
  width: 100% !important;
  min-height: 48px !important;
  margin: 0 !important;
  padding: 0 18px !important;
  border: 0 !important;
  border-radius: 15px !important;
  background: linear-gradient(135deg, #fff 0%, #eceaff 100%) !important;
  color: #0b0a12 !important;
  font-size: 14px !important;
  font-weight: 850 !important;
  letter-spacing: -.01em;
  text-shadow: none !important;
  box-shadow: 0 18px 38px rgba(0,0,0,.34), 0 0 0 1px rgba(255,255,255,.34) inset !important;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease !important;
  cursor: pointer;
}

body.login #wp-submit:hover,
body.login #wp-submit:focus,
body.login #wfls-token-submit:hover,
body.login #wfls-token-submit:focus,
body.login #login form input[type="submit"]:hover,
body.login #login form input[type="submit"]:focus {
  transform: translateY(-1px);
  filter: brightness(1.03);
  box-shadow: 0 22px 46px rgba(0,0,0,.42), 0 0 0 1px rgba(255,255,255,.42) inset !important;
  outline: none;
}

/* Wordfence 2FA prompt injecté dans #loginform */
body.login #wfls-prompt-overlay {
  position: absolute !important;
  inset: 0 !important;
  z-index: 20 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px !important;
  border-radius: var(--mb-radius) !important;
  background:
    radial-gradient(circle at 50% 0%, rgba(117,104,255,.22), transparent 44%),
    rgba(8,8,13,.94) !important;
  backdrop-filter: blur(22px) saturate(130%);
  -webkit-backdrop-filter: blur(22px) saturate(130%);
}

body.login #wfls-prompt-wrapper {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: var(--mb-text) !important;
}

body.login #wfls-prompt-wrapper::before {
  content: "Double authentification";
  display: block;
  width: max-content;
  max-width: 100%;
  margin: 0 auto 18px;
  padding: 7px 11px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px;
  background: rgba(255,255,255,.045);
  color: rgba(248,247,255,.62);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

body.login #wfls-prompt-wrapper p {
  margin: 0 0 17px !important;
}

body.login #wfls-prompt-wrapper label {
  text-align: center;
  color: rgba(248,247,255,.78) !important;
}

body.login #wfls-token {
  text-align: center !important;
  letter-spacing: .32em;
  font-weight: 850;
  font-size: 20px !important;
}

body.login .wfls-2fa-code-help,
body.login .wfls-tooltip-trigger {
  color: rgba(248,247,255,.54) !important;
  text-decoration: none !important;
}

body.login .wfls-2fa-code-help:hover,
body.login .wfls-tooltip-trigger:hover {
  color: #fff !important;
}

body.login .wfls-tooltip,
body.login [class*="wfls-tooltip"] {
  border-radius: 12px !important;
  background: rgba(8,8,13,.96) !important;
  border: 1px solid rgba(255,255,255,.16) !important;
  color: rgba(248,247,255,.82) !important;
  box-shadow: 0 18px 46px rgba(0,0,0,.34) !important;
}

/* Caps lock warning
   Important : WordPress injecte le bloc dans le DOM, mais il ne doit être visible
   que lorsque Caps Lock est réellement actif. On ne force plus display:flex par défaut. */
body.login #caps-warning,
body.login .caps-warning {
  position: static !important;
  z-index: 2;
  display: none !important;
  align-items: center;
  gap: 8px;
  margin: 9px 0 0 !important;
  padding: 9px 11px !important;
  border: 1px solid rgba(255,229,0,.24);
  border-radius: 12px;
  background: rgba(255,229,0,.08);
  color: rgba(248,247,255,.78);
  font-size: 12px;
  line-height: 1.35;
}

body.login #caps-warning.mb-caps-visible,
body.login .caps-warning.mb-caps-visible {
  display: flex !important;
}

body.login #caps-warning svg,
body.login .caps-warning svg {
  fill: rgba(255,229,0,.82) !important;
  stroke: rgba(255,229,0,.82) !important;
}

body.login #nav,
body.login #backtoblog,
body.login .privacy-policy-page-link {
  order: 4;
  width: 100%;
  margin: 16px 0 0 !important;
  padding: 0 !important;
  text-align: center !important;
  color: rgba(248,247,255,.55) !important;
}

body.login #backtoblog { margin-top: 10px !important; }
body.login .privacy-policy-page-link { margin-top: 14px !important; }

body.login #nav a,
body.login #backtoblog a,
body.login .privacy-policy-page-link a,
body.login #login form a {
  color: rgba(248,247,255,.68) !important;
  font-size: 13px !important;
  font-weight: 500;
  text-decoration: none !important;
  transition: color .18s ease;
}

body.login #nav a:hover,
body.login #backtoblog a:hover,
body.login .privacy-policy-page-link a:hover,
body.login #login form a:hover {
  color: #fff !important;
  box-shadow: none !important;
  outline: none !important;
}

body.login #nav::before {
  content: "";
  display: block;
  width: 44px;
  height: 1px;
  margin: 0 auto 14px;
  background: rgba(255,255,255,.14);
}

body.login .message,
body.login #login_error,
body.login .notice,
body.login .updated,
body.login .error {
  order: 1;
  width: 100% !important;
  box-sizing: border-box;
  margin: 0 0 16px !important;
  padding: 13px 14px !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  border-left: 1px solid rgba(255,255,255,.14) !important;
  border-radius: 16px !important;
  background: rgba(10,10,16,.72) !important;
  color: rgba(248,247,255,.76) !important;
  box-shadow: 0 18px 46px rgba(0,0,0,.28) !important;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

body.login #login_error,
body.login .error {
  border-color: rgba(255,79,216,.32) !important;
}

body.login .g-recaptcha,
body.login .cf-turnstile,
body.login [class*="captcha"],
body.login [id*="captcha"] {
  position: relative;
  z-index: 2;
  margin: 14px auto 18px !important;
  max-width: 100%;
  display: flex;
  justify-content: center;
}

body.login .language-switcher {
  position: fixed;
  z-index: 19;
  left: 50%;
  bottom: 54px;
  transform: translateX(-50%);
  max-width: calc(100vw - 32px);
  text-align: center;
  opacity: .82;
}

body.login .language-switcher form {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  background: rgba(10,10,16,.62);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

body.login .language-switcher select,
body.login .language-switcher .button {
  height: 36px;
  border-radius: 10px !important;
  border: 1px solid rgba(255,255,255,.13) !important;
  background: rgba(10,10,16,.72) !important;
  color: rgba(248,247,255,.78) !important;
}

.mb-login-footerline {
  position: fixed;
  z-index: 20;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 11px;
  color: rgba(248,247,255,.34);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
  white-space: nowrap;
}

.mb-login-footerline i {
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: rgba(248,247,255,.24);
}

@media (max-width: 520px) {
  body.login { overflow-y: auto; }

  .mb-return-site {
    top: 16px;
    right: 16px;
    width: 42px;
    height: 42px;
    padding: 0;
    display: grid;
    place-items: center;
    font-size: 0;
  }

  .mb-return-site::before {
    content: "↩";
    font-size: 17px;
  }

  body.login #login {
    width: min(100% - 28px, 390px) !important;
    min-height: 100svh;
    padding-top: 28px !important;
    padding-bottom: 78px !important;
  }

  body.login #login h1,
  body.login #login h1.wp-login-logo,
  body.login #login h1[role="presentation"] {
    height: 62px !important;
    margin-bottom: 18px !important;
  }

  body.login #login h1 a,
  body.login #login h1.wp-login-logo a,
  body.login #login h1[role="presentation"] a {
    width: min(238px, 74vw) !important;
    height: 62px !important;
  }

  body.login #login form,
  body.login #loginform,
  body.login form#lostpasswordform,
  body.login form#registerform {
    padding: 24px 20px 22px !important;
    border-radius: 22px !important;
  }

  body.login #wfls-prompt-overlay {
    padding: 24px 20px !important;
    border-radius: 22px !important;
  }

  body.login .language-switcher { display: none; }

  .mb-login-footerline {
    bottom: 18px;
    gap: 8px;
    transform: translateX(-50%) scale(.88);
  }
}


/* Google reCAPTCHA badge
   On le garde visible, mais mieux intégré visuellement. */
body.login .grecaptcha-badge {
  z-index: 99999 !important;
  right: 12px !important;
  bottom: 12px !important;
  opacity: .78;
  border-radius: 12px !important;
  overflow: visible !important;
  box-shadow: 0 12px 34px rgba(0,0,0,.18) !important;
  transition: opacity .18s ease;
}

body.login .grecaptcha-badge:hover,
body.login .grecaptcha-badge:focus-within {
  opacity: 1;
}

body.login .grecaptcha-badge iframe {
  border-radius: 12px !important;
}

@media (max-width: 520px) {
  body.login .grecaptcha-badge {
    right: 8px !important;
    bottom: 8px !important;
    opacity: .62;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }

  #mb-login-particles { display: none !important; }
}
