/* Free Quote OTP Form Styles */
.fqf-wrapper {
	--fqf-bg: #0b1220;
	--fqf-card-bg: #131b2e;
	--fqf-border: #23304a;
	--fqf-input-bg: #1a2338;
	--fqf-text: #e7ecf5;
	--fqf-muted: #8b95ab;
	--fqf-accent: #2f6bff;
	--fqf-accent-hover: #2559d6;

	max-width: 520px;
	margin: 0 auto;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.fqf-card {
	background: var(--fqf-card-bg);
	border: 1px solid var(--fqf-border);
	border-radius: 16px;
	padding: 28px 26px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.fqf-eyebrow {
	display: inline-block;
	color: var(--fqf-accent);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	margin-bottom: 8px;
}

.fqf-title {
	color: var(--fqf-text);
	font-size: 22px;
	font-weight: 700;
	margin: 0 0 8px 0;
}

.fqf-subtitle {
	color: var(--fqf-muted);
	font-size: 13.5px;
	margin: 0 0 22px 0;
}

.fqf-row {
	display: flex;
	gap: 14px;
	margin-bottom: 14px;
}

.fqf-field {
	flex: 1;
	display: flex;
	flex-direction: column;
	margin-bottom: 14px;
}

.fqf-row .fqf-field {
	margin-bottom: 0;
}

.fqf-field.fqf-full {
	width: 100%;
}

.fqf-field label {
	color: var(--fqf-muted);
	font-size: 12.5px;
	margin-bottom: 6px;
}

.fqf-field input,
.fqf-field select,
.fqf-field textarea {
	background: var(--fqf-input-bg);
	border: 1px solid var(--fqf-border);
	border-radius: 10px;
	color: var(--fqf-text);
	padding: 11px 13px;
	font-size: 14px;
	outline: none;
	width: 100%;
	box-sizing: border-box;
	font-family: inherit;
	transition: border-color 0.15s ease;
}

.fqf-field textarea {
	resize: vertical;
	min-height: 90px;
}

.fqf-field input::placeholder,
.fqf-field textarea::placeholder {
	color: #5b6480;
}

.fqf-field input:focus,
.fqf-field select:focus,
.fqf-field textarea:focus {
	border-color: var(--fqf-accent);
}

.fqf-btn {
	width: 100%;
	background: var(--fqf-accent);
	color: #fff;
	border: none;
	border-radius: 10px;
	padding: 13px 18px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	transition: background 0.15s ease, opacity 0.15s ease;
}

.fqf-btn:hover {
	background: var(--fqf-accent-hover);
}

.fqf-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.fqf-note {
	text-align: center;
	color: var(--fqf-muted);
	font-size: 12px;
	margin: 12px 0 0 0;
}

.fqf-message {
	font-size: 13px;
	margin-bottom: 6px;
	min-height: 0;
}

.fqf-message.fqf-error {
	color: #ff6b6b;
}

.fqf-message.fqf-success {
	color: #4ade80;
}

/* OTP Modal */
.fqf-overlay {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(4, 8, 16, 0.7);
	z-index: 99999;
	align-items: center;
	justify-content: center;
	padding: 16px;
}

.fqf-overlay.fqf-open {
	display: flex;
}

.fqf-otp-box {
	background: #131b2e;
	border: 1px solid #23304a;
	border-radius: 16px;
	padding: 26px 24px;
	max-width: 380px;
	width: 100%;
	text-align: center;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.fqf-otp-box h3 {
	color: #e7ecf5;
	margin: 0 0 8px 0;
	font-size: 18px;
}

.fqf-otp-box p {
	color: #8b95ab;
	font-size: 13px;
	margin: 0 0 16px 0;
}

.fqf-otp-input-wrap input {
	width: 100%;
	box-sizing: border-box;
	background: #1a2338;
	border: 1px solid #23304a;
	border-radius: 10px;
	color: #e7ecf5;
	padding: 12px;
	font-size: 20px;
	letter-spacing: 8px;
	text-align: center;
	outline: none;
	margin-bottom: 10px;
}

.fqf-otp-input-wrap input:focus {
	border-color: #2f6bff;
}

.fqf-otp-msg {
	font-size: 12.5px;
	min-height: 16px;
	margin-bottom: 10px;
}

.fqf-otp-msg.fqf-error {
	color: #ff6b6b;
}

.fqf-otp-msg.fqf-success {
	color: #4ade80;
}

.fqf-otp-actions {
	display: flex;
	justify-content: space-between;
	margin-top: 14px;
}

.fqf-link {
	color: #2f6bff;
	font-size: 12.5px;
	cursor: pointer;
	text-decoration: underline;
}

.fqf-link.fqf-disabled {
	color: #5b6480;
	cursor: not-allowed;
	text-decoration: none;
}

@media (max-width: 480px) {
	.fqf-row {
		flex-direction: column;
		gap: 14px;
	}
}
