/* ============================================================
   정보 페이지 공통
============================================================ */
.info-page {
  width: 100%;
  padding: 30px 0 50px;
  box-sizing: border-box;
}

.info-container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
}

/* ============================================================
   기존 정보 페이지 헤더
============================================================ */
.info-header {
  margin-bottom: 20px;
}

.info-header h1 {
  margin: 0;
  color: #111827;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: -.5px;
}

.info-header .info-desc {
  margin: 8px 0 0;
  color: #667085;
  font-size: 14px;
  line-height: 1.6;
}

/* ============================================================
   주요 섹션 바로가기
============================================================ */
.info-section-links {
  margin: -4px 0 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.info-section-links a {
  min-height: 34px;
  padding: 0 12px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #475467;
  font-size: 11px;
  font-weight: 600;
  background: #fff;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  text-decoration: none;
  transition: color .18s ease, border-color .18s ease, background .18s ease;
}

.info-section-links a:hover {
  color: #2684ff;
  background: #f8faff;
  border-color: #84adff;
}

/* ============================================================
   포털형 정보 카드
============================================================ */
.info-portal-card,
.info-card {
  width: 100%;
  margin: 0 0 20px;
  overflow: hidden;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid #e4e7ec;
  border-radius: 12px;
  box-shadow: 0 3px 14px rgba(15, 23, 42, .04);
}

.info-portal-card[id] {
  scroll-margin-top: 110px;
}

.info-portal-card-header {
  padding: 18px 22px;
  box-sizing: border-box;
  background: #fafbfc;
  border-bottom: 1px solid #e4e7ec;
}

.info-portal-card-header h2 {
  margin: 0;
  color: #344054;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.info-portal-card-body {
  padding: 24px;
  box-sizing: border-box;
  color: #475467;
  font-size: 14px;
  line-height: 1.8;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.info-portal-card-body p {
  margin: 0 0 16px;
}

.info-portal-card-body p:last-child {
  margin-bottom: 0;
}

.info-card {
  padding: 24px;
}

.info-card h2 {
  margin: 0 0 14px;
  color: #344054;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
}

.info-card p {
  margin: 0 0 16px;
  color: #475467;
  font-size: 14px;
  line-height: 1.8;
}

/* ============================================================
   본문 영역
============================================================ */
.info-content {
  color: #475467;
  font-size: 14px;
  line-height: 1.8;
}

.info-content h2 {
  margin: 30px 0 12px;
  color: #1f2937;
  font-size: 17px;
  font-weight: 700;
}

.info-content h3 {
  margin: 24px 0 10px;
  color: #344054;
  font-size: 15px;
  font-weight: 700;
}

.info-content p {
  margin: 0 0 16px;
}

.info-content ul {
  margin: 12px 0 18px;
  padding-left: 22px;
}

.info-content li {
  margin-bottom: 8px;
}

/* ============================================================
   목록
============================================================ */
.info-list,
.info-summary-list {
  margin: 0;
  padding-left: 20px;
}

.info-list li,
.info-summary-list li {
  margin-bottom: 9px;
  color: #475467;
  line-height: 1.7;
}

.info-list li:last-child,
.info-summary-list li:last-child {
  margin-bottom: 0;
}

/* ============================================================
   핵심 요약 박스
============================================================ */
.info-box {
  margin: 20px 0 0;
  padding: 16px 18px;
  box-sizing: border-box;
  color: #475467;
  font-size: 13px;
  line-height: 1.7;
  background: #f8fafc;
  border: 1px solid #e4e7ec;
  border-radius: 10px;
}

.info-box strong {
  display: block;
  margin-bottom: 8px;
  color: #344054;
  font-weight: 700;
}

/* ============================================================
   경고
============================================================ */
.info-alert {
  margin: 20px 0 0;
  padding: 16px 18px;
  box-sizing: border-box;
  color: #b42318;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.7;
  background: #fff6f5;
  border: 1px solid #fecdca;
  border-radius: 10px;
}

/* ============================================================
   안내 / 팁
============================================================ */
.info-tip {
  margin: 20px 0 0;
  padding: 16px 18px;
  box-sizing: border-box;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #067647;
  font-size: 13px;
  line-height: 1.7;
  background: #f6fef9;
  border: 1px solid #abefc6;
  border-radius: 10px;
}

.info-tip strong {
  flex: 0 0 auto;
  color: #05603a;
  font-weight: 700;
}

/* ============================================================
   표
============================================================ */
.info-table {
  width: 100%;
  margin: 20px 0;
  border-collapse: collapse;
  color: #475467;
  font-size: 13px;
}

.info-table th,
.info-table td {
  padding: 12px 14px;
  text-align: left;
  border: 1px solid #e4e7ec;
}

.info-table th {
  color: #344054;
  font-weight: 700;
  background: #f8fafc;
}

/* ============================================================
   링크
============================================================ */
.info-link {
  color: #2563eb;
  font-weight: 600;
  text-decoration: none;
}

.info-link:hover {
  text-decoration: underline;
}

/* ============================================================
   페이지 하단
============================================================ */
.info-page-footer {
  margin-top: 18px;
  padding-top: 18px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  border-top: 1px solid #e4e7ec;
}

.info-home-link {
  color: #64748b;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

.info-home-link:hover {
  color: #2563eb;
}

/* ============================================================
   정보 카드 내부 소제목
============================================================ */
.info-sub-title {
  margin: 24px 0 12px;
  color: #344054;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

/* ============================================================
   정보 페이지 하단 문의 현황 전환 카드
============================================================ */
.info-status-section {
  width: 100%;
  margin-top: 20px;
  padding: 14px;
  box-sizing: border-box;
  background: linear-gradient(135deg, #f8faff 0%, #f3f8ff 100%);
  border: 1px solid #cfe0ff;
  border-radius: 12px;
}

.info-status-heading {
  margin: 0 0 12px;
  padding: 0 2px 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #dce8fb;
}

.info-status-heading strong {
  color: #344054;
  font-size: 12px;
  font-weight: 700;
}

.info-status-heading span {
  color: #667085;
  font-size: 10px;
}

.info-status-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.info-status-card {
  position: relative;
  min-width: 0;
  min-height: 126px;
  padding: 18px 42px 18px 18px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #344054;
  background: linear-gradient(135deg, #eff8ff 0%, #f8fbff 100%);
  border: 1px solid #cfe0ff;
  border-radius: 10px;
  box-shadow: 0 3px 12px rgba(38, 132, 255, .05);
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.info-status-card:last-child {
  background: linear-gradient(135deg, #eefcf8 0%, #f7fffc 100%);
  border-color: #b7eadb;
}

.info-status-card:hover {
  color: #344054;
  border-color: #2684ff;
  box-shadow: 0 8px 22px rgba(38, 132, 255, .14);
  transform: translateY(-2px);
}

.info-status-badge {
  width: fit-content;
  margin-bottom: 8px;
  padding: 3px 7px;
  color: #175cd3;
  font-size: 9px;
  font-weight: 800;
  line-height: 1.4;
  background: #dbeeff;
  border-radius: 5px;
}

.info-status-card:last-child .info-status-badge {
  color: #067647;
  background: #dcfae6;
}

.info-status-card > strong {
  color: #344054;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.info-status-card p {
  margin: 6px 0 0;
  color: #667085;
  font-size: 11px;
  line-height: 1.6;
}

.info-status-arrow {
  position: absolute;
  top: 50%;
  right: 18px;
  color: #7a9cc6;
  font-size: 25px;
  line-height: 1;
  transform: translateY(-50%);
}

.info-status-card:hover .info-status-arrow {
  color: #2684ff;
}

/* 개인회생 변제금 계산기 CTA */
.repay-calc-cta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  margin-top:20px;
  padding:18px 20px;
  background:#f7f9fc;
  border:1px solid #e1e6ef;
  border-radius:12px;
}

.repay-calc-cta-info{
  display:flex;
  flex-direction:column;
  gap:5px;
  min-width:0;
}

.repay-calc-cta-info strong{
  color:#172033;
  font-size:15px;
  font-weight:700;
  line-height:1.45;
}

.repay-calc-cta-info span{
  color:#667085;
  font-size:13px;
  line-height:1.5;
}

.repay-calc-button{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-width:120px;
  min-height:46px;
  padding:0 20px;
  color:#fff;
  background:#2684ff;
  border:1px solid #2684ff;
  border-radius:8px;
  font-size:14px;
  font-weight:700;
  line-height:1;
  text-decoration:none;
  box-sizing:border-box;
  transition:
    background-color .2s ease,
    border-color .2s ease;
}

.repay-calc-button:hover{
  color:#fff;
  background:#1d4ed8;
  border-color:#1d4ed8;
  text-decoration:none;
}

.repay-calc-button:focus-visible{
  outline:3px solid rgba(38,132,255,.25);
  outline-offset:2px;
}

.repay-calc-button span{
  font-size:20px;
  line-height:1;
}

/* 모바일 */
@media (max-width:640px){
  .repay-calc-cta{
    align-items:stretch;
    flex-direction:column;
    gap:14px;
    padding:16px;
  }

  .repay-calc-button{
    width:100%;
    min-height:48px;
  }
}

/* ============================================================
   태블릿
============================================================ */
@media (max-width: 768px) {
  .info-page {
    padding: 24px 0 42px;
  }

  .info-container {
    padding: 0 14px;
    box-sizing: border-box;
  }

  .info-header h1 {
    font-size: 23px;
  }

  .info-header .info-desc {
    font-size: 13px;
  }

  .info-portal-card-header {
    padding: 16px 18px;
  }

  .info-portal-card-body,
  .info-card {
    padding: 20px 18px;
  }

  .info-portal-card-body,
  .info-content,
  .info-card p {
    font-size: 13px;
  }

  .info-status-section {
    padding: 12px;
  }
}

/* ============================================================
   모바일
============================================================ */
@media (max-width: 480px) {
  .info-page {
    padding: 20px 0 36px;
  }

  .info-container {
    padding: 0;
  }

  .info-header h1 {
    font-size: 21px;
  }

  .info-section-links {
    margin: -2px 0 16px;
    padding: 0 2px;
    gap: 6px;
  }

  .info-section-links a {
    min-height: 32px;
    padding: 0 10px;
    font-size: 10px;
  }

  .info-portal-card,
  .info-card {
    border-radius: 10px;
  }

  .info-portal-card-header {
    padding: 14px 16px;
  }

  .info-portal-card-body,
  .info-card {
    padding: 18px 16px;
  }

  .info-box,
  .info-alert,
  .info-tip {
    padding: 14px;
  }

  .info-tip {
    display: block;
  }

  .info-tip strong {
    display: block;
    margin-bottom: 4px;
  }

  .info-sub-title {
    margin-top: 20px;
    font-size: 14px;
  }

  .info-status-section {
    padding: 10px;
  }

  .info-status-heading {
    margin-bottom: 10px;
    padding: 0 2px 9px;
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .info-status-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .info-status-card {
    min-height: 118px;
    padding: 16px 40px 16px 16px;
  }

  .info-status-card > strong {
    font-size: 13px;
  }
}


  .seo-brand-card .info-status-card {
    background: #ffffff !important;
  }

  .seo-brand-card .info-card-emoji {
    display: inline-block;
    margin-right: 4px;
    font-size: 12px;
    line-height: 1;
  }

  .seo-brand-card .card-rehab {
    border-color: #bfdbfe;
  }
  .seo-brand-card .card-rehab .info-status-badge {
    color: #1d4ed8;
    background: #dbeafe;
  }

  .seo-brand-card .card-documents {
    border-color: #ddd6fe;
  }
  .seo-brand-card .card-documents .info-status-badge {
    color: #6d28d9;
    background: #ede9fe;
  }

  .seo-brand-card .card-attachment {
    border-color: #fed7aa;
  }
  .seo-brand-card .card-attachment .info-status-badge {
    color: #c2410c;
    background: #ffedd5;
  }

  .seo-brand-card .card-checklist {
    border-color: #bbf7d0;
  }
  .seo-brand-card .card-checklist .info-status-badge {
    color: #15803d;
    background: #dcfce7;
  }

  .seo-brand-card .info-status-card:hover {
    border-color: #2684ff;
    background: #ffffff !important;
  }
