/* ============================================
   AI应用工学沙龙 问卷调研系统 自定义样式
   （Tailwind CDN 为主，这里补充少量自定义效果）
   ============================================ */

/* ---------- 进度条 ---------- */
.progress-track {
  position: relative;
  height: 8px;
  background: #e5e7eb;
  border-radius: 9999px;
  overflow: hidden;
}
.progress-bar {
  height: 100%;
  border-radius: 9999px;
  background: linear-gradient(90deg, #2563eb, #60a5fa);
  transition: width 0.35s ease;
  position: relative;
}
.progress-bar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  animation: shimmer 2s infinite;
}
@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* ---------- 选项卡片 ---------- */
.option-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid #e5e7eb;
  border-radius: 0.75rem;
  cursor: pointer;
  transition: all 0.15s ease;
  background: #fff;
}
.option-item:hover {
  border-color: #93c5fd;
  background: #f8fafc;
}
.option-selected {
  border-color: #2563eb !important;
  background: #eff6ff !important;
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.2);
}
.option-label {
  font-size: 0.875rem;
  color: #374151;
  line-height: 1.5;
}
.option-selected .option-label {
  color: #1d4ed8;
  font-weight: 500;
}

/* ---------- "其他"输入框 ---------- */
.other-input {
  margin-top: 0.5rem;
  margin-left: 1.9rem;
  width: calc(100% - 1.9rem);
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  border: 1.5px dashed #c7d2fe;
  border-radius: 0.6rem;
  outline: none;
  background: #fafbff;
  transition: all 0.15s ease;
}
.other-input:focus {
  border-color: #6366f1;
  border-style: solid;
  background: #fff;
}

/* ---------- 按钮 ---------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.65rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(90deg, #2563eb, #3b82f6);
  border-radius: 0.75rem;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
  transition: all 0.15s ease;
  cursor: pointer;
}
.btn-primary:hover { filter: brightness(1.08); }
.btn-primary:active { transform: scale(0.98); }
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.65rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: #4b5563;
  background: #fff;
  border: 1.5px solid #e5e7eb;
  border-radius: 0.75rem;
  transition: all 0.15s ease;
  cursor: pointer;
  text-decoration: none;
}
.btn-secondary:hover {
  border-color: #93c5fd;
  color: #2563eb;
  background: #f8fafc;
}

/* ---------- 后台统计卡片 ---------- */
.stat-card {
  background: #fff;
  border: 1px solid #f1f5f9;
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}
.stat-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: #2563eb;
  line-height: 1.2;
}
.stat-label {
  font-size: 0.75rem;
  color: #6b7280;
  margin-top: 0.2rem;
}
