@charset "UTF-8";
/* Ecrans deconnectes — connexion, inscription, mot de passe.
 *
 * Charge apres `style.css`, qui est le bundle webpack et porte les regles
 * historiques de `.signin-signup`. L'ordre est ce qui permet de les reprendre
 * sans `!important` : a specificite egale, la derniere feuille l'emporte.
 *
 * Deux niveaux. `.auth-split` est la nouvelle page de connexion : panneau de
 * marque a gauche, formulaire a droite. Le reste — inscription, mot de passe
 * oublie, changement de mot de passe — garde sa structure `.signin-signup` et
 * ne recoit que la peau de la direction A, pour qu'un utilisateur qui passe de
 * la connexion a l'inscription ne change pas d'application en chemin. */

/* ---------- 1. La coquille commune, reprise ---------- */

.signin-signup {
  background: var(--fixy-surface);
  min-height: 100vh;
  padding-top: 8vh;
  box-sizing: border-box;
}

.signin-signup .card-like.white {
  border-radius: var(--fixy-radius-card);
  border: 1px solid var(--fixy-line);
  box-shadow: 0 1px 2px rgba(28, 27, 25, 0.04), 0 8px 24px rgba(28, 27, 25, 0.05);
}

.signin-signup hr {
  border-bottom: 1px solid var(--fixy-line);
  opacity: 1;
}

/* ---------- 2. La page de connexion ---------- */

.auth-split {
  display: flex;
  min-height: 100vh;
  background: var(--fixy-surface);
  font-family: "Cairo", sans-serif;
  color: var(--fixy-ink);
}

.auth-brand {
  width: 620px;
  flex-shrink: 0;
  background: var(--fixy-ink);
  color: #f5f2ec;
  padding: 46px 52px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

/* Le halo. Purement decoratif, donc hors flux et derriere le texte. */
.auth-brand::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -120px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: rgba(61, 79, 214, 0.16);
}

.auth-brand-mark,
.auth-brand-copy {
  position: relative;
  z-index: 1;
}

.auth-brand-mark img {
  height: 30px;
  width: auto;
  display: block;
}

.auth-brand-copy {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.auth-brand-copy h1 {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin: 0;
  color: #f5f2ec;
  text-wrap: pretty;
}

.auth-brand-copy p {
  font-size: 16px;
  color: #b5aea2;
  margin: 18px 0 0 0;
  line-height: 1.6;
  max-width: 430px;
  text-wrap: pretty;
}

/* Les quatre connecteurs. Ce sont des faits verifiables, pas une promesse
 * commerciale — d'ou l'absence de tout chiffre invente a cet endroit. */
.auth-brand-connectors {
  list-style: none;
  margin: 40px 0 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.auth-brand-connectors li {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #d9d3c8;
  border: 1px solid rgba(245, 242, 236, 0.18);
  border-radius: 999px;
  padding: 6px 14px;
}

.auth-panel {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  box-sizing: border-box;
}

.auth-form {
  width: 400px;
  max-width: 100%;
}

.auth-eyebrow {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fixy-muted);
  font-weight: 600;
  margin: 0;
}

.auth-title {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 4px 0 0 0;
  color: var(--fixy-ink);
}

.auth-fields {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-top: 28px;
}

.auth-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--fixy-ink-soft);
  margin-bottom: 6px;
}

.auth-label-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.auth-label-row .auth-label {
  margin-bottom: 0;
}

.auth-label-row a {
  font-size: 12px;
  color: var(--fixy-accent);
  text-decoration: none;
}

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

.auth-input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--fixy-line);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 14px;
  font-family: inherit;
  background: var(--fixy-card);
  color: var(--fixy-ink);
}

.auth-input::placeholder {
  color: var(--fixy-placeholder);
}

.auth-input:focus {
  outline: none;
  border-color: var(--fixy-accent);
  box-shadow: 0 0 0 3px rgba(61, 79, 214, 0.12);
}

.auth-submit {
  background: var(--fixy-ink);
  color: #ffffff;
  border: 1px solid var(--fixy-ink);
  border-radius: 8px;
  padding: 13px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  margin-top: 6px;
  cursor: pointer;
  width: 100%;
}

.auth-submit:hover {
  background: #000000;
}

/* Le message d'erreur de connexion. L'original le passait par le snackbar
 * flottant, qui disparait apres quelques secondes ; ici il reste, au-dessus du
 * champ qui l'a provoque. */
.auth-error {
  margin-top: 22px;
  border: 1px solid rgba(198, 43, 66, 0.35);
  background: rgba(198, 43, 66, 0.07);
  color: var(--fixy-loss);
  border-radius: 8px;
  padding: 11px 14px;
  font-size: 13px;
  font-weight: 600;
}

.auth-sep {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 26px 0;
}

.auth-sep::before,
.auth-sep::after {
  content: "";
  flex-grow: 1;
  height: 1px;
  background: var(--fixy-line);
}

.auth-sep span {
  font-size: 12px;
  color: var(--fixy-placeholder);
}

.auth-secondary {
  display: block;
  border: 1px solid var(--fixy-line);
  background: var(--fixy-card);
  border-radius: 8px;
  padding: 13px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--fixy-ink);
  text-decoration: none;
}

.auth-secondary:hover {
  border-color: var(--fixy-ink);
  color: var(--fixy-ink);
}

/* ---------- 3. Etroit ---------- */

/* Sous 1024px le panneau de marque cesse d'etre une colonne : il devient un
 * bandeau, et il perd le halo et l'accroche longue. Ce qui reste est ce qui
 * situe la page — la marque et ce que fait le produit. */
@media (max-width: 1024px) {
  .auth-split {
    flex-direction: column;
  }

  .auth-brand {
    width: 100%;
    padding: 26px 24px 30px 24px;
  }

  .auth-brand::after {
    display: none;
  }

  .auth-brand-copy {
    flex-grow: 0;
    margin-top: 22px;
  }

  .auth-brand-copy h1 {
    font-size: 26px;
  }

  .auth-brand-copy p {
    font-size: 14px;
    margin-top: 12px;
  }

  .auth-brand-connectors {
    margin-top: 22px;
  }

  .auth-panel {
    padding: 32px 24px 56px 24px;
    align-items: flex-start;
  }
}
