/* ============================================================
   投稿页液态玻璃专有样式 (vote.css - Liquid Glass Redesign)
   ============================================================ */

.vote-card {
  max-width: 580px;
  margin: 6vh auto 0;
  padding: 38px 34px 34px;
  position: relative;
  z-index: 10;
}

.vote-header {
  text-align: center;
  margin-bottom: 26px;
}

.vote-icon-bubble {
  width: 58px;
  height: 58px;
  line-height: 58px;
  font-size: 28px;
  margin: 0 auto 16px;
  border-radius: var(--r-pill);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(6, 182, 212, 0.15));
  border: 1px solid var(--glass-border);
  box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.8), 0 8px 20px -6px var(--liquid-primary-glow);
}

.vote-header h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.vote-header .sub {
  font-size: 13.5px;
  color: var(--ink-3);
  margin-top: 6px;
}

.vote-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.input-action-group {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.btn-search {
  padding: 0 18px;
  flex-shrink: 0;
}

.select-wrapper {
  position: relative;
}

.select-liquid {
  appearance: none;
  background-image: url("data:image/svg2+xml;utf8,<svg fill='%2364748b' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.picked-status {
  font-size: 13px;
  color: var(--liquid-primary);
  font-weight: 600;
  min-height: 18px;
  padding: 0 4px;
}

.vote-actions-primary {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
}

.btn-submit-vote {
  width: 100%;
  padding: 13px;
  font-size: 16px;
}

.btn-submit-vote:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  filter: grayscale(0.5);
  transform: none !important;
}

.btn-audition {
  width: 100%;
}

.vote-msg {
  font-size: 13.5px;
  text-align: center;
  min-height: 20px;
  font-weight: 500;
}

.vote-actions-nav {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--glass-border-subtle);
}

.vote-actions-nav button {
  flex: 1;
}

/* 局部刷新搜索候选列表容器 */
.candidates-wrap {
  margin: 4px 0;
}

.cand-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: var(--glass-surface-subtle);
  border: 1px solid var(--glass-border-subtle);
  border-radius: var(--r-md);
  margin-bottom: 8px;
  transition: all 0.2s ease;
  gap: 12px;
}

.cand-item:hover {
  background: var(--glass-surface);
  border-color: var(--liquid-primary);
  transform: translateY(-1px);
}

.cand-meta {
  flex: 1;
  min-width: 0;
}

.cand-title {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cand-sub {
  font-size: 12.5px;
  color: var(--ink-3);
  margin-top: 2px;
}

.cand-btns {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .vote-card {
    margin-top: 3vh;
    padding: 26px 18px;
  }
}
