/**
 * theme10 — 쪽지·고객센터 AJAX 모달 셸 + 문의답변 상세 스타일
 * [20260809 샤넬] theme08 정본(css/theme08-fixes.css L273~506, L581~593) 이식.
 *   theme10 은 t9-ajax-* 규칙이 아예 없어, 마크업만 넣으면 오버레이가 투명·무배치로 깨진다.
 */

.t9-ajax-overlay {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 100050;
	background: rgba(0, 0, 0, 0.88);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	align-items: center;
	justify-content: center;
	padding: 16px;
	overflow-y: auto;
}
.t9-ajax-overlay.active {
	display: flex;
}
.t9-ajax-box {
	position: relative;
	width: 100%;
	max-width: 720px;
	max-height: 92vh;
	overflow: auto;
	background: #1a1028;
	border: 1px solid #c78b14;
	border-radius: 14px;
	box-shadow: 0 0 40px rgba(199, 139, 20, 0.2);
}
.t9-ajax-box.wide {
	max-width: 920px;
}
.t9-ajax-close {
	position: sticky;
	top: 0;
	float: right;
	z-index: 5;
	margin: 10px 10px 0 0;
	width: 38px;
	height: 38px;
	border: none;
	border-radius: 8px;
	background: rgba(0, 0, 0, 0.45);
	color: #ccc;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
}
.t9-ajax-close:hover {
	color: #f38adb;
	background: rgba(243, 138, 219, 0.15);
}
.t9-ajax-body {
	clear: both;
	padding: 8px 16px 24px;
	color: #eee;
}
.t9-ajax-body table.bs-table,
.t9-ajax-body .bs-table {
	width: 100% !important;
	border-collapse: collapse;
}
.t9-ajax-body .bs-table thead th,
.t9-ajax-body .bs-table tbody td {
	padding: 10px 12px !important;
	font-size: 13px !important;
	vertical-align: middle;
	border-color: rgba(255, 255, 255, 0.08) !important;
}
.t9-ajax-body .title-td {
	cursor: pointer;
}
.t9-ajax-body .message-content,
.t9-ajax-body .qna-content,
.t9-ajax-body #message-detail,
.t9-ajax-body #qna-detail {
	color: #e8e8e8;
	line-height: 1.6;
	word-break: break-word;
}
.t9-ajax-body .memo-row-unread .title-td {
	font-weight: 700;
}

/* 쪽지·고객센터 AJAX — style.css 미로드 보정 (원본 bs-table·모달 헤더 톤) */
.t9-ajax-body .modal-dialog,
.t9-ajax-body .modal-content,
.t9-ajax-body .modal-header,
.t9-ajax-body .modal-body,
.t9-ajax-body .modal-footer {
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	border: none !important;
	background: transparent !important;
	box-shadow: none !important;
	height: auto !important;
}
.t9-ajax-body .modal-header {
	min-height: 52px;
	margin-bottom: 12px !important;
	padding: 0 !important;
	display: flex;
	align-items: center;
	justify-content: center;
}
.t9-ajax-body .modal-header .title-panel {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 200px;
	max-width: 320px;
	height: 48px;
	padding: 0 28px;
	border-radius: 8px;
	background: linear-gradient(180deg, #3d2a52 0%, #1f1428 100%);
	border: 1px solid rgba(243, 138, 219, 0.35);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}
.t9-ajax-body .modal-header .title-panel .title {
	font-size: 20px;
	font-weight: 800;
	color: #f8e8ff !important;
	-webkit-text-fill-color: #f8e8ff !important;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
	letter-spacing: 0.02em;
}
.t9-ajax-body .modal-header .title-panel .bullets {
	display: none;
}
.t9-ajax-body .modal-body {
	padding: 4px 4px 12px !important;
	color: #eee;
}
.t9-ajax-body .bs-table {
	border-collapse: separate !important;
	border-spacing: 0 4px !important;
}
.t9-ajax-body .bs-table thead th {
	height: 44px;
	color: #fff !important;
	font-size: 12px !important;
	font-weight: 700;
	text-align: center;
	background: #3d2a52 !important;
	border: none !important;
}
.t9-ajax-body .bs-table thead th:first-child {
	border-radius: 6px 0 0 6px;
}
.t9-ajax-body .bs-table thead th:last-child {
	border-radius: 0 6px 6px 0;
}
.t9-ajax-body .bs-table tbody td {
	color: #f0f0f0 !important;
	font-size: 13px !important;
	background: rgba(255, 255, 255, 0.06) !important;
	border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}
.t9-ajax-body .bs-table tbody tr:hover td {
	background: rgba(243, 138, 219, 0.12) !important;
}
.t9-ajax-body .bs-table .title-td {
	color: #f5f5f5 !important;
	text-align: left !important;
	padding-left: 14px !important;
}
.t9-ajax-body .bs-table .title-td:hover {
	color: #f38adb !important;
}
.t9-ajax-body .bs-table .date-td {
	color: #b8b0c4 !important;
	white-space: nowrap;
}
.t9-ajax-body .bs-table .count-tag {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 24px;
	height: 24px;
	padding: 0 8px;
	border-radius: 6px;
	color: #fff !important;
	font-size: 12px;
	font-weight: 700;
	background: linear-gradient(180deg, #c38fff, #7135b7);
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
}
.t9-ajax-body .memo-dot {
	display: inline-block;
	width: 7px;
	height: 7px;
	margin-right: 6px;
	border-radius: 50%;
	background: #f38adb;
	vertical-align: middle;
}
.t9-ajax-body .message-content {
	margin-top: 4px;
	padding: 16px 18px;
	border-radius: 10px;
	background: rgba(0, 0, 0, 0.35);
	border: 1px solid rgba(199, 139, 20, 0.25);
}
.t9-ajax-body .message-content .inner-container,
.t9-ajax-body #message-detail {
	color: #ececec !important;
	font-size: 14px;
	line-height: 1.65;
	min-height: 120px;
}
.t9-ajax-body .t9-memo-footer {
	padding: 16px 0 8px !important;
	justify-content: center !important;
}
.t9-ajax-body .t9-memo-actions {
	display: flex;
	justify-content: center;
	width: 100%;
	max-width: 280px;
	margin: 0 auto;
}
.t9-ajax-body .t9-memo-actions .btn.basic {
	width: 100%;
	min-height: 46px;
	border-radius: 8px;
	cursor: pointer;
}
.t9-ajax-body .t9-memo-actions .btn.basic span {
	color: #fff !important;
	font-size: 14px;
	font-weight: 700;
}

/* 고객센터 답변 상세 */
.theme10-cs-detail .theme10-cs-detail-body {
	min-height: 160px;
	max-height: 42vh;
	overflow: auto;
	padding: 12px 14px;
	line-height: 1.65;
	word-break: break-word;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 10px;
	background: rgba(0, 0, 0, 0.25);
}
.csCenterLayer .theme10-cs-list-actions {
	margin-top: 12px;
}
