.qoss-form-wrapper {
	max-width: 640px;
	margin: 0 auto;
}
.qoss-form-description {
	margin-bottom: 20px;
	color: #444;
}
.qoss-field {
	margin-bottom: 18px;
}
.qoss-field-label {
	display: block;
	font-weight: 600;
	margin-bottom: 6px;
}
.qoss-required {
	color: #c0392b;
}
.qoss-field input[type="text"],
.qoss-field input[type="email"],
.qoss-field input[type="number"],
.qoss-field input[type="url"],
.qoss-field input[type="date"],
.qoss-field input[type="tel"],
.qoss-field textarea,
.qoss-field select {
	width: 100%;
	max-width: 100%;
	padding: 10px 12px;
	border: 1px solid #ccd0d4;
	border-radius: 4px;
	font-size: 15px;
	box-sizing: border-box;
}
.qoss-field textarea {
	resize: vertical;
}
.qoss-field input[type="file"] {
	width: 100%;
}
.qoss-choice-group {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.qoss-choice {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: normal;
	cursor: pointer;
}
.qoss-field-desc {
	color: #777;
	font-size: 13px;
	margin-top: 4px;
}
.qoss-field-section {
	margin: 24px 0 16px;
	border-bottom: 1px solid #e2e2e2;
	padding-bottom: 8px;
}
.qoss-section-title {
	margin: 0 0 4px;
}
.qoss-section-desc {
	color: #777;
	margin: 0;
}
.qoss-honeypot-field {
	position: absolute;
	left: -9999px;
	top: -9999px;
}
.qoss-submit-button {
	background: #2271b1;
	color: #fff;
	border: none;
	padding: 12px 28px;
	border-radius: 4px;
	font-size: 15px;
	cursor: pointer;
}
.qoss-submit-button:hover {
	background: #135e96;
}
.qoss-submit-button:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}
.qoss-field-submit {
	display: flex;
	align-items: center;
	gap: 10px;
}
.qoss-spinner {
	width: 16px;
	height: 16px;
	border: 2px solid #ccc;
	border-top-color: #2271b1;
	border-radius: 50%;
	animation: qoss-spin 0.6s linear infinite;
	display: inline-block;
}
@keyframes qoss-spin {
	to { transform: rotate(360deg); }
}
.qoss-form-message {
	padding: 12px 16px;
	border-radius: 4px;
	margin-bottom: 18px;
}
.qoss-message-success {
	background: #eafaf1;
	color: #1a7a3a;
	border: 1px solid #b7ebc6;
}
.qoss-message-error {
	background: #fdecea;
	color: #b32d2e;
	border: 1px solid #f5c2c0;
}
.qoss-error-list {
	margin: 8px 0 0 20px;
}
.has-error input, .has-error textarea, .has-error select {
	border-color: #c0392b !important;
}

/* ---------------- Multi-step forms ---------------- */
.qoss-progress {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 26px;
}
.qoss-progress-step {
	display: flex;
	align-items: center;
}
.qoss-progress-step:not(:last-child)::after {
	content: '';
	width: 40px;
	height: 2px;
	background: #d5d9dd;
	margin: 0 6px;
}
.qoss-progress-step.completed:not(:last-child)::after {
	background: #2271b1;
}
.qoss-progress-dot {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #f0f0f1;
	color: #777;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	font-weight: 600;
	border: 2px solid #d5d9dd;
}
.qoss-progress-step.active .qoss-progress-dot {
	background: #2271b1;
	border-color: #2271b1;
	color: #fff;
}
.qoss-progress-step.completed .qoss-progress-dot {
	background: #2271b1;
	border-color: #2271b1;
	color: #fff;
}
.qoss-form-nav {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	margin-top: 10px;
}
.qoss-form-nav .qoss-nav-prev {
	background: #fff;
	color: #2271b1;
	border: 1px solid #2271b1;
	padding: 11px 24px;
	border-radius: 4px;
	cursor: pointer;
	font-size: 15px;
}
.qoss-form-nav .qoss-nav-next {
	background: #2271b1;
	color: #fff;
	border: none;
	padding: 11px 24px;
	border-radius: 4px;
	cursor: pointer;
	font-size: 15px;
	margin-left: auto;
}
.qoss-form-nav .qoss-nav-next:hover {
	background: #135e96;
}
