/* Main container styling */
.questionnaire-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Heading styling */
.questionnaire-container h2 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
}

/* Form fields styling */
.questionnaire-fields {
    display: flex;
    flex-direction: column;
}

/* Individual form group styling */
.form-group {
    margin-bottom: 15px;
}

/* Label styling */
.form-group label {
    font-weight: bold;
    margin-bottom: 5px;
    color: #555;
}

/* Input fields and textarea styling */
.form-group input[type="text"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form-group textarea {
    resize: vertical; /* Allows vertical resizing only */
    max-height: 200px; /* Adjust height as needed */
    min-height: 100px;
}


/* Change border color on focus */
.form-group input[type="text"]:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #0073aa;
    outline: none;
}

/* Submit button styling */
.submit-group input[type="submit"] {
    padding: 10px;
    background-color: #0073aa;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

/* Submit button hover effect */
.submit-group input[type="submit"]:hover {
    background-color: #005f8d;
}

.form-group p {
    font-size: 14px
}

.checkbox-label {
    display: flex;
    align-items: center;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 8px;
    /* Espace entre la case à cocher et le texte */
}

.checkbox-label span {
    line-height: 1.5;
    /* Hauteur de ligne pour une meilleure lisibilité */
    font-size: 14px;
}


/************************/
/* CSS POUR LES ÉTOILES */
/************************/
.form-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

#note {
    display: flex;
    /* Align stars in a row */
}

.star {
    font-size: 30px;
    color: lightgray;
    /* Default unselected color */
    cursor: pointer;
    margin: 0;
    /* Remove margin for a packed effect */
    padding: 0;
    /* Remove padding for a packed effect */
    transition: color 0.2s;
    /* Smooth transition for color change */
}

.star.filled,
.star:hover {
    color: gold;
    /* Selected star color */
}

input[type="radio"] {
    display: none;
    /* Hide the radio button itself */
}

/************************/
/* CSS POUR LES ÉTOILES */
/************************/

/************************/
/* CSS POUR LES POUCES  */
/************************/
.form-group {
    margin: 20px 0;
}

.thumbs {
    display: flex;
    align-items: center;
}

.thumb {
    width: 50px;
    /* Largeur des étiquettes */
    height: 50px;
    /* Hauteur des étiquettes */
    background-color: #ccc;
    /* Gris par défaut */
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.thumb-icon {
    width: 30px;
    /* Largeur de l'icône */
    height: 30px;
    /* Hauteur de l'icône */
    transform: scaleX(-1);
    transition: filter 0.3s;
    /* Douce transition pour la couleur */
}

.down-icon {
    transform: rotate(180deg) scaleX(-1);
    /* Rotation de 180 degrés pour le pouce baissé */
}

.thumb:hover {
    background-color: #A8E6CF;
    /* Couleur au survol pour le pouce levé */
}

.thumb-down:hover {
    background-color: #FF6F61;
    /* Couleur au survol pour le pouce baissé */
}

input[type="radio"]:checked+.thumb {
    background-color: #388E3C;
    /* Couleur quand sélectionné pour le pouce levé */
}

input[type="radio"]:checked+.thumb-down {
    background-color: #C62828;
    /* Couleur quand sélectionné pour le pouce baissé */
}

input[type="radio"]:checked+.thumb .thumb-icon {
    filter: brightness(0) invert(1);
    /* Change le SVG en blanc */
}
/************************/
/* CSS POUR LES POUCES  */
/************************/