/* Custom animations and styles that complement DaisyUI */

/* Loading States Animation - Use with DaisyUI's loading spinner when needed */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Priority Badge Pulse Animation */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Responsive Typography for Presentation Mode */
@media (min-width: 1024px) {
  .question-text {
    font-size: 2rem;
    line-height: 1.6;
  }
}

/* Vote Button Styles */
.vote-btn {
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}

/* Add subtle shadow and lift effect on hover for unvoted buttons */
.vote-btn.btn-outline:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Voted state (btn-primary) should feel pressed/active */
.vote-btn.btn-primary {
  transform: translateY(0);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.vote-btn.btn-primary:hover {
  transform: translateY(0);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15);
}

/* Animate the vote icon */
.vote-btn .vote-icon {
  transition: transform 0.2s ease;
}

.vote-btn:hover .vote-icon {
  transform: scale(1.1);
}

.vote-btn.btn-primary .vote-icon {
  fill: currentColor;
}

/* Disabled state for answered questions */
.vote-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.vote-btn:disabled:hover {
  transform: none !important;
}