.poll-container {
            display: flex;
            align-items: center;
            justify-content: space-between; /* 또는 space-around */
            width: 100%;
            margin: 0 auto;
        }
.option {
    flex: 1;
    text-align: center;
}
.versus {
    flex: 0 0 80px; /* VS 영역 고정 너비 */
    text-align: center;
    font-weight: bold;
    font-size: 1.5em;
}
.vote-btn {
    display: block;
    margin: 30px auto 0 auto; /* 위쪽 여백 30px, 좌우 auto로 중앙정렬 */
    padding: 10px 30px;
    font-size: 1.1em;
    cursor: pointer;
}

/* 1) 결과 컨테이너: 좌·우 레이블과 중앙 바를 flex 배치 */
.results-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 600px;
  margin: 0 auto;
}

/* 2) 옵션 레이블 (좌/우) */
/* .option-label {
  width: 100px;
  font-weight: bold;
} */
.option-label {
  display: block;
  font-weight: bold;
  margin-bottom: 4px;
}

.option-details {
  font-size: 0.9em;
  color: #555;
}

.option-label.left  { text-align: left; }
.option-label.right { text-align: right; }

/* 3) 가운데 바 (그래프) */
.result-bar {
  flex: 1;
  height: 20px;
  margin: 0 10px;
  background: #e0e0e0;     /* 기본 회색 배경 */
  border-radius: 10px;
  transition: background 0.5s ease;
}

/* 4) 퍼센티지 텍스트 */
.percentage-labels {
  display: flex;
  justify-content: space-between;
  max-width: 600px;
  margin: 5px auto 0;
  font-size: 0.9em;
}
.percentage-labels .info {
  /* 필요시 폭 조절 */
  min-width: 80px;
}
.percentage-labels .left  { text-align: left; }
.percentage-labels .right { text-align: right; }

/* 결과 영역의 옵션 블록 */
.option-result {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100px; /* 필요에 따라 조정 */
}

/* 옵션 이미지 */
.option-result-image {
  max-width: 80px;
  max-height: 80px;
  margin-bottom: 5px;
  border-radius: 4px;
}

/* 폼 숨김 후에도 레이블 중앙 정렬 유지 */
.results-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* 공통 배지 스타일 */
.vote-badge {
  display: inline-block;
  padding: 2px 8px;
  color: #fff;
  border-radius: 12px;
  font-size: 0.85em;
  font-weight: bold;
  margin-right: 6px;
}

/* option1 배지 색상 (예: 파란색) */
.vote-badge.option1 {
  background-color: #4caf50;
}

/* option2 배지 색상 (예: 주황색) */
.vote-badge.option2 {
  background-color: #f44336;
}

.poll-container .option img,
.versus-poll-option-image {
  width: 100%;         /* 가로 100% */
  height: auto;        /* 세로 비율 유지 */
  display: block;      /* 인라인 공백 제거 */
  object-fit: cover;   /* 비율 유지한 채 잘림 없이 영역 꽉 채우기 */
}


/* 그래프 컨테이너 */
.graph-container {
  margin-top: 20px;
  max-width: 600px;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
}

/* 기존 바 스타일 그대로 */
.result-bar {
  width: 100%;
  height: 20px;
  background: #e0e0e0;
  border-radius: 10px;
}

/* 결과 전체 컨테이너 */
.versus-poll-results {
  max-width: 800px;
  margin: 20px auto;
  text-align: center;
}

/* 옵션 블록들을 좌우로 배치 */
.options-results-container {
  display: flex;
  justify-content: space-between;
  gap: 20px; /* 옵션 간 간격 */
}

/* 각 옵션 블록 */
.option-result {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* 1) 이미지가 블록 영역을 가로 꽉 메우고,
      높이는 자동으로 비율 유지
   2) 필요하면 height 지정해서 세로 꽉 채우기 */

.option-result-image-full {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* 옵션명·표 정보 */
.option-info {
  margin-top: 10px;
}