/* 肺結節安心指南 — 就診準備清單區塊
   2026-11-06 新增：患者看肺結節門診需攜帶的資料快速清單 */

.nodule-prep {
  background: var(--off-white, #f7f8fa);
  border: 1.5px solid var(--gray-200, #e8eaf2);
  border-radius: var(--radius-md, 12px);
  padding: 2rem;
  margin: 1.5rem 0;
}

.nodule-prep-head {
  margin-bottom: 1.25rem;
}

.nodule-prep-title {
  color: var(--navy, #1a2744);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  line-height: 1.4;
}

.nodule-prep-lead {
  color: var(--gray-600, #4a5a7a);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
}

.nodule-prep-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
}

.nodule-prep-list li {
  padding: 0.7rem 0 0.7rem 2rem;
  position: relative;
  color: var(--gray-700, #3d4a63);
  border-bottom: 1px solid var(--gray-100, #f0f2f6);
  line-height: 1.65;
}

.nodule-prep-list li:last-child {
  border-bottom: none;
}

.nodule-prep-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold, #b8860b);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.65;
}

.nodule-prep-list strong {
  color: var(--navy, #1a2744);
}

.nodule-prep-list .prep-key {
  display: inline-block;
  background: rgba(184, 134, 11, 0.12);
  /* 深金 #6d4f12 在 rgba(184,134,11,.12) 底色上對比約 6.6:1，滿足 WCAG AA 4.5:1 */
  color: #6d4f12;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.1rem 0.5rem;
  border-radius: 4px;
  margin-left: 0.4rem;
  white-space: nowrap;
}

.nodule-prep-note {
  background: var(--white, #fff);
  border-left: 4px solid var(--gold, #b8860b);
  border-radius: 6px;
  padding: 1rem 1.25rem;
  margin: 0 0 1.25rem;
}

.nodule-prep-note p {
  margin: 0;
  color: var(--gray-700, #3d4a63);
  font-size: 0.92rem;
  line-height: 1.7;
}

.nodule-prep-note strong {
  color: var(--navy, #1a2744);
}

.nodule-prep-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.nodule-prep-actions a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--navy, #1a2744);
  color: var(--white, #fff);
  padding: 0.7rem 1.4rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  transition: all 0.2s;
}

.nodule-prep-actions a:hover {
  background: #0f1a33;
}

.nodule-prep-actions a.secondary {
  background: transparent;
  color: var(--navy, #1a2744);
  border: 1.5px solid var(--gray-200, #e8eaf2);
}

.nodule-prep-actions a.secondary:hover {
  background: var(--white, #fff);
  border-color: var(--navy, #1a2744);
}

@media (max-width: 768px) {
  .nodule-prep {
    padding: 1.5rem;
  }

  .nodule-prep-title {
    font-size: 1.08rem;
  }

  .nodule-prep-actions a {
    flex: 1 1 100%;
    justify-content: center;
  }
}
