:root {
	--bqo-primary: #173c5c;
	--bqo-primary-light: #2e678b;
	--bqo-primary-dark: #0f2a42;
	--bqo-accent: #c8a45c;
	--bqo-bg: #f7f5f0;
	--bqo-white: #ffffff;
	--bqo-text: #2d2822;
	--bqo-text-light: #6b6560;
	--bqo-border: #e2ddd6;
	--bqo-border-focus: #2e678b;
	--bqo-error-bg: #fef2f2;
	--bqo-error-border: #fca5a5;
	--bqo-error-text: #991b1b;
	--bqo-success-bg: #f0fdf4;
	--bqo-success-border: #86efac;
	--bqo-success-text: #166534;
	--bqo-radius: 10px;
	--bqo-radius-sm: 6px;
	--bqo-shadow: 0 4px 24px rgba(23, 60, 92, 0.08);
	--bqo-shadow-hover: 0 8px 32px rgba(23, 60, 92, 0.12);
	--bqo-transition: 0.2s ease;
}

.bqo-form-wrapper {
	max-width: 820px;
	margin: 32px auto;
	background: var(--bqo-white);
	border-radius: var(--bqo-radius);
	box-shadow: var(--bqo-shadow);
	overflow: hidden;
}

.bqo-form-header {
	background: linear-gradient(135deg, var(--bqo-primary), var(--bqo-primary-light));
	padding: 36px 40px 28px;
	text-align: center;
}

.bqo-form-header h2 {
	margin: 0 0 6px;
	color: var(--bqo-white);
	font-size: 26px;
	font-weight: 600;
	letter-spacing: 0.3px;
}

.bqo-form-header p {
	margin: 0;
	color: rgba(255, 255, 255, 0.85);
	font-size: 15px;
}

.bqo-alert {
	border-radius: var(--bqo-radius-sm);
	padding: 14px 18px;
	margin: 20px 24px 0;
	font-size: 14px;
	line-height: 1.5;
}

.bqo-alert ul {
	margin: 0;
	padding-left: 20px;
}

.bqo-alert li {
	margin: 2px 0;
}

.bqo-alert-error {
	background: var(--bqo-error-bg);
	border: 1px solid var(--bqo-error-border);
	color: var(--bqo-error-text);
}

.bqo-alert-success {
	background: var(--bqo-success-bg);
	border: 1px solid var(--bqo-success-border);
	color: var(--bqo-success-text);
}

.bqo-form {
	padding: 8px 24px 32px;
}

.bqo-section {
	border-bottom: 1px solid var(--bqo-border);
	padding: 24px 0;
}

.bqo-section:last-of-type {
	border-bottom: none;
}

.bqo-section-title {
	font-size: 15px;
	font-weight: 600;
	color: var(--bqo-primary);
	text-transform: uppercase;
	letter-spacing: 0.8px;
	margin: 0 0 16px;
	padding: 0;
}

.bqo-section-content {
	display: grid;
	gap: 16px;
}

.bqo-grid-2 {
	grid-template-columns: 1fr 1fr;
}

.bqo-grid-3 {
	grid-template-columns: 1fr 1fr 1fr;
}

.bqo-grid-4 {
	grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
}

.bqo-field {
	display: flex;
	flex-direction: column;
}

.bqo-field label {
	font-size: 13px;
	font-weight: 600;
	color: var(--bqo-text);
	margin-bottom: 5px;
	letter-spacing: 0.2px;
}

.bqo-required {
	color: #dc2626;
	margin-left: 2px;
}

.bqo-field input,
.bqo-field textarea {
	padding: 11px 14px;
	border: 1.5px solid var(--bqo-border);
	border-radius: var(--bqo-radius-sm);
	font-size: 15px;
	color: var(--bqo-text);
	background: var(--bqo-white);
	transition: border-color var(--bqo-transition), box-shadow var(--bqo-transition);
	font-family: inherit;
	line-height: 1.4;
}

.bqo-field input::placeholder,
.bqo-field textarea::placeholder {
	color: var(--bqo-text-light);
	opacity: 0.7;
}

.bqo-field input:focus,
.bqo-field textarea:focus {
	outline: none;
	border-color: var(--bqo-border-focus);
	box-shadow: 0 0 0 3px rgba(46, 103, 139, 0.12);
}

.bqo-field input:hover:not(:focus),
.bqo-field textarea:hover:not(:focus) {
	border-color: #c0b8af;
}

.bqo-field input[type="number"] {
	-moz-appearance: textfield;
	max-width: 100px;
}

.bqo-field input[type="number"]::-webkit-outer-spin-button,
.bqo-field input[type="number"]::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

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

.bqo-field.bqo-submit {
	margin-top: 8px;
}

.bqo-field.bqo-submit button {
	width: 100%;
	padding: 14px 28px;
	background: linear-gradient(135deg, var(--bqo-primary), var(--bqo-primary-light));
	color: var(--bqo-white);
	border: none;
	border-radius: var(--bqo-radius-sm);
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: background var(--bqo-transition), transform var(--bqo-transition), box-shadow var(--bqo-transition);
	font-family: inherit;
	letter-spacing: 0.5px;
}

.bqo-field.bqo-submit button:hover {
	background: linear-gradient(135deg, var(--bqo-primary-dark), var(--bqo-primary));
	box-shadow: 0 4px 16px rgba(23, 60, 92, 0.25);
	transform: translateY(-1px);
}

.bqo-field.bqo-submit button:active {
	transform: translateY(0);
	box-shadow: none;
}

.bqo-honeypot {
	position: absolute;
	left: -99999px;
	top: -99999px;
	height: 0;
	width: 0;
	opacity: 0;
	overflow: hidden;
}

@media (max-width: 768px) {
	.bqo-form-wrapper {
		margin: 16px 10px;
		border-radius: var(--bqo-radius-sm);
	}

	.bqo-form-header {
		padding: 28px 20px 22px;
	}

	.bqo-form-header h2 {
		font-size: 22px;
	}

	.bqo-form {
		padding: 4px 16px 24px;
	}

	.bqo-grid-2,
	.bqo-grid-3,
	.bqo-grid-4 {
		grid-template-columns: 1fr;
	}

	.bqo-section {
		padding: 18px 0;
	}

	.bqo-alert {
		margin: 16px 16px 0;
	}

	.bqo-field.bqo-submit button {
		padding: 13px 20px;
		font-size: 15px;
	}
}
