body {
  background-color: #fafafa;
}

#results-list .progress {
  margin-top: 4px;
  margin-bottom: 20px;
}

.candidate-card {
  display: flex;
  flex-direction: column;
  height: calc(100% - 20px);
}

.candidate-card .card-content {
  flex-grow: 1;
}

.candidate-card .card-image {
  height: 280px;
  background: #cfd8dc;
}

.candidate-card .card-image img {
  height: 280px;
  width: 100%;
  object-fit: contain;
  background: #cfd8dc;
}

.candidate-card .photo-placeholder {
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e0e0e0;
}

.candidate-card .photo-placeholder .material-icons {
  font-size: 110px;
  color: #9e9e9e;
}

.ballot-number-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: rgba(0, 105, 92, 0.92);
  color: #fff;
  font-weight: bold;
  padding: 4px 12px;
  border-radius: 16px;
  font-size: 0.95rem;
}

.markdown-body {
  font-size: 0.95rem;
  line-height: 1.4;
}

.markdown-body h1,
.markdown-body h2,
.markdown-body h3 {
  font-size: 1.05rem;
  margin: 10px 0 4px;
}

.markdown-body p {
  margin: 6px 0;
}

.markdown-body ul,
.markdown-body ol {
  margin: 6px 0;
  padding-left: 22px;
}

.markdown-body strong {
  color: #00695c;
}

.voted-card {
  box-shadow: 0 0 0 4px #43a047, 0 4px 10px rgba(0, 0, 0, 0.2) !important;
}

.voted-card .vote-btn {
  background-color: #43a047 !important;
}
