/* Like/Dislike Button Styles */
.like-dislike-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
  padding-top: 12px;
  margin-bottom: 2px;
  border-top: 1px solid var(--raisin-black-10, rgba(20, 20, 43, 0.1));
}

.like-dislike-buttons {
  display: flex;
  gap: 16px;
  align-items: center;
}

.like-btn,
.dislike-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  padding: 4px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--white);
}


.like-btn {
  color: #717171;
}

.like-btn:hover {
  color: #22c55e;
}

.like-btn.active {
  color: #22c55e;
}

.like-btn.active ion-icon {
  color: #22c55e;
}

.dislike-btn {
  color: #717171;
}

.dislike-btn:hover {
  color: #ef4444;
}

.dislike-btn.active {
  color: #ef4444;
}

.dislike-btn.active ion-icon {
  color: #ef4444;
}

.like-btn i,
.dislike-btn i {
  font-size: 19px;
  transition: all 0.3s ease;
  padding: 6px;
  border-radius: 50%;
}


.like-btn.active i {
  color: #22c55e !important;
  background-color: transparent;
  /* Removed animation */
}

.dislike-btn.active i {
  color: #ef4444 !important;
  background-color: transparent;
  /* Removed animation */
}

/* Removed animations */

.like-count,
.dislike-count {
  font-size: 13px;
  color: var(--white);
  font-weight: 600;
  min-width: 16px;
  text-align: center;
}

/* Dark mode adjustments */

/* Stats display */
.project-stats {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--sonic-silver, #717171);
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

.stat-item ion-icon {
  font-size: 14px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .like-dislike-section {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }

  .like-dislike-buttons {
    width: 100%;
    justify-content: flex-start;
  }

  .like-btn,
  .dislike-btn {
    padding: 4px;
    font-size: 13px;
  }
}

/* Loading state */
.like-btn.loading,
.dislike-btn.loading {
  pointer-events: none;
  opacity: 0.6;
}

.like-btn.loading i,
.dislike-btn.loading i {
  /* Removed spin animation */
  opacity: 0.5;
}

/* Removed spin animation */

/* Message display */
.like-dislike-message {
  width: 100%;
  padding: 4px 8px;
  margin-top: 6px;
  font-size: 12px;
  text-align: center;
  opacity: 1;
  color: #333333;
}

.like-dislike-message.info {
  color: #0d47a1;
}

.like-dislike-message.success {
  color: #1b5e20;
}

.like-dislike-message.error {
  color: #b71c1c;
}
