/* OPSWAT 제품 문의 모달 (maestro_renew 스타일 + OPSWAT 컬러) */
.inquiry-modal {
	position: fixed;
	inset: 0;
	z-index: 1100;
	display: none;
	align-items: center;
	justify-content: center;
	background: rgba(17, 31, 66, 0.65);
	backdrop-filter: blur(3px);
	padding: 20px;
}
.inquiry-modal.is-open { display: flex; }
.inquiry-modal-dialog {
	position: relative;
	width: 100%;
	max-width: 560px;
	max-height: 90vh;
	overflow-y: auto;
	background: #fff;
	border-radius: 18px;
	box-shadow: 0 30px 80px rgba(17, 31, 66, 0.45);
	padding: 40px 40px 34px;
	box-sizing: border-box;
	animation: opswatInquiryUp 0.25s ease;
}
@keyframes opswatInquiryUp {
	from { opacity: 0; transform: translateY(20px); }
	to { opacity: 1; transform: translateY(0); }
}
.inquiry-modal-close {
	position: absolute;
	top: 18px;
	right: 20px;
	width: 34px;
	height: 34px;
	border: none;
	background: none;
	font-size: 26px;
	line-height: 1;
	color: #8a93a6;
	cursor: pointer;
}
.inquiry-modal-close:hover { color: #111f42; }
.inquiry-modal-title {
	font-size: 24px;
	font-weight: 700;
	color: #111f42;
	margin: 0 0 6px;
}
.inquiry-modal-desc {
	font-size: 14px;
	color: #6b7689;
	margin: 0 0 22px;
	line-height: 1.5;
}
.inquiry-field { margin-bottom: 14px; }
.inquiry-field label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: #44506a;
	margin-bottom: 6px;
}
.inquiry-field label .req { color: #e0463c; margin-left: 2px; }
.inquiry-field input,
.inquiry-field select,
.inquiry-field textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid #d4dae6;
	border-radius: 10px;
	font-size: 14px;
	color: #111f42;
	box-sizing: border-box;
	background: #fff;
	font-family: inherit;
}
.inquiry-field input:focus,
.inquiry-field select:focus,
.inquiry-field textarea:focus {
	outline: none;
	border-color: #2672fb;
	box-shadow: 0 0 0 3px rgba(38, 114, 251, 0.15);
}
.inquiry-field textarea {
	min-height: 120px;
	resize: vertical;
}
.inquiry-row { display: flex; gap: 12px; }
.inquiry-row .inquiry-field { flex: 1; }
.inquiry-select { position: relative; }
.inquiry-select-trigger {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	width: 100%;
	min-height: 48px;
	padding: 7px 12px;
	border: 1px solid #d4dae6;
	border-radius: 10px;
	background: #fff;
	font-size: 14px;
	color: #111f42;
	cursor: pointer;
	text-align: left;
	box-sizing: border-box;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.inquiry-select-trigger:hover { border-color: #2672fb; }
.inquiry-select.open .inquiry-select-trigger {
	border-color: #2672fb;
	box-shadow: 0 0 0 3px rgba(38, 114, 251, 0.15);
}
.inquiry-select-value {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	flex: 1;
	min-width: 0;
}
.inquiry-select-placeholder { color: #97a1b3; }
.inquiry-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 6px 5px 10px;
	background: rgba(38, 114, 251, 0.1);
	color: #2672fb;
	border-radius: 6px;
	font-size: 12.5px;
	font-weight: 600;
	line-height: 1;
	white-space: nowrap;
}
.inquiry-badge-remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: rgba(38, 114, 251, 0.18);
	color: #2672fb;
	font-size: 13px;
	line-height: 1;
	cursor: pointer;
	transition: background 0.12s ease, color 0.12s ease;
}
.inquiry-badge-remove:hover { background: #2672fb; color: #fff; }
.inquiry-select-arrow {
	flex-shrink: 0;
	color: #8a93a6;
	transition: transform 0.2s ease;
}
.inquiry-select.open .inquiry-select-arrow { transform: rotate(180deg); }
.inquiry-select-panel {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	right: 0;
	z-index: 5;
	display: none;
	max-height: 260px;
	overflow-y: auto;
	padding: 8px;
	background: #fff;
	border: 1px solid #d4dae6;
	border-radius: 12px;
	box-shadow: 0 18px 40px rgba(17, 31, 66, 0.18);
}
.inquiry-select.open .inquiry-select-panel { display: block; }
.inquiry-select-panel .inquiry-option {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	padding: 11px 12px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 500;
	color: #44506a;
	cursor: pointer;
	transition: background 0.12s ease, color 0.12s ease;
}
.inquiry-select-panel .inquiry-option:hover { background: #f0f5ff; }
.inquiry-select-panel .inquiry-option.checked {
	background: rgba(38, 114, 251, 0.07);
	color: #2672fb;
	font-weight: 600;
}
.inquiry-select-panel .inquiry-option input {
	-webkit-appearance: none;
	appearance: none;
	position: relative;
	width: 20px;
	height: 20px;
	min-width: 20px;
	margin: 0;
	padding: 0;
	flex-shrink: 0;
	border: 2px solid #c4ccdb;
	border-radius: 6px;
	background: #fff;
	cursor: pointer;
	box-shadow: none;
	transition: border-color 0.15s ease, background 0.15s ease;
}
.inquiry-select-panel .inquiry-option input:hover { border-color: #2672fb; }
.inquiry-select-panel .inquiry-option input:checked {
	border-color: #2672fb;
	background: #2672fb;
}
.inquiry-select-panel .inquiry-option input:checked::after {
	content: '';
	position: absolute;
	left: 5px;
	top: 1px;
	width: 5px;
	height: 10px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}
.inquiry-select-panel .inquiry-option input:focus { box-shadow: none; outline: none; }
.inquiry-select-panel .inquiry-option span { line-height: 1.2; }
.inquiry-submit {
	width: 100%;
	height: 52px;
	margin-top: 8px;
	border: none;
	border-radius: 10px;
	background: linear-gradient(135deg, #1a5fd4, #2672fb);
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	transition: opacity 0.2s ease;
	font-family: inherit;
}
.inquiry-submit:hover { opacity: 0.92; }
.inquiry-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.floating-inquiry-btn {
	position: fixed;
	right: 36px;
	bottom: 36px;
	z-index: 1000;
	display: inline-flex;
	align-items: center;
	gap: 12px;
	height: 62px;
	padding: 0 30px;
	border: none;
	border-radius: 999px;
	background: linear-gradient(135deg, #1a5fd4, #2672fb);
	color: #fff;
	font-size: 18px;
	font-weight: 700;
	cursor: pointer;
	box-shadow: 0 14px 32px rgba(38, 114, 251, 0.5);
	animation: opswatFabPulse 2.4s ease-in-out infinite;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	font-family: inherit;
}
.floating-inquiry-btn i {
	font-size: 20px;
	line-height: 1;
}
.floating-inquiry-btn:hover {
	transform: translateY(-2px) scale(1.04);
	box-shadow: 0 18px 40px rgba(38, 114, 251, 0.62);
	animation-play-state: paused;
}
@keyframes opswatFabPulse {
	0%, 100% { box-shadow: 0 14px 32px rgba(38, 114, 251, 0.5); }
	50% { box-shadow: 0 14px 40px rgba(38, 114, 251, 0.75); }
}

@media all and (max-width: 640px) {
	.inquiry-modal-dialog { padding: 32px 22px 24px; }
	.inquiry-row { flex-direction: column; gap: 0; }
}
