/* ===== ProPetGest — Feuille de style pages d'authentification ===== */

.auth-body{
  min-height:100vh;
  margin:0;
  background:linear-gradient(135deg,var(--beige-2) 0%,var(--beige-3) 60%,var(--gris-3) 100%);
  font-family:var(--font-sans);
  color:var(--noir);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
  box-sizing:border-box;
}

.auth-wrap{
  width:100%;
  max-width:440px;
}

.auth-card{
  background:var(--blanc);
  border:1px solid var(--gris-3);
  border-radius:16px;
  box-shadow:0 12px 40px rgba(0,0,0,.08);
  padding:36px 32px 28px;
}

.auth-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  text-align: left;   /* ← était: center */
}

.auth-logo img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--beige);
  flex-shrink: 0;
  margin-bottom: 0;   /* ← supprime l'espace vertical */
}

.auth-logo-text {     /* ← nouveau wrapper texte */
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.auth-logo h1 {
  font-size: 22px;
  margin: 0;
  color: var(--noir);
  font-weight: 800;
}

.auth-sub {
  margin: 0;
  color: var(--gris);
  font-size: 14px;
}

.auth-field{
  margin-bottom:16px;
}
.auth-field label{
  display:block;
  font-size:13px;
  font-weight:700;
  color:var(--gris);
  margin-bottom:6px;
  letter-spacing:.3px;
  text-transform:uppercase;
}
.auth-field input{
  width:100%;
  box-sizing:border-box;
  padding:11px 14px;
  border:1.5px solid var(--gris-3);
  border-radius:10px;
  font-family:inherit;
  font-size:15px;
  background:var(--beige-3);
  transition:border-color .15s,background .15s;
}
.auth-field input:focus{
  outline:none;
  border-color:var(--beige);
  background:var(--blanc);
}
.auth-field input:disabled{
  background:var(--gris-3);
  color:var(--gris);
}

.auth-btn{
  width:100%;
  padding:12px 16px;
  border:none;
  border-radius:10px;
  background:var(--noir);
  color:var(--blanc);
  font-family:inherit;
  font-size:15px;
  font-weight:700;
  cursor:pointer;
  margin-top:8px;
  transition:transform .1s,box-shadow .15s,background .15s;
}
.auth-btn:hover{
  background:var(--gris);
  box-shadow:0 6px 20px rgba(0,0,0,.15);
}
.auth-btn:active{ transform:translateY(1px); }

.auth-alert{
  padding:12px 14px;
  border-radius:10px;
  font-size:14px;
  margin-bottom:18px;
  line-height:1.45;
}
.auth-alert--err{
  background:var(--rouge-2);
  color:var(--rouge);
  border:1px solid var(--rouge-3);
}
.auth-alert--ok{
  background:var(--vert-2);
  color:var(--vert);
  border:1px solid var(--vert-3);
}

.auth-links{
  text-align:center;
  margin-top:18px;
  font-size:14px;
}
.auth-links a{
  color:var(--gris);
  text-decoration:none;
  border-bottom:1px dotted var(--gris-2);
}
.auth-links a:hover{
  color:var(--noir);
  border-bottom-color:var(--noir);
}

.auth-footer{
  text-align:center;
  margin-top:22px;
  font-size:12px;
  color: #111;
  font-weight: 700
  letter-spacing:.5px;
}

@media (max-width:480px){
  .auth-card{ padding:28px 22px 22px; }
  .auth-logo h1{ font-size:20px; }
}
