/* ============================================================
   bridge.css — 新版页面与旧版交互的桥接样式
   新版页面(Bootstrap 5 + sf-* 体系)没有旧版 site.css 的组件类，
   此文件补齐旧版 JS（site.js 等）依赖的少量样式。
   ============================================================ */

/* 课程状态标签（旧版 site.css 同名组件的浅色版） */
.status-pill {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 1px solid rgba(139, 105, 20, 0.35);
  background: rgba(139, 105, 20, 0.08);
  color: #6b4f0c;
  white-space: nowrap;
}
.status-pill--open {
  background: rgba(43, 122, 75, 0.10);
  color: #256b45;
  border-color: rgba(43, 122, 75, 0.35);
}
.status-pill--wait {
  background: rgba(176, 128, 12, 0.12);
  color: #8a6410;
  border-color: rgba(176, 128, 12, 0.4);
}
.status-pill--full {
  background: rgba(169, 29, 34, 0.08);
  color: #a91d22;
  border-color: rgba(169, 29, 34, 0.35);
}
.status-pill--closed {
  background: rgba(107, 85, 68, 0.10);
  color: #6b5544;
  border-color: rgba(107, 85, 68, 0.35);
}

/* 报名按钮禁用态（site.js 会加 is-disabled） */
.btn.is-disabled,
a.sf-btn.is-disabled {
  opacity: 0.55;
  pointer-events: none;
}

/* 首页报名状态卡 */
.sf-enroll-card {
  border-top: 4px solid #a91d22;
}
.sf-enroll-card .sf-enroll-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: baseline;
}
.sf-enroll-card .sf-enroll-num {
  font-size: 2.2rem;
  font-weight: 700;
  color: #8b6914;
  line-height: 1;
}
.sf-enroll-card .sf-enroll-label {
  color: #6b5544;
  font-size: 0.9rem;
}
