/* ── 섹션 ── */
.non-covered-section {
  background: var(--bg-section);
  padding: 60px 0 80px;
}
.non-covered-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── 타이틀 ── */
.non-covered-title {
  text-align: center;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 900;
  color: var(--text-dark);
  background: var(--primary-light);
  border: 2px solid var(--primary);
  border-radius: 6px;
  padding: 18px 24px;
  margin-bottom: 24px;
}

/* ── 테이블 래퍼 ── */
.nc-table-wrap {
  overflow-x: auto;
  margin-bottom: 16px;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(10,79,168,0.08);
}

/* ── 테이블 ── */
.nc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  background: var(--white);
}

.nc-table thead tr {
  background: var(--primary);
}
.nc-table thead th {
  color: #fff;
  font-weight: 700;
  padding: 14px 16px;
  text-align: center;
  white-space: nowrap;
  border: 1px solid rgba(255,255,255,0.2);
}

.nc-table tbody tr:nth-child(even) td {
  background: var(--primary-light);
}
.nc-table tbody tr:hover td {
  background: var(--accent-light);
}

.nc-table tbody td {
  padding: 12px 16px;
  text-align: center;
  color: var(--text-mid);
  border: 1px solid var(--border);
  line-height: 1.6;
  word-break: keep-all;
}

/* 항목명 왼쪽 정렬 */
.nc-table tbody td:nth-child(odd) {
  text-align: left;
}

/* 진료비 컬럼 강조 */
.nc-table tbody td:nth-child(even) {
  font-weight: 700;
  color: var(--primary-dark);
  white-space: nowrap;
}

/* 항목/가격이 colspan으로 병합된 행 */
.nc-table tbody td.nc-merged-label {
  text-align: center;
}
.nc-table tbody td.nc-merged-value {
  text-align: center;
  font-weight: 700;
  color: var(--primary-dark);
  white-space: nowrap;
}

/* ── 안내 문구 ── */
.nc-notice {
  font-size: 14px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 16px;
  line-height: 1.6;
}

/* ── 반응형 ── */
@media (max-width: 768px) {
  .nc-table { font-size: 13px; }
  .nc-table thead th,
  .nc-table tbody td { padding: 10px 10px; }
  .non-covered-title { font-size: 20px; padding: 14px 16px; }
}

@media (max-width: 480px) {
  /* 모바일: 4컬럼 → 2컬럼으로 분리 */
  .nc-table thead th:nth-child(3),
  .nc-table thead th:nth-child(4),
  .nc-table tbody td:nth-child(3),
  .nc-table tbody td:nth-child(4) {
    display: none;
  }
  .nc-table { font-size: 13px; }
}
