/* Modern vote bars styles */
.modern-vote-bar {
  margin: 24px 0 0 0;
  padding-bottom: 8px;
}
.modern-bar-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1em;
  margin-bottom: 6px;
}
.modern-bar-title {
  color: #222;
}
.modern-bar-percent {
  color: #555;
  font-size: 1em;
  font-weight: 500;
  background: #f5f5f5;
  border-radius: 12px;
  padding: 2px 10px;
  margin-left: 8px;
}
.modern-bar-bg {
  background: #e0e7ef;
  border-radius: 12px;
  height: 32px;
  box-shadow: 0 2px 8px rgba(33, 150, 243, 0.07);
  overflow: hidden;
  position: relative;
}
.modern-bar-fill {
  height: 100%;
  border-radius: 12px 0 0 12px;
  transition: width 0.7s cubic-bezier(0.4, 2, 0.3, 1);
  box-shadow: 0 2px 8px rgba(33, 150, 243, 0.13);
}
/* Vote bars styles */
.vote-bars {
  margin: 32px 0 0 0;
}
.vote-bar-label {
  font-weight: 700;
  margin-bottom: 4px;
  margin-top: 16px;
  font-size: 1.1em;
}
.vote-bar-container {
  background: #eee;
  border-radius: 8px;
  height: 32px;
  margin-bottom: 8px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.07);
}
.vote-bar {
  height: 100%;
  color: #fff;
  font-weight: 700;
  font-size: 1em;
  line-height: 32px;
  text-align: right;
  padding-right: 12px;
  border-radius: 8px 0 0 8px;
  transition: width 0.5s;
}
body {
  font-family: "Roboto", sans-serif;
  background: #f7f8fa;
  margin: 0;
  padding: 0;
}
/* Container fills screen width, max 600px for mobile, padding reduced */
.container {
  max-width: 600px;
  margin: 20px auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  padding: 8px;
  text-align: center;
}

/* Question image fills container width, keeps aspect ratio */
.question-img {
  width: 75%;
  max-width: 75%;
  height: auto;
  margin-bottom: 16px;
  object-fit: contain;
  border-radius: 12px;
}
h1 {
  font-size: 2rem;
  margin-bottom: 24px;
  color: #222;
}
/* Options side by side, gap, buttons fill width, images large and not round */
.options {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}
.option-btn {
  background: #e9ecef;
  border: none;
  border-radius: 12px;
  padding: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: #333;
  cursor: pointer;
  transition: background 0.2s;
  min-width: 0;
  min-height: 0;
}
.option-btn:hover {
  background: #d1d5db;
}
.option-caption {
  font-size: 1.1rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 8px;
  margin-top: 12px;
}
.option-img {
  width: 100%;
  max-width: 275px;
  height: 425px;
  margin-bottom: 8px;
  border-radius: 12px;
  object-fit: cover;
  background: #fff;
  border: 2px solid #e9ecef;
}
#alreadyVoted {
  font-size: 1.1rem;
  color: #007bff;
  margin-top: 24px;
}
@media (max-width: 700px) {
  .container {
    max-width: 100vw;
    padding: 4px;
  }
  .options {
    flex-direction: row;
    gap: 8px;
  }
  .option-btn {
    font-size: 1rem;
    max-width: 48vw;
    min-width: 140px;
  }
  .option-img {
    max-width: 44vw;
    height: 180px;
  }
}
