/* 이벤트 코드 화면(/ko/code). 가격 안내(strength_pricing.css)의 히어로 · 리포트 카드 위에 이 화면 조각만 더한다. */
/* 위(제목 · 대표 이미지)는 흰 바탕, 아래(카드)는 옅은 회색. 흰 바탕 목업 이미지가 위 바탕과 그대로 이어진다(10/13). */
.pricing-page.report-code-page { background: #f9fafb; }
.pricing-page.report-code-page .pricing-hero { padding: 64px 0 56px; background: #fff; border-bottom: 1px solid #eef0f4; } /* 가격 안내의 보라 · 초록 번짐 없이 */
.pricing-page.report-code-page .pricing-hero h1 { font-size: clamp(30px, 4vw, 48px); margin: 22px 0 14px; }
.report-code-hero__lead { margin: 0 auto; max-width: 30em; font-size: 16px; line-height: 1.7; color: var(--pricing-muted); }

/* 대표 이미지(책 표지 · 이벤트 포스터)가 있으면 데스크톱은 글 오른쪽, 폰은 글 위에 작게 */
.report-code-hero { display: grid; justify-items: center; gap: 28px; }
.report-code-hero__image { margin: 0; }
/* 올린 이미지를 그대로 둔다. 입체 목업은 그림자가 이미 들어 있고, 이미지 칸에 그림자를 씌우면 흰 사각형처럼 떠 보인다(10/13). */
.report-code-hero__image img { display: block; width: 140px; height: auto; }
@media (min-width: 768px) {
  .report-code-hero--with-image .report-code-hero { grid-template-columns: minmax(0, 1fr) auto; align-items: center; justify-items: start; gap: 56px; max-width: 960px; margin-inline: auto; text-align: left; }
  .report-code-hero--with-image .report-code-hero__image { order: 2; }
  .report-code-hero--with-image .report-code-hero__image img { width: 220px; }
  .report-code-hero--with-image .report-code-hero__lead { margin-left: 0; }
}

/* 받은 코드를 영수증 조각처럼 보여 준다 */
.report-code-ticket {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 24px; padding: 10px 18px;
  border: 1.5px dashed rgba(139,92,246,.45); border-radius: 12px; background: rgba(255,255,255,.85);
}
.report-code-ticket span { font-size: 13px; font-weight: 600; color: var(--pricing-muted); }
.report-code-ticket strong { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 18px; letter-spacing: .12em; color: var(--pricing-ink); }

.report-code-body { display: grid; gap: 20px; justify-items: center; padding-block: 40px 72px; }
.report-code-body > * { width: min(520px, 100%); }

.report-code-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 10px; margin: 20px 0 24px; }
.report-code-price s { font-size: 16px; color: var(--pricing-muted); }
.report-code-price strong { font-size: 32px; line-height: 1.2; font-weight: 750; letter-spacing: -.035em; color: var(--pricing-ink); }
.report-code-price em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--pricing-brand); background: #f3eeff; border-radius: 999px; padding: 3px 10px; }

.report-code-note { margin: 12px 0 0; font-size: 13px; line-height: 1.6; color: var(--pricing-muted); text-align: center; }

/* 이미 마친 진단에 바로 열기 */
.report-code-existing h2 { font-size: 16px; font-weight: 700; margin: 0 0 12px; }
.report-code-existing ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.report-code-existing li form { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 1px solid var(--pricing-border); border-radius: 12px; }
.report-code-existing li span { min-width: 0; font-size: 14px; color: var(--pricing-ink); }
.report-code-existing li small { display: block; font-size: 12px; color: var(--pricing-muted); }
.report-code-existing .pricing-button { min-height: 38px; padding: 8px 14px; flex-shrink: 0; }

/* 못 쓰는 코드 · 입력 화면 */
.report-code-panel { background: #fff; border: 1px solid var(--pricing-border); border-radius: 16px; padding: 24px; display: grid; gap: 12px; }
.report-code-panel form { display: flex; gap: 8px; }
.report-code-panel input[type="text"] {
  min-width: 0; flex: 1; border: 1px solid var(--pricing-border); border-radius: 10px; padding: 12px 14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 17px; letter-spacing: .12em; text-transform: uppercase;
}
.report-code-panel input[type="text"]:focus { outline: 2px solid var(--pricing-brand); outline-offset: 1px; border-color: transparent; }
.report-code-panel .pricing-button { flex-shrink: 0; }
.report-code-error { margin: 0; font-size: 14px; color: #b91c1c; }
.report-code-links { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; font-size: 14px; }
.report-code-links a { color: var(--pricing-muted); text-decoration: underline; text-underline-offset: 3px; }
.report-code-links a:hover { color: var(--pricing-brand); }

/* 카카오톡 문의 */
.report-code-help { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 16px; border-radius: 12px; background: #fefce8; border: 1px solid #fde68a; }
.report-code-help p { margin: 0; font-size: 14px; line-height: 1.6; color: #713f12; }
.report-code-help__link { flex-shrink: 0; display: inline-flex; align-items: center; min-height: 38px; padding: 8px 14px; border-radius: 10px; background: #fee500; color: #191919; font-size: 14px; font-weight: 700; text-decoration: none; }
.report-code-help__link:hover { filter: brightness(.96); }

@media (max-width: 767px) {
  .pricing-page.report-code-page .pricing-shell { padding-inline: 16px; }
  .pricing-page.report-code-page .pricing-hero { padding: 40px 0 36px; }
  .report-code-body { padding-block: 24px 56px; }
  .report-code-panel, .pricing-page.report-code-page .report-package { padding: 20px; }
}

/* 관리자 미리보기 띠 */
.report-code-preview { margin: 0; padding: 10px 16px; text-align: center; font-size: 13px; font-weight: 600; color: #713f12; background: #fef3c7; border-bottom: 1px solid #fde68a; }
