/* 고객센터: FAQ / 공지사항 / 1:1문의 — 새 UI 다크 테마 */

.new-main .policy-content .same_height,
.new-main .policy-content .FPCMN_SUB_Contents1 { height: auto !important; }

/* 서브 카테고리 탭(FAQ A/B/C/D, 공지 전체/공지/점검, 문의사항/내 문의) */
.new-main .content-subtabs { margin: 0 0 20px; }

/* 아코디언 — 공지·FAQ (ko/help) */
.new-main .help-accordion {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
}
.new-main .help-accordion-item {
	display: flex;
	flex-direction: column;
	margin: 0;
}
.new-main .help-accordion-trigger {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	padding: 16px 18px;
	background: rgba(12, 13, 16, 0.9);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 10px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
	box-sizing: border-box;
	cursor: pointer;
	font: inherit;
	color: #E5E5E7;
	text-align: left;
	transition: background 0.15s ease, border-color 0.15s ease;
}
.new-main .help-accordion-trigger:hover {
	border-color: rgba(255, 255, 255, 0.3);
	background: rgba(30, 33, 46, 0.95);
}
.new-main .help-accordion-item.is-open .help-accordion-trigger {
	border-radius: 0;
	border: none;
	border-bottom: none;
	box-shadow: none;
	background: transparent;
}
.new-main .help-accordion-item.is-open {
	overflow: hidden;
	border-radius: 10px;
	border: 1px solid rgba(252, 235, 116, 0.4);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
	background: rgba(14, 12, 9, 0.92);
}
.new-main .help-notice-badge {
	flex: 0 0 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #8b8b95;
	font-size: 13px;
	text-align: center;
}
.new-main .help-notice-badge img {
	display: block;
	max-width: 100%;
	height: auto;
}
.new-main .help-notice-title,
.new-main .help-faq-title {
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-weight: 600;
	color: #E5E5E7;
}
.new-main .help-accordion-item.is-open .help-notice-title,
.new-main .help-accordion-item.is-open .help-faq-title {
	color: #FCEB74;
}
.new-main .help-notice-date {
	flex: 0 0 90px;
	color: #8b8b95;
	font-size: 12px;
	text-align: right;
	white-space: nowrap;
}
.new-main .help-accordion-chevron {
	flex-shrink: 0;
	margin-left: auto;
	width: 10px;
	height: 10px;
	border-right: 2px solid #8b8b95;
	border-bottom: 2px solid #8b8b95;
	transform: rotate(45deg);
	transition: transform 0.2s ease, border-color 0.2s ease;
}
.new-main .help-accordion-item.is-open .help-accordion-chevron {
	transform: rotate(-135deg);
	border-color: #FCEB74;
}
.new-main .help-accordion-panel {
	padding: 16px 18px;
	margin: 0;
	background: rgba(8, 9, 11, 0.92);
	border: none;
	border-radius: 0;
	box-shadow: none;
	color: #C9C9CE;
	font-size: 13px;
	line-height: 1.7;
}
.new-main .help-accordion-item.is-open .help-accordion-panel {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.new-main .help-accordion-panel[hidden] { display: none !important; }
.new-main .help-faq-answer {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}
.new-main .help-accordion-body { flex: 1 1 auto; min-width: 0; }
.new-main .help-pagination {
	margin-top: 4px;
	text-align: center;
}

/* 레거시 아코디언 — 내 문의(QNAList) 등 */
.new-main .pnlFAQ { margin: 0 auto; }
.new-main .pnlFAQ_wrap { display: flex; flex-direction: column; gap: 10px; }

/* Q/A 배지 (구 icon_question.gif / icon_answer.gif 대체) */
.new-main .badge-q,
.new-main .badge-a {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 6px;
	font-family: Inter, sans-serif;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
}
.new-main .badge-q {
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.24);
	color: #AEAEB2;
}
.new-main .badge-a {
	background: linear-gradient(86deg, #FCEB74 0%, #EDCB45 50%, #D3A015 100%);
	color: #1a1a1a;
}

/* 문항/게시글 행 (질문, 공지 리스트, 내 문의 리스트 공용) — 행 전체 클릭 가능 */
.new-main .pnlFAQ_Title1,
.new-main .pnlFAQ_Title2,
.new-main .pnlFAQ_Title3 {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	padding: 16px 18px;
	background: rgba(12, 13, 16, 0.9);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 10px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
	box-sizing: border-box;
	cursor: pointer;
	font-size: 14px;
	color: #E5E5E7;
	transition: background 0.15s ease, border-color 0.15s ease;
}
.new-main .pnlFAQ_Title1:hover,
.new-main .pnlFAQ_Title2:hover,
.new-main .pnlFAQ_Title3:hover { border-color: rgba(255, 255, 255, 0.3); background: rgba(26, 28, 38, 0.9); }
.new-main .pnlFAQ_Title1.is-open,
.new-main .pnlFAQ_Title2.is-open,
.new-main .pnlFAQ_Title3.is-open {
	border-radius: 10px 10px 0 0;
	border-color: rgba(252, 235, 116, 0.4);
	background: rgba(14, 12, 9, 0.92);
}
.new-main .pnlFAQ_Title1 img,
.new-main .pnlFAQ_Title2 .MNU08_pnlTD1 img { flex-shrink: 0; }
.new-main .pnlFAQ_Title1 span.pnlFAQ_Q_text,
.new-main .pnlFAQ_Title2 span.pnlFAQ_Q_text,
.new-main .pnlFAQ_Title3 span.pnlFAQ_Q_text {
	color: #E5E5E7;
	font-weight: 600;
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.new-main .pnlFAQ_Title1 span.pnlFAQ_Q_text {
	flex: 1 1 auto;
	min-width: 0;
}
.new-main .pnlFAQ_Title1.is-open span.pnlFAQ_Q_text,
.new-main .pnlFAQ_Title2.is-open span.pnlFAQ_Q_text,
.new-main .pnlFAQ_Title3.is-open span.pnlFAQ_Q_text { color: #FCEB74; }
.new-main .pnlFAQ_chevron {
	flex-shrink: 0;
	margin-left: auto;
	width: 10px;
	height: 10px;
	border-right: 2px solid #8b8b95;
	border-bottom: 2px solid #8b8b95;
	transform: rotate(45deg);
	transition: transform 0.2s ease, border-color 0.2s ease;
}
.new-main .pnlFAQ_Title1.is-open .pnlFAQ_chevron,
.new-main .pnlFAQ_Title2.is-open .pnlFAQ_chevron,
.new-main .pnlFAQ_Title3.is-open .pnlFAQ_chevron { transform: rotate(-135deg); border-color: #FCEB74; }

/* 공지/내문의 리스트 행 내부 칼럼 배치 (float 기반 레이아웃 유지, flex 로 재배치) */
.new-main .pnlFAQ_Title2,
.new-main .pnlFAQ_Title3 { flex-wrap: nowrap; }
.new-main .pnlFAQ_Title2 > div,
.new-main .pnlFAQ_Title3 > div { position: static !important; float: none !important; }
.new-main .MNU08_pnlTD1 { flex: 0 0 44px; color: #8b8b95; font-size: 13px; text-align: center; }
.new-main .MNU08_pnlTD2 { flex: 1 1 auto; min-width: 0; overflow: hidden; }
.new-main .MNU08_pnlTD3_1 { flex: 0 0 90px; color: #8b8b95; font-size: 12px; text-align: right; }
.new-main .MNU08_pnlTD4 { flex: 0 0 44px; color: #8b8b95; font-size: 13px; text-align: center; }
.new-main .MNU08_pnlTD5 { flex: 0 0 110px; color: #AEAEB2 !important; }
.new-main .MNU08_pnlTD6 { flex: 1 1 auto; min-width: 0; overflow: hidden; }
.new-main .MNU08_pnlTD7 { flex: 0 0 90px; color: #8b8b95; font-size: 12px; text-align: right; }
.new-main .MNU08_pnlTD8_1 { flex: 0 0 60px; color: #AEAEB2; font-size: 12px; text-align: center; }

/* 답변/상세 패널 */
.new-main .pnlFAQ_Answer {
	padding: 16px 18px;
	margin: -2px 0 0;
	background: rgba(8, 9, 11, 0.92);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-top: none;
	border-radius: 0 0 10px 10px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
	color: #C9C9CE;
	font-size: 13px;
	line-height: 1.7;
}
.new-main .pnlFAQ_Answer img { vertical-align: middle; margin-right: 8px; }
.new-main .pnlFAQ_Answer .help-faq-answer + .help-faq-answer,
.new-main .pnlFAQ_Answer #NEW_addFileBox + .help-faq-answer {
	margin-top: 12px;
}
.new-main .MNU08_Sub_Border { display: none; }
.new-main .MNU08_Sub_Icon { display: inline-flex; vertical-align: middle; margin-right: 8px; }
.new-main .MNU08_Sub_Content,
.new-main .NEW_qnaQ,
.new-main .NEW_helpA1 {
	flex: 1 1 auto;
	min-width: 0;
}
.new-main .NEW_helpBorder { display: none; }
.new-main #NEW_addFileBox,
.new-main #addFileBox {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 10px 0;
	padding: 8px 10px;
	background: rgba(255, 255, 255, 0.04);
	border-radius: 6px;
	font-size: 12px;
}

/* 페이지네이션 (FPCMN_MNU06_Paging / FPCMN_Paging 공용 출력) */
.new-main .help-pagination #pagingPanel,
.new-main #pagingPanel,
.new-main #MNU0802_Paging {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 4px;
	text-align: center;
}
.new-main #pagingPanel a,
.new-main #pagingPanel span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 28px;
	height: 28px;
	padding: 0 6px;
	margin: 0 2px;
	border-radius: 6px;
	font-size: 13px;
	font-family: Inter, sans-serif;
	text-decoration: none;
	color: #AEAEB2;
}
.new-main #pagingPanel a:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.new-main #pagingPanel .numBox { background: rgba(255, 255, 255, 0.06); }
.new-main #pagingPanel .nowSel {
	background: linear-gradient(86deg, #FCEB74 0%, #EDCB45 50%, #D3A015 100%);
	color: #000;
	font-weight: 700;
}
.new-main #pagingPanel .numPrev,
.new-main #pagingPanel .numNext { color: #FCEB74; }
.new-main #pagingPanel .pageEllipsis {
	min-width: 20px;
	color: #6D6D6D;
	margin: 0;
}
.new-main #pagingPanel .pageNav {
	background: rgba(255, 255, 255, 0.06);
	color: #E5E5E7;
	font-size: 14px;
	font-weight: 600;
}
.new-main #pagingPanel .pageNav.is-disabled {
	color: #4A4A4E;
	background: transparent;
	cursor: default;
}

/* FAQ 안내 배너: 전화상담 / 이메일 문의 */
.new-main .help-contact-card {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 24px;
	margin: 0 0 24px;
	padding: 20px 32px;
	background: rgba(12, 13, 16, 0.9);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 12px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}
.new-main .help-contact-item { text-align: center; min-width: 200px; }
.new-main .help-contact-label { color: #FCEB74; font-size: 13px; font-weight: 700; letter-spacing: 0.02em; margin-bottom: 4px; }
.new-main .help-contact-value { color: #fff; font-size: 20px; font-weight: 700; line-height: 1.3; }
.new-main .help-contact-value a { color: #fff; text-decoration: none; }
.new-main .help-contact-value a:hover { color: #FCEB74; }
.new-main .help-contact-sub { color: #8b8b95; font-size: 12px; margin-top: 4px; }
.new-main .help-contact-divider { width: 1px; align-self: stretch; min-height: 44px; background: rgba(255, 255, 255, 0.14); }
@media (max-width: 480px) {
	.new-main .help-contact-card { flex-direction: column; gap: 16px; padding: 20px; }
	.new-main .help-contact-divider { display: none; }
}

.new-main .help-auth-placeholder {
	margin: 24px 0 0;
	padding: 20px;
	border-radius: 10px;
	background: rgba(12, 13, 16, 0.9);
	border: 1px solid rgba(255, 255, 255, 0.12);
	color: #AEAEB2;
	font-size: 14px;
	text-align: center;
}

/* ===== QnA 작성/조회 폼 ===== */
.new-main .NEW_QnaBox_wrap {
	display: flex;
	flex-direction: column;
	gap: 16px;
	background: rgba(12, 13, 16, 0.9);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 12px;
	padding: 24px;
	box-sizing: border-box;
}
.new-main .NEW_table3 { width: 100%; border-collapse: collapse; }
.new-main .NEW_table3 th {
	width: 130px;
	padding: 12px 14px;
	text-align: left;
	color: #AEAEB2;
	font-size: 13px;
	font-weight: 600;
	vertical-align: top;
	white-space: nowrap;
}
.new-main .NEW_table3 td { padding: 10px 0; color: #E5E5E7; font-size: 14px; }
.new-main .NEW_zone_wrap_Qna { width: 100%; }
.new-main .NEW_zone_wrap_Qna select,
.new-main .NEW_zone_wrap_Qna input[type="text"],
.new-main .NEW_zone_wrap_Qna textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 10px 12px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.20);
	border-radius: 8px;
	color: #fff;
	font-family: Inter, sans-serif;
	font-size: 14px;
}
.new-main .NEW_zone_wrap_Qna select {
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%23E5E5E7' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	background-size: 12px 8px;
	padding-right: 36px;
	cursor: pointer;
}
.new-main .NEW_zone_wrap_Qna select option {
	background-color: #1b1f2a;
	color: #fff;
}
.new-main .NEW_zone_wrap_Qna select:focus,
.new-main .NEW_zone_wrap_Qna input[type="text"]:focus,
.new-main .NEW_zone_wrap_Qna textarea:focus { outline: none; border-color: #FCEB74; }
.new-main .NEW_zone_wrap_Qna textarea { min-height: 160px; resize: vertical; line-height: 1.6; }
.new-main .NEW_qnaFileTxt { margin-top: 8px; color: #8b8b95; font-size: 12px; }
.new-main input[type="file"] {
	color: #C9C9CE;
	font-size: 13px;
	max-width: 100%;
}
.new-main .NEW_btnBottom ul { display: flex; justify-content: center; gap: 10px; padding: 0; margin: 8px 0 0; list-style: none; }
.new-main .NEW_btnBottom a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 120px;
	height: 44px;
	padding: 0 20px;
	border-radius: 8px;
	font-family: Inter, sans-serif;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}
.new-main .NEW_btnBottom li:first-child a { background: linear-gradient(86deg, #FCEB74 0%, #EDCB45 50%, #D3A015 100%); color: #000; }
.new-main .NEW_btnBottom li:last-child a { background: rgba(255, 255, 255, 0.08); color: #E5E5E7; border: 1px solid rgba(255, 255, 255, 0.16); }
.new-main .NEW_btnBottom img { display: none; }
.new-main .NEW_btnBottom li:first-child a::before { content: "등록하기"; }
.new-main .NEW_btnBottom li:last-child a::before { content: "취소"; }

/* ===== QNAView 상세 ===== */
.new-main .qnaTitle { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.new-main .qnaTitle .tt_middle { font-size: 17px; font-weight: 700; color: #fff; }
.new-main .qnaDate { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.new-main .qnaTxt { color: #8b8b95; font-size: 12px; }
.new-main .qnaImg img { height: 18px; width: auto; }
.new-main .qnaQ_box { display: flex; flex-direction: column; gap: 6px; }
.new-main .icQna, .new-main .icAnswer { display: inline-flex; align-items: center; margin: 12px 0 4px; }
.new-main .qnaQ { padding: 0 0 8px; color: #E5E5E7; font-size: 14px; line-height: 1.7; }
.new-main .helpA_box { margin-top: 6px; padding-top: 12px; border-top: 1px dashed rgba(255, 255, 255, 0.1); }
.new-main .helpBorder { display: none; }
.new-main .helpA { padding: 10px 14px; background: rgba(255, 255, 255, 0.04); border-radius: 8px; color: #C9C9CE; font-size: 13px; line-height: 1.7; }
.new-main .comentQna { display: flex; justify-content: center; gap: 12px; margin: 20px 0; }
.new-main .comentQna a img,
.new-main .moneylist img { display: none; }
.new-main .comentQna .tt_middle a::before { content: "목록으로"; }
.new-main .comentQna .moneylist a::before { content: "삭제"; }
.new-main .comentQna a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 100px;
	height: 40px;
	padding: 0 16px;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.16);
	color: #E5E5E7;
	text-decoration: none;
	font-size: 13px;
	font-weight: 600;
}
.new-main #listBox { display: flex; flex-direction: column; gap: 8px; margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.new-main #nextList_wrap { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.new-main #nextList_wrap .listBox img { display: none; }
.new-main #nextList_wrap:first-child .listttBox::before { content: "다음글  "; color: #8b8b95; }
.new-main #nextList_wrap:last-child .listttBox::before { content: "이전글  "; color: #8b8b95; }
.new-main .listttBox a { color: #E5E5E7; text-decoration: none; }
.new-main .listttBox a:hover { color: #FCEB74; }

@media (max-width: 1024px), (hover: none), (pointer: coarse) {
	.new-main.help-page .pnlFAQ_Title3 {
		gap: 6px;
		padding: 12px 10px;
	}
	.new-main.help-page .MNU08_pnlTD4 { flex: 0 0 28px; font-size: 11px; }
	.new-main.help-page .MNU08_pnlTD5 {
		flex: 0 0 56px;
		font-size: 11px;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}
	.new-main.help-page .MNU08_pnlTD6 { min-width: 0; }
	.new-main.help-page .MNU08_pnlTD7 { flex: 0 0 72px; font-size: 11px; }
	.new-main.help-page .MNU08_pnlTD8_1 { flex: 0 0 36px; font-size: 11px; }
	.new-main.help-page .pnlFAQ_chevron { flex-shrink: 0; margin-left: 2px; }
}
