/* nexus_post_votes.css - Styles pour le système de likes/dislikes Nexus */

.post-votes-right {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

/* Boutons ronds comme sur le profil */
.vote-btn-up,
.vote-btn-down {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 2px solid #e0e0e0;
  border-radius: 50px;
  background: white;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
  user-select: none;
  min-width: 50px;
  height: 32px;
  justify-content: center;
}

.vote-btn-up:hover,
.vote-btn-down:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* État par défaut */
.vote-btn-up {
  color: #666;
  border-color: #e0e0e0;
  background: white;
}

.vote-btn-down {
  color: #666;
  border-color: #e0e0e0;
  background: white;
}

/* État VOTÉ - VERT pour upvote */
.vote-btn-up.voted {
  background: #4CAF50;
  border-color: #4CAF50;
  color: white;
}

/* État VOTÉ - ROUGE pour downvote */
.vote-btn-down.voted {
  background: #f44336;
  border-color: #f44336;
  color: white;
}

/* Hover sur bouton voté */
.vote-btn-up.voted:hover {
  background: #45a049;
  border-color: #45a049;
}

.vote-btn-down.voted:hover {
  background: #e53935;
  border-color: #e53935;
}

/* Compteur caché (pas besoin, le nombre est dans le bouton) */
.vote-count {
  display: none;
}

.vote-separator {
  display: none;
}

/* Animation au clic */
.vote-btn-up:active,
.vote-btn-down:active {
  transform: scale(0.95);
}

/* Version responsive - plus petit sur mobile */
@media (max-width: 768px) {
  .post-votes-right {
    gap: 8px;
  }
  
  .vote-btn-up,
  .vote-btn-down {
    padding: 6px 12px;
    font-size: 16px;
    min-width: 50px;
  }
}

