/* Public Poll - Mobile-First Clean Light Theme */

:root {
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

body {
  font-family: var(--font-sans);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

/* Selected Party Card State */
.party-card.selected {
  border-color: #10b981 !important;
  background-color: #ecfdf5 !important;
  box-shadow: 0 4px 12px -2px rgba(16, 185, 129, 0.2);
}

.party-card.selected .selection-check {
  display: flex !important;
}

/* Progress bar animation */
.progress-fill {
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Prevent unwanted zoom on inputs on mobile Safari/Chrome */
input, select, button {
  font-size: 16px;
}
@media (min-width: 640px) {
  input, select, button {
    font-size: 14px;
  }
}

/* Number roll animation */
.font-mono {
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
}

/* Custom subtle scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}
