/* === PAGE D'INSCRIPTION === */

.auth-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 16px;
  background: var(--bg-page);
}

.auth-box {
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  border-radius: var(--rad);
  max-width: 460px;
  width: 100%;
  padding: 32px 28px;
}

.auth-header {
  background: var(--primary);
  color: #fff;
  text-align: center;
  font-weight: 700;
  font-size: 20px;
  padding: 16px;
  border-radius: var(--rad) var(--rad) 0 0;
  margin: -32px -28px 24px -28px;
}

.auth-box h4 {
  text-align: center;
  margin-bottom: 8px;
}

.auth-box p {
  text-align: center;
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 24px;
}

/* === Champs formulaire === */
.form-group {
  margin-bottom: 2rem;
}

.password-wrapper {
  position: relative;
}

.password-wrapper input {
  padding-right: 40px;
}

.password-wrapper .toggle-password {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 20px;
  color: var(--muted);
}

/* Messages d'erreur */
.error-message {
  color: #d93025;
  font-size: 14px;
  margin-top: 5px;
  padding: 6px 10px;
  background-color: #fdecea;
  border: 1px solid #f5c2c0;
  border-radius: 4px;
}

/* Bouton principal */
button[type="submit"] {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--rad);
  padding: 12px;
  font-weight: 600;
  width: 100%;
  cursor: pointer;
}

button[type="submit"]:hover {
  opacity: 0.9;
}

/* Séparateur */
.separator {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 24px 0;
}

.separator .line {
  flex-grow: 1;
  height: 2px;
  background-color: #bbb;
  margin: 0 10px;
}

.separator .text {
  font-size: 14px;
  color: var(--muted);
}

/* Boutons sociaux */
.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px; /* espace entre icône et texte */
  font-weight: 600;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: var(--rad);
  border: 1px solid var(--border);
  transition: background var(--t-fast) var(--easing);
  margin-bottom: 12px; /* espace entre les deux boutons */
  line-height: 1.2; /* alignement vertical du texte */
}

.social-btn i {
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.google-btn {
  border-color: #db4437;
  color: #db4437;
}


.github-btn {
  border-color: #24292f;
  color: #24292f;
}


.social-btn:hover {
  background: #f8f8f8;
}

/* Responsive */
@media (max-width: 576px) {
  .auth-box {
    padding: 24px 20px;
  }
}


