/* ✅ SUPER ROBUUST: resultaten standaard verbergen */
.vf-poll-results { display: none !important; }
.vf-poll.vf-poll--show-results .vf-poll-results { display: block !important; }

/* Container van de poll */
.vf-poll {
  margin-top: 16px;          /* was 24px */
  padding: 12px 0 8px;       /* onderkant compacter */
  border-top: 1px solid #e0e0e0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* De vraag */
.vf-poll-question {
  font-weight: 600;
  margin-bottom: 10px;       /* was 12px */
  color: #111;
}

/* Stemknoppen */
.vf-poll-vote-buttons {
  margin-bottom: 6px;        /* was 8px */
}

.vf-poll-vote-buttons button {
  margin-right: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid #d0d0d0;
  background: #f7f7f7;
  cursor: pointer;
  font-size: 14px;
  color: #111;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.05s ease;
}

.vf-poll-vote-buttons button:hover {
  border-color: #d71920;
  background: #ffffff;
}

.vf-poll-vote-buttons button:active {
  transform: scale(0.97);
}

/* Resultatenblok */
.vf-poll-results {
  margin-top: 6px;           /* was 8px */
  font-size: 14px;
}

/* Eén rij (optie 1 of optie 2) */
.vf-poll-bar {
  display: flex;
  align-items: center;
  margin-bottom: 4px;        /* was 6px */
}

/* Label links */
.vf-poll-label {
  width: 40px;
  font-weight: 500;
  color: #111;
}

/* Rail */
.vf-poll-bar-inner {
  flex: 1;
  height: 8px;
  margin: 0 8px;
  background: #222;
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

/* Vulling */
.vf-poll-fill {
  display: block;
  height: 100%;
  width: 0%;
  background: #ffcc00;
  border-radius: 999px;
  transition: width 0.25s ease;
}

/* Percentage rechts */
.vf-poll-percent {
  min-width: 40px;
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: #111;
}

/* Totaal stemmen */
.vf-poll-total {
  font-size: 12px;
  color: #777;
  margin-top: 2px;           /* was 4px */
  margin-bottom: 0;          /* 🔴 dit was de grootste boosdoener */
}

/* Gekozen optie accent */
.vf-poll-bar.vf-poll-chosen .vf-poll-bar-inner {
  box-shadow: 0 0 0 2px #d71920;
}

.vf-poll-bar.vf-poll-chosen .vf-poll-label,
.vf-poll-bar.vf-poll-chosen .vf-poll-percent {
  font-weight: 700;
  color: #d71920;
}

/* Mobile */
@media (max-width: 480px) {
  .vf-poll-question {
    font-size: 15px;
  }

  .vf-poll-vote-buttons button {
    font-size: 13px;
    padding: 6px 12px;
  }

  .vf-poll-label {
    width: 36px;
  }

  .vf-poll-percent {
    min-width: 36px;
  }
}
