.ballot-container {
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.candidate-card {
  border: 2px solid #e9ecef;
  border-radius: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
}
.candidate-card:hover {
  border-color: #007bff;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 123, 255, 0.15);
}
.candidate-card.selected {
  border-color: #007bff;
  background-color: #f8f9ff;
}
.ballot-section {
  border-bottom: 2px solid #e9ecef;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
}
.ballot-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}
.section-title {
  color: #495057;
  border-bottom: 3px solid #007bff;
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}
.candidate-photo {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
}
.vote-summary {
  background-color: #e7f3ff;
  border-left: 4px solid #007bff;
}
.security-notice {
  background-color: #fff3cd;
  border-left: 4px solid #ffc107;
}

body:has(.ballot-container) {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* List votes */
.voting-card {
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}
.voting-card:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.status-badge {
  font-size: 0.85rem;
  padding: 0.4rem 0.8rem;
}
.vote-count {
  font-size: 0.9rem;
  color: #6c757d;
}
.btn-vote {
  background: linear-gradient(45deg, #28a745, #20c997);
  border: none;
  color: white;
  transition: all 0.3s ease;
}
.btn-vote:hover {
  background: linear-gradient(45deg, #218838, #1ba085);
  transform: scale(1.05);
  color: white;
}
.btn-results {
  background: linear-gradient(45deg, #007bff, #6610f2);
  border: none;
  color: white;
  transition: all 0.3s ease;
}
.btn-results:hover {
  background: linear-gradient(45deg, #0056b3, #520dc2);
  transform: scale(1.05);
  color: white;
}
.page-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 2rem 0;
  margin-bottom: 2rem;
}
.stats-card {
  background: white;
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}



.vote-option {
  cursor: pointer;
}

.vote-option.disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.candidate-avatar {
  width: 150px;
  height: 150px;
}