/* MultiTrade AI Inquiry Modal */

.mt-inquiry-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.55);
	z-index: 10000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.mt-inquiry-card {
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
	width: 100%;
	max-width: 520px;
	max-height: 90vh;
	overflow-y: auto;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
}

.mt-inquiry-header {
	background: #372f92;
	color: #fff;
	padding: 16px 20px;
	border-radius: 12px 12px 0 0;
	border-bottom: 3px solid #ff3131;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.mt-inquiry-header h3 {
	margin: 0;
	font-size: 16px;
	font-weight: 600;
	color: #fff;
}

.mt-inquiry-close {
	background: none;
	border: none;
	color: #fff;
	font-size: 22px;
	cursor: pointer;
	padding: 0 4px;
	line-height: 1;
	opacity: 0.8;
}

.mt-inquiry-close:hover {
	opacity: 1;
}

.mt-inquiry-body {
	padding: 20px;
}

.mt-inquiry-product {
	background: #f6f7f7;
	border-radius: 6px;
	padding: 10px 14px;
	margin-bottom: 16px;
	font-size: 13px;
	color: #50575e;
}

.mt-inquiry-product strong {
	color: #1d2327;
}

.mt-inquiry-field {
	margin-bottom: 14px;
}

.mt-inquiry-field label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: #1d2327;
	margin-bottom: 4px;
}

.mt-inquiry-field input,
.mt-inquiry-field textarea {
	width: 100%;
	padding: 8px 12px;
	border: 1px solid #dcdde1;
	border-radius: 6px;
	font-size: 14px;
	font-family: inherit;
	box-sizing: border-box;
}

.mt-inquiry-field input:focus,
.mt-inquiry-field textarea:focus {
	border-color: #372f92;
	outline: none;
	box-shadow: 0 0 0 1px #372f92;
}

.mt-inquiry-field textarea {
	min-height: 100px;
	resize: vertical;
}

.mt-inquiry-actions {
	display: flex;
	gap: 10px;
	margin-top: 16px;
}

.mt-inquiry-submit {
	background: #372f92;
	color: #fff;
	border: none;
	border-radius: 6px;
	padding: 10px 20px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s;
	flex: 1;
}

.mt-inquiry-submit:hover {
	background: #4a42b0;
}

.mt-inquiry-submit:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.mt-inquiry-cancel {
	background: #f0f0f1;
	color: #50575e;
	border: none;
	border-radius: 6px;
	padding: 10px 20px;
	font-size: 14px;
	cursor: pointer;
	transition: background 0.2s;
}

.mt-inquiry-cancel:hover {
	background: #dcdde1;
}

/* Success message */
.mt-inquiry-success {
	text-align: center;
	padding: 40px 20px;
}

.mt-inquiry-success-icon {
	font-size: 48px;
	margin-bottom: 12px;
}

.mt-inquiry-success h3 {
	margin: 0 0 8px;
	font-size: 18px;
	color: #1d2327;
}

.mt-inquiry-success p {
	color: #787c82;
	font-size: 14px;
	margin: 0;
}

/* Error message */
.mt-inquiry-error {
	color: #d63638;
	font-size: 13px;
	margin-top: 8px;
}

/* Mobile responsive */
@media (max-width: 480px) {
	.mt-inquiry-overlay {
		padding: 0;
		align-items: flex-end;
	}

	.mt-inquiry-card {
		max-width: 100%;
		border-radius: 12px 12px 0 0;
		max-height: 95vh;
	}

	.mt-inquiry-header {
		border-radius: 12px 12px 0 0;
	}
}
