/* Conteneur principal responsive */
.signup-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  min-height: 100vh;
}

@media (min-width: 1024px) {
  .signup-page {
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 4rem;
  }
}

/* Bloc de présentation */
.concept-section {
  background-color: #121212;
  color: #ddd;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  max-width: 420px;
  width: 100%;
  text-align: center;
}

.site-name {
  font-size: 2rem;
  font-weight: 700;
  color: #a78bfa; /* violet moderne */
  margin-bottom: 1rem;
}

.concept-section p {
  font-size: 1rem;
  color: #ccc;
}

/* Bloc d'inscription */
.signup-box {
  background-color: #121212;
  color: #ddd;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  max-width: 420px;
  width: 100%;
}

.signup-box h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  font-weight: 600;
  color: #a78bfa;
}

/* Champs de formulaire */
input.form-control,
select.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  background-color: #1e1e1e;
  color: #eee;
  border: 1px solid #333;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}

input.form-control::placeholder {
  color: #aaa;
}

select.form-control {
  appearance: none;
}

input.form-control:focus,
select.form-control:focus {
  border-color: #a78bfa;
  box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.4);
  outline: none;
}

/* Labels */
.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #ccc;
}

/* Bouton d'envoi */
.btn.btn-success {
  background-color: #a78bfa;
  color: #fff;
  padding: 0.75rem;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
}

.btn.btn-success:hover {
  background-color: #8b5cf6;
}

/* Lien vers connexion */
.login-link {
  text-align: center;
  margin-top: 1rem;
}

.login-link a {
  color: #a78bfa;
  text-decoration: none;
  font-weight: 500;
}

.login-link a:hover {
  text-decoration: underline;
}

/* Messages d'erreur */
.erreur-prenom,
.erreur-nom,
.erreurAnniversaire,
.erreur-mdp,
.erreur-mdpConfirmation,
.erreur-email,
.erreurInscription {
  color: #f87171; /* rouge doux pour les erreurs */
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

/* Loader */
.loaderInscription img {
  display: block;
  margin: 1rem auto;
}
