.vote-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 20px;
}
.accordion-item {
  border-bottom: 1px solid #ddd;
}
.accordion-header {
  background: #f3f3f3;
  padding: 16px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.accordion-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}
.accordion-title {
  font-size: 14px;
  font-weight: bold;
}
.accordion-count {
  font-size: 12px;
  color: #888;
}
.accordion-status {
  display: flex;
  align-items: center;
}
.status-icon {
  width: 14px;
  height: 14px;
  background: gray;
  border-radius: 50%;
  margin-right: 8px;
}

.accordion-body {
  display: none;
  padding: 20px 10px;
}
.accordion-body.show {
  display: block;
}
.vote-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.vote-card {
  border: 1px solid #ddd;
  padding: 10px;
  cursor: pointer;
  position: relative;
}
.vote-card.selected {
  border-color: #0076ff;
}
.vote-title {
  margin: 6px 0;
  font-size: 12px;
  text-align: center;
}
.check-icon {
  width: 20px;
  height: 20px;
  background: gray;
  border-radius: 50%;
  position: absolute;
  top: 10px;
  left: 10px;
}
.vote-card.selected .check-icon {
  background: #0076ff;
}
.alert-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 340px;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0.85);
  color: #fff;
  padding: 20px;
  border-radius: 12px;
  font-size: 12px; /* 기존 alertPopup 기준 크기 */
  font-weight: 400;
  z-index: 9999;
  text-align: center;
  display: none;
  max-width: 80%;
  line-height: 1.6;
}
.alert-popup .show {
  display: block;
  animation: fadeOut 2s ease forwards;
}


.limit-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 340px;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0.85);
  color: #fff;
  padding: 20px;
  border-radius: 12px;
  font-size: 12px; /* 기존 alertPopup 기준 크기 */
  font-weight: 400;
  z-index: 9999;
  text-align: center;
  display: none;
  max-width: 80%;
  line-height: 1.6;
}
.limit-popup.show {
  display: block;
  animation: fadeOut 2s ease forwards;
}
@keyframes fadeOut {
  0% { opacity: 1; }
  80% { opacity: 1; }
  100% { opacity: 0; }
}

.vote-section {
  width: 100%;
  padding: 20px 20px;
  background-color: #fff;
}

.vote-container {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  min-width: 360px;
}

.accordion {
  width: 100%;
}



.vote-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
}
.vote-card {
  width: calc((100% - 40px) / 3); /* 가로 3개 */
  max-width: 416px;
}
@media screen and (max-width: 768px) {
  .vote-card {
    width: calc((100% - 10px) / 2); /* 모바일은 2개 */
  }
}
@media screen and (max-width: 768px) {
  .vote-container {
    padding: 0 3px !important;
  }

  .vote-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 0px;
  }

  .vote-card {
    width: 100%;
  }
  .accordion-body {
    padding: 10px 0px;
}

.vote-section {
    font-size: 14px;
}
.accordion-header {
    background: #f3f3f3;
    padding: 16px 10px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
  
}



/* === 병합된 상태 아이콘 및 색상 처리 === */
/* 상태 아이콘 기본 스타일 */
.status-icon {
  width: 20px;
  height: 20px;
  margin-right: 6px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 14px;
  font-weight: bold;
  background: gray;
  transition: background 0.3s;
}
.status-icon.blue {
  background: #0076ff !important;
}
.status-icon.gray {
  background: gray !important;
}
.status-icon.lightblue {
  background: #cfe9ff !important; /* 옅은 하늘색 */
}
.status-text {
  font-size: 13px;
  color: #333;
}
.accordion-status {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* 체크 아이콘 공통 */
.check-icon {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  color: white;
  font-size: 14px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  background: gray;
}
.check-icon.gray {
  background: gray;
}
.check-icon.blue {
  background: #0076ff;
}

.bluetext { color: #007bff; }