/* /checkout/register.css */

.nc-page {
  background: #fff7f8;
  min-height: 100vh;
}

.nc-hero {
  padding-top: 7rem; /* pour passer sous la navbar fixe */
  text-align: center;
}

.nc-hero .hero-inner h1 {
  margin-bottom: 0.5rem;
}

.nc-back-btn {
  display: inline-block;
  margin-top: 1.25rem;
}

.nc-container {
  max-width: 3000px;
  margin: 2.5rem auto 4rem;
  padding: 0 1rem;
  display: flex;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  align-items: center;
    flex-direction: column;
}

.nc-card {
  background: #fff;
  border-radius: 1.5rem;
  width: 100%;
    max-width: 950px; 
  padding: 2rem;
    margin: 0 auto; 
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.nc-card h2 {
  margin-bottom: 0.25rem;
}

.nc-desc {
  color: #555;
  margin-bottom: 1.5rem;
}

.nc-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.nc-form label {
  font-weight: 500;
}

.nc-form input {
  width: 100%;
  background: #fff;
  border: 1px solid #ffe0e2;
  border-radius: 999px;
  padding: 0.7rem 1.1rem;
  font-size: 1rem;
}

.nc-form input:focus {
  outline: 2px solid rgba(255, 94, 104, 0.25);
  border-color: #ff5e68;
}

.nc-hint {
  font-size: 0.85rem;
  color: #888;
  margin-top: -0.5rem;
}

.nc-submit {
  width: 100%;
  border: none;
  border-radius: 999px;
  background: #ff5e68;
  color: #fff;
  font-weight: 600;
  padding: 0.9rem 1.2rem;
  cursor: pointer;
  transition: transform 0.1s ease;
}

.nc-submit:hover {
  transform: translateY(-1px);
}

.nc-footer-text {
  margin-top: 1.5rem;
  text-align: center;
}

.nc-footer-text a {
  color: #ff5e68;
  font-weight: 500;
}

.nc-side {
  background: #fff;
  border-radius: 1.5rem;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 5px 20px rgba(0,0,0,0.02);
  height: fit-content;
}

.nc-side h3 {
  margin-bottom: 1rem;
}

.nc-side ul {
  padding-left: 1.2rem;
  margin-bottom: 1.5rem;
}

.nc-side li {
  margin-bottom: 0.4rem;
}

.btn-secondary {
  background: #fff;
  border: 1px solid #ff5e68;
  color: #ff5e68;
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  font-weight: 500;
}

.btn-link {
  display: inline-block;
  color: #ff5e68;
  font-weight: 500;
}

.nc-error {
  background: #ffe5e6;
  color: #a8242a;
  padding: 0.5rem 0.9rem;
  border-radius: 0.75rem;
  font-size: 0.9rem;
  display: block;
}

.nc-success {
  background: #e3ffe7;
  color: #23763c;
  padding: 0.5rem 0.9rem;
  border-radius: 0.75rem;
  font-size: 0.9rem;
  display: block;
}

.nc-error:empty,
.nc-success:empty {
  display: none;
}

/* responsive */
@media (max-width: 880px) {
  .nc-container {
    grid-template-columns: 1fr;
  }
  .nc-side {
    order: 2;
  }
}

/* centre uniquement le header du formulaire */
.nc-card h2,
.nc-card .nc-desc {
  text-align: center;
}

/* comme tu as ajouté des sous-titres */
.nc-form h3 {
  text-align: center;
  margin-top: 1.5rem;
}

/* Page de base */
.nv-page {
  min-height: 70vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 1rem;
}

/* Conteneur centré */
.nv-container {
  display: flex;
  justify-content: center;
  width: 100%;
}

/* Carte centrale */
.nv-card {
  background: #fff;
  border-radius: 1rem;
  padding: 2.5rem 2rem;
  max-width: 520px;
  width: min(520px, 100%);
  text-align: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

/* Icône ✓ / ⚠️ */
.nv-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

/* Textes */
.nv-desc {
  margin-top: 0.5rem;
  color: #4b5563;
}

.nv-small {
  font-size: 0.9rem;
  color: #6b7280;
}

/* Statut (succès / erreur) */
.nv-status {
  margin-top: 1.2rem;
  font-weight: 500;
}

.nv-status-ok {
  color: #15803d;
}

.nv-status-error {
  color: #b91c1c;
}

/* Boutons */
.nv-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.btn-link {
  background: #ec4899;
  color: #fff;
  padding: 0.6rem 1.4rem;
  border-radius: 9999px;
  font-weight: 600;
  text-decoration: none;
}

.btn-link:hover {
  opacity: 0.9;
}

.btn-secondary {
  border: 1px solid #e5e7eb;
  padding: 0.6rem 1.4rem;
  border-radius: 9999px;
  text-decoration: none;
  color: #111827;
  background: #fff;
}

.btn-secondary:hover {
  background: #f3f4f6;
}

/* Un peu de responsive */
@media (max-width: 480px) {
  .nv-card {
    padding: 2rem 1.25rem;
  }
  .nv-actions {
    flex-direction: column;
  }
  .nv-actions a {
    text-align: center;
  }
}
