body {
            font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
            background-color: #f8f9fa;
            margin: 0;
            padding: 0;
        }

        h1 {
            color: #343a40;
            text-align: center;
            margin: 20px auto;
            font-size: 28px;
        }

        main.form-container {
            max-width: 900px;
            margin: auto;
            background: white;
            padding: 30px;
            border-radius: 12px;
            box-shadow: 0 0 10px rgba(0,0,0,0.1);
        }

        label {
            font-weight: bold;
            margin-top: 15px;
            display: block;
        }

        select, textarea, input[type="text"] {
            width: 100%;
            padding: 10px;
            margin-top: 8px;
            border: 1px solid #ced4da;
            border-radius: 6px;
            font-size: 16px;
        }

        .section {
            margin-bottom: 25px;
        }

		.progress-bar-container {
			height: 30px;
			background-color: #e9ecef;
			border-radius: 10px;
			overflow: hidden;
			width: 100%;            /* ✅ ajoute ça ! */
			max-width: 100%;        /* pour éviter débordement */
		}

        .progress-bar-fill {
            height: 100%;
            background: linear-gradient(to right, #28a745, #218838);
            color: white;
            line-height: 30px;
            text-align: right;
            padding-right: 10px;
            width: 0;
            transition: width 1s ease-in-out;
            /*transition: width 0.8s ease;*/
        }
        
	  #percentage {
			/*display: none;*/
	  }

/* Style général des textarea */
textarea {
    font-family: Arial, sans-serif;
    font-size: 14px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%; /* Rendre le textarea réactif */
    box-sizing: border-box; /* Assurez-vous que le padding ne dépasse pas les dimensions */
    margin-bottom: 10px; /* Espacement sous chaque textarea */
}

/* Placeholder personnalisé */
textarea::placeholder {
    font-style: italic;
    color: #888;
}

/* Focus sur le textarea - amélioration de l'interaction */
textarea:focus {
    border-color: #4a90e2; /* Changer la bordure en bleu au focus */
    outline: none; /* Enlever le contour par défaut */
    box-shadow: 0 0 8px rgba(74, 144, 226, 0.3); /* Ajouter un léger effet de focus */
}

/* Style pour les textarea dans la section des commentaires */
textarea#comment {
    height: 120px; /* Hauteur personnalisée pour le commentaire */
    resize: vertical; /* Permet à l'utilisateur de redimensionner uniquement verticalement */
}

/* Style des textarea dans les options de choix */
textarea[id^="name"] {
    width: 90%; /* Réduire légèrement la largeur pour les textarea des choix */
    height: 80px; /* Ajuster la hauteur des champs de choix */
    resize: none; /* Empêcher le redimensionnement */
}
