/* Style pour le forum de discussion */

.forum-container {
  margin-top: 20px;
}

.forum-discussions .card {
  transition: all 0.2s ease;
  border: 1px solid #dddddd;
}

.forum-discussions .card:hover {
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.reponses-container {
  padding: 10px 0;
}

.reponse {
  padding: 10px;
  margin-bottom: 10px;
  background-color: #D6E9FF;
  padding: 10px;
  padding-left: 20px;
  padding-right: 20px;
  border-radius: 4px;
}

.reponse-admin {
  border-left: 3px solid #FF5722;
  background-color: #fff8f6;
}

.reponse-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
  font-size: 0.9rem;
}

.reponse-contenu {
  font-size: 0.95rem;
}

/* Animation pour les nouveaux éléments */
@keyframes highlightNew {
  0% { background-color: rgba(63, 81, 181, 0.2); }
  100% { background-color: transparent; }
}

.nouveau-message {
  animation: highlightNew 2s ease;
}

.card-title {
  color: #3F51B5;
}

/* Style pour les badges */
.badge-primary {
  background-color: #3F51B5;
}

.badge-secondary {
  background-color: #9E9E9E;
}

/* Style pour les actions de discussion */
.discussion-actions {
  display: flex;
  gap: 10px;
}

/* Responsive pour petits écrans */
@media (max-width: 576px) {
  .reponse-header {
    flex-direction: column;
  }
  
  .reponse-header small {
    margin-top: 4px;
  }
}
