/**
 * Styles pour le formulaire de démonstration de validation
 */

.validation-test-form-wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 5px;
}

.validation-test-form-wrapper h2 {
  margin-top: 0;
  margin-bottom: 20px;
  color: var(--wp--preset--color--primary);
}

.validation-test-form .form-section {
  margin-bottom: 30px;
  padding: 15px;
  background-color: white;
  border: 1px solid #eee;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.validation-test-form .form-section h3 {
  margin: 0;
  padding: 0;
  font-size: 18px;
  color: var(--wp--preset--color--primary);
}

.validation-test-form .form-actions {
  display: flex;
  justify-content: flex-start;
  gap: 10px;
  margin-top: 20px;
}

.validation-test-form button.button {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--wp--preset--color--primary);
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s;
}

.validation-test-form button.button:hover {
  background-color: #0056b3;
}

.validation-test-form button.button[type='reset'] {
  background-color: #6c757d;
}

.validation-test-form button.button[type='reset']:hover {
  background-color: #5a6268;
}

.validation-success {
  background-color: #dff0d8;
  color: #3c763d;
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid #d6e9c6;
  border-radius: 4px;
}

.validation-success h4 {
  margin-top: 0;
}

.validation-success a.button {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--wp--preset--color--primary);
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  text-decoration: none;
}

.validation-success a.button:hover {
  background-color: #0056b3;
  text-decoration: none;
}

.validation-errors {
  background-color: #f2dede;
  color: #a94442;
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid #ebccd1;
  border-radius: 4px;
}

.validation-errors h4 {
  margin-top: 0;
}
