/* Parsa AJAX forms — matches design-system tokens */

.parsa-ajax-form {
	display: grid;
	gap: 14px;
	max-width: 560px;
	width: 100%;
	margin: 0;
}

.parsa-form-field {
	margin: 0;
}

.parsa-form-input {
	width: 100%;
	padding: 14px 16px;
	border: 1px solid #d8dee8;
	border-radius: 6px;
	background: #fff;
	color: #3d4654;
	font-size: 15px;
	line-height: 1.4;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
	box-sizing: border-box;
}

.parsa-form-input:focus {
	outline: none;
	border-color: #d08a39;
	box-shadow: 0 0 0 3px rgba(208, 138, 57, 0.18);
}

.parsa-form-textarea {
	resize: vertical;
	min-height: 120px;
}

.parsa-form-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 13px 22px;
	border: 2px solid #d08a39;
	border-radius: 6px;
	cursor: pointer;
	font-weight: 700;
	font-size: 15px;
	color: #2f1908;
	background: linear-gradient(90deg, #fcd577 0%, #d08a39 100%);
	box-shadow: 0 8px 18px rgba(208, 138, 57, 0.28);
	transition: transform 0.15s ease, filter 0.15s ease;
}

.parsa-form-submit:hover:not(:disabled) {
	transform: translateY(-1px);
	filter: brightness(1.03);
}

.parsa-form-submit:disabled {
	opacity: 0.72;
	cursor: wait;
}

.parsa-form-submit__icon {
	width: 14px;
	height: 14px;
	flex: 0 0 auto;
}

.parsa-form-message {
	padding: 12px 14px;
	border-radius: 6px;
	font-size: 14px;
	line-height: 1.5;
}

.parsa-form-message.is-success {
	background: #eaf7ef;
	border: 1px solid #b7e0c4;
	color: #1b5e32;
}

.parsa-form-message.is-error {
	background: #fdeeee;
	border: 1px solid #f0b7b7;
	color: #8a1f1f;
}

.parsa-form-message[hidden] {
	display: none !important;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}
