/* =============================================
       고객센터 통합 페이지 전용 스타일
    ============================================= */

/* 페이지 Hero */
.cs-hero {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 36px 0 36px 0;
  text-align: center;
}

/* 배경 비주얼이 남아있는 상세 페이지(guide_detail·notice_detail) 전용.
   목록 화면은 inc/_page_title 로 바뀌어 .cs-hero 밖이라 이 규칙을 타지 않는다. */
.cs-hero #cs-hero-title {
  font-size: 2.4rem;
  font-weight: 700;
  color: #000;
  margin: 0;
  padding: 48px 0 44px;
}

/* 타이틀 영역 배경 제거 — background:none 이면 body 의 --gray-50 이 비쳐
   흰 GNB 와 흰 탭바 사이에 회색 띠로 보인다. 흰색으로 끊김 없이 이어준다.
   style.css 가 뒤에 로드되므로 .page-hero 를 함께 붙여 우선순위를 올린다. */
.page-hero.page-hero--plain {
  background: #fff;
}

/* 탭 메뉴 (danbipay .sub_tab 스타일) */
.cs-tabs-wrap {
  width: 100%;
  height: 70px;
  background: #fff;
  border-bottom: 1px solid #ebebeb;
  z-index: 1;
}

.cs-tabs-inner {
  display: flex;
  justify-content: center;
}

.cs-tab-btn {
  position: relative;
  flex: 1;
  padding: 0;
  line-height: 69px;
  font-size: 18px;
  font-weight: 400;
  color: #333;
  text-align: center;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
  white-space: nowrap;
}

.cs-tab-btn:hover {
  color: #6b3cec;
}

.cs-tab-btn.active {
  color: #6b3cec;
  font-weight: 600;
}

.cs-tab-btn.active::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  background: #6b3cec;
}

/* Mobile/tablet: turn tabs into a horizontal swipeable slider */
@media (max-width: 768px) {
  .cs-tabs-wrap {
    height: auto;
  }

  .cs-tabs-inner {
    /* Center when tabs fit, fall back to start when overflowing (no clipped first tab) */
    justify-content: safe center;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scrollbar-width: none; /* Firefox */
  }

  .cs-tabs-inner::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
  }

  .cs-tab-btn {
    flex: 0 0 auto;
    padding: 0 18px;
    scroll-snap-align: start;
  }
}

@media (max-width: 600px) {
  .cs-tab-btn {
    line-height: 55px;
    font-size: 16px;
  }

  .cs-hero #cs-hero-title {
    font-size: 1.6rem;
    padding: 32px 0 6px;
  }
}

/* 탭 콘텐츠 */
.cs-body {
  padding: 90px 0 80px;
  background: #FFFFFF;
  min-height: 500px;
}

.cs-panel {
  display: none;
}

.cs-panel.active {
  display: block;
}

/* ---- 공통 섹션 헤더 ---- */
.cs-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}

.cs-section-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--gray-900);
}



/* ---- FAQ 탭 ---- */
.faq-layout {
  /* display: grid;
  grid-template-columns: 1fr 280px; */
  gap: 32px;
  align-items: start;
}

@media (max-width: 900px) {
  .faq-layout {
    grid-template-columns: 1fr;
  }
}

/* 카테고리 필터 (danbipay .board_cate 스타일) */
.faq-tags {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 30px;
}

.faq-tag {
  padding: 10px 22px;
  border: 1px solid #ebebeb;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 400;
  color: #333;
  cursor: pointer;
  transition: all 0.2s;
  background: #fff;
}

.faq-tag:hover {
  color: #6b3cec;
  background: #fbfaff;
  border-color: #ebebeb;
}

.faq-tag.active {
  font-weight: 600;
  color: #6b3cec;
  background: #fbfaff;
  border-color: #f1ecff;
}

.search-faq {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.search-faq input {
  flex: 1;
}

.faq-category {
  /* margin-bottom: 28px; */
}

.faq-category-title {
  font-size: 17px;
  font-weight: 600;
  color: #222;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 0;
}

/* ---- 공지사항 탭 ---- */
.notice-table {
  width: 100%;
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
}

.notice-thead {
  display: grid;
  grid-template-columns: 72px 1fr 120px;
  padding: 14px 20px;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.notice-row {
  border-bottom: 1px solid var(--gray-100);
  cursor: pointer;
  transition: background 0.15s;
}

.notice-row:last-child {
  border-bottom: none;
}

.notice-row:hover .notice-row-head {
  background: var(--gray-50);
}

.notice-row-head {
  display: grid;
  grid-template-columns: 72px 1fr 120px;
  padding: 16px 20px;
  align-items: center;
  transition: background 0.15s;
}

.notice-num {
  font-size: 0.85rem;
  color: var(--gray-400);
  font-weight: 600;
}

.notice-title-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}

.notice-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  white-space: nowrap;
}

.notice-badge.new {
  background: #EFF6FF;
  color: #2563EB;
}

.notice-badge.imp {
  background: #FEF3C7;
  color: #D97706;
}

.notice-badge.sys {
  background: #F0FDF4;
  color: #16A34A;
}

.notice-title-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray-800);
}

.notice-date {
  font-size: 0.82rem;
  color: var(--gray-400);
  text-align: right;
}

.notice-detail {
  display: none;
  padding: 20px 24px 24px;
  background: #F8FAFC;
  border-top: 1px dashed var(--gray-200);
  font-size: 0.9rem;
  color: var(--gray-700);
  line-height: 1.8;
}

.notice-detail.open {
  display: block;
}

.notice-detail-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 12px;
}

@media (max-width: 600px) {
  .notice-thead {
    grid-template-columns: 48px 1fr 90px;
    padding: 12px 14px;
  }

  .notice-row-head {
    grid-template-columns: 48px 1fr 90px;
    padding: 14px 14px;
  }

  .notice-num {
    font-size: 0.78rem;
  }

  .notice-date {
    font-size: 0.75rem;
  }
}

/* ---- 게시판 리스트(공지사항 · 이용가이드 공통) ---- */
.cs-count {
  font-size: 0.85rem;
  color: var(--gray-400);
}

.board-list {
  width: 100%;
  background: white;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.board-head {
  display: grid;
  grid-template-columns: 80px 1fr 110px 130px;
  align-items: center;
  padding: 14px 16px;
  /* background: var(--gray-50); */
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.82rem;
  font-weight: 700;
  color: #888;
  text-align: center;
}

.board-head .bl-title {
  text-align: center;
}

.board-row {
  border-bottom: 1px solid var(--gray-100);
}

.board-row:last-child {
  border-bottom: none;
}

.board-row:hover .board-row-head {
  background: var(--gray-50);
}

.board-row-head {
  display: grid;
  grid-template-columns: 80px 1fr 110px 130px;
  align-items: center;
  padding: 16px;
  cursor: pointer;
  transition: background 0.15s;
  text-align: center;
  color: inherit;
  text-decoration: none;
}

a.board-row-head:hover {
  color: inherit;
}

.bl-num {
  font-size: 0.86rem;
  color: #000;
  /* font-weight: 600; */
}

.bl-title {
  /* display: flex;
  align-items: center; */
  gap: 8px;
  text-align: left;
  min-width: 0;
}

.bl-title-text {
  font-size: 0.95rem;
  /* font-weight: 600; */
  color: #000;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.15s;
}

.board-row:hover .bl-title-text {
  color: #000;
}

.bl-pin {
  flex-shrink: 0;
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  background: #FEF3C7;
  color: #D97706;
  white-space: nowrap;
}

.bl-file {
  flex-shrink: 0;
  font-size: 0.85rem;
  color: var(--gray-400);
}

.bl-author {
  font-size: 0.85rem;
  color: #000;
}

.bl-date {
  font-size: 0.85rem;
  color: #000;
}

/* 헤더(번호·제목·작성자·등록일)만 회색 — 데이터 행에는 영향 없음 */
.board-head .bl-num,
.board-head .bl-title,
.board-head .bl-author,
.board-head .bl-date {
  color: #888;
}

.board-detail {
  display: none;
  padding: 22px 20px 26px;
  background: #F8FAFC;
  border-top: 1px dashed var(--gray-200);
  font-size: 0.9rem;
  color: var(--gray-700);
  line-height: 1.85;
}

.board-detail.open {
  display: block;
}

.board-detail-title {
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 14px;
}

.board-empty {
  padding: 90px 20px;
  text-align: center;
  color: var(--gray-400);
  font-size: 0.9rem;
}

/* Mobile/tablet: render each board row as a stacked card (title + meta) */
@media (max-width: 768px) {
  /* Hide the table header row */
  .board-head {
    display: none;
  }

  .board-row-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 8px;
    row-gap: 7px;
    padding: 16px;
    text-align: left;
  }

  /* Number column is not shown on mobile */
  .board-row-head .bl-num {
    display: none;
  }

  /* Title takes the full first line */
  .bl-title {
    flex: 0 0 100%;
  }

  .bl-title-text {
    font-size: 0.95rem;
    white-space: normal;
  }

  /* Meta line: 관리자 | 2026-04-17 14:02 */
  .board-row-head .bl-author,
  .board-row-head .bl-date {
    font-size: 0.82rem;
    color: #9aa0a6;
  }

  .board-row-head .bl-date::before {
    content: "|";
    margin-right: 8px;
    color: #d9dce0;
  }
}

/* ---- 이용가이드 탭 ---- */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

@media (max-width: 640px) {
  .guide-grid {
    grid-template-columns: 1fr;
  }
}

.guide-card {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.2s;
}

.guide-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.guide-card-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 20px 16px;
}

.guide-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.guide-meta {
  flex: 1;
}

.guide-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  background: var(--primary-light);
  color: var(--primary);
  margin-bottom: 6px;
}

.guide-title {
  font-size: 0.975rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.guide-desc {
  font-size: 0.825rem;
  color: var(--gray-500);
  line-height: 1.5;
}

.guide-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  border-top: 1px solid var(--gray-100);
  background: var(--gray-50);
}

.guide-date {
  font-size: 0.78rem;
  color: var(--gray-400);
}

.guide-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-light);
  border: none;
  border-radius: 6px;
  padding: 5px 12px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.guide-more-btn:hover {
  background: var(--primary);
  color: white;
}

/* 이용가이드 상세 내용은 data 속성으로 관리 — .guide-detail 숨김 처리 */
.guide-detail {
  display: none !important;
}

/* ---- 이용가이드 모달 ---- */
.guide-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 9000;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: gmFadeIn 0.18s ease;
}

.guide-modal-overlay.open {
  display: flex;
}

@keyframes gmFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.guide-modal {
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  width: 100%;
  max-width: 560px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  animation: gmSlideUp 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
}

@keyframes gmSlideUp {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.guide-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 22px 24px 16px;
  border-bottom: 1px solid var(--gray-100);
  gap: 12px;
  flex-shrink: 0;
}

.guide-modal-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.guide-modal-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.guide-modal-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 700;
  background: var(--primary-light);
  color: var(--primary);
  margin-bottom: 4px;
}

.guide-modal-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.3;
}

.guide-modal-close {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--gray-200);
  background: var(--gray-50);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--gray-500);
  flex-shrink: 0;
  transition: background 0.15s, color 0.15s;
}

.guide-modal-close:hover {
  background: var(--gray-200);
  color: var(--gray-800);
}

.guide-modal-meta {
  padding: 10px 24px;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.8rem;
  color: var(--gray-500);
  flex-shrink: 0;
}

.guide-modal-body {
  padding: 20px 24px 24px;
  overflow-y: auto;
  font-size: 0.9rem;
  color: var(--gray-700);
  line-height: 1.85;
  flex: 1;
}

.guide-modal-body ol,
.guide-modal-body ul {
  padding-left: 20px;
  margin: 10px 0;
}

.guide-modal-body li {
  margin-bottom: 8px;
}

.guide-modal-body strong {
  color: var(--gray-900);
}

.guide-modal-body a {
  color: var(--primary);
  font-weight: 600;
}

.guide-modal-body p {
  margin-bottom: 10px;
}

.guide-modal-footer {
  padding: 14px 24px;
  border-top: 1px solid var(--gray-100);
  display: flex;
  justify-content: flex-end;
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .guide-modal {
    max-width: 100%;
    border-radius: 14px;
    max-height: 92vh;
  }

  .guide-modal-header {
    padding: 18px 18px 14px;
  }

  .guide-modal-body {
    padding: 16px 18px 20px;
  }

  .guide-modal-footer {
    padding: 12px 18px;
  }
}

/* ---- 사이드바 (FAQ) ---- */
.sidebar-sticky-wrapper {
  position: sticky;
  top: calc(64px + 20px);
  align-self: start;
}

@media (max-width: 900px) {
  .sidebar-sticky-wrapper {
    position: static;
  }
}

.contact-card {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
  padding: 22px;
  margin-bottom: 16px;
}

.contact-card h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 14px;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  background: var(--gray-50);
  border-radius: var(--radius);
  margin-bottom: 8px;
  text-decoration: none;
  color: var(--gray-700);
  transition: all var(--transition);
}

.contact-method:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.contact-method .cm-icon {
  font-size: 1.2rem;
}

.contact-method .cm-text {
  font-size: 0.875rem;
  font-weight: 600;
}

.contact-method .cm-label {
  font-size: 0.75rem;
  color: var(--gray-500);
}

/* 빈 상태 */
.cs-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--gray-400);
}

.cs-empty-icon {
  font-size: 3rem;
  margin-bottom: 12px;
}

.cs-empty p {
  font-size: 0.95rem;
}

.cs-body .container {
  max-width: 1240px;
}

/* ---- 첨부파일 다운로드 ---- */
.guide-file-badge {
  font-size: 0.8rem;
  margin-right: 4px;
}

.guide-file-area {
  padding: 0 24px 16px;
}

.guide-file-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--gray-50, #f9fafb);
  border: 1px solid var(--gray-200, #e5e7eb);
  border-radius: 10px;
  padding: 12px 16px;
}

.guide-file-info {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.guide-file-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.guide-file-name {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-800, #1f2937);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 240px;
}

.guide-file-size {
  font-size: 0.75rem;
  color: var(--gray-400, #9ca3af);
  margin-top: 2px;
}

.guide-download-btn {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  background: var(--primary, #2563eb);
  color: #fff;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background .15s;
}

.guide-download-btn:hover {
  background: #1d4ed8;
  color: #fff;
}

@media (max-width: 480px) {
  .guide-file-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .guide-file-name {
    max-width: 100%;
  }
}

@media (min-width: 769px) and (max-width: 1010px) {
  .cs-tab-btn {
    padding: 0;
  }
}

/* =============================================
   FAQ 아코디언 — danbipay .faq_lst 스타일 오버라이드
   (#panel-faq 로 스코프하여 전역 style.css 보다 우선)
   ============================================= */
#panel-faq .accordion {
  border: none;
  border-top: 1px solid #f5f5f5;
  border-radius: 0;
  overflow: visible;
}

#panel-faq .accordion-item {
  border-bottom: 1px solid #f5f5f5;
}

#panel-faq .accordion-header {
  align-items: center;
  min-height: 72px;
  padding: 24px 20px;
  font-size: 17px;
  font-weight: 400;
  color: #000;
  background: #fff;
  transition: background 0.2s linear, color 0.2s linear;
}

#panel-faq .accordion-header:hover {
  background: #fafafa;
  color: #000;
}

#panel-faq .accordion-item.open .accordion-header {
  color: #000;
  font-weight: 500;
}

#panel-faq .accordion-header-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Q badge — matched to danbipay light-purple/purple tone */
#panel-faq .accordion-q-badge {
  width: 22px;
  height: 22px;
  font-size: 0.72rem;
  background: #f1ecff;
  color: #6b3cec;
}

/* Expand icon (chevron) — gray by default, purple + rotated when open */
#panel-faq .accordion-icon {
  width: 18px;
  height: 18px;
  color: #bbb;
  transition: transform 0.3s, color 0.2s;
}

#panel-faq .accordion-item.open .accordion-icon {
  transform: rotate(180deg);
  color: #6b3cec;
}

/* Answer area — gray text on light-gray background */
#panel-faq .accordion-body {
  display: none;
  padding: 28px 24px 32px;
  font-size: 15px;
  line-height: 30px;
  color: #8c8c8c;
  background: #fafafa;
  border-top: 1px solid #ebebeb;
}

#panel-faq .accordion-item.open .accordion-body {
  display: block;
}

#panel-faq .accordion-item:hover .accordion-body {
  background: #fafafa;
}

/* ---- 페이지네이션 스타일 ---- */
.cs-pager {
  margin-top: 30px;
  display: flex;
  justify-content: center;
}

.cs-pager .pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

.cs-pager .pagination li a,
.cs-pager .pagination li.active span,
.cs-pager .pagination li.disabled span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid #ebebeb;
  border-radius: 50%;
  text-decoration: none;
  color: #333;
  font-size: 0.875rem;
  transition: all 0.2s;
  box-sizing: border-box;
}

.cs-pager .pagination li a:hover {
  color: #6b3cec;
  border-color: #6b3cec;
  background: #fbfaff;
}

.cs-pager .pagination li.active span {
  background: #6b3cec;
  color: #fff;
  border-color: #6b3cec;
  font-weight: 600;
}

.cs-pager .pagination li.disabled span {
  color: #ccc;
  border-color: #eee;
  background: #f9f9f9;
  cursor: not-allowed;
}

@media (max-width: 850px) {
  .cs-body {
      padding: 40px 0 40px;
  }
}

/* =============================================
   무이자 할부 행사 테이블 스타일 (ce-table 스타일 기반)
   ============================================= */
.installment-table-wrap {
  overflow-x: auto;
  border-radius: 8px;
  margin-top: 20px;
  border: 1px solid #e5e7eb;
}
.installment-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  text-align: left;
}
.installment-table thead th {
  background: #2563EB;
  color: #fff;
  padding: 12px 16px;
  font-weight: 700;
  white-space: nowrap;
  border-bottom: 2px solid #2563EB;
  text-align: center;
}
.installment-table thead th:first-child {
  text-align: left;
}
.installment-table tbody td {
  padding: 12px 16px;
  color: #1f2937;
  border-bottom: 1px solid #f3f4f6;
  vertical-align: middle;
}
.installment-table tbody tr:last-child td {
  border-bottom: none;
}
.installment-table tbody tr:nth-child(even) {
  background: #f9fafb;
}
.installment-table tbody tr:hover {
  background: #f3f4f6;
}
.installment-table th:nth-child(1),
.installment-table .card-name {
  width: 25%;
  min-width: 120px;
}
.installment-table th:nth-child(2),
.installment-table .months {
  width: 30%;
  min-width: 150px;
}
.installment-table th:nth-child(3),
.installment-table .note {
  width: 45%;
}

.installment-table td.card-name {
  font-weight: 700;
  color: #111827;
}
.installment-table td.months {
  color: #2563EB;
  font-weight: 700;
  font-weight: 700;
  text-align: center;
}
.installment-table td.note {
  color: #4b5563;
  text-align: center;
}

/* Table 2 months color override */
.installment-table.partial-interest-table td.months {
  color: #6b3cec;
}

/* =============================================
   유의사항 (ce-notice) 스타일
   ============================================= */
.ce-notice {
  background: #fef9ec;
  border-left: 3px solid #f59e0b;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 0.85rem;
  color: #78350f;
  margin-bottom: 20px;
  line-height: 1.7;
  text-align: left;
}
.ce-notice strong {
  display: block;
  font-size: 0.9rem;
  color: #92400e;
  margin-bottom: 6px;
}
.ce-notice ul {
  margin: 6px 0 0 0;
  padding-left: 16px;
}
.ce-notice li {
  margin-bottom: 3px;
}

@media (max-width: 568px) {
  #panel-faq .accordion-header-content {
    align-items: flex-start;
    text-align: left;
  }
}