/* Shared Styles for Voting System
   Created: Feb 10, 2026
   Updated: Feb 10, 2026 - Migrated to Tailwind CSS with custom animations
   Common styles for both voting and dashboard pages
*/

/* Custom animations that work with Tailwind */
@keyframes popIn {
  0% {
    transform: scale(0) rotate(-180deg);
    opacity: 0;
  }
  50% {
    transform: scale(0.7) rotate(10deg);
  }
  100% {
    transform: scale(0.5) rotate(0deg);
    opacity: 1;
  }
}

@keyframes pulse-status {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Vote icon animation */
.vote-icon {
  width: auto;
  height: auto;
  transform-origin: center;
  animation: popIn 0.3s ease-out;
}

/* Icon styles for voting pool */
.icon-img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  cursor: pointer;
  transition: transform 0.2s ease;
}

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

.icon-img:active {
  transform: scale(0.95);
}

/* Flying icon animation */
.flying-icon {
  position: fixed;
  width: 50px;
  height: 50px;
  pointer-events: none;
  z-index: 9999;
}
