body {
  /* Utilise le fond léger global */
  background: var(--light-bg, #f9fafb);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 1rem;
}

/* On renomme .container en .container-register pour éviter les conflits Bootstrap */
.container-register {
  background: #fff;
  padding: 2.5rem;
  border-radius: 8px; /* Même radius que Admin */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  width: 100%;
  max-width: 550px;
  animation: fadeIn 0.5s ease-out;
}

/* Animation d'apparition douce */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.header {
  border-bottom: 1px solid #eee;
  padding-bottom: 1.5rem;
}

.form-title {
  color: var(--secondary-color, #1f2937);
  font-weight: 600;
}

/* Inputs harmonisés avec Palmarès et Admin */
.form-control {
  height: 50px;
  border: 1px solid #e0e0e0;
  padding-left: 1.2rem;
  font-size: 0.95rem;
  border-radius: 4px;
  transition: border-color 0.3s;
}

.form-control:focus {
  border-color: var(--primary-color, #0d6efd);
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
}

/* Bouton Retour */
.btn-back {
  padding: 0.5rem 1rem;
  border-radius: 50px; /* Bouton arrondi "pill" */
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 576px) {
  .container-register {
    padding: 1.5rem;
  }

  .header {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 1rem;
  }

  .btn-back {
    width: 100%;
    justify-content: center;
  }
}
