/**
 * Elementor widget: فرم اطلاع‌رسانی
 */
.hk-notify-form {
	--hk-notify-accent: #0f766e;
	--hk-notify-accent-soft: color-mix(in srgb, var(--hk-notify-accent) 12%, #fff);
	--hk-notify-radius: 20px;
	--hk-notify-input-radius: 14px;
	direction: rtl;
	font-family: "IRANYekan", Tahoma, "Segoe UI", sans-serif;
	width: 100%;
	max-width: 520px;
}

.hk-notify-form,
.hk-notify-form * {
	font-family: "IRANYekan", Tahoma, "Segoe UI", sans-serif;
	box-sizing: border-box;
}

.hk-notify-form__card {
	position: relative;
	overflow: hidden;
	padding: 28px 26px 24px;
	border-radius: var(--hk-notify-radius);
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, #fff 40%),
		radial-gradient(120% 80% at 100% 0%, var(--hk-notify-accent-soft), transparent 55%);
	border: 1px solid rgba(15, 23, 42, 0.08);
	box-shadow:
		0 1px 2px rgba(15, 23, 42, 0.04),
		0 18px 40px -24px rgba(15, 23, 42, 0.28);
}

.hk-notify-form__card::before {
	content: "";
	position: absolute;
	inset-block-start: 0;
	inset-inline: 0;
	height: 3px;
	background: linear-gradient(
		90deg,
		var(--hk-notify-accent),
		color-mix(in srgb, var(--hk-notify-accent) 35%, #5eead4)
	);
}

.hk-notify-form__header {
	margin-bottom: 22px;
	padding-bottom: 18px;
	border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.hk-notify-form__title {
	margin: 0 0 8px;
	font-size: 1.4rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.35;
	color: #0f172a;
}

.hk-notify-form__desc {
	margin: 0;
	color: #64748b;
	font-size: 0.92rem;
	line-height: 1.7;
}

.hk-notify-form__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}

.hk-notify-form__field {
	min-width: 0;
}

.hk-notify-form__field--full {
	grid-column: 1 / -1;
}

.hk-notify-form__label {
	display: flex;
	align-items: center;
	gap: 4px;
	margin-bottom: 8px;
	font-size: 0.86rem;
	font-weight: 700;
	color: #334155;
}

.hk-notify-form__req {
	color: #f43f5e;
	font-weight: 800;
}

.hk-notify-form__input {
	width: 100%;
	padding: 13px 15px;
	border: 1px solid #e2e8f0;
	border-radius: var(--hk-notify-input-radius);
	background: #f8fafc;
	color: #0f172a;
	font-size: 0.95rem;
	line-height: 1.4;
	transition:
		border-color 0.18s ease,
		box-shadow 0.18s ease,
		background-color 0.18s ease;
}

.hk-notify-form__input::placeholder {
	color: #94a3b8;
}

.hk-notify-form__input:hover {
	border-color: #cbd5e1;
	background: #fff;
}

.hk-notify-form__input:focus {
	outline: none;
	background: #fff;
	border-color: var(--hk-notify-accent);
	box-shadow:
		0 0 0 4px color-mix(in srgb, var(--hk-notify-accent) 16%, transparent),
		0 1px 2px rgba(15, 23, 42, 0.04);
}

.hk-notify-form__input--phone {
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.04em;
	text-align: left;
}

.hk-notify-form__hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

.hk-notify-form__actions {
	margin-top: 18px;
}

.hk-notify-form__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 50px;
	padding: 13px 22px;
	border: none;
	border-radius: var(--hk-notify-input-radius);
	background: linear-gradient(
		180deg,
		color-mix(in srgb, var(--hk-notify-accent) 92%, #fff) 0%,
		var(--hk-notify-accent) 100%
	);
	color: #fff;
	font-size: 1rem;
	font-weight: 800;
	letter-spacing: -0.01em;
	cursor: pointer;
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.25) inset,
		0 10px 24px -12px color-mix(in srgb, var(--hk-notify-accent) 70%, transparent);
	transition:
		transform 0.15s ease,
		filter 0.15s ease,
		box-shadow 0.15s ease;
}

.hk-notify-form__submit:hover {
	filter: brightness(1.04);
	transform: translateY(-1px);
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.28) inset,
		0 14px 28px -12px color-mix(in srgb, var(--hk-notify-accent) 75%, transparent);
}

.hk-notify-form__submit:active {
	transform: translateY(0);
	filter: brightness(0.98);
}

.hk-notify-form__submit:disabled {
	opacity: 0.65;
	cursor: wait;
	transform: none;
	filter: none;
	box-shadow: none;
}

.hk-notify-form__message {
	margin-top: 14px;
	padding: 12px 14px;
	border-radius: 12px;
	font-size: 0.9rem;
	line-height: 1.55;
	font-weight: 600;
}

.hk-notify-form__message--ok {
	background: #ecfdf5;
	color: #047857;
	border: 1px solid #a7f3d0;
}

.hk-notify-form__message--err {
	background: #fff1f2;
	color: #be123c;
	border: 1px solid #fecdd3;
}

@media (max-width: 560px) {
	.hk-notify-form {
		max-width: 100%;
	}

	.hk-notify-form__card {
		padding: 22px 18px 18px;
		border-radius: 16px;
	}

	.hk-notify-form__grid {
		grid-template-columns: 1fr;
	}

	.hk-notify-form__title {
		font-size: 1.25rem;
	}
}
