.pyrotec-forms-wrap {
	--pf-primary: #0ea5e9;
	--pf-primary-dark: #0284c7;
	--pf-text: #1e293b;
	--pf-muted: #64748b;
	--pf-border: #e2e8f0;
	--pf-error: #dc2626;
	--pf-success: #16a34a;
	max-width: 640px;
	margin: 0 auto;
}

.pyrotec-form {
	background: #ffffff;
	border-radius: 16px;
	padding: 32px;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06), 0 10px 30px rgba(15, 23, 42, 0.08);
	border: 1px solid var(--pf-border);
	transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.pyrotec-form:hover {
	box-shadow: 0 4px 10px rgba(15, 23, 42, 0.08), 0 20px 40px rgba(15, 23, 42, 0.12);
}

.pyrotec-form-title {
	margin: 0 0 24px;
	font-size: 22px;
	font-weight: 700;
	color: var(--pf-text);
	position: relative;
	padding-bottom: 12px;
}

.pyrotec-form-title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 48px;
	height: 3px;
	border-radius: 3px;
	background: linear-gradient(90deg, var(--pf-primary), var(--pf-primary-dark));
}

.pyrotec-form .pyrotec-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.pyrotec-row {
	display: flex;
	gap: 16px;
}

.pyrotec-row .pyrotec-field {
	flex: 1;
	min-width: 0;
}

.pyrotec-field {
	margin-bottom: 18px;
}

.pyrotec-field label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: var(--pf-text);
	margin-bottom: 6px;
	letter-spacing: 0.2px;
}

.pyrotec-field .req {
	color: var(--pf-error);
}

.pyrotec-field input,
.pyrotec-field select {
	width: 100%;
	box-sizing: border-box;
	padding: 12px 14px;
	font-size: 14px;
	border: 1.5px solid var(--pf-border);
	border-radius: 10px;
	background: #f8fafc;
	color: var(--pf-text);
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.pyrotec-field input:focus,
.pyrotec-field select:focus {
	outline: none;
	border-color: var(--pf-primary);
	background: #ffffff;
	box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.15);
}

.pyrotec-field input[readonly] {
	background: #eef2f7;
	color: var(--pf-muted);
	cursor: not-allowed;
}

.pyrotec-field input.pyrotec-invalid {
	border-color: var(--pf-error);
	box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.12);
}

.pyrotec-feedback {
	min-height: 0;
	font-size: 14px;
	border-radius: 10px;
	transition: all 0.25s ease;
}

.pyrotec-feedback:not(:empty) {
	padding: 12px 14px;
	margin-bottom: 18px;
}

.pyrotec-feedback.pyrotec-feedback-success {
	background: rgba(22, 163, 74, 0.1);
	color: var(--pf-success);
	border: 1px solid rgba(22, 163, 74, 0.25);
}

.pyrotec-feedback.pyrotec-feedback-error {
	background: rgba(220, 38, 38, 0.08);
	color: var(--pf-error);
	border: 1px solid rgba(220, 38, 38, 0.25);
}

.pyrotec-form button.pyrotec-submit,
.pyrotec-form button.pyrotec-submit:focus,
.pyrotec-form button.pyrotec-submit:focus-visible,
.pyrotec-form button.pyrotec-submit:active {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
	margin: 0 !important;
	border: none !important;
	outline: none !important;
	cursor: pointer;
	padding: 14px 20px;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.3px;
	color: #fff !important;
	border-radius: 999px !important;
	background: linear-gradient(135deg, var(--pf-primary), var(--pf-primary-dark)) !important;
	box-shadow: 0 8px 20px rgba(2, 132, 199, 0.35);
	transition: transform 0.15s ease, box-shadow 0.2s ease, opacity 0.2s ease;
	appearance: none;
	-webkit-appearance: none;
}

.pyrotec-submit:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 28px rgba(2, 132, 199, 0.45);
}

.pyrotec-submit:active {
	transform: translateY(0);
}

.pyrotec-submit:disabled {
	opacity: 0.7;
	cursor: not-allowed;
	transform: none;
}

.pyrotec-spinner {
	width: 16px;
	height: 16px;
	border-radius: 50%;
	border: 2px solid rgba(255, 255, 255, 0.5);
	border-top-color: #fff;
	display: none;
	animation: pyrotec-spin 0.7s linear infinite;
}

.pyrotec-submit.is-loading .pyrotec-spinner {
	display: inline-block;
}

.pyrotec-submit.is-loading .pyrotec-submit-text {
	opacity: 0.85;
}

@keyframes pyrotec-spin {
	to {
		transform: rotate(360deg);
	}
}

.pyrotec-form.pyrotec-success-state .pyrotec-field,
.pyrotec-form.pyrotec-success-state .h-captcha {
	opacity: 0.5;
	pointer-events: none;
	transition: opacity 0.3s ease;
}

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

	.pyrotec-form {
		padding: 22px;
	}
}
