/* ============================================================
   SFEC Connect — Écrans d'authentification (connexion / inscription)
   Espace entreprise (app).
   ============================================================ */

.auth {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--surface-1);
}

/* ---------- Connexion : deux panneaux ---------- */
.auth-split {
  width: 100%;
  max-width: 860px;
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  min-height: 460px;
  background: var(--surface-2);
  box-shadow: var(--shadow-2);
}

.auth-split__brand {
  flex: 0 0 44%;
  background: var(--text-accent);
  color: #fff;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.auth-split__brand .logo { display: flex; align-items: center; gap: 10px; }
.auth-split__brand .logo .mark {
  width: 34px; height: 34px;
  border-radius: 9px;
  background: rgba(255, 255, 255, .18);
  display: flex; align-items: center; justify-content: center;
}
.auth-split__brand .logo .mark .ti { font-size: 19px; }
.auth-split__brand .logo .name { font-size: 16px; font-weight: 600; }
.auth-split__brand .headline { font-size: 23px; font-weight: 600; line-height: 1.25; }
.auth-split__brand .sub { font-size: 13px; opacity: .85; margin-top: 10px; line-height: 1.5; }
.auth-split__brand .features { display: flex; flex-direction: column; gap: 9px; }
.auth-split__brand .features .ln { display: flex; align-items: center; gap: 8px; font-size: 12.5px; opacity: .92; }
.auth-split__brand .features .ln .ti { font-size: 16px; }

.auth-split__form {
  flex: 1;
  background: var(--surface-2);
  padding: 34px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ---------- Inscription : carte centrée ---------- */
.auth-card {
  width: 100%;
  max-width: 420px;
  background: var(--surface-2);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-2);
}
.auth-card__brand { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.auth-card__brand .mark {
  width: 32px; height: 32px;
  border-radius: 9px;
  background: var(--text-accent);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.auth-card__brand .mark .ti { font-size: 18px; }
.auth-card__brand .name { font-size: 15px; font-weight: 600; }

/* ---------- Titres & textes communs ---------- */
.auth-title { font-size: 20px; font-weight: 600; margin-bottom: 4px; }
.auth-subtitle { font-size: 13px; color: var(--text-secondary); margin-bottom: 22px; }

.auth-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.auth-meta { text-align: center; font-size: 13px; color: var(--text-secondary); margin-top: 16px; }
.auth-meta a { color: var(--text-accent); font-weight: 500; cursor: pointer; }

.auth-divider {
  display: flex; align-items: center; gap: 12px;
  margin: 20px 0; color: var(--text-muted); font-size: 11.5px;
}
.auth-divider span.line { flex: 1; height: 0.5px; background: var(--border); }

.auth-link-row {
  display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 5px;
}
.auth-link-row a { font-size: 11.5px; color: var(--text-accent); cursor: pointer; }

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
  .auth-split { flex-direction: column; max-width: 420px; min-height: auto; }
  .auth-split__brand { flex: none; }
  .auth-row { grid-template-columns: 1fr; }
}
