/* Page: signup */
.page-signup .card {
  max-width: 640px;
  margin: 0 auto;
  padding: 16px;
}

.page-signup .header p {
  color: var(--secondary-light);
}

/* Responsive layout for signup rows */
.page-signup .row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.page-signup .row .form-group {
  flex: 1 1 260px;
  min-width: 0;
}

.page-signup .form-group input {
  width: 100%;
}

@media (max-width: 768px) {
  .page-signup .container {
    padding: 16px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .page-signup .card {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
  }
  
  .page-signup .header {
    margin: 10px 0 20px;
  }
  
  .page-signup .header h1 {
    font-size: 1.5rem;
  }
  
  .page-signup .row .form-group {
    flex: 1 1 100%;
  }
  
  .page-signup input {
    font-size: 16px; /* Évite le zoom sur iOS */
    padding: 12px;
  }
  
  .page-signup .btn {
    width: 100%;
    padding: 12px;
    font-size: 16px;
  }
  
  .page-signup .btn-secondary {
    width: 100%;
    margin-top: 12px;
  }
}

/* Utilities used by signup.html */
.flex-1 { flex: 1 1 auto; }
.min-w-220 { min-width: 220px; }
.min-w-260 { min-width: 260px; }
.mt-10 { margin-top: 10px; }
