.question-voting-panel {
  background: #fff;
  border-radius: 16px;
  border: 1.5px solid #e2e8f0;
  padding: 24px;
  margin-bottom: 20px;
}

.question-voting-panel h2 {
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 6px;
}

.question-voting-panel .voting-lead {
  font-size: 14px;
  color: #64748b;
  margin: 0 0 18px;
  line-height: 1.6;
}

.option-vote-row {
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  margin-bottom: 10px;
  overflow: hidden;
  background: #fff;
}

.option-vote-row.is-top-voted {
  border-color: #93c5fd;
  box-shadow: 0 0 0 1px #dbeafe;
}

.option-vote-row.is-user-vote {
  border-color: #86efac;
}

.option-vote-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  cursor: pointer;
}

.option-vote-label {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #f1f5f9;
  color: #475569;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.option-vote-body {
  flex: 1;
  min-width: 0;
}

.option-vote-text {
  font-size: 15px;
  font-weight: 600;
  color: #0f172a;
}

.option-vote-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 4px;
  font-size: 12px;
  color: #64748b;
}

.option-vote-count {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #eff6ff;
  color: #1d4ed8;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
}

.option-vote-toggle {
  font-size: 12px;
  color: #2563eb;
  font-weight: 600;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
}

.option-vote-details {
  display: none;
  border-top: 1px solid #e2e8f0;
  padding: 14px 16px 16px;
  background: #f8fafc;
}

.option-vote-details.is-open {
  display: block;
}

.vote-description-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

.vote-description-item {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px 14px;
}

.vote-description-item strong {
  display: block;
  font-size: 13px;
  color: #0f172a;
  margin-bottom: 4px;
}

.vote-description-item p {
  margin: 0;
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
}

.vote-inline-form textarea {
  width: 100%;
  min-height: 72px;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 14px;
  resize: vertical;
}

.vote-inline-form textarea:focus {
  outline: none;
  border-color: #93c5fd;
  box-shadow: 0 0 0 3px #dbeafe;
}

.vote-inline-form .form-actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.btn-vote {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #2563eb;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  padding: 9px 16px;
  border-radius: 9px;
  border: none;
  cursor: pointer;
}

.btn-vote:hover {
  background: #1d4ed8;
}

.btn-vote-outline {
  background: #fff;
  color: #2563eb;
  border: 1.5px solid #bfdbfe;
}

.community-suggestions {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px dashed #cbd5e1;
}

.suggest-form textarea,
.suggest-form input[type="text"] {
  width: 100%;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 14px;
}

.suggest-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 6px;
}

.suggest-form .field {
  margin-bottom: 12px;
}

.vote-status-banner {
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14px;
  margin-bottom: 16px;
}

.vote-status-banner.success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
}

.vote-status-banner.error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.vote-login-prompt {
  background: #eff6ff;
  border: 1.5px solid #bfdbfe;
  border-radius: 12px;
  padding: 16px;
  font-size: 14px;
  color: #1e40af;
}

.vote-login-prompt a {
  color: #1d4ed8;
  font-weight: 700;
}

.badge-official {
  background: #dcfce7;
  color: #166534;
}

.badge-community {
  background: #f5f3ff;
  color: #6d28d9;
}

.badge-pending {
  background: #fef3c7;
  color: #92400e;
}
