/* ===== 공통 ===== */
html, body {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* ===== 섹션/패널 ===== */
.section-title {
  border-left: 4px solid #4f46e5;
  padding-left: 12px;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}
.panel {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 1px 8px rgba(15, 23, 42, 0.04);
}

/* ===== KPI 카드 ===== */
.kpi-card {
  background: #fff;
  border-radius: 16px;
  padding: 20px 22px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 1px 8px rgba(15, 23, 42, 0.04);
}
.kpi-label { font-size: 13px; color: #64748b; font-weight: 600; }
.kpi-value { font-size: 28px; font-weight: 800; margin-top: 4px; line-height: 1.2; }
.kpi-sub   { font-size: 12px; color: #94a3b8; margin-top: 4px; }

/* ===== 관리 단계 카드 ===== */
.stage-card {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 1px 8px rgba(15, 23, 42, 0.04);
  transition: transform 0.15s ease;
}
.stage-card:hover { transform: translateY(-2px); }
.stage-card .stage-icon { font-size: 28px; margin-bottom: 8px; }
.stage-card h3 { font-weight: 700; margin-bottom: 6px; }
.stage-card p  { font-size: 13px; color: #64748b; line-height: 1.5; }

/* ===== 타임라인 ===== */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
  padding-top: 24px;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 33px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: #e2e8f0;
}
.timeline li {
  list-style: none;
  text-align: center;
  position: relative;
}
.timeline .dot {
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #4f46e5;
  margin: 0 auto 12px;
  border: 4px solid #fff;
  box-shadow: 0 0 0 2px #4f46e5;
  position: relative;
  z-index: 1;
}
.timeline h4 { font-weight: 700; margin-bottom: 4px; }
.timeline p  { font-size: 12px; color: #64748b; }

@media (max-width: 768px) {
  .timeline { grid-template-columns: 1fr; }
  .timeline::before { display: none; }
}

/* ===== 테이블 ===== */
.th { padding: 14px 16px; text-align: left; font-weight: 600; font-size: 13px; }
.td { padding: 14px 16px; vertical-align: middle; }

/* ===== 상태 뱃지 ===== */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.badge-done       { background: #dcfce7; color: #15803d; }
.badge-progress   { background: #dbeafe; color: #1d4ed8; }
.badge-fee        { background: #fef3c7; color: #b45309; }
.badge-apply      { background: #ede9fe; color: #6d28d9; }
.badge-waiting    { background: #f1f5f9; color: #475569; }
.badge-consult    { background: #fef3c7; color: #b45309; }
.badge-warning    { background: #fee2e2; color: #b91c1c; }
.badge-default    { background: #f1f5f9; color: #475569; }
