

.hover-highlight {
    background-color: #f1f1f1  !important;
    --bs-table-striped-bg: #f1f1f1  !important;
}

.nouvelle-question-textearea {
    width: 500px;
}

.logo-consultation-emancipees {
    height: 100px;
    width: auto;
}

.logo-accueil-emancipees {
    height: 300px;
    width: auto;
}

.titre-up {
    margin-top: 30px;
}

.titre-left {
    margin-left: 50px;
}

.no-underline {
    text-decoration: none;
}


.star {
    font-size: 2em;  /* Taille des étoiles */
    cursor: pointer;
    color: gold;  /* Couleur des étoiles entourées */
    vertical-align: middle;
}

.align-middle-text {
    vertical-align: middle;
}

.star.empty::before {
    content: '\2606';  /* Étoile vide (outline) */
}

.star.filled::before {
    content: '\2605';  /* Étoile pleine */
}

.square {
    height:25vh; /* Hauteur de l'écran */
    display: flex;
    justify-content: center;
    align-items: center;
}

.no-color-link:hover {
    color: black!important;
}

.no-color-link {
    color: black!important;
    text-decoration: none!important;
}

.no-color-link-white {
    color: white!important;
    text-decoration: none!important;
}


.p_body {
    padding: 10rem !important;
}

.color_title {
    color: #CB8070;
    font-weight: bold;
}

.color_title_conjoint {
    color: #69736d;
    font-weight: bold;
}

.color_sous_title {
    color: #B3BEBA;
    font-weight: bold;
}

.color_background_vieux_rose {
    background-color: #CB8070;
    color: white;
}

.color_vieux_rose_background_white {
    color: #CB8070;
}


.table-responsive-horizontal {
    overflow-x: auto;
    width: 100%;
}

.color_background_vieux_rose_sans_couleur {
    background-color: #CB8070;
}

.color_background_vieux_rose_sans_couleur_claire {
    background-color: #D49789;
}

.color_background_rose_pale {
    background-color: #FDEEE2!important;
}

.color_vieux_rose {
    color: #CB8070;
}

.color_Chestnut_brow {
    color: #5B2112;
}

.color_Poil_de_chameau {
    color: #A06B1D;
}

.backgroundcolor_Poil_de_chameau {
    background-color: #A06B1D4F!important;
}

.color_title_table_plan_action {
    color: #4d4848!important;
}

.color_Green_Tusk {
    color: #47936b;
}

.table-category {
    font-weight: bold;
}

.cell-split {
    display: flex;
    flex-direction: column;
}
.cell-top {
    color: #333;
}
.cell-bottom {
    font-size: 0.9em;
    color: #777;
}


/* 
.custom-cell .cell-wrapper {
    display: flex;
    border-left: 2px solid red; 
    height: 100%;
    min-height: 60px; 
}

.custom-cell .cell-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    border-bottom: 2px solid purple; 
    padding-right: 5px;
}

.custom-cell .cell-left-top,
.custom-cell .cell-left-bottom {
    flex: 1;
    padding: 2px 4px;
}

.custom-cell .cell-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px 4px;
} */


.color_button {
    background-color: #CB8070;
    color: white;
    padding-left: 3rem;
    padding-right: 3rem;
}

.button_color {
    color: #CB8070;
    background-color: white;
    padding-left: 3rem;
    padding-right: 3rem;
    border-color: #CB8070;
}

.color_button_disabled {
    color: black;
    padding-left: 3rem;
    /* padding-right: 3rem; */
}

.color_title_table {
    color: #757575;
    font-weight: normal!important;
}

.color_title_recommandation {
    color: #545F59!important;
}

.color-button-recommandation {
    background-color: #545F59!important;
    color: white!important;
}

.background_color_fonce {
    background-color: #B3BEBA4F!important;
}

.background_color_claire {
    background-color: #B3BEBA1A!important;
}


.color_button_new_question {
    background-color: #FDEEE2;
}

.table-striped>tbody>tr:nth-child(odd)>td, 
.table-striped>tbody>tr:nth-child(odd)>th {
   background-color: #FDEEE2;
 }


 /* Applique un style aux lignes paires visibles */
.striped-row:nth-child(even) {
    background-color: #FDEEE2;
}
.striped-row:nth-child(odd) {
    background-color: #FDEEE2; /* Couleur pour les lignes impaires */
}
 

 .fa_1_2 {
    font-size: 1.2em!important;
 }

 .fa_1_0 {
    font-size: 1.0em!important;
 }

 .fa_1_5 {
    font-size: 1.5em!important;
 }

 .fa_4_5 {
    font-size: 2.5em!important;
 }


.color_icon_a {
    color: white!important;
 }

 .color_icon_a:hover {
    color: black!important;
 }

 .color_background_feedback {
    background-color: #FDF7E2;
    border: solid;
    border-width: 1px;
    border-color: #FFD12F;
 }

 .profile-photo-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.profile-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
}

.default-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: #ddd;
}

.card-border-none {
    border: none!important;
}

.color-background-collapse {
    background-color: #E5E9E7 !important;
}

.color-background-collapse-nouveau {
    background-color: #C4D1CC!important;
}

.card-header-border-bottom {
    border-bottom: none!important;
}

ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.margin-left-and-right-zero {
    margin-left: 0!important;
    margin-right: 0!important;
}

.padding-reponse-complement {
    padding-top: 0rem!important;
}

.padding-demande-de-precision {
    padding-bottom: 1rem!important;
}


.button-accueil-question-filee {
    background-color: #DCB89F;
    color: white!important;
    font-weight: bold;
}

.button-accueil-bilan-individuel {
    background-color: #B3BEBA;
}

.text-bold {
    font-weight: bold!important;
}


.container-reduit {
    max-width: 1000px;
}

.margin-left-25 {
    margin-left: 25px!important;
}


.margin-neg-right-50 {
    margin-right: -50px;
}

/* .img-thumbnail-modif {
    padding: 0rem!important;
    max-width: 80%!important;
} */

.img-thumbnail-modif {
    aspect-ratio: 1 / 1;
    width: 80px;
    object-fit: cover;
    border-radius: 50%;
    padding: 0 !important;
}

.fs-7 {
    font-size: 0.8rem !important;
}

.fa-chevron-down-disabled {
    pointer-events: none;
    opacity: 0.4;
}

#checkbox-disabled {
    pointer-events: none;
}

.large-height {
    min-height: 150px;
    padding-top: 30px;
    padding-bottom: 30px;
}

.moy-height {
    min-height: 100px; 
    padding-top: 30px;
    padding-bottom: 30px;
}

.min-height {
    min-height: 50px; 
    padding-top: 30px;
    padding-bottom: 30px;
}

.display_none {
    display: none;
}

/* Styles par défaut (version PC) */
.p-2.mb-0.d-flex {
    display: flex;
    flex-direction: row; /* Aligne le texte et les étoiles horizontalement */
    align-items: center; /* Centre verticalement le texte et les étoiles */
}

/* Conteneur des étoiles */
.stars-container {
    display: flex;
    align-items: center; /* Aligne les étoiles au centre verticalement */
    margin-left: 5px; /* Ajustez ce margin si nécessaire */
}

/* Appliquer un line-height identique au conteneur pour aligner verticalement */
.align-middle-text {
    margin: 0; /* Supprime les marges qui peuvent causer un décalage */
    line-height: 1; /* Ajustez ce line-height si le texte reste décalé */
}

.badge-modifier {
    padding: 12px 15px!important; 
    font-size: 15px!important; 
    left: 83% !important; 
    top: -22% !important;
}

.mb-permanence {
    margin-bottom: 120px;
}

/* Sur mobile (< 768px par exemple), on réduit le margin */
@media (max-width: 767px) {
    .mb-permanence {
        margin-bottom: 40px;
    }
}


/* Styles pour mobile */
@media (max-width: 767px) {
    .badge-modifier {
        padding: 12px 15px!important; 
        font-size: 15px!important; 
        left: 90% !important; 
        top: -23px !important;
    }
    .p-2.mb-0.d-flex {
        flex-direction: column; /* Aligne le texte et les étoiles en colonne */
        align-items: flex-start; /* Aligne les éléments au début */
    }
    .stars-container {
        display: flex;
        flex-direction: row; /* Assure que les étoiles sont alignées horizontalement */
        align-items: center; /* Assure que les étoiles sont alignées verticalement */
        margin-top: 10px; /* Espace entre le texte et les étoiles */
    }
}



.progress-container {
    position: relative;
    cursor: pointer;
}
.progress {
    height: 10px;
    border-radius: 15px;
    overflow: hidden;
}
.graduation-labels {
    display: flex;
    justify-content: space-between;
    margin-top: -30px;
    position: relative;
    z-index: 1;
}
.graduation-labels span {
    font-size: 12px;
    width: 10%;
    text-align: center;
    pointer-events: none;
}

.input-color-grey {
    border: 1px solid #D9D9D9!important;
}

.button-reservation-bilan-individuel {
    background-color: #CB8070;
    color: white;
    padding: 55px 200px 55px 200px;
    margin-top: 40px;
}

#questionTable tbody tr {
    cursor: pointer;
    transition: background-color 0.3s ease; /* Pour un effet de transition en douceur */
}

#questionAttenteTable tbody tr {
    cursor: pointer;
    transition: background-color 0.3s ease; /* Pour un effet de transition en douceur */
}

#questionATraiterTable tbody tr {
    cursor: pointer;
    transition: background-color 0.3s ease; /* Pour un effet de transition en douceur */
}

.popup-notif {
    border: 1px solid;
    border-color: #CB8070;
    background-color: #FDEEE2;
}

.popup-notif-important {
    border: 1px solid;
    border-color: #CB8070;
    background-color: #CB6C4E;
    color: white;
}

.popup-link-important {
    color: white!important;
}

.popup-link {
    color: #545F59!important;
}

.background-gris-tres-claire {
    background-color: #eff0f0!important;
}

.background-gris-fonce {
    background-color: #DFE4E3;
}

.background-rose-pale {
    background-color: #E9DFDC;
}

.border-orange {
    border: 1px solid;
    border-color: #CB8070;
}

.photo-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8rem; /* Espace horizontal/vertical entre les éléments */
}

.photo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    flex: 1 1 calc(33.333% - 8rem);
    max-width: calc(33.333% - 6rem);
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    background-color: #fff;
}

/* Conteneur fixe pour les images */
.photo-item a {
    display: block;
    width: 100%;
    height: 250px; /* taille uniforme de la case image */
    overflow: hidden;
    border-radius: 8px;
}

/* Harmonisation des images */
.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* recadre sans déformer */
    border-radius: 8px;
}

/* Titre / lien sous l’image */
.photo-item .text-center {
    margin-top: 0.8rem;
    text-align: center;
    word-break: break-all;
}

/* Responsive */
@media (max-width: 992px) {
    .photo-item {
        flex: 1 1 calc(50% - 4rem);
        max-width: calc(50% - 4rem);
    }
}

@media (max-width: 600px) {
    .photo-item {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

.profile-photo-container {
    width: 200px;  /* Largeur du conteneur, ajustez selon vos besoins */
    height: 200px;  /* Hauteur du conteneur, ajustez selon vos besoins */
    border-radius: 50%;  /* Rend le conteneur circulaire */
    overflow: hidden;  /* Cache les parties de l'image qui débordent du conteneur circulaire */
    display: flex;  /* Utilisé pour centrer l'image */
    align-items: center;  /* Centre verticalement l'image */
    justify-content: center;  /* Centre horizontalement l'image */
}

.profile-photo {
    width: 100%;  /* Assure que l'image occupe toute la largeur du conteneur */
    height: auto;  /* Conserve les proportions de l'image */
    object-fit: cover;  /* L'image couvre le conteneur sans déformation */
}

.margin-left-40 {
    margin-left: 40px;
}

.margin-right-40 {
    margin-right: 40px;
}

.profil_completed {
    display: block;
}


.select-with-arrow {
    appearance: none; /* Pour cacher l'apparence native */
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-down"><polyline points="6 9 12 15 18 9"></polyline></svg>'); /* Icône de flèche */
    background-repeat: no-repeat;
    background-position: right 10px center; /* Position de la flèche */
    background-size: 1em; /* Taille de la flèche */
    padding-right: 2em; /* Espace pour la flèche */
}

/* Styles pour le menu déroulant */
.nav-item.dropdown:hover .dropdown-menu {
    display: block;
}
.dropdown-menu {
    margin-top: 0; /* Pour éviter l'espace entre le lien et le menu */
}

.disabled-link {
    pointer-events: none; /* Empêche les interactions de la souris */
    text-decoration: none; /* Supprime le soulignement */
}

.archive-outline {
    color: transparent; /* Rendre l'intérieur transparent */
    -webkit-text-stroke: 1px black; /* Appliquer une bordure noire */
}

.color-yellow-sulfur {
    color: #f1dd38!important;
}

.color-yellow-experte {
    background-color: #d09e47;
    color: white;
    padding-left: 3rem;
    padding-right: 3rem;
}

.color-red-return {
    background-color: #CB8070;
    color: white;
    padding-left: 3rem;
    padding-right: 3rem;
}

.preserve-line-breaks {
    white-space: pre-line;
    word-wrap: break-word; /* Pour forcer les retours à la ligne si un mot est trop long */
}

/* Styles spécifiques pour les écrans mobiles */
@media (max-width: 768px) {
    .logo-accueil-emancipees {
        max-width: 100%; /* L'image ne dépassera pas la largeur de son conteneur */
        height: auto; /* La hauteur s'ajuste automatiquement pour maintenir les proportions */
    }
}

/* Style pour les écrans plus petits */
@media (max-width: 768px) {
    .table thead {
        display: none;
    }

    .table, .table tbody, .table tr, .table td {
        display: block;
        width: 100%;
    }

    .table tr {
        margin-bottom: 1rem;
        border: 1px solid #ddd; /* Ajoutez une bordure si nécessaire */
    }

    .table td {
        text-align: right;
        position: relative;
        padding-left: 50%;
        padding-right: 10px;
        white-space: nowrap;
    }

    .table td::before {
        content: attr(data-label);
        position: absolute;
        left: 0;
        width: 45%;
        padding-left: 10px;
        white-space: nowrap;
        font-weight: bold;
        border-right: 1px solid #ddd; /* Bordure entre les labels et les valeurs */
    }

    .button-reservation-bilan-individuel {
        padding: 10px;
    }

    .bouton_plan_action_mobile {
        margin-top: 15px;
    }

    .margin-left-40 {
        margin-left: 0px;
    }
    
    .margin-right-40 {
        margin-right: 0px;
    }
    
    /* .img-thumbnail-modif {
        max-width: 30% !important;
      } */

    .profile-photo-container {
        width: 150px;  /* Ajuster la taille pour les écrans mobiles */
        height: 150px; /* Ajuster la taille pour les écrans mobiles */
        margin: 0 auto; /* Centre le conteneur horizontalement dans son parent */
        margin-top: 20px;
    }

    .chevron-bottom {
        display: flex;
        justify-content: center;
        position: absolute;
        bottom: 0;
        left: 50%; /* Positionne le côté gauche du conteneur au milieu du conteneur parent */
        transform: translateX(-50%); /* Ajuste le positionnement pour centrer le conteneur horizontalement */
        width: auto; /* Ajuste la largeur automatique pour le contenu */
    }
    

    
    .chevron-container {
        display: flex;
        flex-direction: column; /* Aligne les éléments verticalement */
        align-items: center; /* Centre horizontalement */
        justify-content: flex-end; /* Aligne les éléments en bas du conteneur */
        height: 100%; /* Assure que le conteneur prend toute la hauteur disponible */
    }
    
    .color_button_disabled {
        padding-left: 0;
        /* padding-right: 3rem; */
    }

    .justify-content-end {
        justify-content: center !important;
        padding-top: 5px;
    }
    
}


.form-container {
    text-align: center;
    margin-top: 10px;
}

.button-group {
    display: block;
    margin-top: 10px;
    text-align: center;
}

.button-group button,
.button-group a {
    display: inline-block;
    margin-top: 5px;
}


.clickable-row {
    cursor: pointer;
}
.clickable-row:hover {
    background-color: #f5f5f5;
}

.disabled-link {
  pointer-events: none;
  opacity: 0.5;
  cursor: not-allowed;
}

/* Table responsive: mobile (<768px) */
@media (max-width: 767px) {
    .table thead {
        display: none;
    }

    .table, .table tbody, .table tr, .table td {
        display: block;
        width: 100%;
    }

    .table tr {
        margin-bottom: 1rem;
        border: 1px solid #ddd;
        border-radius: 5px;
        padding: 10px;
    }

    .table td {
        text-align: right;
        position: relative;
        padding-left: 50%;
        padding-right: 10px;
        white-space: normal;
    }

    .table td::before {
        content: attr(data-label);
        position: absolute;
        left: 0;
        width: 45%;
        padding-left: 10px;
        font-weight: bold;
        text-align: left;
        border-right: 1px solid #ddd;
    }

    /* Ajuste les inputs pour mobile */
    .table td .form-control {
        width: 100%;
    }
}
