#section_suggestions .content_text {
    max-width: 600px;
    max-height: 600px;
    height: 600px;
    position: relative;
    display: inline-block;
    background-color: transparent;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow: hidden;
    border: none;
}

#section_suggestions .content_text::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 65%;
    pointer-events: none;
    background-color: transparent;
    border: .5px solid #E5E8E8;
    border-top: none;
}

#section_suggestions .content_text .titre_text{
	margin-top: -9px;
}
.comment_section {
	position: relative;
	display: block;
	width: 100%;
	max-height: 535px;
	height: 100%;
    font-family: Saira;
    background-color: transparent;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: none;
}

.comment_section form {
    display: flex;
    flex-direction: column;
}

.comment_section label {
    margin-bottom: 8px;
}

.comment_section .content_textarea{
	display: inline-block;
	position: absolute;
	width: 96%;
	height: auto;
    border: .5px solid #DDDCDC;
    border-radius: 20px;
    padding: 10px 58px 8px 38px;
    margin: 0 12px;
    margin-bottom: 16px;
    background-color: #fff;
    left: 0;
    bottom: 0;
    transition: height .3s ease;
}

.comment_section textarea#med_comment {
	width: 100%;
    height: 25px;
    min-height: 25px;
    max-height: 140px;
    letter-spacing: 1.2px;
    background-color: transparent;
    outline: none;
    border: .5px solid transparent;
    margin: 0; padding: 0;
    box-sizing: border-box;
    resize: none;
    overflow: hidden;
    left: 0;
    bottom: 1px;
}

.comment_section .content_textarea:hover {
    border: .5px solid #B2BABB !important;
}

.comment_section .content_textarea:focus-within {
    border: .5px solid #536DFE !important;
}

.comment_section .content_textarea .content_button{
 	width: 40px;
	height: 40px;
    display: inline-block;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background-color: transparent;
    cursor: pointer;
    background-size: cover;
}

.comment_section .content_textarea #button_soumettre {
 	width: 40px;
	height: 40px;
    display: block;
    border: none;
    cursor: pointer;
    background-size: cover;
    transition: scale .28s ease;
}

.scale{
	transform: scale(1.2);
}

/*	style pour la notification -----------------------*/
.comment_section .content_textarea .content_rating{
	width: 115px;
	height: 25px;
    display: inline-block;
    position: absolute;
    left: 24px;
    top: -28px;
    background-color: transparent;
    cursor: pointer;
}

.comment_section .rating {
    display: flex;
    flex-direction: row-reverse;
}

.comment_section .rating input {
    display: none;
}

.comment_section .rating label {
    cursor: pointer;
    font-size: 20px;
    color: #ABB2B9;
    transition: color 0.3s ease;
    margin-left: 6px;
}

.comment_section .rating label:nth-child(5) {
	margin: 0;
}

.comment_section .rating label:hover,
.comment_section .rating label:hover ~ label {
    color: #F0F91A;
}

.comment_section .rating input:checked + label,
.comment_section .rating input:checked ~ label {
    color: #F79402;
}

.comment_section .rating label.selected + label,
.comment_section .rating label.selected ~ label {
    color: #F79402;
}

.comment_section .img_emoji {
    width: 20px;
    height: 20px;
    display: block;
    position: absolute;
    left: 7px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    cursor: pointer;
    background-size: cover;
}

.comment_section .rating_selected{
	 color: #F79402;
	 text-align: left;
}

/* Nouveaux styles pour la fenêtre modale d'emojis */
.comment_section .emoji_modal {
    display: none;
    position: fixed;
    top: 65%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 12px;
    padding: 15px 20px;
    z-index: 1000;
}

.comment_section .emoji_list_modal {
    display: flex;
    flex-wrap: wrap;
    max-width: 600px;
    max-height: 300px;
    overflow-y: auto;
}

.comment_section .emoji_list_modal li {
    list-style: none;
    margin: 4px 5px;
    cursor: pointer;
}

/* Listes des commentaires ------------------------  */
.comment_section .content_commentList{
	position: relative;
	display: block;
	max-height: 430px;
	width: 100%;
	height: 100%;
	overflow-x: hidden;
	overflow-y: auto;
	box-sizing: border-box;
}

.comment_section #commentsList{
	position: absolute;
	width: 90%;
	max-height: 300px;
	display: inline-block;
	bottom: 0;
	left: 5%;
	box-sizing: border-box;
}

.comment_section .comment_item{
	display: flex;
	justify-content: flex-start;
	margin-bottom: 18px;
}

.comment_item .comment_details{
	background-color: #F7F9F9;
	padding: 3px 6px;
	border-radius: 6px;
}

.comment_section .comment_item_Titre{
	font-size: 12px;
	font-weight: 450;
	margin-bottom: 6px;
}

.comment_item_Titre .doctor_name{
	font-size: 14px;
}

.comment_section .content_comment{
	display: flex;
	font-size: 13px;
	letter-spacing: 1.2px;
    line-height: 18px;
	white-space: pre-line; /* Permet le rendu des sauts de ligne */
}

.comment_item_Titre .rating_selected{
	font-size: 14px;
	margin-right: 12px;
	font-weight: 500;
}

.comment_section .comment_item .content_photo{
	display: block;
	margin-right: 8px;
}

.comment_section .content_photo .photo_profil{
	display: block;
	position: relative;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: .4px solid blue;
	margin: 0 auto; padding: 0;
}

/* Styles pour la barre de défilement dans la zone */
.content_commentList::-webkit-scrollbar {
    width: 8px; /* Largeur de la barre de défilement */
}

.content_commentList::-webkit-scrollbar-thumb {
    background-color: transparent; /* Barre de défilement initialement transparente */
    border-radius: 6px; /* Bordure arrondie */
}

.content_commentList::-webkit-scrollbar-track {
    background-color: #f1f1f1; /* Couleur de la piste de la barre de défilement */
}

/* Styles pour la barre de défilement au survol */
.content_commentList::-webkit-scrollbar-thumb:hover,
 {
    background-color: #888; /* Couleur de la barre de défilement au survol */
}

/* Ajout d'une transition pour une animation douce */
.content_commentList::-webkit-scrollbar-thumb,
.content_commentList::-webkit-scrollbar-track {
    transition: background-color 0.3s;
}

.creation_emoji {
  font-size: 20px;
  display: inline-block;
  width: 20px;
  height: 20px;
  background-color: #85929E; 
  border-radius: 50%; /* Forme circulaire pour représenter la tête */
  position: relative;
  transition: color .28s ease;
}

.creation_emoji:hover {
	background-color: #F7AE3A;
}

.creation_emoji .eyes, .creation_emoji .mouth {
  background: white; /* Couleur des yeux et de la bouche */
  position: absolute;
  border-radius: 50%;
}

.creation_emoji .eyes {
  width: 5px;
  height: 4px;
  top: 25%;
  left: 25%;
}

.creation_emoji .eyes.left {
  left: 19%; /* Position de l'œil gauche */
}

.creation_emoji .eyes.right {
  left: 60%; /* Position de l'œil droit */
}

.creation_emoji .mouth {
	width: 10px;
  	height: 3px;
  	border-radius: 50%;
	top: 60%;
	left: 50%;
	transform: translateX(-50%);
	transition: all .28s ease-in-out;
}

.img_emoji:hover .creation_emoji .mouth{
  	width: 14px;
  	height: 5px;
  	border-radius: 0 0 50% 50%; /* Demi-cercle en bas */
}
