@charset "UTF-8";

/* Contact us modal overlay */
.contact_us_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;
}

/* Contact us modal box */
.contact_us_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;
}

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

.contact_us_modal_header .hamburger_btn {
	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;
}

.contact_us_modal_header .hamburger_btn:hover {
	background: var(--color-G2);
}

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

.contact_us_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;
}

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

.contact_us_modal_header .btn_close i.icon,
.contact_us_modal_header .hamburger_btn i.icon {
	width: 20px;
	height: 20px;
}

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

/* Form group */
.contact_us_modal_body .form_group {
	margin-bottom: 20px;
}

.contact_us_modal_body .form_group label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: var(--color-BL);
	margin-bottom: 8px;
}

.contact_us_modal_body .form_select,
.contact_us_modal_body .form_textarea {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid var(--color-G3);
	border-radius: 8px;
	font-size: 14px;
	color: var(--color-BL);
	background: var(--color-WH);
	transition: border-color 0.2s ease;
	font-family: inherit;
}

.contact_us_modal_body .form_select {
	cursor: pointer;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23666' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	padding-right: 36px;
}

.contact_us_modal_body .form_textarea {
	resize: vertical;
	min-height: 150px;
}

.contact_us_modal_body .form_select:focus,
.contact_us_modal_body .form_textarea:focus {
	outline: none;
	border-color: var(--color-G5);
}

/* Attachment section */
.attachment_section {
	display: flex;
	align-items: center;
	gap: 12px;
}

.btn_attachment {
	width: 40px;
	height: 40px;
	border: 1px solid var(--color-G3);
	border-radius: 8px;
	background: var(--color-WH);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s ease;
}

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

.btn_attachment i.icon {
	width: 20px;
	height: 20px;
}

.file_name {
	font-size: 13px;
	color: var(--color-G6);
	flex: 1;
}

/* Modal footer */
.contact_us_modal_footer {
	display: flex;
	gap: 12px;
	justify-content: flex-start;
	padding-top: 24px;
	border-top: 1px solid var(--color-G3);
	margin-top: 24px;
}

/* Submission confirmation modal */
.contact_us_confirm_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;
}

.contact_us_confirm_modal {
	width: 395px;
	background: var(--color-WH);
	border-radius: 16px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
	padding: 32px 24px;
	text-align: center;
}

.confirm_title {
	font-size: 18px;
	font-weight: 700;
	color: var(--color-BL);
	margin: 0 0 12px 0;
}

.confirm_message {
	font-size: 14px;
	color: var(--color-G6);
	margin: 0 0 24px 0;
	line-height: 1.5;
}

.contact_us_confirm_modal .btn {
	width: 100%;
}

/* Error message styles */
.contact_us_modal_body .error-message {
	font-size: 13px;
	color: #ef4444;
	margin-top: 4px;
	display: none;
	line-height: 1.3;
}

.contact_us_modal_body .error-message.show {
	display: block;
}

.contact_us_modal_body .form_select.error,
.contact_us_modal_body .form_textarea.error {
	border-color: #ef4444;
}

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

	.contact_us_confirm_modal {
		width: 90%;
		max-width: 395px;
	}
}
