/******************
    CSS personnalisé People Vox
    ---------------------------
    Chargé après css/pv-theme.css : les règles écrites ici l'emportent.
    Reprend les classes clients du thème PV2025_Large_Logo (MGEN, BWT, AKG,
    eNPS et satisfaction en couleurs, « Autre » en ligne…).
    Retirés par rapport à l'ancien fichier :
      - le bouton « Envoyer » noir en 26 px (le thème a son propre bouton Envoyer) ;
      - la couleur noire imposée à toutes les listes (dl, ol, ul) ;
      - la largeur de 50 % de la colonne des sous-questions, devenue l'option
        « Colonne des sous-questions dans les tableaux » (50 % par défaut).
*/



.ls-answers th.control-label {
    text-align: left; /* Aligne le texte à gauche */
    word-break: normal;
}

#outerframeContainer {
  word-wrap: normal;
  hyphens: unset;
}

.ls-answers .ls-heading > th {
  vertical-align: middle;
}

/* =========================================================================
   STYLE MGEN CSE.C — Question "Affichage de texte"
   À placer dans : Thème → Options → Custom CSS
   Application : saisir "mgen-affichage" dans le champ "Classe CSS"
   de la question (onglet Logique / Options avancées de la question)
   ========================================================================= */

/* Neutraliser le cadre de la question et le bandeau bleu */
.mgen-affichage.question-container {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0.75em 0 0.6em 0 !important;
    margin: 3em 0 1.5em 0 !important;
    border-top: 2px solid #75B625 !important;
    border-bottom: 2px solid #75B625 !important;
}
.mgen-affichage .question-title-container {
    background: transparent !important;
    color: inherit !important;
    padding: 0 !important;
}

/* Styler le texte de la sous-section en vert MGEN */
.mgen-affichage .ls-label-question {
    color: #75B625 !important;
    font-size: 18pt !important;
    font-family: 'Arial', Roboto, Helvetica, sans-serif !important;
    font-weight: bold !important;
    text-decoration: none !important;
    line-height: 1.5 !important;
}

/* Masquer les zones inutiles (aide, validation, réponse cachée) */
.mgen-affichage .answer-container,
.mgen-affichage .question-help-container,
.mgen-affichage .question-valid-container {
    display: none !important;
}

.other-text-inline li.checkbox-text-item {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    padding-left: 22px !important;
}

.other-text-inline li.checkbox-text-item .other-text-item input {
    width: 250px !important;
}

/* Styler le texte des réponses NPS en noir */
.akg-nps-noir .ls-answers .btn,
.akg-nps-noir .ls-answers .btn label,
.akg-nps-noir .ls-answers .answer-item,
.akg-nps-noir .ls-answers .answer-item label {
    color: #000000 !important;
    font-weight: bold !important;
}

/* =========================================================================
   STYLE BWT — Paramétrage du format du groupe 
   À placer dans : Thème → Options → Custom CSS
   Application : saisir "bwt-title" dans la description du gorupe
   ========================================================================= */
   /* Styler le texte des groupe selon BWT */
.bwt-title { color:#00174B; font-weight:700; font-size:30px; }
.bwt-chevron { color:#FF88BD; font-weight:700; font-size:30px; }
.group-description .well {
    background: none !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}
.bwt-info-box .question-title-container {
    background: none !important;
    background-color: transparent !important;
    color: #00174B !important;
    padding: 0 !important;
}
.bwt-info-box .question-container {
    background-color: #F4F6F9 !important;
    color: #00174B !important;
    font-weight: 400 !important;
    font-size: 15px !important;
    border: 2px solid #FF88BD !important;
    padding: 16px 20px !important;
    border-radius: 6px !important;
}
/* Option "Autre" intégrée : alignée sur les items, champ court sur la même ligne */
.autre-inline li.checkbox-text-item.row {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-top: -5px !important;    /* compense la hauteur du champ */
  padding-left: 20px !important;  /* aligne la case sur les autres */
}
.autre-inline li.checkbox-text-item > .col-auto {
  padding-left: 0 !important;
}
.autre-inline li.checkbox-text-item .other-text-item {
  flex: 0 1 500px !important;     /* largeur du champ */
  width: auto !important;
  padding-left: .75em !important;
}
.autre-inline li.checkbox-text-item .other-text-item input[type="text"] {
  width: 100% !important;
  padding-top: .1rem !important;
  padding-bottom: .1rem !important;
}

/* Logo visible sur mobile (largeur limitée) */
@media (max-width: 767.98px) {
  .logo-container img.logo { max-width: 55vw !important; height: auto !important; }
}

/* --- eNPS 11 choix (0 à 10) : rouge → jaune de 0 à 8, vert sur 9-10 --- */

/* Conteneur : grille de 11 colonnes égales sur toute la largeur */
.enps-11-couleurs *:has(> .bootstrap-buttons-div) {
    display: grid !important;
    grid-template-columns: repeat(11, minmax(0, 1fr)) !important;
    gap: 6px !important;
    width: 100% !important;
    margin: 10px 0 0 0 !important;
    padding: 0 !important;
}

/* Cases : la grille gère la largeur */
.enps-11-couleurs .bootstrap-buttons-div {
    float: none !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Élément intermédiaire éventuel entre la case et le bouton */
.enps-11-couleurs .bootstrap-buttons-div > * {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Couleur de chaque note */
.enps-11-couleurs .bootstrap-buttons-div:nth-child(1)  { --c:#E8475A; } /* 0 */
.enps-11-couleurs .bootstrap-buttons-div:nth-child(2)  { --c:#EC5F5F; } /* 1 */
.enps-11-couleurs .bootstrap-buttons-div:nth-child(3)  { --c:#F07766; } /* 2 */
.enps-11-couleurs .bootstrap-buttons-div:nth-child(4)  { --c:#F38E6E; } /* 3 */
.enps-11-couleurs .bootstrap-buttons-div:nth-child(5)  { --c:#F6A577; } /* 4 */
.enps-11-couleurs .bootstrap-buttons-div:nth-child(6)  { --c:#F9BB80; } /* 5 */
.enps-11-couleurs .bootstrap-buttons-div:nth-child(7)  { --c:#FBCB84; } /* 6 */
.enps-11-couleurs .bootstrap-buttons-div:nth-child(8)  { --c:#FCD98A; } /* 7 */
.enps-11-couleurs .bootstrap-buttons-div:nth-child(9)  { --c:#FDE592; } /* 8 */
.enps-11-couleurs .bootstrap-buttons-div:nth-child(10) { --c:#97D4A7; } /* 9 */
.enps-11-couleurs .bootstrap-buttons-div:nth-child(11) { --c:#63BE7B; } /* 10 */

/* Boutons : couleur conservée dans tous les états */
.enps-11-couleurs .bootstrap-buttons-div label,
.enps-11-couleurs .bootstrap-buttons-div label:hover,
.enps-11-couleurs .bootstrap-buttons-div label:focus {
    background-color: var(--c) !important;
    background-image: none !important;
    border: 1px solid var(--c) !important;
    color: #000 !important;
    font-weight: 700 !important;
    font-size: 17px !important;
    opacity: 1 !important;
    filter: none !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 4px !important;
    transition: transform .15s !important;
}

/* Survol */
.enps-11-couleurs .bootstrap-buttons-div label:hover {
    transform: translateY(-2px);
}

/* Sélection : la couleur reste, anneau noir */
.enps-11-couleurs .bootstrap-buttons-div input:checked + label,
.enps-11-couleurs .bootstrap-buttons-div label.active,
.enps-11-couleurs .bootstrap-buttons-div label:active,
.enps-11-couleurs .bootstrap-buttons-div label.checked {
    background-color: var(--c) !important;
    background-image: none !important;
    filter: none !important;
    color: #000 !important;
    opacity: 1 !important;
    box-shadow: 0 0 0 3px #000 !important;
    border: 3px solid #fff !important;
}

/* Tablette */
@media (max-width: 768px) {
    .enps-11-couleurs .bootstrap-buttons-div label {
        font-size: 16px !important;
        height: 42px !important;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .enps-11-couleurs *:has(> .bootstrap-buttons-div) {
        gap: 2px !important;
    }
    .enps-11-couleurs .bootstrap-buttons-div label {
        font-size: 13px !important;
        height: 36px !important;
    }
}

/* --- Satisfaction 10 choix (1 à 10) : rouge → jaune de 1 à 8, vert sur 9-10 --- */

/* Conteneur : grille de 10 colonnes égales sur toute la largeur */
.satisf-10-couleurs *:has(> .bootstrap-buttons-div) {
    display: grid !important;
    grid-template-columns: repeat(10, minmax(0, 1fr)) !important;
    gap: 6px !important;
    width: 100% !important;
    margin: 10px 0 0 0 !important;
    padding: 0 !important;
}

/* Cases */
.satisf-10-couleurs .bootstrap-buttons-div {
    float: none !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}
.satisf-10-couleurs .bootstrap-buttons-div > * {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Couleur de chaque note */
.satisf-10-couleurs .bootstrap-buttons-div:nth-child(1)  { --c:#E8475A; } /* 1 */
.satisf-10-couleurs .bootstrap-buttons-div:nth-child(2)  { --c:#EC5F5F; } /* 2 */
.satisf-10-couleurs .bootstrap-buttons-div:nth-child(3)  { --c:#F07766; } /* 3 */
.satisf-10-couleurs .bootstrap-buttons-div:nth-child(4)  { --c:#F38E6E; } /* 4 */
.satisf-10-couleurs .bootstrap-buttons-div:nth-child(5)  { --c:#F6A577; } /* 5 */
.satisf-10-couleurs .bootstrap-buttons-div:nth-child(6)  { --c:#F9BB80; } /* 6 */
.satisf-10-couleurs .bootstrap-buttons-div:nth-child(7)  { --c:#FCD98A; } /* 7 */
.satisf-10-couleurs .bootstrap-buttons-div:nth-child(8)  { --c:#FDE592; } /* 8 */
.satisf-10-couleurs .bootstrap-buttons-div:nth-child(9)  { --c:#97D4A7; } /* 9 */
.satisf-10-couleurs .bootstrap-buttons-div:nth-child(10) { --c:#63BE7B; } /* 10 */

/* Boutons */
.satisf-10-couleurs .bootstrap-buttons-div label,
.satisf-10-couleurs .bootstrap-buttons-div label:hover,
.satisf-10-couleurs .bootstrap-buttons-div label:focus {
    background-color: var(--c) !important;
    background-image: none !important;
    border: 1px solid var(--c) !important;
    color: #000 !important;
    font-family: "Roboto Condensed", "Roboto", sans-serif !important;
    font-weight: 700 !important;
    font-size: 17px !important;
    opacity: 1 !important;
    filter: none !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 4px !important;
    transition: transform .15s !important;
}

/* Survol */
.satisf-10-couleurs .bootstrap-buttons-div label:hover {
    transform: translateY(-2px);
}

/* Sélection */
.satisf-10-couleurs .bootstrap-buttons-div input:checked + label,
.satisf-10-couleurs .bootstrap-buttons-div label.active,
.satisf-10-couleurs .bootstrap-buttons-div label:active,
.satisf-10-couleurs .bootstrap-buttons-div label.checked {
    background-color: var(--c) !important;
    background-image: none !important;
    filter: none !important;
    color: #000 !important;
    opacity: 1 !important;
    box-shadow: 0 0 0 3px #000 !important;
    border: 3px solid #fff !important;
}

/* Tablette */
@media (max-width: 768px) {
    .satisf-10-couleurs .bootstrap-buttons-div label {
        font-size: 15px !important;
        height: 42px !important;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .satisf-10-couleurs *:has(> .bootstrap-buttons-div) {
        gap: 2px !important;
    }
    .satisf-10-couleurs .bootstrap-buttons-div label {
        font-size: 13px !important;
        height: 36px !important;
    }
}