@charset "UTF-8";

/* My inquiries modal overlay */
.my_inquiries_modal_overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 9999;
}

/* My inquiries modal box */
.my_inquiries_modal {
	width: 700px;
	max-height: 90vh;
	background: var(--color-WH);
	border-radius: 16px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

/* Modal header */
.my_inquiries_modal_header {
	padding: 20px 24px;
	border-bottom: 1px solid var(--color-G3);
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.my_inquiries_modal_header .modal_title {
	font-size: 20px;
	font-weight: 700;
	color: var(--color-BL);
	margin: 0;
	flex: 1;
}

.my_inquiries_modal_header .btn_close {
	width: 32px;
	height: 32px;
	border: none;
	background: transparent;
	cursor: pointer;
	border-radius: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background-color 0.2s ease;
}

.my_inquiries_modal_header .btn_close:hover {
	background: var(--color-G2);
}

.my_inquiries_modal_header .btn_close i.icon {
	width: 20px;
	height: 20px;
}

/* Modal body */
.my_inquiries_modal_body {
	padding: 24px;
	overflow-y: auto;
	flex: 1;
}

/* Contact us button area */
.inquiries_actions {
	margin-bottom: 24px;
	display: flex;
	justify-content: flex-start;
}

.contact_us_btn {
	display: flex;
	align-items: center;
	gap: 8px;
}

.contact_us_btn i.icon {
	width: 16px;
	height: 16px;
}

/* No inquiries message */
.no_inquiries {
	text-align: center;
	padding: 60px 20px;
	color: var(--color-G6);
	font-size: 14px;
}

/* Inquiry list table */
.inquiries_table_wrapper {
	overflow-x: auto;
}

.inquiries_table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

.inquiries_table thead th {
	text-align: left;
	padding: 12px 16px;
	background: var(--color-G2);
	font-weight: 600;
	color: var(--color-BL);
	border-bottom: 2px solid var(--color-G3);
}

.inquiries_table tbody tr {
	border-bottom: 1px solid var(--color-G3);
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.inquiries_table tbody tr:hover {
	background: var(--color-G2);
}

.inquiries_table tbody td {
	padding: 16px;
}

.inquiries_table .message_cell {
	max-width: 250px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* Response Status */
.status_no_response {
	color: var(--color-G6);
}

.status_answered {
	color: #4CAF50;
	font-weight: 600;
	display: flex;
	align-items: center;
	gap: 4px;
}

.status_answered i.icon {
	width: 16px;
	height: 16px;
}

/* Inquiry Details modal */
.inquiry_detail_modal_overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 10000;
}

.inquiry_detail_modal {
	width: 600px;
	max-height: 90vh;
	background: var(--color-WH);
	border-radius: 16px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

/* Inquiry Details header */
.inquiry_detail_modal_header {
	padding: 20px 24px;
	border-bottom: 1px solid var(--color-G3);
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.inquiry_detail_modal_header .btn_back {
	width: 32px;
	height: 32px;
	border: none;
	background: transparent;
	cursor: pointer;
	border-radius: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background-color 0.2s ease;
}

.inquiry_detail_modal_header .btn_back:hover {
	background: var(--color-G2);
}

.inquiry_detail_modal_header .btn_back i.icon,
.inquiry_detail_modal_header .btn_close i.icon {
	width: 20px;
	height: 20px;
}

.inquiry_detail_modal_header .modal_title {
	font-size: 20px;
	font-weight: 700;
	color: var(--color-BL);
	margin: 0;
	flex: 1;
	text-align: center;
}

.inquiry_detail_modal_header .btn_close {
	width: 32px;
	height: 32px;
	border: none;
	background: transparent;
	cursor: pointer;
	border-radius: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background-color 0.2s ease;
}

.inquiry_detail_modal_header .btn_close:hover {
	background: var(--color-G2);
}

/* Inquiry Details body */
.inquiry_detail_modal_body {
	padding: 24px;
	overflow-y: auto;
	flex: 1;
}

.inquiry_section,
.response_section {
	margin-bottom: 32px;
}

.inquiry_section:last-child,
.response_section:last-child {
	margin-bottom: 0;
}

.inquiry_section .section_title,
.response_section .section_title {
	font-size: 16px;
	font-weight: 700;
	color: var(--color-BL);
	margin: 0 0 12px 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.inquiry_date {
	font-size: 13px;
	font-weight: 400;
	color: var(--color-G6);
}

.inquiry_content,
.response_content {
	padding: 16px;
	background: var(--color-G2);
	border-radius: 8px;
	font-size: 14px;
	color: var(--color-BL);
	line-height: 1.6;
	white-space: pre-wrap;
	word-break: break-word;
}

.response_content {
	background: #F0F9FF;
	border-left: 3px solid #2196F3;
}

/* Responsive */
@media (max-width: 768px) {
	.my_inquiries_modal,
	.inquiry_detail_modal {
		width: 90%;
		max-height: 80vh;
	}

	.inquiries_table {
		font-size: 13px;
	}

	.inquiries_table thead th,
	.inquiries_table tbody td {
		padding: 10px 12px;
	}
}
