/* Bareshoes.fr — Page Connexion / Création de compte (module bareshoes_connexion).
   Maquette validée le 30/10/2026 : Manrope, texte #141414, boutons noirs → fuchsia au survol,
   panneau d'information bleu brume #e8f0f7, réassurance de l'accueil sous le formulaire. */

#authentication #content-wrapper, #registration #content-wrapper { width: 100%; }

.bhs-cx {
  display: flex; flex-wrap: wrap; gap: 32px; align-items: stretch;
  max-width: 1120px; margin: 8px auto 0; padding: 0 0 8px;
  font-family: Manrope, Arial, Helvetica, sans-serif; color: #141414; text-align: left;
}
.bhs-cx *, .bhs-cx *::before, .bhs-cx *::after { box-sizing: border-box; }

/* ---------- Carte du formulaire ---------- */
.bhs-cx__carte {
  flex: 999 1 460px; min-width: 0; padding: 40px;
  border: 1px solid #e6e6e6; border-radius: 8px; background: #ffffff;
}
.bhs-cx__titre {
  margin: 0 0 8px; font-family: inherit; font-size: 30px; font-weight: 700; line-height: 1.2;
  color: #141414; text-transform: none; letter-spacing: 0; text-align: left;
}
.bhs-cx__intro { margin: 0 0 26px; font-size: 16px; line-height: 1.5; color: #4d4d4a; }
.bhs-cx__form { margin: 0; }
.bhs-cx__label { display: block; margin: 0 0 8px; font-size: 14px; font-weight: 600; color: #141414; text-align: left; }
.bhs-cx__ligne { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.bhs-cx__ligne .bhs-cx__label { margin: 0; }

.bhs-cx__champ {
  display: block; width: 100%; height: 50px; margin: 0; padding: 0 14px;
  border: 1px solid #a8a8a8; border-radius: 6px; background: #ffffff; box-shadow: none;
  font-family: inherit; font-size: 16px; color: #141414;
}
.bhs-cx__champ:focus { outline: 2px solid #ff0066; outline-offset: 1px; border-color: #141414; }
.bhs-cx__champ--code { max-width: 240px; font-size: 22px; font-weight: 700; letter-spacing: 6px; }
.bhs-cx__cache { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; }

.bhs-cx__mdp { position: relative; }
.bhs-cx__mdp .bhs-cx__champ { padding-right: 100px; }
.bhs-cx__voir {
  position: absolute; top: 3px; right: 4px; height: 44px; padding: 0 12px; border: 0; background: none;
  font-family: inherit; font-size: 14px; font-weight: 600; color: #141414; text-decoration: underline; cursor: pointer;
}

.bhs-cx__bouton, .bhs-cx .bhs-cx__natif .form-control-submit {
  display: flex; align-items: center; justify-content: center; width: 100%; min-height: 52px; margin: 18px 0 0; padding: 12px 20px;
  border: 0; border-radius: 6px; background: #141414; color: #ffffff; box-shadow: none;
  font-family: inherit; font-size: 16px; font-weight: 700; line-height: 1.3; text-transform: none; letter-spacing: 0;
  cursor: pointer; transition: background-color .25s; float: none;
}
.bhs-cx__bouton:hover, .bhs-cx__bouton:focus,
.bhs-cx .bhs-cx__natif .form-control-submit:hover, .bhs-cx .bhs-cx__natif .form-control-submit:focus { background: #ff0066; color: #ffffff; }
.bhs-cx__bouton:focus-visible { outline: 2px solid #141414; outline-offset: 2px; }
.bhs-cx__bouton[disabled] { opacity: .6; cursor: wait; }

.bhs-cx__bouton-sec {
  display: block; width: 100%; min-height: 48px; margin: 12px 0 0; padding: 10px 16px;
  border: 1px solid #a8a8a8; border-radius: 6px; background: #ffffff; color: #141414;
  font-family: inherit; font-size: 15px; font-weight: 600; cursor: pointer;
}
.bhs-cx__bouton-sec:hover { border-color: #141414; }

.bhs-cx__lien {
  padding: 8px 0; border: 0; background: none; font-family: inherit; font-size: 14px; font-weight: 600;
  color: #141414; text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.bhs-cx__lien:hover { color: #ff0066; }
.bhs-cx__liens { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; margin-top: 10px; }

.bhs-cx__puce {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin: 0 0 20px; padding: 6px 8px 6px 14px; border-radius: 6px; background: #f6f6f6; font-size: 15px;
}
.bhs-cx__puce-email { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.bhs-cx__info, .bhs-cx__alerte, .bhs-cx__erreur { margin: 14px 0 0; padding: 12px 14px; border-radius: 6px; font-size: 14px; line-height: 1.45; }
.bhs-cx__info { background: #e8f0f7; color: #141414; }
.bhs-cx__erreur, .bhs-cx__alerte { background: #fdecef; color: #8a0f2e; }
.bhs-cx__alerte { margin: 0 0 18px; }
.bhs-cx__alerte p { margin: 0; color: inherit; }
.bhs-cx [hidden] { display: none !important; }

.bhs-cx__ou { display: flex; align-items: center; gap: 14px; margin: 28px 0 18px; font-size: 13px; color: #6b6b68; }
.bhs-cx__ou::before, .bhs-cx__ou::after { content: ""; flex: 1; height: 1px; background: #e2e2e2; }
.bhs-cx__google { display: flex; justify-content: center; min-height: 44px; }
.bhs-cx__mention { margin: 12px 0 0; font-size: 13px; line-height: 1.5; color: #6b6b68; text-align: center; }
.bhs-cx__mention a { color: #4d4d4a; text-decoration: underline; }
.bhs-cx__deja { margin: 20px 0 0; font-size: 15px; }
.bhs-cx__deja a { font-weight: 700; color: #141414; text-decoration: underline; text-underline-offset: 3px; }
.bhs-cx__deja a:hover { color: #ff0066; }

/* Étapes : sans JavaScript tout reste visible ; avec, une seule étape à la fois. */
.bhs-cx--js .bhs-cx__etape { display: none; }
.bhs-cx--js .bhs-cx__etape.is-active { display: block; }

/* ---------- Formulaire natif (création de compte) ---------- */
.bhs-cx__natif .form-group.row { display: block; margin: 0 0 18px; }
.bhs-cx__natif .form-group.row > [class*="col-"] { float: none; width: 100%; max-width: none; padding: 0; flex: none; }
.bhs-cx__natif .form-control-label { display: block; margin: 0 0 8px; padding: 0; font-size: 14px; font-weight: 600; color: #141414; text-align: left; }
.bhs-cx__natif .form-control-label.required::after { content: none; }
.bhs-cx__natif .form-control:not([type="checkbox"]):not([type="radio"]) {
  height: 50px; padding: 0 14px; border: 1px solid #a8a8a8; border-radius: 6px; background: #ffffff;
  font-family: inherit; font-size: 16px; color: #141414; box-shadow: none;
}
.bhs-cx__natif .form-control:focus { outline: 2px solid #ff0066; outline-offset: 1px; border-color: #141414; }
.bhs-cx__natif .input-group .form-control { border-radius: 6px 0 0 6px; }
.bhs-cx__natif .input-group-btn .btn,
.bhs-cx__natif .input-group-btn .btn[data-action="show-password"] {
  height: 50px; background: #ffffff !important; color: #141414 !important;
  border: 1px solid #a8a8a8 !important; border-left: 0 !important; border-radius: 0 6px 6px 0 !important; box-shadow: none !important;
  font-family: inherit; font-size: 14px; font-weight: 600; text-transform: none; text-decoration: underline; text-underline-offset: 3px;
}
.bhs-cx__natif .input-group-btn .btn:hover { background: #ffffff !important; color: #ff0066 !important; }
.bhs-cx__natif .form-control-comment { display: block; margin-top: 6px; padding: 0; font-size: 13px; color: #6b6b68; text-align: left; }
.bhs-cx__natif .form-group.row > .col-md-3.form-control-comment:empty { display: none; }
.bhs-cx__natif .radio-inline { margin-right: 18px; font-size: 15px; }
.bhs-cx__natif .custom-checkbox label { font-size: 15px; font-weight: 500; line-height: 1.45; text-align: left; }
.bhs-cx__natif .form-footer { margin: 0; text-align: left; }
.bhs-cx__natif .help-block, .bhs-cx__natif .alert { border-radius: 6px; font-size: 14px; }
.bhs-cx__natif section { margin: 0; }

/* ---------- Panneau « Avec votre compte » ---------- */
.bhs-cx__cote { flex: 1 1 340px; min-width: 0; padding: 40px; border-radius: 8px; background: #e8f0f7; }
.bhs-cx__cote-titre { margin: 0 0 24px; font-family: inherit; font-size: 20px; font-weight: 700; color: #141414; text-transform: none; letter-spacing: 0; }
.bhs-cx__avantages { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 22px; }
.bhs-cx__avantages li { display: flex; gap: 14px; align-items: flex-start; margin: 0; font-size: 15px; line-height: 1.45; color: #3d3d3a; }
.bhs-cx__avantages strong { display: block; font-weight: 700; color: #141414; }
.bhs-cx__rond { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%; background: #ffffff; display: inline-flex; align-items: center; justify-content: center; }
.bhs-cx__rond svg { width: 20px; height: 20px; fill: none; stroke: #141414; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bhs-cx__conseil { margin: 32px 0 0; padding-top: 24px; border-top: 1px solid #c9d7e6; font-size: 15px; line-height: 1.5; color: #141414; }
.bhs-cx__conseil a { font-weight: 700; color: #141414; text-decoration: underline; text-underline-offset: 3px; }
.bhs-cx__conseil a:hover { color: #ff0066; }

/* ---------- Réassurance (module bareshoes_reassurance) ---------- */
.bhs-cx__reassurance { clear: both; max-width: 1120px; margin: 24px auto 16px; }
.bhs-cx__reassurance::after { content: ""; display: table; clear: both; }
.bhs-cx__reassurance .bhs-rea .container { width: auto; max-width: none; padding: 0; }

/* ---------- Téléphone ---------- */
@media (max-width: 767px) {
  .bhs-cx { gap: 20px; margin-top: 0; }
  .bhs-cx__carte { padding: 24px 18px; border: 0; border-radius: 0; }
  .bhs-cx__titre { font-size: 26px; }
  .bhs-cx__intro { font-size: 15px; margin-bottom: 22px; }
  .bhs-cx__cote { padding: 22px 20px; }
  .bhs-cx__cote-titre { font-size: 17px; margin-bottom: 16px; }
  .bhs-cx__avantages { gap: 14px; }
  .bhs-cx__avantages li { font-size: 14px; align-items: center; }
  .bhs-cx__av-d { display: none; }
  .bhs-cx__rond { flex-basis: 32px; width: 32px; height: 32px; }
  .bhs-cx__rond svg { width: 17px; height: 17px; }
  .bhs-cx__conseil { margin-top: 20px; padding-top: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .bhs-cx__bouton, .bhs-cx .bhs-cx__natif .form-control-submit { transition: none; }
}
