/* -----------------------------------------------------
   PAGE SIGNUP — WRAPPER GLOBAL CENTRÉ
----------------------------------------------------- */
.signup-wrapper {
  min-height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 1rem;
  background: var(--soft-gray-green);
}

/* -----------------------------------------------------
   CARTE SIGNUP (identique login)
----------------------------------------------------- */
.signup-card {
  width: 100%;
  max-width: 480px;
  background: var(--white);
  padding: 2.2rem;
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(0,0,0,.10);
  border: 1px solid var(--border-soft);
  text-align: center;
}

/* -----------------------------------------------------
   TITRE
----------------------------------------------------- */
.signup-card h1 {
  font-size: 2rem;
  margin-bottom: 1.6rem;
  color: var(--primary);
}

/* -----------------------------------------------------
   FORMULAIRE
----------------------------------------------------- */
.signup-card form {
  text-align: left;
}

/* Neutraliser form global (forms.css) */
.signup-card form {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

/* Groupes */
.signup-card .form-group {
  margin-bottom: 1.3rem;
}

/* Labels */
.signup-card label {
  display: block;
  margin-bottom: .4rem;
  font-weight: 600;
  color: var(--text-main);
}

/* Inputs */
.signup-card input,
.signup-card select,
.signup-card textarea {
  width: 100%;
  padding: .75rem .85rem;
  border-radius: var(--radius);
  border: 1px solid #cfd8dc;
  background: #fff;
  font-size: 1rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.signup-card input:focus,
.signup-card select:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(76,175,80,.25);
}

/* -----------------------------------------------------
   ERREURS
----------------------------------------------------- */
.signup-card .error-message,
.signup-card .error {
  background: #ffebee;
  color: #b71c1c;
  border: 1px solid #ffcdd2;
  padding: .7rem 1rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

/* -----------------------------------------------------
   BOUTON
----------------------------------------------------- */
.signup-card .btn-primary {
  width: 100%;
  padding: .9rem;
  margin-top: .6rem;
}

/* Responsive */
@media (max-width: 640px) {
  .signup-card {
    padding: 1.6rem;
  }
}
