/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
Template: hello-elementor
Author: Elementor Team
Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
Description: Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
Tags: accessibility-ready,flexible-header,custom-colors,custom-menu,custom-logo,featured-images,rtl-language-support,threaded-comments,translation-ready
Version: 3.1.1.1728485752
Updated: 2024-10-09 16:55:52

*/

/*Etapes de formulaire - visible-hide*/
.form-step {
    display: none;
}
#part1 {
    display: block;
}
#part2 {
    display: block;
}
#part3 {
    display: block;
}
#part4 {
    display: block;
}
/*Fin des etapes de formulaire*/
/* Applique un style global à la page */
body {
  font-family: Arial, sans-serif;
  background-color: #f5f5f5; /* Fond gris clair */
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

/* Conteneur du formulaire */
form {
  background-color: #ffffff; /* Fond blanc */
  border-radius: 10px; /* Coins arrondis */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Ombre légère */
  padding: 20px 30px;
  width: 100%;
  max-width: 600px;
}

/* Espacement entre les champs */
form label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

form input, form select, form button {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px; /* Coins arrondis pour les champs */
  font-size: 14px;
}

input[type="radio"], label {
    display: inline;
    margin-right: 10px; /* Espace entre chaque groupe */
}

/* Bouton de soumission */
form button {
  background-color: #007BFF;
  color: white;
  border: none;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

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

/* Titre des sections */
h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

/* Résultat affiché */
p {
  font-size: 14px;
  color: #333;
}

.toggle-switch {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

/* Style commun pour masquer les input natifs */
.toggle-switch input[type="checkbox"],
.toggle-switch input[type="radio"] {
  display: none;
}

.toggle-switch label {
  position: relative;
  padding-left: 50px;
  cursor: pointer;
  user-select: none;
  font-size: 16px;
}

/* Barre de fond de l'interrupteur */
.toggle-switch label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 20px;
  background-color: #ddd;
  border-radius: 20px;
  transition: background-color 0.3s;
}

/* Curseur de l'interrupteur */
.toggle-switch label::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  background-color: white;
  border-radius: 50%;
  transition: left 0.3s;
}

/* Effet activé pour les cases à cocher */
.toggle-switch input[type="checkbox"]:checked + label::before {
  background-color: #2196F3;
}

.toggle-switch input[type="checkbox"]:checked + label::after {
  left: 24px;
}

/* Effet activé pour les boutons radio */
.toggle-switch input[type="radio"]:checked + label::before {
  background-color: #4caf50;
}

.toggle-switch input[type="radio"]:checked + label::after {
  left: 24px;
}
/* Anime va-et-viens-fluide*/
@keyframes slideIn {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideOut {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(20px);
  }
}

.toggle-show {
  display: block;
  animation: slideIn 0.5s ease-out;
}

.toggle-hide {
  display: none;
  animation: slideOut 0.5s ease-in;
}


