/* ================================
   BASE CSS POUR LES COMMENTAIRES
   ================================ */

/* Conteneur principal des commentaires */
.comments-area {
}

/* Titre des commentaires */
.comments-title {
  margin-bottom: 40px;

}

/* Liste des commentaires */
.comment-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Un commentaire individuel */
.comment-list li {
  padding: 20px;
  margin-bottom: 40px;
  background: #ffffff;
  border-left: 1px solid #282D57;
  background-color: #f4f4f4;
}

/* Informations de l'auteur */
.comment-author {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

/* Avatar de l'auteur */
.comment-author .avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 10px;
  border: 1px solid #282D57;
}

/* Nom de l'auteur */
.comment-author .fn {
  font-weight: bold;
  color: #282D57;
}

/* Date du commentaire */
.comment-metadata {
  font-size: 14px;
  color: #666;
}

/* Contenu du commentaire */
.comment-content {
  font-size: 16px;
  line-height: 1.5;
  color: #282D57;
}

/* Réponse aux commentaires */
.comment-reply-link {
  display: inline-block;
  margin-top: 10px;
  color: #fff;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 400;
  padding-left: 10px;
  padding-right: 10px;
  background: #282D57;
  text-decoration: none;
  transition: background 0.3s;
}

.comment-reply-link:hover {
  background: #282D57;
}

/* Navigation des commentaires */
.comment-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.comment-navigation .nav-previous,
.comment-navigation .nav-next {
  font-size: 16px;
}

.comment-navigation a {
  text-decoration: none;
  color: #282D57;
  font-weight: bold;
}

.comment-navigation a:hover {
  color: #282D57;
}

/* Formulaire de commentaire */
.comment-respond {
  margin-top: 30px;
}

.comment-reply-title {
  font-size: 20px;
  margin-bottom: 15px;
  color: #282D57;
}

/* Champs du formulaire */
.comment-form input,
.comment-form textarea {
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
}

/* Bouton d'envoi */
.comment-form .submit {
  display: inline-block;
  background: #282D57;
  color: #fff;
  border: none;
  padding: 10px 15px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.3s;
}

.comment-form .submit:hover {
  background: #005b8a;
}

/* Message lorsque les commentaires sont fermés */
.comments-closed {
  text-align: center;
  font-size: 16px;
  color: #666;
}
.comment-form-cookies-consent{
  display: flex;
}
/* ============================= */
/* 🌟 STYLISATION DU CHAMP DE NOTATION 🌟 */
/* ============================= */
.comment-form-rating {
  display: flex;
  flex-direction: column;
  align-items: start;
  margin-bottom: 25px;
  font-size: 16px;
  font-weight: bold;
  color: #282D57;
}
/* Style du label */
.comment-form-rating label {
  margin-bottom: 5px;
  font-size: 16px;
  color: #282D57;
}

/* Style du menu déroulant */
.comment-form-rating select {
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 8px 12px;
  font-size: 16px;
  cursor: pointer;
  color: #f5a623; /* Couleur or */
  appearance: none; /* Masque le style natif du navigateur */
  -webkit-appearance: none;
  -moz-appearance: none;
}

/* Icônes étoiles dans le <select> (Certains navigateurs peuvent ne pas supporter) */
.comment-form-rating option {
  font-size: 18px;
}

/* Effet au survol */
.comment-form-rating select:hover {
  border-color: #f5a623;
}

/* Effet quand sélectionné */
.comment-form-rating select:focus {
  outline: none;
  border-color: #ff8c00;
  box-shadow: 0 0 5px rgba(255, 140, 0, 0.5);
}
/* ================================
   STYLISATION DU LABEL "Enregistrer mon nom..."
   ================================ */

/* Style général du label */
label[for="wp-comment-cookies-consent"] {
  margin-left: 10px;

}

/* Style de la case à cocher */
#wp-comment-cookies-consent {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

/* Effet au survol */
label[for="wp-comment-cookies-consent"]:hover {
  color: #0073aa;
  transition: color 0.3s ease-in-out;
}

/* ================================
   STYLISATION DU FORMULAIRE DE COMMENTAIRE
   ================================ */

   .comment-respond {
    margin: 40px auto;
    padding: 0px;
    background: #ffffff;
    }

/* Titre du formulaire */
.comment-reply-title {
font-size: 22px;
font-weight: bold;
margin-bottom: 15px;
color: #282D57;
text-align: left;
}

/* Lien "Annuler la réponse" */
#cancel-comment-reply-link {
    font-size: 14px;
    color: #d9534f;
    text-decoration: none;
}

#cancel-comment-reply-link:hover {
    text-decoration: underline;
}

/* Message de connexion */
.logged-in-as {
    font-size: 14px;
    color: #666;
    background: #f8f8f8;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
}

.logged-in-as a {
    color: #282D57;
    font-weight: bold;
    text-decoration: none;
}

.logged-in-as a:hover {
    color: #282D57;
    text-decoration: underline;
}

/* Champ de texte pour le commentaire */
.comment-form-comment {
    margin-bottom: 15px;
}

.comment-form-comment label {
    font-size: 16px;
    font-weight: bold;
    color: #282D57;
    display: block;
    margin-bottom: 5px;
}
.comment-form-comment textarea {
  width: 90%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
  line-height: 1.5;
  resize: vertical;
  min-height: 120px;
}
/* Indicateur des champs obligatoires */
.required {
    color: #d9534f;
    font-weight: bold;
}

/* Bouton de soumission */
.form-submit {
  text-align: left;
  margin-top: 10px;
  }

  .form-submit .submit {
    background: #fff;
    color: #282D57;
    padding: 12px 20px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
    border: 1px solid #282D57;
  }

.form-submit .submit:hover {
    background: #282D57;
    color: #fff;
}

/* Champ caché */
input[type="hidden"] {
    display: none;
}