/* Forms & inputs */
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 20px;
}
.header {
  text-align: center;
  margin: 20px 0 24px;
}
.header h1 {
  margin: 0 0 6px;
}
.form-group {
  margin-bottom: 12px;
}
input,
select,
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: var(--text-body);
  background: var(--background);
  color: var(--secondary);
}
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 56, 92, 0.15);
}
textarea {
  min-height: 90px;
}
.card {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.nav {
  display: flex;
  gap: 8px;
}
.alert {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--surface-border);
  background: var(--surface);
  color: var(--secondary);
}
.alert-warning {
  background: var(--warning-bg);
  border: 1px solid var(--warning-border);
  color: var(--warning-text);
}
/* Link copy box */
.link-box {
  display: flex;
  gap: 8px;
  align-items: center;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 8px;
}

/* Mobile responsive improvements */
@media (max-width: 768px) {
  .container {
    padding: 16px;
  }
  
  input, select, textarea {
    font-size: 16px; /* Évite le zoom automatique sur iOS */
    -webkit-appearance: none; /* Supprime le style par défaut iOS */
    appearance: none; /* Standard property pour compatibilité */
  }
  
  .card {
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
  }
  
  .form-group {
    margin-bottom: 16px;
  }
  
  /* Améliore l'accessibilité tactile */
  input, select, textarea, .btn {
    min-height: 44px; /* Taille minimale recommandée pour le tactile */
  }
}
